Spell/attack that does instant death

Hello!

I'm having trouble working out how to make a state or attack that causes instant death to an enemy.
I've tried 'Recover HP -100%' in the attack formula and it just says it's done no damage.

It's a little bit complicated, as I want it to be a part of a spell to tame monsters, so I don't need them to die so much as disappear from battle, if anyone knows a better way of doing that.

Thanks, and hope everyone has a wonderful Christmas/not Christmas period 🙂
1. This is in the wrong place.
2. Put this in the damage formula box(make sure it's hp damage or one of the others except, none):
b.die()
If the above code doesn't work do this;
b.gainHp(-b.hp);

This will kill the target of the skill actor or enemy.
Why not just have the attack add state "knockout" ? Instantly kills anything. As for something that is instakill but does not remove the enemy from combat i don't know... WIth yanflys action sequence packs you can make enemies invincible. As in not dying when they are supposed to be at 0HP. maybe that'll help.
1. This is in the wrong place.
2. Put this in the damage formula box(make sure it's hp damage or one of the others except, none):
b.die()
If the above code doesn't work do this;
b.gainHp(-b.hp);

This will kill the target of the skill actor or enemy.
1. This is in the wrong place.
2. Put this in the damage formula box(make sure it's hp damage or one of the others except, none):
b.die()
If the above code doesn't work do this;
b.gainHp(-b.hp);

This will kill the target of the skill actor or enemy.
Oh, sorry! I am the noobiest of all the noobs. Where should I put these kinds of enquiries?
And thanks!
You can really just add state knockout to the skill at 100%. Much simpler.
You can really just add state knockout to the skill at 100%. Much simpler.
Hey HarlekinLehl,
Thanks for the suggest. I have tried, unfortunately when I kill the monster I also get the message 'x damage was done' and 'x is slain', which is kinda ruining it. I'm trying to work out how to find and remove this message, but if you have any ideas on how else to remove the monster from battle, I would love to hear them 😀
Thanks again!
This thread doesn't belong here.
To workaround that, you may need to ditch default battle system with VS battle core (which opt the message to appear about enemy/ally death or taken amount of damage).

I've moved this thread to MZ Support. Thank you.

Maybe try adding an Escape effect to the skill: tab Other > Special Effect > Escape?
Oh darn! It's about MZ? Woopsie! Well i suppose there is no Yanfly action sequence then. It would have had a feature to hide these things aswell. Oh well, no idea about MZ I'm afraid. Good luck with it, OP! 😀
Maybe try adding an Escape effect to the skill: tab Other > Special Effect > Escape?
Thanks caethyril, that's a really clever and simple workaround!

Original thread: https://forums.rpgmakerweb.com/threads/spell-attack-that-does-instant-death.131353/