Alchemy
Loading...
Searching...
No Matches

BattleEffectArgument Struct Reference

The command shared by an effect's caller, dispatcher and handlers. More...

#include <battle/battle_effect_argument.h>

Data Fields

s32 kind
 handler table index; 200 more for a critical hit
s32 side
 1 when the targets are the party, 0 for enemies
s32 actor
 the user's unit id
s32 firstTarget
 the action's first target, standing or not
s32 range
 forwarded action range, otherwise initialized to 1
s32 count
 targets in actors, at least 1
s32 variant
 the ability's size, from 0 (Quake, then Earthquake)
s32 prelude
 1 plays a prelude: in some effects a Djinni appears
s32 unk0020
 not named by TBS code
s16 actors [8]
 the targets' unit ids, count of them

Detailed Description

The command shared by an effect's caller, dispatcher and handlers.

Definition at line 12 of file battle_effect_argument.h.

Field Documentation

◆ kind

◆ side

s32 BattleEffectArgument::side

1 when the targets are the party, 0 for enemies

Definition at line 14 of file battle_effect_argument.h.

Referenced by BattleFx_RunAnnihilation(), BattleFx_RunAstralBlast(), BattleFx_RunBeamSequence(), BattleFx_RunBind(), BattleFx_RunBurstScene(), BattleFx_RunBurstShower(), BattleFx_RunCastingImpact(), BattleFx_RunCondemn(), BattleFx_RunCurse(), BattleFx_RunDjinnBeams(), BattleFx_RunDjinnHeal(), BattleFx_RunDouse(), BattleFx_RunDragonCloud(), BattleFx_RunEruption(), BattleFx_RunFire(), BattleFx_RunFlashingStrike(), BattleFx_RunFrost(), BattleFx_RunGaia(), BattleFx_RunGatheringLights(), BattleFx_RunGround(), BattleFx_RunGrowingColumns(), BattleFx_RunHail(), BattleFx_RunHaunt(), BattleFx_RunHealingMotes(), BattleFx_RunHelmSplitter(), BattleFx_RunIce(), BattleFx_RunKite(), BattleFx_RunLobbedShells(), BattleFx_RunOrbitingSkulls(), BattleFx_RunOrbitingSpirals(), BattleFx_RunPaletteParticles(), BattleFx_RunParticleStreams(), BattleFx_RunPlanetDiver(), BattleFx_RunPlasma(), BattleFx_RunPrism(), BattleFx_RunProjectileVolley(), BattleFx_RunQuake(), BattleFx_RunRagnarok(), BattleFx_RunRay(), BattleFx_RunRingAndSparkScene(), BattleFx_RunRushingStrike(), BattleFx_RunSleep(), BattleFx_RunSparkGroups(), BattleFx_RunStatBoost(), BattleFx_RunStatReduction(), BattleFx_RunStreakVolley(), BattleFx_RunSwirlingStars(), BattleFx_RunSwirlSwipe(), BattleFx_RunTargetStrike(), BattleFx_RunThorn(), BattleFx_RunTorch(), BattleFx_RunUndeadSword(), BattleFx_RunVine(), BattleFx_RunVolcano(), BattleFx_RunWhirlwind(), BattlePres_RunApproachAction(), BattlePres_RunAttack(), BattlePres_RunItem(), BattlePres_RunPlainAttack(), BattlePres_RunPsynergyCast(), BattlePres_RunUnitAction(), BattlePresentation_RunPairedUnitTransition(), and BattlePresentation_RunUnitTransition().

◆ actor

◆ firstTarget

s32 BattleEffectArgument::firstTarget

◆ range

s32 BattleEffectArgument::range

forwarded action range, otherwise initialized to 1

Definition at line 17 of file battle_effect_argument.h.

Referenced by BattleFx_PlayUnitElementEffect(), BattlePres_BuildTargetList(), and BattlePres_RunUnitAction().

◆ count

◆ variant

◆ prelude

◆ unk0020

s32 BattleEffectArgument::unk0020

not named by TBS code

Definition at line 21 of file battle_effect_argument.h.

◆ actors

s16 BattleEffectArgument::actors[8]

the targets' unit ids, count of them

Definition at line 22 of file battle_effect_argument.h.

Referenced by BattleFx_PlayUnitElementEffect(), BattleFx_ProbeKeysForExtendedActor(), BattleFx_RunAnnihilation(), BattleFx_RunAstralBlast(), BattleFx_RunAtalanta(), BattleFx_RunBeamSequence(), BattleFx_RunBind(), BattleFx_RunBladeRain(), BattleFx_RunBolt(), BattleFx_RunBoreas(), BattleFx_RunBreak(), BattleFx_RunBurstScene(), BattleFx_RunBurstShower(), BattleFx_RunCastingImpact(), BattleFx_RunCondemn(), BattleFx_RunCurse(), BattleFx_RunCybele(), BattleFx_RunDeathPlunge(), BattleFx_RunDjinnBeams(), BattleFx_RunDjinnHeal(), BattleFx_RunDjinniEntrance(), BattleFx_RunDouse(), BattleFx_RunDragonCloud(), BattleFx_RunDrain(), BattleFx_RunElementBurst(), BattleFx_RunElementPillar(), BattleFx_RunEruption(), BattleFx_RunFire(), BattleFx_RunFlare(), BattleFx_RunFlashingStrike(), BattleFx_RunFrost(), BattleFx_RunFroth(), BattleFx_RunGaia(), BattleFx_RunGatheringLights(), BattleFx_RunGround(), BattleFx_RunGrowingColumns(), BattleFx_RunHail(), BattleFx_RunHaunt(), BattleFx_RunHealingMotes(), BattleFx_RunHelmSplitter(), BattleFx_RunIce(), BattleFx_RunJudgment(), BattleFx_RunKirin(), BattleFx_RunLobbedShells(), BattleFx_RunMirroredWall(), BattleFx_RunMoteFountain(), BattleFx_RunNeptune(), BattleFx_RunNereid(), BattleFx_RunOrbitingSkulls(), BattleFx_RunOrbitingSpirals(), BattleFx_RunPaletteParticles(), BattleFx_RunPlanetDiver(), BattleFx_RunPlasma(), BattleFx_RunPrism(), BattleFx_RunProcne(), BattleFx_RunProjectileVolley(), BattleFx_RunQuake(), BattleFx_RunRagnarok(), BattleFx_RunRamses(), BattleFx_RunRay(), BattleFx_RunRingAndSparkScene(), BattleFx_RunRushingStrike(), BattleFx_RunShatteringOpening(), BattleFx_RunShiningStar(), BattleFx_RunSleep(), BattleFx_RunSparkApproachVariant3(), BattleFx_RunSparkGroups(), BattleFx_RunSpiderWeb(), BattleFx_RunSpire(), BattleFx_RunStatBoost(), BattleFx_RunStatReduction(), BattleFx_RunStreakVolley(), BattleFx_RunSwirlSwipe(), BattleFx_RunTargetBursts(), BattleFx_RunTargetMotes(), BattleFx_RunTargetStrike(), BattleFx_RunThor(), BattleFx_RunThorn(), BattleFx_RunThrash(), BattleFx_RunTitanBlade(), BattleFx_RunTriangleStrike(), BattleFx_RunUndeadSword(), BattleFx_RunVine(), BattleFx_RunVolcano(), BattleFx_RunWhirlwind(), BattleFx_SelectLivingTargets(), BattlePres_BuildTargetList(), BattlePres_RunApproachAction(), BattlePres_RunAttack(), BattlePres_RunEntryTransition(), BattlePres_RunItem(), BattlePres_RunPsynergyCast(), BattlePres_RunUnitAction(), BattlePresentation_RunPairedUnitTransition(), BattlePresentation_RunUnitTransition(), and ObjectGroup_TickMemberTimers().