Battle Help - Enemy using a move

Hello,

I want to make it so that an enemy cast a spell at the start of the battle (or his first attack command) then cast it every 5 turns.

I have tried the turn battle formula (1+4) but he never uses it the first time. He either does nothing or casts fire. He doesn't use it until the 2nd turn.

His set up is:

attack (when silence state is applied)

Fire (rating 4)

Magic Barrier (rating 4, cast 1st turn + 4)

please help I cant figure out whats wrong 🙁

-N-
Do you want him to cast it every time on the 1st turn, then all 5 turns thereafter? If so make sure to set the rating to 10 (or some number way above the others). Also make sure the enemy has MP, if they don't they will not cast the spell.
Do you want him to cast it every time on the 1st turn, then all 5 turns thereafter? If so make sure to set the rating to 10 (or some number way above the others). Also make sure the enemy has MP, if they don't they will not cast the spell.
every time on the first turn then 5 turns after.

I have set the rating higher than the others but same result: he just casts fire the first 5 turns then the magic barrier spell.
I think the problem is the engine doesn't execute commands set to work on turn 0, even though it starts battles on turn 0 (at least it does for me, though I have Yanfly's battle engine). There might be a script to patch that so the battle starts on turn 1, and then you can use 1 + 4*X to make it work.

As it is, so far I've just used 1 + 4*X, and have the boss weak for the first turn. Give the player a chance to hit it before he/she/it surprises them with a barrier or other tricks.

Original thread: https://forums.rpgmakerweb.com/threads/battle-help-enemy-using-a-move.37020/