I wonder how this "condition" works in RPG maker MZ under ATB battle system. It seems that my high agility characters will get multiple turns to attack the enemy before the enemy transforms. So, does the "Turn" in here only counts enemy action as one turn?
Is the "Turn" condition of ATB in MZ counting enemy turns only?
RPG Maker MZ SupportI wonder how this "condition" works in RPG maker MZ under ATB battle system. It seems that my high agility characters will get multiple turns to attack the enemy before the enemy transforms. So, does the "Turn" in here only counts enemy action as one turn?
TPB mode gives every battler their own turn count value. This value is used for personal stuff like turn-based states etc.
Troop conditions reference
Troop conditions reference
$gameTroop.turnCount(). In TPB mode this is equal to the highest individual enemy turn count value, i.e. usually the turn count of the fastest enemy.Many thanks for your detailed reply. Is there any way to refer to individual actor turns, then?
What exactly do you mean? What will you be referencing in that case, and for what purpose?
Like, in an ATB system, every time before the actor takes any action, I would check if his HP is lower than 30%. If his HP is lower than 30%, he will gain a state called "Berserk" for 1 turn. So I would need to refer to the actor's turn count instead of referring to enemy troop turn count. But I can only see "Turn 0+ 0*X" option in the troops menu, which refers to enemy turns instead of actor turns?
Ah, you'll want to reference the actor's _tpbTurnCount property then.
I think that's the right direction, thanks. May I know what is the syntax for _tpbturnCount in scripts?
So it'd be like
$gameActors.actor(1)._tpbTurnCount
$gameActors.actor(1)._tpbTurnCount
Original thread: https://forums.rpgmakerweb.com/threads/is-the-turn-condition-of-atb-in-mz-counting-enemy-turns-only.137252/