Heal + Revive via a single Item/Skill?

Hey there! I've been trying to find a way to make my Heal skill be multiple purpose, in the way that if someone is dead, it revives them + gives the heal, or just gives the heal if they are alive. However, because you can only target an ally who is either alive OR dead, I'm not certain that I'm going about this the right way. I can successfully target someone who is dead with the skill, however, when the Skill goes off, it targets someone else, instead. I'm assuming it does this because the target isn't valid.


Has anyone ever tried this before? It seems like a fairly simple thing to do, but I've been wrong before lol. Thanks for the help, as always.
By defaul you can't target both alive and dead actors with the same skill. You'll need either a script (Ace) or a plugin (MV) for this.
Would you know of one off the top of your head that would do the trick? Yanfly's target manager doesn't offer the choice. I'd even be fine with some sort of work-around, such as adding an invisible State as some sort of target check, then chaining some stuff together.

Original thread: https://forums.rpgmakerweb.com/threads/heal-revive-via-a-single-item-skill.60464/