State Priority System: Ensuring Singular Afflictions

Hello,

Is there a way to prevent "states" from stacking? - I would like the states with higher priority to override the lower ones, so that an actor/enemy is affected by only one state at a time.

For example, if sleep takes precedence over paralysis, a paralyzed character will be put to sleep, removing the previous paralysis state.

Is there a way to achieve this in the game? - Thanks!
You could make the Paralysis state resist state Sleep.
That way, the Sleep state would be removed when you apply paralysis.
There is no direct mechanic for that because by default all states are independent, but you could go with a plugin like the following:
You could make the Paralysis state resist state Sleep.
That way, the Sleep state would be removed when you apply paralysis.
This works perfectly, thank you!

Original thread: https://forums.rpgmakerweb.com/threads/state-priority-system-ensuring-singular-afflictions.158578/