Special Revival Skill?

Hey guys,

I'm trying to create a skill that puts a special state on a single ally if they're alive, or revives them if they're dead. The first part works alright, but when I try to use it on a dead target, the skill targets someone else instead. How can I make my skill target anyone regardless if they're alive or dead?
Using Yanfly's Target Core,
Code:
<Custom Target Eval>
targets = $gameParty.members();
</Custom Target Eval>

should allow you to target anyone in the party.
There's also a default "DeadOrAliveItem" plugin in dlc\KadokawaPlugins (works for skills too, not just items)

Original thread: https://forums.rpgmakerweb.com/threads/special-revival-skill.167031/