I'd assume give your enemies immunity to that state.
if it allow event, you can check if its an actor or not 🙂
Untested, but you may be able to change this method in the original plugin with the following to have it only apply to Actors and not Enemies. Syntax could be totally wrong, though. Like I said, untested.
EDIT: Alright, tested it. Seemed to work for me.
Yanfly.Row.Game_BattlerBase_states = Game_BattlerBase.prototype.states;
Game_BattlerBase.prototype.states = function() {
var array = Yanfly.Row.Game_BattlerBase_states.call(this);
if ($gameParty.inBattle()) {
if (this.isActor()) {
this.addRowStates(array);
this.sortRowStates(array);
}
}
return array;
};
You have actions that also grant the same states that the party members get for being in a certain row? As a workaround, you could make a second copy of those states in your database, and have the enemies use the other copy of it. Unless of course, it's just breaking enemies gaining states altogether...
Have you tried with a state that isn't also one of the Row Formation states?
I mean, you did ask for it to affect only Actors and not Enemies. Seems like it's doing what it's supposed to now.