Make a boss prepare a powerful spell?

Sorry if there is a thread about this, but I didn't find anything. 


So I gave this boss the spell "Earthquake", and I want him to enter a "casting mode" for one turn, in which he is vulnerable to be silenced / gives the party time to buff themselves and survive the attack, which the boss casts in the next turn (unless silenced). So basically: boss prepares Earthquake for a turn and then casts it on the next one, unless he is interrupted.


How would I do that? Help is much appreciated.
you create a state "preparing attack" which either does nothing or changes some values of your choice. This state needs to last exactly two turns.


then you create a skill "preparing" that gives the enemy that state.


In the attack pattern of the enemy, you give the preparing skill like normal with the propabilites how and when you want the boss to prepare.


Then you give the earthquake skill with a condition that it can only be used if the enemy has that preparing state and with a rating that is extra-high to ensure it is used after preparing.


That's all
Thanks, it worked perfectly

Original thread: https://forums.rpgmakerweb.com/threads/make-a-boss-prepare-a-powerful-spell.67831/