Is it possible to do something like this (skill/state resist)

Skill Last Word: At 25% HP, he makes a charge that inflicts 100% of the maximum health of all targets except those on which the Guard effect is applied.
I made it so that an ordinary guard has something like this:
1684600092965.png

It gives me immunity to .Last Word
1684600155137.png


it's this skill At 25% HP, he makes a charge that inflicts 100% of the maximum health of all targets except those on which the Guard effect is applied.
1684600264626.png

1684600172421.png

and then the heroes have 1 hp, I wish they had zero
It's not to reduce life but to inflict so much damage that they'll have zero hp
Just to be clear:
When this enemy reaches 25% of HP .... What happens if it has 23% or 19%? You need to make this "25% or less".
Does it continue to be cast every turn when the HP is 25% or less? If not, how have you prevented it, as I assume the skill is called up automatically when the HP threshold is reached?
If it does repeat, the player is then faced with Guard (so no further damage can be dealt) or die.
You said that what you want is for the actors to have zero HP. Unless you give them the Immortal state, if they have 0HP the engine automatically counts them as dead.
So basically you're giving this enemy a guaranteed full party wipe out skill. Is that what you intended?
Just to be clear:
When this enemy reaches 25% of HP .... What happens if it has 23% or 19%? You need to make this "25% or less".
Does it continue to be cast every turn when the HP is 25% or less? If not, how have you prevented it, as I assume the skill is called up automatically when the HP threshold is reached?
If it does repeat, the player is then faced with Guard (so no further damage can be dealt) or die.
You said that what you want is for the actors to have zero HP. Unless you give them the Immortal state, if they have 0HP the engine automatically counts them as dead.
So basically you're giving this enemy a guaranteed full party wipe out skill. Is that what you intended?
when the opponent has 25% or less, skill is activated only once, (enemy uses it immediately after reaching this state)
defense is to defend the character from this skill
if any of the four characters not use their basic defenses, they die
I think this can be done with the damage formula, like check if the target has the guard state, and if not, the skill will deal lethal damage?

Example (not sure if 100% accurate, and replace 2 with whatever the guard state is)

b.isStateAffected(2) ? 0 : b.mhp;

As for not making the enemy repeat it, maybe give him a state that seals the skill or only enable the skill when a switch is on?
I think this can be done with the damage formula, like check if the target has the guard state, and if not, the skill will deal lethal damage?

Example (not sure if 100% accurate, and replace 2 with whatever the guard state is)

b.isStateAffected(2) ? 0 : b.mhp;

As for not making the enemy repeat it, maybe give him a state that seals the skill or only enable the skill when a switch is on?
thanks works perfectly
I think this can be done with the damage formula, like check if the target has the guard state, and if not, the skill will deal lethal damage?

Example (not sure if 100% accurate, and replace 2 with whatever the guard state is)

b.isStateAffected(2) ? 0 : b.mhp;

As for not making the enemy repeat it, maybe give him a state that seals the skill or only enable the skill when a switch is on?

but not because when I tested a character at a higher level it remains her life e. g. 200 hp ok I
fixed iT
1684702736411.png

Original thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-do-something-like-this-skill-state-resist.157677/