Faktycznie, dzieki za pomoc. Jeszcze głowie się nad tym:
on damage of player:
damage was caused by wither:
if victim is wearing golden helmet named "&7Maska &c&lANTY-RAD":
cancel event
damage victim's helmet by 1
if victim's helmet durability <= 0:
remove victim's helmet
(pogrubiony tekst)
wyskakuje takie cos:
Can't compare 'victim's helmet durability' with an integer (radiacja.sk, line 6: if victim's helmet durability >= 0:')
bo jak zniszczenie hełmu dojdzie do 0 to on sie nie niszczy, a chcialbym zeby to wtedy usuwalo posiadany helm