Make State Target Dead Enemy? (Yanfly's Selection/Target plugins)

So I'm wanting there to be necromancers in my game. If an actor dies, I want them to cast a spell which turns them into a zombie (it resurrects them and puts a state on them that causes them to attack their former allies).

I'm wanting this spell to also be something the players can use. Is there a way with Yanfly's Target and Selection plugins to make a skill that targets fallen enemies? I can't seem to find out how to do it if there is.
I'm super tired right now, so I won't be able to fully respond.. but I will try to get back in a couple days with more advice.

I have/had a similar type skill/class.. and this is achievable through various creative means and plug ins. My "necromancer" could apply a state that was basically "Life 3" and would resurrect them with the zombie state... and he had to be fully healed in order for the state to wear off (but heal spells damaged him, so the only way he could heal was using a state enabled "Siphon Life"). Once he was fully healed, the state wore off and he was back to normal, but if he didn't fully heal within 5 turns or before the battle ended, he would be KO'd anyway.

I also gave him a state that he could put on himself or allies, that allowed him to ignore death and go below 0 HP for 3 turns. If the battle were finished within those 3 turns, then they would live. If the battle continued, they would KO. It was designed to be used if you're in a tight spot in battle and you might lose. You cast the state, and it gave near invincibility after death while granting a chance to still win the battle.

This was all with Yanfly's plugin's and I think a couple of other folks simple plugin's. OH!! And common eventing.

But one would still have to be pretty versed in how to modify plugins to get it to work. Are you experienced with this?

-MIA
But one would still have to be pretty versed in how to modify plugins to get it to work. Are you experienced with this?

-MIA

I've never done it before. While I lack Javascript fluency, I do understand the basic theory of coding, so I might be able to do it.
Although I won't walk you through all the very specific details on how to do this, I will put the resources at your fingertips!

I believe learning through discovery!! Also, I don't know ALL the specifics you want for your project or this aspect of it.
So here you go! 🙂

Revive/AutoLife/Life 3, Whatever you want to call it. To bring an Ally back if they get KO'd.
Zombie/Undead/Whatever you want to call it.. the general state in RPG's of Undead.

You will likely need to use Yanfly's "CORE" plugin's to get these to work properly. You can find all of Yanfly's stuff HERE.

What you would do is create two states. "ReRaise" and "Undead", and a skill "Resurrect" (whatever you want to name them).
In those plugin's you assign the states and skills. The skill Resurrect will apply the ReRaise state. And then you would apply Undead after the Ally has KO'd and Revived.

Set the state of Undead to be similar ro "Confuse" or "Berzerk" in the database and you can modify it as you please.

There are a few more steps to get it exactly how you want it, but these links will give you the tools to learn and customize it for your needs.
Hope this helps! 🙂
-MIA

Original thread: https://forums.rpgmakerweb.com/threads/make-state-target-dead-enemy-yanflys-selection-target-plugins.103983/