Started by
ktkyo_4
on
Topic category: Help with Minecraft modding (Java Edition)
I'm making a mod that adds an armor that attracts lightning. When said event happens, I had it intended to give you temporary buffs (10 seconds). Basically if you wear the armor AND you get struck, you get 10 seconds of those buffs.
The problem is: Those buffs appear as unlimited only when the armor is being worn. What do I do?
You can use the global trigger 'entity gets struck by lightning '(cant recall if it's from one of my plugins) and add the effect if the entity is wearing the armor.
I'm using said trigger and it still applies when I use the set :( Perhaps I have to tweark something in the procedure, I don't know