Action patterns with turns - incorrect behavior

Status
Not open for further replies.

Schlangan

A madman with a computer
Veteran
Joined
May 20, 2015
Messages
1,421
Reaction score
1,701
First Language
French
Primarily Uses
RMMV
Hello everybody.


While trying to set up the AI of one of the enemies of my game, I encountered a strange problem. Here is the action pattern of the enemy.





As you see, I expected for the enemy to use the skills in the order : Attack, Charge, Rafale, Attack, Charge, Rafale, etc. But, for some reason, the enemy only correctly uses the first attack, while in the second turn it casts one of the two next skills, and does nothing in the third turn.


At first, I thought that it was due to one of my plugins, but the same problem appears in a new project free from any plugin. Did I miss something, or could it be a bug of the engine ?


Thank you for your help :)
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
does the enemy have enough MP/TP to pay for the skill costs of those skills?
 

Schlangan

A madman with a computer
Veteran
Joined
May 20, 2015
Messages
1,421
Reaction score
1,701
First Language
French
Primarily Uses
RMMV
Yes, the costs were at zero during the AI test.


Edit : I solved the problem by adding a micro script to work with Yanfly's ATB, making sure to calculate each battler turn separately.
 
Last edited by a moderator:
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,865
Messages
1,017,059
Members
137,574
Latest member
nikisknight
Top