Need help with a State

I'm looking to setup a State like Fascination, where those with it only attack their allies, but I'd like them to be able to use their skills too. I'm currently using versions of Fascination and Paralysis (along with the default FVB system) to run an arena system in my projects gambling den, but the "Attack an Ally" restriction seems to be limit my gladiators to only using the basic attack, which makes for fairly boring fights. I'm willing to use plugins to get around this (heaven knows I'm using enough Yanfly plugins 😉), just need someone to point me in the right direction.
Try adding the "Special Flag: Auto Battle" in the state traits; that will make actors use their skills against allies. It doesn't appear to apply to enemies, so if you're trying to make enemies attack other enemies with skills (which could be potentially game-breaking, depending on the effects of the enemy skills) I'd recommend looking into their AI, or modifying skill targets if under the state. That's the route I'd consider if I were trying to make enemies use skills on their allies.
If autobattle doesn't work you will need a plug-in, as the default behavior is to just have them attack when under attack an ally or attack an enemy.

Moved to Plug-In Requests

Try adding the "Special Flag: Auto Battle" in the state traits; that will make actors use their skills against allies. It doesn't appear to apply to enemies, so if you're trying to make enemies attack other enemies with skills (which could be potentially game-breaking, depending on the effects of the enemy skills) I'd recommend looking into their AI, or modifying skill targets if under the state. That's the route I'd consider if I were trying to make enemies use skills on their allies.

Yes Enemies, not Actors. It won't be a balance issue because of how I'm using it; to force Troops of monsters to fight as gladiators against each other until only one is left standing, then the fight is ended and, if the monster you bet on won, you can go collect your winnings. The player doesn't actually do anything in the fight but watch it due to the State the scripts apply to the party. Did a bunch of script work to get it to work (two events and in each Troop used by the Arena, which are unique and only used in this mini-game. In the Troops Battle Event, on turn 0, the two States I mentioned in the OP are applied. The entire party is hit with a State with Restriction: Can't Move which is only removed at Battle End, while the entire "enemy" Troop gets one with Restriction: Attack an Ally).

If you ever played Dragon Warrior/Quest 4 (aka Chapters of the Chosen), it's sort of like the arena in the casino in that game. Or it would be if the enemies would use their Skills against each other instead of just bashing each other with the default Fight option, which is about as exciting as dry white bread, especially when it involves more Wizardly types.

Here's a example of how it works. Had Goblin A won, the bunny girl would have given the player 2 Tokens for a winning bet before offering the next fight:


If autobattle doesn't work you will need a plug-in, as the default behavior is to just have them attack when under attack an ally or attack an enemy.

Moderator note: Moved to Plug-In Requests

Thanks, hopefully someone can help.

Original thread: https://forums.rpgmakerweb.com/threads/need-help-with-a-state.114497/