napisze mi ktos skrypt na to ze jezeli posiadam effekt sily 1 to bije wiecej np jakas zmienna czy cos bo mam tylko takie cos i dziala perfekcyjnie
command /ustawhity [<number>]:
permission: ustawhity.wlasciciel
permission message: &cNie Posiadasz Uprawnien &a(ustawhity.wlasciciel)
trigger:
if arg 1 is not set:
send "&4(!) &cPodaj od 1 do 10!"
stop
if arg 1 is set:
set {moc.hity} to arg-1
send "&2(!) &aUstawiłes moc hitów na &2%arg-1%"
on damage:
if attacker is player:
set {_d} to level of sharpness of attacker's tool
if {_d} is set:
set damage to {_d} + {moc.hity}