How to make a boss 100% use certain ability when affected by a certain state.

Heya so, in my game there's a boss who can only be damaged by using thunder attacks, however many thunder like weapons in my game come with the "shock" state (causes constant damage), which is kinda cool to use on enemies but kinda ruins the boss because if you just spam certain items which allow to produce this state, you can basically kill the boss too easily.

There's an ability I made for the boss that removes the shock state, but she just won't use it.

I tried using the priority number thing but she ignores it completely, I also tried adding a battle event for her to remove herself this state, but she doesn't do anything neither, and when shes does, she only does it once (my game even got frozen once).

Is there any way of doing this easily that my newbie brain hasn't figured out?
The default MV AI is dumb; like really, really dumb. They usually prioritize skills that do the most damage.
If you have access to Yanfly's plugins, the Battle AI core will allow you to more clearly define actions through a condition & priority list.
It would be helpful if you actually showed what you'd tried that didn't work instead of just describing it with "the priority number thing."

If you give your state removing skill the condition of having that state, and make its rating more than 2 higher than any other skills on its list, it should be the only thing it can do when it has the state.

1700713504695.png


Then you just make sure the enemy is able to use the skill in terms of MP/TP costs.
but she doesn't do anything neither, and when shes does, she only does it once (my game even got frozen once).
that sounds as if you messed up both conditions (when to trigger the event) and span (once per battle, once per turn etc) of the troop event.

But as said above we cannot tell you what you did wrong without seeing what you did.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-a-boss-100-use-certain-ability-when-affected-by-a-certain-state.163083/