I have this...
But I want it to go to dodge chance up to 100 without having to copy and paste and edit the "dodge chance: x" and the "change of x%" every time.
How could I do this?
code_language.skript:
on damage:
if lore of victim's leggings contains "&7Dodge Chance: 1":
chance of 1%:
cancel event
if lore of victim's leggings contains "&7Dodge Chance: 2":
chance of 2%:
cancel event
if lore of victim's leggings contains "&7Dodge Chance: 3":
chance of 3%:
cancel event
How could I do this?