How to make "Elixir" that heals 100%, and also revives the fallen?

This is my problem: I want to make AN item that heals living characters 100%, but also, that can be used on dead characters, get them revived and also 100% healed.

I ended up making 2 separate items, an Elixir for the living, and another for the dead, because there is no an "also" if you choose that you want me to revive the dead in the effects.

I wonder if anyone knows any way to solve it?
Looks like you’ll probably need a plugin. I’d look through Yanfly’s stuff and see if he has anything that will help.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-elixir-that-heals-100-and-also-revives-the-fallen.128706/