Kurde bardziej bym potrzebowal, zeby po prostu itemy sie nie niszczyly cos w tym stylu:
on damage:
if victim is a player:
repair victim's chestplate
repair victim's helmet
repair victim's leggings
repair victim's boots
repair victim's tool
tylko ze to nie do konca dziala, bo np item jest i tak o 1 zuzyty
on item damage:
event-item is leather cap of protection 1 named "&3Zbroja Startowa!"
cancel event
Dobra, takie cos dziala. Da sie zrobic, ze -
event-item is leather cap
cancel event
i zeby to dzialalo nawet jezeli item ma prota,thornsy,nazwe,lore itd?