Hello, I have installed SharpSK, and I am trying to make armour add a stat when equipped and remove it when unequipped. The unequipping event works removes the stat when unequipped, but the equip event doesn't seem to be adding the stat. Can anyone help? No errors are displayed when reloading the script.
Code:
on armour equip:
if name of player's chestplate is "&9Test":
add 1000 to {maxmana.%player%}
on armour unequip:
if name of player's chestplate is "&9Test":
add -1000 to {maxmana.%player%}
Code:
on armour equip:
if name of player's chestplate is "&9Test":
add 1000 to {maxmana.%player%}
on armour unequip:
if name of player's chestplate is "&9Test":
add -1000 to {maxmana.%player%}