YEP passive states. MP kill problem?

I've set the actors to have state 1 (death) as a passive state.
And in the state itself, I have-
<Custom Passive Condition>

if (user.mp / user.mmp <= 0.0) {

condition = true;

} else {

condition = false;

}
Which works as intended. The strange thing is that actors who are MP downed by enemies cannot be revived through any means. Only when you inflict the state yourself through forcing 0 MP (like an item) can they be revived. Which is strange. Any ideas why this is? Or something I missed?
Auto passive states can never be removed by any means if set to actors, ect, only equipment passives when removing equipment. Instead try making a passive that adds death when at 0 mp or something.

Actually I just realized what you wanted but when I test it myself it works perfectly, I just made attack do MP damage and change potions to heal MP and target dead allies making state 1 a global state with that exact code only, so not sure what your problem is, other plugin maybe but I tried with 150+ so. Even works with healing, you are trying to revive through health or mana increases and not remove state right?
Ugh. Yep. It was Victor's ctb that was making this happen. When turned off it works as intended. That's annoying but I guess I'll look for another work around. Not sure what could be making it interact like that though. And unfortunately Leocode's auto states plugin just returns an error for 'invalid left-hand side in assignment'. So oh well. >_>

Original thread: https://forums.rpgmakerweb.com/threads/yep-passive-states-mp-kill-problem.117652/