How to target one ally with a skill [alive or dead]

I have a simple cure spell. It should be able to target one ally, either dead or alive, and restore some HP [and remove the knockout state if the ally is dead]. How can I accomplish this?
not possible in default, you can only target either alive or dead not both in default.

you'll need to look for a plugin to do this

Original thread: https://forums.rpgmakerweb.com/threads/how-to-target-one-ally-with-a-skill-alive-or-dead.106211/