Problem during fight (ennemy idle) [Solved]

I created a post earlier, but removed it because I thought it was fixed...
But it's not. 🙁

I don't really understand what's happening.
The way I set up my ennemy pattern is like this :

no comprende.png

(Attack and Slam are twice, because I tried to set up per HP trench, as this wasn't working with Slam 0~50% and Attack 20~100% either)

Somehow, when he reach <20% HP, he does Shell or Boost one time, then go into idle mode.
He does nothing anymore.

I'm using the TPB battle mode from the VisuStella Core Engine.

Sometimes, when reaching about 30% HP he goes to idle mode.
I'm still pretty new to this battle system, but it doesn't make sens to me...
Could someone give me some info about this please?
Check if the enemy has enough MP to use any of the skills below 50% HP?
Ennemy has 9999 MP
Each of those attacks cost like 20-30.

Edit : I just tried to set Ennemy MP and PT consumption to 0.
He stay idle when <20% HP

I'm clueless 🙁

Edit : I used the command during battle to show TP and MP after each turn.
Ennemy TP dropped below 5 and had no attacks to recover TP.


My appologize for this topic.

Problem solved
(A small hint about this mechanic would be nice to show in the MZ program for people who aren't accustomed to it. 🙂 )

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/problem-during-fight-ennemy-idle-solved.131473/