Help with armor repairing

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Aidanete

Active Member
Apr 11, 2017
139
10
0
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
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
Error:
Can't understand this condition/effect: "repair armor of victim"
 
try repair helmet of victim, and repeat for chestplate, lettings, and boots
 
Status
Not open for further replies.