How to make bosses immune to an instant death skill?

So I've made a skill that has a 1000% chance of causing the Death (Knockout) state, but of course I don't want it to work on certain enemies such as bosses and special monsters.


I've tried setting the State Rate (not State Resist) of those certain enemies to 0% like I've heard other people do, but it doesn't seem to take effect and the Death skill works anyway.


I've also tried putting my skill into a new project, not altering the Knockout skill in any way, but no dice.


Here's my skill:

Death Skill.png
Setting the state resist, for each individual enemy, makes an enemy immune to a chosen state, but if the knockout state is the resisted state then the enemy becomes immortal.
Yup, I know that, but I was wondering how you could make enemies resistant to instant death without becoming immortal?


I researched other topics and they said to just make their State Rate for "Knockout" 0%,  but it doesn't work for me...
Hmm. I'll have a play around and see what I come up with. Another way you could do it is to simply event battles. So, an in-battle event would check the hp of the boss (who is immortal) and when it reaches 1\0 it instructs the battle to end. However, I don't think this is classed as a victory, so you'd have to give rewards to the player manually.
Thanks, I appreciate any help.


I'm afraid just the "Abort Battle" event command just doesn't cut it for me...


I gotta have that sweet Boss Collapse effect.
I have an idea:


1. Make a skill that deals huge amount of damage (like b.mhp * 5, so you're sure it can't survive it)


2. Create an element and apply it to your attack (name doesn't really matters)


3. Give to your bosses resistance to this element.


This way, every enemy, except bosses, would be killed in one go. Also, as it deals damage, you would see that fancy boss collapse effect. Hope it helps!
Yeah, that could work.


Thanks for the tip, but I'll still keep this open for a bit in case somebody offers an alternative. 🙂
if (!b.isStateAffected(X)) b.addState(1); 0 


then give your boss a state (X). Yanfly's inherent states work well for this. It checks for X state. If the target doesn't have the state, it adds state 1 (death). Otherwise, it deals 0 damage.


 I got the basics of the formula from here:


http://www.rpgmakercentral.com/topic/36290-damage-formulas-101-mv-edition/
I just made a separate state that has a chance of Knockout (TKO-Knockout 15%) then made the enemy immune to that state.
giving them 'state resist: knockout' makes them immortal. giving them 'state rate: knockout 0%' makes them immune to insta kill but still die from 0 hp.
if a plugin or something is bugging that for you a work around could be use state rate 0%,
troop event checks for 0hp and apply state rate: knockout +200%.
no longer immune to knockout + 0hp = dead
By default, Certain Hit actions ignore the target's state rates.

(Also, this thread is 5 years old.)
I would just set up an event that makes the character unlearn that specific attack and give it back to him in another event after the battle is over.
It's been a while since anyone posted here so I presume the poster already resolved the issue. However, for anyone else with this problem, the answer is to set "State Rate" to 0% for "Dead." This will prevent it from being inflicted as instant death, but the enemy will still die when HP reaches 0. Do this instead of using "State Resist."
the answer is to set "State Rate" to 0% for "Dead."
👋 Hi! Here's the second sentence of the opening post:
I've tried setting the State Rate (not State Resist) of those certain enemies to 0% like I've heard other people do, but it doesn't seem to take effect and the Death skill works anyway.
As I noted, the issue in this case was that the OP was using a skill set to Certain Hit:
By default, Certain Hit actions ignore the target's state rates.
Regardless, we have a rule against bumping old support threads that are not your own:

@MihalisGames, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.

No worries, just try to avoid doing that from now on~

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-bosses-immune-to-an-instant-death-skill.66342/