Enemy constantly spams one attack

Idk for some reason the enemy won't randomly pick out what attack to use but instead spams one attack over and over again. Maybe because it thinks it's the strongest attack?

VwFvGZI.png


Haste - This version is the normal Haste. So the enemy casts haste (Think FF) on any ally it chooses (It has no ally but it will later on)
It does no damage

Bubble Blast - AOE Water damage

Does more damage than Bubble, the one it spams

Bubble - Single target water damage, slows them (it spams this one)

Attack X 4 - Normal attack done 4 times in one move

Probably does more damage than bubble too. Bubble doesn't do much damage.

Haste - Same as the first but only on itself, occurs in the start


So Idk. If anything he should be spamming Bubble Blast...
My first instinct for this behavior would be that the Skill requirements (not the Action Pattern conditions, but the actual requirements to cast the skill, like the enemy not having enough MP or TP, or the Skill requiring a certain type of Weapon being equipped) might not be met for the enemy, which would force it to choose an action which it can meet the requirements for.

Check all of the costs/requirements of the skills that aren't being used in the Skills tab, check the Enemy in the Enemies tab to make sure it can pay the costs, and check any troop eventing that you do which might affect whether costs/requirements can be met.

Aside from that, less likely causes would be a bug or incompatibility in the plugins you are using (see if you can replicate this behavior with all plugins turned off), or a mistake where you copied and pasted skills, then changed some aspects like the name but forgot to change others like the scope (for example, check Bubble Blast in the Skills tab to ensure that it is, indeed, targeting all enemies).
Right now with that setup, it has a 1/4th chance to pick any attack. So in any given turn there is a 1/4th chance it will pick the same attack it used in the last turn. So it could just be bad RNG as well.

If you want to avoid RNG making it look like it spams the same attack, maybe consider giving it an attack pattern? Like maybe on turn one it can use Attack or Bubble, then on attack 2 it can use Bubble Blast or Attack x4. Something like that can go a long way to avoiding this kind of stuff from happening.

Original thread: https://forums.rpgmakerweb.com/threads/enemy-constantly-spams-one-attack.91454/