- Joined
- Aug 4, 2017
- Messages
- 5
- Reaction score
- 1
- First Language
- English
- Primarily Uses
- RMVXA
I think this may sound complicated, but I'm running a battle that sets states that will change the attack pattern of the troops. It's set so that every 3 turns, the enemies will be given the New Attack state, (in this case, Fire) and then the following turn of every 3rd turn, the state will be removed. If I run it normally, it works as intended. They'll always use Fire every 3rd turn, and only every 3rd turn.
Here's the problem. The enemies also have a Stun attack, which will make my characters unable to move for 1 turn. When that happens, it completely desyncs the pattern of the turn conditions. For example, the enemies will start using Fire on the 3rd and 4th turn. 5th turn, they'll use their normal attacks, 6th, 7th, and 8th turn they'll use Fire, and so on with that kind of desync.
The reason I use states is because the attack pattern will only be applied on specific formations. I don't really wanna remove their Stun attacks because I plan to use patterns like these in the future. I get the feeling it's a problem with how the Battle Engine registers each turn, but I have no idea what. Anyone know how to fix that issue?
For reference, I am using Yanfly's Battle Engine v1.22 and Core Engine v1.09.
Here's the problem. The enemies also have a Stun attack, which will make my characters unable to move for 1 turn. When that happens, it completely desyncs the pattern of the turn conditions. For example, the enemies will start using Fire on the 3rd and 4th turn. 5th turn, they'll use their normal attacks, 6th, 7th, and 8th turn they'll use Fire, and so on with that kind of desync.
The reason I use states is because the attack pattern will only be applied on specific formations. I don't really wanna remove their Stun attacks because I plan to use patterns like these in the future. I get the feeling it's a problem with how the Battle Engine registers each turn, but I have no idea what. Anyone know how to fix that issue?
For reference, I am using Yanfly's Battle Engine v1.22 and Core Engine v1.09.



