Enemies not using skills with switch requirements even though the switch is definitely on! Please Help!

The last three boss fights were this way. I have a battle event that turns switch #83 off at turn 0 set to Battle. and at some point during the battle, there is an event that turns Switch #83 on.

The Switch On event is triggering but enemies do not ever use the skill associated with that switch.

I verified that after every battle where the enemy never used the move, the switch is definitely on. I saved the game, created a nearby event with a graphic of a dragon character that I specifically use for debuggging, and told the event to show if Switch #83 is on.

The dragon character was there all three times after each of the three battles proving switch 83 is on. But the monsters refused to use skills with Switch #83 as a requirement.

This is just one of the three enemies who refuse to use skills with Switch 83.
1701021923442.png


It is not as simple as setting the move to 45% or below because two of the cases, I wanted a forced action on a specific actor before the skill becomes available and conditional branches prevent it from happening if that actor is dead.


However, in this case, I wanted Zeromus's healing spell to become available at 45% health but I wanted it to remain available even if she heals herself above 45% so I used a switch. Laurel Physick heals a random large amount ranging from very little to significant used with .sample


Zeromus along with two other bosses never used their Switch 83 skill despite the switch being on


Does anybody know what the problem could be?
I think part of the issue may be the Skill Rating. You have a LOT of skills there, and the rating for the one I can see is 3, compared to the others which are 5.
Try setting the skills with the switch requirements to 10.
It's most likely the rating, as the probability of any skill selected is calculated from it.
With your current distribution of rating values, the probability of that skill being selected is far lower than 10% (would depend on the other ratings outside the screenshot to calculate the exact value)

However, please read the help to learn how that rating works, because it is NOT LINEAR.

Original thread: https://forums.rpgmakerweb.com/threads/enemies-not-using-skills-with-switch-requirements-even-though-the-switch-is-definitely-on-please-help.163305/