State that resists, but doesn't remove

Hi all,

Trying to configure a state using YEP's Buffs & States core to RESIST all future applications of a particular state, but not REMOVE the state if it is already applied. I just don't think this is possible without another plugin - but let me know if I'm wrong!


I understand the definition of "resist" in RMMV means it is impossible for the state to be active on a battler, but I was wondering if there was some clever way using YEP's Buffs & States core to change this behavior. It is not simply enough to remove the state after applied to the target, it must never be applied in the first place. Is this possible?
A State Rate 0% trait makes items/skills unable to add that state to the bearer.

However, any item/skill marked Certain Hit ignores state rates. I suggest making any skills capable of adding this state either Physical Hit or Magical Hit.

(I don't think Buffs & States Core has any features that will help with this, since you say you want to react before the state gets applied... 😴)
Thanks @caethyril

I did try that, (a state rate of 0%), by creating a state with that attribute, but my test enemy was able to apply that state to the actor without fail. The skill being used didn't use "Certain Hit" either, but instead "Magic Attack".
To be clear: the state rate trait must be present on the target to take effect. E.g. if you have a "No Poison" state with State Rate: Poison 0%, and you put that state on your actor, the enemy should not be able to apply Poison to that actor by any normal means (i.e. via the effect list of a skill/item, or through the addState script call).

If that's not working for you, then perhaps provide more details as to how you're applying the state and which plugins you're using.
Ah, I think I screwed up, I was looking at the wrong state box. Thanks!

Original thread: https://forums.rpgmakerweb.com/threads/state-that-resists-but-doesnt-remove.130843/