Skip to Content
The Alchemy Project

include/battle_effect/battle_effect_table.h

The rows and columns of the battle effects' tables, which battle_effect_table.c fills and the effects read.

Included by battle_effect_internal.h and battle_effect_table.c.

Structures

NameDescription
structSPARK_MOTIONHow each element card's sparks move (ElementCardsSparkMotions).

Enumerations

NameDescription
enumPROJECTILE_VOLLEY_MODE { PROJECTILE_VOLLEY_SLASH, PROJECTILE_VOLLEY_SHURIKEN, PROJECT … }The projectile volley's modes (btEffectRunProjectileVolley), each named for the effect that fires it; the casting impacts fire some of them.
enumVOLLEY_FIELD { PROJECTILE_VOLLEY_SHOTS, PROJECTILE_VOLLEY_STEPS, PROJECTILE … }The bytes of a ProjectileVolleyModes row.
enumFUME_LEVEL_COLUMN { FUME_WIDTH, FUME_TAIL_START, FUME_HEIGHT, FUME_SPREAD, FUME_ … }The columns of FumeLevels, one row per Fume level (effect->variant): the plume's width, the tick its tail starts, its arc's height, the sparks' spread, count and lift.
enumanonymous enum { FROTH_BUBBLE_COUNT, FROTH_TICKS }Each Froth variant: its motes and ticks.
enumanonymous enum { WHIRLWIND_TORNADOES, WHIRLWIND_SWAY, WHIRLWIND_SHAKE }Each Whirlwind variant: its tornadoes, their sway and the screen shake.
enumanonymous enum { SPARK_GROUPS_SEVERE_BLOW, SPARK_GROUPS_THRASH, SPARK_GROUPS_ … }The spark groups' variants past the three strengths (EFFECT_VARIANT), which their callers set before the run: rows 3 to 5 of SparkGroupsShapes.

Description

The rows and columns of the battle effects' tables, which battle_effect_table.c fills and the effects read.

Enumerations in detail

PROJECTILE_VOLLEY_MODE

enum PROJECTILE_VOLLEY_MODE

The projectile volley's modes (btEffectRunProjectileVolley), each named for the effect that fires it; the casting impacts fire some of them.

EnumeratorValueDescription
PROJECTILE_VOLLEY_SLASHcomets, picked by the variant
PROJECTILE_VOLLEY_SHURIKENspinning shurikens
PROJECTILE_VOLLEY_CRAZY_VOICEbouncing musical notes
PROJECTILE_VOLLEY_WING_FLUTTERyellow sparks
PROJECTILE_VOLLEY_WING_BEATsmall yellow sparks
PROJECTILE_VOLLEY_CUTTING_EDGEone large comet in ice colours
PROJECTILE_VOLLEY_HEAT_WAVEfireballs trailing embers
PROJECTILE_VOLLEY_SLEETice chips falling from high above
PROJECTILE_VOLLEY_IMPACT_COMETScomets, after a casting impact
PROJECTILE_VOLLEY_BLIZZARDscattered ice chips
PROJECTILE_VOLLEY_ICE_BLESSINGice chips streaming one a tick
PROJECTILE_VOLLEY_WING_STROKElarge yellow sparks, spread up and down
PROJECTILE_VOLLEY_BLAZE_RUSH
PROJECTILE_VOLLEY_HYDRO_SLASH
PROJECTILE_VOLLEY_DIAMOND_DUST
PROJECTILE_VOLLEY_BEAST_NEEDLE
PROJECTILE_VOLLEY_POISON_STING
PROJECTILE_VOLLEY_STUN_STING
PROJECTILE_VOLLEY_CHILL_BREATH

Definition at line 11 of file battle_effect_table.h.

VOLLEY_FIELD

enum VOLLEY_FIELD

The bytes of a ProjectileVolleyModes row.

EnumeratorValueDescription
PROJECTILE_VOLLEY_SHOTSshots at each target
PROJECTILE_VOLLEY_STEPSticks a shot takes to reach its target
PROJECTILE_VOLLEY_STAGGERticks between shots
PROJECTILE_VOLLEY_DELAYticks between targets
PROJECTILE_VOLLEY_SPARKSsparks thrown on each hit
PROJECTILE_VOLLEY_COLUMNS

Definition at line 35 of file battle_effect_table.h.

FUME_LEVEL_COLUMN

enum FUME_LEVEL_COLUMN

The columns of FumeLevels, one row per Fume level (effect->variant): the plume's width, the tick its tail starts, its arc's height, the sparks' spread, count and lift.

EnumeratorValueDescription
FUME_WIDTH
FUME_TAIL_START
FUME_HEIGHT
FUME_SPREAD
FUME_SPARKS
FUME_LIFT
FUME_COLUMNS

Definition at line 56 of file battle_effect_table.h.

anonymous enum

enum { FROTH_BUBBLE_COUNT, FROTH_TICKS }

Each Froth variant: its motes and ticks.

EnumeratorValueDescription
FROTH_BUBBLE_COUNTbubbles, at most 30 (battle_effect_vortices.c)
FROTH_TICKSthe effect's ticks; the damage shows 16 before

Definition at line 68 of file battle_effect_table.h.

anonymous enum

enum { WHIRLWIND_TORNADOES, WHIRLWIND_SWAY, WHIRLWIND_SHAKE }

Each Whirlwind variant: its tornadoes, their sway and the screen shake.

EnumeratorValueDescription
WHIRLWIND_TORNADOEStornadoes drawn
WHIRLWIND_SWAYhow far each sways across, in pixels
WHIRLWIND_SHAKEbtCameraShake's range

Definition at line 75 of file battle_effect_table.h.

anonymous enum

enum { SPARK_GROUPS_SEVERE_BLOW, SPARK_GROUPS_THRASH, SPARK_GROUPS_MIGHTY_PRESS }

The spark groups' variants past the three strengths (EFFECT_VARIANT), which their callers set before the run: rows 3 to 5 of SparkGroupsShapes.

EnumeratorValueDescription
SPARK_GROUPS_SEVERE_BLOW3340 sparks in one burst: Severe Blow
SPARK_GROUPS_THRASH32 sparks: Thrash
SPARK_GROUPS_MIGHTY_PRESS200 sparks in one burst: Mighty Press

Definition at line 84 of file battle_effect_table.h.