include/battle/battle_action_run.h
BATTLE_ACTION_RUN, an action planned for its targets: the hits, criticals and multipliers rolled.
Included by battle_effect_internal.h, ability_staging.h, battle_state.h, character.h and inventory.h.
Structures
| Name | Description | |
|---|---|---|
struct | BATTLE_ACTION_RUN | One action, as btActionRunBuild lays it out for btAbilityApplyToTarget to apply target by target. |
Macros
| Name | Description | |
|---|---|---|
#define | HIT_NOT_ROLLED -1 | BATTLE_ACTION_RUN.targetHit while the hit is still to be rolled, as the ability lands; btActionRunBuild rolls it ahead only for Annihilation. |
Enumerations
| Name | Description | |
|---|---|---|
enum | anonymous enum { BATTLE_TARGET_CAPACITY, BATTLE_ACTION_RUN_SIZE } | |
enum | BATTLE_CRITICAL { CRITICAL_NONE, CRITICAL_HIT, CRITICAL_STRONG } | BATTLE_ACTION_RUN.targetCritical: the critical hit rolled for each target. |
enum | BATTLE_ACTION_FAILURE { ACTION_FAILURE_NONE, ACTION_FAILURE_SEALED, ACTION_FAILURE_N … } | BATTLE_ACTION_RUN.failure: why a cast plays no effect, which the staging shows. |
Description
BATTLE_ACTION_RUN, an action planned for its targets: the hits, criticals and
multipliers rolled.
Macros in detail
HIT_NOT_ROLLED
#define HIT_NOT_ROLLED -1
BATTLE_ACTION_RUN.targetHit while the hit is still to be rolled, as the
ability lands; btActionRunBuild rolls it ahead only for Annihilation.
Referenced by btAbilityApplyToTarget() and btActionRunBuild().
Definition at line 28 of file battle_action_run.h.
Enumerations in detail
anonymous enum
enum { BATTLE_TARGET_CAPACITY, BATTLE_ACTION_RUN_SIZE }
| Enumerator | Value | Description |
|---|---|---|
BATTLE_TARGET_CAPACITY | 14 | Targets an action can hold: as many units as |
BATTLE_ACTION_RUN_SIZE | 100 | BATTLE_STATE.objects holds, 8 party places and 6 enemies. |
Definition at line 10 of file battle_action_run.h.
BATTLE_CRITICAL
enum BATTLE_CRITICAL
BATTLE_ACTION_RUN.targetCritical: the critical hit rolled for each target.
| Enumerator | Value | Description |
|---|---|---|
CRITICAL_NONE | ||
CRITICAL_HIT | an attack's: a quarter more damage | |
CRITICAL_STRONG | an ability's (effects 36 to 40): half as much again |
Definition at line 19 of file battle_action_run.h.
BATTLE_ACTION_FAILURE
enum BATTLE_ACTION_FAILURE
BATTLE_ACTION_RUN.failure: why a cast plays no effect, which the staging
shows.
| Enumerator | Value | Description |
|---|---|---|
ACTION_FAILURE_NONE | ||
ACTION_FAILURE_SEALED | "blocked": the user's Psynergy is sealed | |
ACTION_FAILURE_NO_PP | the user has too little PP |
Definition at line 32 of file battle_action_run.h.