struct BATTLE_EFFECT_PARM
The command shared by an effect's caller, dispatcher and handlers.
Declared in battle_effect_params.h.
Fields
| Name | Description | |
|---|---|---|
Sint32 | kind | the effect's index in the handler table |
Sint32 | side | 1 when the targets are the party, 0 for enemies |
Sint32 | user | the user's unit id |
Sint32 | firstTarget | the action's first target |
Sint32 | range | forwarded action range, otherwise initialized to 1 |
Sint32 | targetCount | how many of targets are in use |
Sint32 | variant | the ability's size, from 0 |
Sint32 | prelude | 1 plays a prelude: in some effects a Djinni appears |
Sint32 | unused | named by no code in either game |
Sint16 | targets [8] | the targets' unit ids, targetCount of them |
Description
The command shared by an effect's caller, dispatcher and handlers.
struct BATTLE_EFFECT_PARM
Referenced by BattleEffectHandlers, btEffectReadKeysForEnemyTarget(), btEffectRunAcheronsGrief(), btEffectRunAcidBite(), btEffectRunAcidBreath(), btEffectRunAgingGas(), btEffectRunAngleSpike(), btEffectRunAnnihilation(), btEffectRunAroma(), btEffectRunAstralBlast(), btEffectRunAtalanta(), btEffectRunAttackSlash(), btEffectRunAura(), btEffectRunAzul(), btEffectRunBackgroundFadeIn(), btEffectRunBackstab(), btEffectRunBacteriaRush(), btEffectRunBaffleCard(), btEffectRunBallAttack(), btEffectRunBallLightning(), btEffectRunBalm(), btEffectRunBansheeHowl(), btEffectRunBeam(), btEffectRunBearClaw(), btEffectRunBeastNeedle(), btEffectRunBeatDance(), btEffectRunBerserk(), btEffectRunBind(), btEffectRunBlackIce(), btEffectRunBladeRain(), btEffectRunBlast(), btEffectRunBlastBreath(), btEffectRunBlazeRush(), btEffectRunBlizzard(), btEffectRunBolt(), btEffectRunBoneCharge(), btEffectRunBoneChiller(), btEffectRunBoostHack(), btEffectRunBoreas(), btEffectRunBrambleCard(), btEffectRunBreak(), btEffectRunBreath(), btEffectRunBreaths(), btEffectRunBruteForce(), btEffectRunBubbleColumn(), btEffectRunBurstShower(), btEffectRunByIdRange(), btEffectRunCage(), btEffectRunCallDullahan(), btEffectRunCannibalFang() and 345 more.
Definition at line 21 of file battle_effect_params.h.
Fields in detail
kind
Sint32 kind
the effect's index in the handler table
side
Sint32 side
1 when the targets are the party, 0 for enemies
user
Sint32 user
the user's unit id
firstTarget
Sint32 firstTarget
the action's first target
range
Sint32 range
forwarded action range, otherwise initialized to 1
targetCount
Sint32 targetCount
how many of targets are in use
variant
Sint32 variant
the ability's size, from 0
prelude
Sint32 prelude
1 plays a prelude: in some effects a Djinni appears
unused
Sint32 unused
named by no code in either game
targets
Sint16 targets[8]
the targets' unit ids, targetCount of them