include/battle/first_strike.h
Who strikes first as a battle opens.
Included by battle_internal.h.
Enumerations
| Name | Description | |
|---|---|---|
enum | BATTLE_FIRST_STRIKE { FIRST_STRIKE_NONE, FIRST_STRIKE_PARTY, FIRST_STRIKE_ENEMIES } | BATTLE_STATE.firstStrike: rolled as a battle opens when nothing set its start (MainRoutineStateWork.battleType 0), and set back to normal after the first turn (btRun). |
Description
Who strikes first as a battle opens.
Enumerations in detail
BATTLE_FIRST_STRIKE
enum BATTLE_FIRST_STRIKE
BATTLE_STATE.firstStrike: rolled as a battle opens when nothing set its start
(MainRoutineStateWork.battleType 0), and set back to normal after the first
turn (btRun).
| Enumerator | Value | Description |
|---|---|---|
FIRST_STRIKE_NONE | 0 | |
FIRST_STRIKE_PARTY | 1 | 1 in 16, and always in the Djinn tutorial: no enemy acts in the first turn, and running away cannot fail. |
FIRST_STRIKE_ENEMIES | 2 | 1 in 32 of the rest: in the first turn the party chooses no commands, and at most 2 to 5 enemies, drawn at random, act once each (btBuildEnemyActions). A failed flee sets it for the rest of its turn. |
Definition at line 11 of file first_strike.h.