So hello im WiebeHero, so i have been working on custom enchants but i encountered a bit of a problem i want to limit the effect to some socond limit here is the code now:
on damage:
attacker is a player
chance of 100%
if the 1st line of lore of attacker's held item contains "&7Wither I":
apply wither 1 to victim for 6 seconds
#lore1,1
So it keeps stacking up the seconds but i just want it to reset to 6 seconds can anyone help with this?
Thanks!
on damage:
attacker is a player
chance of 100%
if the 1st line of lore of attacker's held item contains "&7Wither I":
apply wither 1 to victim for 6 seconds
#lore1,1
So it keeps stacking up the seconds but i just want it to reset to 6 seconds can anyone help with this?
Thanks!