This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
atb_system [2021/10/01 07:00] – created wylem | atb_system [2022/05/05 19:46] – Corrections wylem | ||
---|---|---|---|
Line 2: | Line 2: | ||
=====Concepts===== | =====Concepts===== | ||
- | [[Battle Timers]]: A set of timers for each battle participant that determine when events occur in a battle. | + | **[[Battle Timers]]**: A set of timers for each battle participant that determine when events occur in a battle. |
- | [[Speed Modifier]]: A value that is raised or lowered by speed-modifying spells, and used as a modifier for most timers. | + | **[[Speed Modifier]]**: A value that is raised or lowered by speed-modifying spells, and used as a modifier for most timers. |
- | Menu Queue: The list of characters whose menu is ready to pop up. | + | **Menu Queue**: The list of characters whose menu is ready to pop up. |
- | Pointer: Keeps track of which slot is currently being checked for expired timers. | + | **Pointer**: Keeps track of which slot is currently being checked for expired timers. |
- | Queuing | + | **Queuing |
- | Executing | + | **Executing |
=====How it works===== | =====How it works===== | ||
- | All battle participants (characters and monsters) have an [[battle_timers# | + | All battle participants (characters and monsters) have an [[battle_timers# |
====What happens in each tick==== | ====What happens in each tick==== | ||
Line 24: | Line 24: | ||
- HP Sap and Regen are applied, if applicable. | - HP Sap and Regen are applied, if applicable. | ||
- The battle victory/ | - The battle victory/ | ||
- | - Any auto-actions | + | - Any auto-action |
- The menu queue is handled: | - The menu queue is handled: | ||
* If the menu is currently open, the game checks for any conditions that would automatically close it (auto-hide or equipping the Avenger) | * If the menu is currently open, the game checks for any conditions that would automatically close it (auto-hide or equipping the Avenger) | ||
* If the player has just entered a menu command, it is queued at this point, setting that character' | * If the player has just entered a menu command, it is queued at this point, setting that character' | ||
- | * Otherwise, if the menu was not open and any characters are in the Menu Queue, the first is pulled off that queue, and if they are eligible to act, their menu will start to open on the next frame. | + | * Otherwise, if the menu was not open and any characters are in the Menu Queue, //and if L+R are not currently being held//, the first is pulled off that queue. If they are eligible to act, their menu will start to open on the next frame. |
* If the character has fired their last arrow, it will be removed here. | * If the character has fired their last arrow, it will be removed here. | ||
* If the character was Parrying, that status is removed here. | * If the character was Parrying, that status is removed here. | ||
* If the Avenger is equipped, Berserk status is set and the menu will not be opened. | * If the Avenger is equipped, Berserk status is set and the menu will not be opened. | ||
- The next expired timer is handled: | - The next expired timer is handled: | ||
- | * The slot the Pointer is currently pointing at is checked for any expired timers. If none are expired, it will continue moving through slots until an expired timer is found or all 13 slots have been checked. If an expired timer *is* found, it is handled. | + | * The slot the Pointer is currently pointing at is checked for any expired timers. If none are expired, it will continue moving through slots until an expired timer is found or all 13 slots have been checked. If an expired timer *is* found, it is handled, and the Pointer moves to the next slot. |
- | * Note: There are 7 different types of timers. In order, they are: Stop, Action, Sap, Poison, Stone, Wall, Count. Only one expired timer for one participant can be handled in a given tick, and they are checked in order.((All timers are checked for one slot before the Pointer moves on to the next)) | + | * Note: There are 7 different types of [[Battle Timers|timers]]. In order, they are: Stop, Action, Sap, Poison, Stone, Wall, Count. Only one expired timer for one participant can be handled in a given tick, and they are checked in order.((All timers are checked for one slot before the Pointer moves on to the next)) |
- | * In the case of characters, an expired Action Timer means that when the Pointer reaches that character, they will either execute their action | + | * In the case of characters, an expired Action Timer means that when the Pointer reaches that character, they will either execute their command |
- | * In the case of monsters, an expired Action Timer means that they will either execute their action | + | * In the case of monsters, an expired Action Timer means that they will either execute their command |
* Note that if a monster starts a chain, all other participants' | * Note that if a monster starts a chain, all other participants' | ||
- | * Queuing | + | * Queuing |
- Any monster counters are processed. | - Any monster counters are processed. | ||
Line 53: | Line 53: | ||
The game then finds the lowest Action Timer value, and subtracts one less than that value from all Action Timers. (This effectively skips ahead until the lowest Action Timer is 1) | The game then finds the lowest Action Timer value, and subtracts one less than that value from all Action Timers. (This effectively skips ahead until the lowest Action Timer is 1) | ||
+ | |||
+ | =====Running===== | ||
+ | Immediately after the battle victory/ | ||
+ | |||
+ | For fights where the enemy in the first slot is less than level 97: | ||
+ | * If a character has entered the menu queue, the party is ready to run. | ||
+ | For fights where the enemy in the first slot is level 97 or higher: | ||
+ | * At the start of battle, a run delay timer is set to a value depending on this monster' | ||
+ | * This value is 3, 7, or 10 for levels 97, 98, and 99, respectively. | ||
+ | * If the timer has reached zero, the party is ready to run. Otherwise, the run delay timer is decremented, | ||
+ | * Note that if the enemy in the first slot is level 99, then if at any point the player is not holding L+R, the delay timer is set to 15. | ||
+ | |||
+ | When the party is ready to run: | ||
+ | * If running is enabled in this fight, the party runs away. | ||
+ | * If running is disabled in this fight, display the " | ||
+ | |||
+ | Note that character menus will not appear while L and R are being held. |