When an actor uses a specific skill, the enemy uses a specific pattern.

Hi !

This time I'm making another special enemy.
To be precise, it's not special, what I need this time is a mechanism that I should use on some enemies.

What I need is to create a behavioral pattern that feels like that when a certain actor uses a certain skill, the attack pattern is assigned to the next enemy.

ex) If Actor 1 uses the technique A, the enemy (boss) must use the technique B on the next turn.

It feels like a rival composition, so if the protagonist uses a special move, the enemy also uses a special move.

How can I make this?
There are several ways you could do this but the easiest I would think is to just make the Actors skill apply a hidden state that you could check for inside the troop event. That way at the start of the enemy turn it can check if it has the hidden state and if it does will unleash its special attack.
There are several ways you could do this but the easiest I would think is to just make the Actors skill apply a hidden state that you could check for inside the troop event. That way at the start of the enemy turn it can check if it has the hidden state and if it does will unleash its special attack.

So, what are you saying is that I have an actor using a skill to call a common event, switch it on, and then use that to use a pattern with a switch?

Because of this, we create a common event for one enemy
Also, isn't it a little wasteful to give common events to skills?

This is a skill that actors should use frequently from start to finish of the game.
However, these enemies currently use only 1 in 100 hits.

Or am I misunderstanding?
@Dehsalp No, not a common event. You just need to make a State:
1.PNG


Now you can just have the enemy check for state and use the attack you want:

3.PNG

Original thread: https://forums.rpgmakerweb.com/threads/when-an-actor-uses-a-specific-skill-the-enemy-uses-a-specific-pattern.126275/