I have an enemy who performs two actions per turn. I want him to do two moves in the proper order. A charge, discharge order. Similar to a hyper beam in pokemon. But the conditions for actions are checked at the start of the TURN not the start of the action. Meaning every order needs to be either random, or the same action repeated.
Even if I have the first ability call an event that turns on a switch, and attach that switch to the second abilities condition, the first ability will be queued twice. And resolve twice.
Even if I put a mana restriction on the second ability. And have the first ability generate the necessary mana. The game doesn't care, it will resolve the abilities that were queued at the beginning of the turn.
I'm struggling to figure out a work around. Forcing enemy actions by causing a common event seems to cause more problems than it solves. And I can't find any plugins or code for this issue.
Even if I have the first ability call an event that turns on a switch, and attach that switch to the second abilities condition, the first ability will be queued twice. And resolve twice.
Even if I put a mana restriction on the second ability. And have the first ability generate the necessary mana. The game doesn't care, it will resolve the abilities that were queued at the beginning of the turn.
I'm struggling to figure out a work around. Forcing enemy actions by causing a common event seems to cause more problems than it solves. And I can't find any plugins or code for this issue.