How do I make a status conditional(solved)

So, I'm trying to make a "break" system that when an enemy is charging an attack or in defense mode, the player gets a chance to "break" the enemy and leaving it defenseless.

The problem is, that the state where the enemy is defenseless it always triggers even if the enemy isn't charging/defending.

Any help? Please? 😀
give the base enemy a 0% rate to defenseless, and each charge state a 100% rate to defenseless.
that way, only when the state of charge is on the actor, the land rate for "defenseless" is 100%.

there's another more complex way with double negatives, but that requires skill after effects and other states with straight invulnerability.
try the 0% rate first.
give the base enemy a 0% rate to defenseless, and each charge state a 100% rate to defenseless.
that way, only when the state of charge is on the actor, the land rate for "defenseless" is 100%.

there's another more complex way with double negatives, but that requires skill after effects and other states with straight invulnerability.
try the 0% rate first.
It kinda worked but the enemy keeps with the charge status andd does not trigger the "defenseless" state
on the defenseless state, add a state resist to the charge state.
that should remove the charge.
set the defenseless state to remove on 1 turn and end of battle.

I'm just extrapolating how you might want it, based on how I have a similar system set up.
it may be doable just with states and resists, but if you need more control, you might want to look into common events before considering a whole plugin.
on the defenseless state, add a state resist to the charge state.
that should remove the charge.
set the defenseless state to remove on 1 turn and end of battle.

I'm just extrapolating how you might want it, based on how I have a similar system set up.
it may be doable just with states and resists, but if you need more control, you might want to look into common events before considering a whole plugin.
I've tried with conditionals and common events but yet, it doesn't work. :/
you can't use a conditional because you can't get the initial situation for comparison before applying the final effect.
everything has to be one-way, so to speak: you always apply effects.
them landing or not, would depend on the target resisting them or not.
and, them resisting them or not depends on either them having a state that makes them resistant, or a natural base property.
that's the only given premises (always valid, always true), and with that you have to work out the logic.

that's why I mention double negatives... sometimes you have to add a resistance, and then resist that resistance, in which case it can't be a base property because that'd be always active.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-make-a-status-conditional-solved.161282/