FFVI Vanish (Clear State) possible?

Hi everyone 🙂 I been making a little game with my daughter and nephew and the first big boss will be a ghost. I was hoping I could make a move like Vanish from Final Fantasy VI where the monster disappears (and continues fighting) until someone casts magic damage on it.

While it's in this state it would be immune to physical attacks as well. It's not essential for the encounter, but it certainly would fit the boss and make the player think about when to cast spells, and when to guard/attack. Thanks for any feedback.
A state like this will likely require a plugin. Yanfly Buffs & States Core will help with this:

http://yanfly.moe/2015/12/25/yep-50-buffs-states-core/

A rough idea is using this notetag:

<Custom React Effect>
if (this.isHpEffect() && this.isPhysical() && value > 0) {
value = 0;
} else if (this.isHpEffect() && this.isMagical() && value > 0) {
value = Math.floor(value * 1.5);
target.removeState(VanishID);
}
</Custom React Effect>

I made the effect similar to how it works in FF6. I made it so magic attacks deal extra damage like in FF6, but if you don't want that part, remove this line:

value = Math.floor(value * 1.5);

If you want the enemy to actually be invisible, this plugin can help with that:

http://yanfly.moe/2016/11/05/yep-119-weak-enemy-poses-rpg-maker-mv/
Thanks so much for this, I got everything in place but it seems I can't figure out how to make it invisible. Apologies, I should've mentioned it's an animated battler. Would there be anyway to make it turn invisible while under the Vanish status?

Edit: Tested the Vanish state and it doesn't seem to work right. Attacks get through, and magic doesn't get rid of it. I added what you put above in the notetags box for the state, but I didn't do anything else to it.

Edit2: Noticed the (VanishID) part and tried replacing that with the ID number (0014 and 14) and still didn't work. I must be missing something.

If it's impossible for the animated battler to be turned invisible I could change the status to something else .. a protective shield or something, as long as it can be removed by magic.
When you added the plugin, did you start a new game or reload an existing one? If you reloaded, the game won't find the plugin. A new game is required to register the new plugin.
When you added the plugin, did you start a new game or reload an existing one? If you reloaded, the game won't find the plugin. A new game is required to register the new plugin.

You mean a brand new project or saved game? I've been testing the state in Battle Test mode.

Edit: I've figured out a workaround without using the notetag. The state gives Evasion 100% so melee attacks will always fail, and magic will remove it by doing damage. Only thing to figure out is whether an animated battler can be turned invisible when the state is active.
Battle test can be iffy when it comes to plugins, I feel. You might be better off going into the game test to examine such things.

And when I said a new game, I meant you can't load a save file to get the plugin to work. You don't need a new project. You just need to start a new game.
Didn't want to play through the game again so kept trying in battle test and managed to get it to work on a regular battler. See if it's possible with the animated battler now.

Edit: Tried it but seems impossible. So I'll have to decide whether to use a standard battler and get the Vanish effect, or use the animated battler and turn the move into a physical shield of some sort. Thanks for all the help!
That plugin I showed that uses the image change effect only shows for static images. It won't function for sideview animated battlers like actors.
Thanks, I read that on the plugin page. I ended up changing the battler and it's able to float around the screen and vanish. Should be quite the encounter for my nephew when he gets to play it.

Trying to figure out how to do a little cutscene with the players pointing out they can't hit it (when it disappears the first time), but I guess that would be a question for another day.

Original thread: https://forums.rpgmakerweb.com/threads/ffvi-vanish-clear-state-possible.85225/