Skip to Content
The Alchemy Project

src/battle/ability_staging.c

How each ability is staged in battle: the outcome staging btActionRunBuild gives it and the effect it plays, by ability id, and the effect chance it rolls ahead. More…

Variables

NameDescription
const Uint8ActionRunEffectChance []The effect chance by distance btActionRunBuild rolls ahead for Annihilation and Whorl, the same as RangeFalloffEffectChance.
const Uint8AbilityStaging []By ability id, ABILITY_NOTHING to ABILITY_PRESSURE; 0 leaves the choice to btActionRunBuild.
const Uint32AbilityBattleEffects []By ability id, ABILITY_NOTHING to ABILITY_PSY_BOOST.

Description

How each ability is staged in battle: the outcome staging btActionRunBuild gives it and the effect it plays, by ability id, and the effect chance it rolls ahead. The ability names in the comments are the English release's; ? is the name MsgAbilityName gives those ids. An effect's kind, its low twelve bits, is an BATTLE_EFFECT_ID, an enum SUMMON_EFFECT_ID with EFFECT_SUMMON, and a number of btEffectRunByIdRange's own with EFFECT_BY_ID_RANGE.

Variables in detail

ActionRunEffectChance

const Uint8 ActionRunEffectChance[]

The effect chance by distance btActionRunBuild rolls ahead for Annihilation and Whorl, the same as RangeFalloffEffectChance.

Referenced by btActionRunBuild().

Definition at line 11 of file ability_staging.c.

AbilityStaging

const Uint8 AbilityStaging[]

By ability id, ABILITY_NOTHING to ABILITY_PRESSURE; 0 leaves the choice to btActionRunBuild.

Referenced by btActionRunBuild().

Definition at line 15 of file ability_staging.c.

AbilityBattleEffects

const Uint32 AbilityBattleEffects[]

By ability id, ABILITY_NOTHING to ABILITY_PSY_BOOST.

Referenced by btActionRunBuild().

Definition at line 753 of file ability_staging.c.