For a project I am working on I want the party members to receive buffs, debuffs, and states based on remaining resources. For example, if the player runs out of mp, they would receive a state. I could not find a way to do this without scripts, and I created this:
if ($gameParty.members()[0].mp = 0) {$gameParty.members()[0].addState(32)}
It is set to run once every turn as a battle event. However, despite reaching and sitting at 0 mana on the respective party member I never receive the state. What is it that I'm missing?
if ($gameParty.members()[0].mp = 0) {$gameParty.members()[0].addState(32)}
It is set to run once every turn as a battle event. However, despite reaching and sitting at 0 mana on the respective party member I never receive the state. What is it that I'm missing?