struct BATTLE_ACTION_RECORD
A unit's chosen action for the turn: its command, the command's parameter, its target and range, and its priority in the turn order. More…
Declared in battle_action.h.
Fields
| Name | Description | |
|---|---|---|
Sint16 | unitId | |
Uint16 | slot | in a link battle, unitId as the opponent knows it |
Uint16 | priority | its place in the turn order |
Sint16 | command | BATTLE_COMMAND |
Sint16 | param | the command's ability, item or Djinni |
Sint16 | target | the aimed unit's id |
Sint16 | range | the action's range |
Sint16 | turnAction | which of the unit's actions this turn, from 0 |
Description
A unit's chosen action for the turn: its command, the command's parameter,
its target and range, and its priority in the turn order. Poseidon's and the
Doom Dragon's forms choose each turn action by turnAction (btAIChooseAction).
struct BATTLE_ACTION_RECORD
Referenced by btAbilityReplaceDefeated(), btActionOrderSort(), btActionRunBuild(), btActionSwap(), btAIChooseAction(), btAppendLinkedActions(), btAutoBattleBuildActions(), btAutoBattleRunAction(), btAutoBattleRunApproachAttack(), btAutoBattleRunAttackOrItem(), btAutoBattleRunPsynergy(), btBuildEnemyActions(), btBuildUnitActions(), btFleePlayRun(), btGatherActions(), btStagingDispatchAction(), btStagingRunItem() and mnBattlePartySplitChoosers().
Definition at line 86 of file battle_action.h.
Fields in detail
unitId
Sint16 unitId
slot
Uint16 slot
in a link battle, unitId as the opponent knows it
priority
Uint16 priority
its place in the turn order
command
Sint16 command
param
Sint16 param
the command's ability, item or Djinni
target
Sint16 target
the aimed unit's id
range
Sint16 range
the action's range
turnAction
Sint16 turnAction
which of the unit's actions this turn, from 0