struct BATTLE_PLAN
One action, laid out for btAbilityApplyToTarget to apply target by target.
Declared in battle_action_run.h.
Fields
| Name | Description | |
|---|---|---|
Uint8 | unitId | The acting unit. |
Sint8 | targetCount | Targets in targetIds. |
Uint8 | partnerId | The other unit of Meld |
Uint8 | targetIds [BATTLE_TARGET_CAPACITY] | and Mold: the strongest ally Meld joins, whose Attack adds a quarter, or the unit Mold takes the place of. |
Sint8 | targetOffset [BATTLE_TARGET_CAPACITY] | Each target's place from the aimed unit's, which sets the range falloff. |
Sint8 | targetMultiplier [BATTLE_TARGET_CAPACITY] | The blows that land on each target: 0 a miss, 2 or 3 a double or triple. |
Sint8 | targetCritical [BATTLE_TARGET_CAPACITY] | BATTLE_CRITICAL. |
Sint8 | targetHit [BATTLE_TARGET_CAPACITY] | Whether the ability's |
Uint8 | paddingBeforeCommand | effect takes on each target, or HIT_NOT_ROLLED. |
Sint16 | command | BATTLE_COMMAND. |
Sint32 | abilityId | |
Sint32 | element | ELEMENT. |
Sint32 | staging | BATTLE_STAGING. |
Uint32 | battleEffect | The battle effect that shows the action, and how it is staged (EFFECT_ID_MASK and the EFFECT_* bits). |
Sint32 | failure | BATTLE_ACTION_FAILURE. |
Uint32 | hauntDamage |
Description
One action, laid out for btAbilityApplyToTarget to apply target by target.
struct BATTLE_PLAN
Referenced by btAbilityApplyToTarget(), btActionRunBuild(), btMotionCallBeast(), btStagingBuildTargetList(), btStagingPlanAuroraField(), btStagingPlanDaedalus(), btStagingPlanHighImpact(), btStagingRunAttack(), btStagingRunFlee(), btStagingRunFullScreen(), btStagingRunItem(), btStagingRunMessages(), btStagingRunPsynergyCast() and btUnitProcessActionEnd().
Definition at line 38 of file battle_action_run.h.
Fields in detail
unitId
Uint8 unitId
The acting unit.
targetCount
Sint8 targetCount
Targets in targetIds.
partnerId
Uint8 partnerId
The other unit of Meld
targetIds
Uint8 targetIds[BATTLE_TARGET_CAPACITY]
and Mold: the strongest ally Meld joins, whose Attack adds a quarter, or the unit Mold takes the place of.
targetOffset
Sint8 targetOffset[BATTLE_TARGET_CAPACITY]
Each target's place from the aimed unit's, which sets the range falloff.
targetMultiplier
Sint8 targetMultiplier[BATTLE_TARGET_CAPACITY]
The blows that land on each target: 0 a miss, 2 or 3 a double or triple.
targetCritical
Sint8 targetCritical[BATTLE_TARGET_CAPACITY]
targetHit
Sint8 targetHit[BATTLE_TARGET_CAPACITY]
Whether the ability's
paddingBeforeCommand
Uint8 paddingBeforeCommand
effect takes on each
target, or
HIT_NOT_ROLLED.
command
Sint16 command
abilityId
Sint32 abilityId
element
Sint32 element
staging
Sint32 staging
battleEffect
Uint32 battleEffect
The battle effect that
shows the action, and
how it is staged
(EFFECT_ID_MASK and the
EFFECT_* bits).
failure
Sint32 failure
hauntDamage
Uint32 hauntDamage