Adding in a Petrified Status Effect in MV?

Hey there, seeing as I took a look at what the MV's Database is like recently and see what you can come up with, this is a mighty impressive toolset to use and you can make sure interesting states. However there is one state that baffles me a bit that isn't include in RPG Maker even though it seems to be a pretty common status effect... that status being "Petrified". I know games like Tales Of has this status effect, but I think other games have it too and I'm a little surprised that MV doesn't have that as a default status effect.

I like to have a second "knockout" status effect that's unique on it's own and can only be removed by an item or when the battle ends and having all members succumb to this petrified effect or a combination of both KO'd and Petrified results in a Game Over.

Now I thought I could add it in by using events, but I can't get the desired result. I can setup the status effect and works by "freezing" the party members, however the enemies will still attack even "petrified" victims and I rather not have that happening nor is getting ALL of the petrified resulting in a game over.

Is there anything else specific I need to do to make this work? I haven't gotten around to see what the Plugins offer and only took a peek at MV for a bit to see what it's like. Is it possible to add in a Petrified status effect through MV's default features or do I have to add in a Plugin to achieve it? I don't know why this isn't a default status effect to begin with...
You can have the state reduce the target rate in the s.parameters to 0% meaning enemies will always target other party members before the petrified one.

However if everyone is petrified then you woyld need an event in the troops section to check for everyone being either petrified or knicjrd out and cause the game to end from that trigger.
I see... I was thinking of using the Target Rate but I didn't think it would work.

Though eventing in the Troops tabs for EVERY troop is going to be a pain in the butt to do. But this ways to be one of the most simpler way to setup a Petrified state.

However it would be much better with an Actual "Petrified" Plugin to get it to work. Thanks for this info with me! I'll see what I can do.
There is a Plugin by Yanfly called "Base Troop Events" that will apply  a single troop event to ALL troops so you don't have to rewrite it.

Alternatively you can search through the code and look for the Knockout state checks during targeting and game over triggers and add the State ID of your petrified state.
^Using one of Yanfly's script for adding in the State ID?

Original thread: https://forums.rpgmakerweb.com/threads/adding-in-a-petrified-status-effect-in-mv.49932/