Use skill on death \ knockout

Hey Guys,


A super simple noob question. I'm trying to get an actor (or a class) to use a skill on death. Essentially what I'm trying to acheive is giving the actor the ability to have a 5% chance to self resurrect. I've played around with a lot of things, but cant seem to get it working.


An alternative way of acheiving this that I was thinking about was there might be a way to change what status is inflicted at 0 HP... E.G change to a differnt type of knockout that has a 5% chance to cast heal and if it fails the status is changed to knockout, but I cant seem to find in RPG Maker MV the formulas for what occurs at 0 hp.


Or if anyone that knows of a plugin that would acheive something along these lines it would be appreciated.


Thanks in advance!
This should work.


http://mvplugins.com/plugin/Chronosv2/Cv2%20Death%20Common%20Event
SWEET THANKS!!

Original thread: https://forums.rpgmakerweb.com/threads/use-skill-on-death-knockout.56396/