Possible to make a timed revival skill?

This is something that I'm not sure if I can make happen just by using the Skills, States, or maybe even Common Events, but I was wondering if it is possible to set up a specific in battle revival skill that would be based somewhat off the revival skill in the game Fate/ Grand Order.

In FGO there's a guts state that skills can apply to the user, where if that person's HP reaches zero before the state wears off they'll be revived with a fixed amount of HP. I was wondering if it was possible to set up something like that in MZ, or if that's something that would require a plugin or some scripting to make happen (and if so, would appreciate if someone could assist me with that).

Basically the way it would work is, if you or an enemy activates that skill, it applies a state where if their HP hits zero within lets say 3 turns or so, you will revive with 10% of your HP. I would like to be able to use that kind of skill with some characters of mine, but not sure if it's possible to make happen.
You'll need to use the VisuStella versions of the plugins, and change the notetags to what those plugins have in their instructions. The code is the same.


You can also search for Trihan's thread that implements Yanfly's Tips & Tricks with VisuStella for the names of the notetags if you're having a hard time figuring it out.
Can't you do this using Troops > Conditions > Actor's HP <=0% (or enemy's):

1684266096525.png


Note: This runs once per battle, hence Span: Battle. You'd probably want yours to run every time it happens, so Span: Moment.
Can't you do this using Troops > Conditions > Actor's HP <=0% (or enemy's):

View attachment 261998

Note: This runs once per battle, hence Span: Battle. You'd probably want yours to run every time it happens, so Span: Moment.
I'll give it a shot later tonight. Won't know til then.

That said, I would prefer something I can have enabled whenever, and not have to add for every single troop encounter.
Surely there's something similar for MZ so that you don't have to add it to every troop:

Can't you do this using Troops > Conditions > Actor's HP <=0% (or enemy's):

View attachment 261998

Note: This runs once per battle, hence Span: Battle. You'd probably want yours to run every time it happens, so Span: Moment.
How exactly do you have those States set up?
Cause I've tried setting that up for both enemies and actors, and neither one will work. When I have it set up for enemies, the test battle just ends when they're defeated, and when I tested things out with an actor everything just stops after they're downed. The test battle is still going on, with the music and idle animations, but it won't let anyone have a turn.
Ultimately I managed to find this plugin here that does the job.

Original thread: https://forums.rpgmakerweb.com/threads/possible-to-make-a-timed-revival-skill.157564/