Enemy not using skill from Attack Pattern

Trying to figure out why the enemy refuses to use the Skill set at maximum priority. During battle, I have the enemy inflicted by "Charge Monster", and it still won't use Tear Apart. The Skill is essentially a stronger version of Scratch, and has no MP or TP cost attached to it.
Untitled.png

I'm probably overlooking something super basic, but I can't find it...
Screenshot of the Skill settings.
Untitled2.png

Yes, I have been testing this with all plugins turned off too. The enemy still only ever uses Scratch.
How does state "charge monster" get added?

Edit: What does the state experation look like? Have you tried having an actor inflict the state?
How does state "charge monster" get added?
Normally, through a turn event on a Troops page that checks if an enemy has maxed out MP, and if so, it applies Charge Monster to that enemy. But even when I apply the State at the start of battle and during every turn for testing purposes, it still won't use the Skill.

I had an identical concept in my MV project, and it worked fine there.
I'm presuming you've done the basic troubleshooting of making sure it's the right state going onto them.

If you remove the state condition, and/or you make that the only skill in their list, do they use it then? That would narrow it down as to whether it's a problem in the attack pattern or otherwise.
But even when I apply the State at the start of battle and during every turn for testing purposes, it still won't use the Skill.
please show us the state.
Most likely you have set it to a duration of 1 turn, because that would result in the problem you describe.

1 turn state duration is the current turn only, which means the state gets removed at the end of the turn. But the attack patterns are checked at the beginning of the next turn, so they will only see the state if it has a minimum duration of 2 turns, current and next one.
That your troop event adds the state again next turn doesn't help because that adding is then after action selection...
Put Tear Apart first in the list.
please show us the state.
Most likely you have set it to a duration of 1 turn, because that would result in the problem you describe.

1 turn state duration is the current turn only, which means the state gets removed at the end of the turn. But the attack patterns are checked at the beginning of the next turn, so they will only see the state if it has a minimum duration of 2 turns, current and next one.
That your troop event adds the state again next turn doesn't help because that adding is then after action selection...
OK, I think that one was the issue with it. The thing is, the turn event to give them the State runs right before the monsters make their move. For some reason, they will first use Scratch even with the State added on them, which would remove the State because of the 1-turn duration. Removing turn duration, it gives them the turn they need to figure out they're meant to use the higher priority skill. So, to make this run smoothly, I guess a plugin is gonna have to get the job done again...

Put Tear Apart first in the list.

I was convinced something stupid like this was gonna fix it, but it didn't, lol.
The thing is, the turn event to give them the State runs right before the monsters make their move.
It might be "just before they make their action", but unfortunately that is not when the selection of what action to do will happen.

By default each turn has a selection phase and an execution phase. That is to allow for resorting the action order after they are selected, to allow for the skill speed of the selected skill to affect the order.
Your troop event adds the turn after the action selection but before the action execution, so like I described above it cannot affect the selection.

That can be changed by a plugin (as everything can be changed that way), but you should take care of unwanted side effects that might be caused by such a change.
I think a Yanfly plugin took care of that in MZ, if I recall correctly. Either way, that's pretty dumb, it not updating the Attack Pattern priorities after every action.
Either way, that's pretty dumb, it not updating the Attack Pattern priorities after every action.
no, that is intentional - as I said the skill speed would be useless if it does it like you assume.

In the selection phase, the skills are selected outside of the battletime.
after that, each action/skill gets a time value that is basically actor.agi plus skill.speed plus a random%.
then all actions are ordered by time value before executed in that order.

This allows the skill speed setting to influence when the skill is executed in the order - faster skills are earlier used and their results affect more of the remaining battleturn.

Having the action pattern changed or affecting skill selection during the execution phase would completely disrupt the purpose of the skill speed effect.

The fact that most game developers don't use skill speed to create interesting tactical battledecision doesn't change the fact that this ability exists in the default engine.

There are ways to change this, but it needs to take all side-effects into count, especially for those few users that don't ignore the effects of skill speed.
I see, makes sense, I suppose. Yeah, I am planning on making my battle system revolve around having a set turn order for all actors and enemies, where speed stat plays no factor whatsoever. Well, I am getting plugins commissioned to achieve that, so it'll just be one more thing I have to add to the list I need.

Original thread: https://forums.rpgmakerweb.com/threads/enemy-not-using-skill-from-attack-pattern.136864/