Topic category: Bugs and solutions
So for my mod, I need the chest piece of armour to hurt the player when they put it on but only once when wearing it but it hurts them each time they equip it.
This is the code I have so far but it does not work.
I have tried a global world variable to turn on and off the part that deals damage but it does not work.
Can someone tell me where I have gone wrong?