My idea is to make a little code that when a player attacks or be attacked tools and armor get repaired, and will never destroy. But I have a problem with armor
Error:
Can't understand this condition/effect: "repair armor of victim"
code_language.skript:
on damage:
attacker is a player:
wait 1 ticks
repair tool of attacker
victim is a player:
wait 1 ticks
repair armor of victim
Can't understand this condition/effect: "repair armor of victim"