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
| Name | Description | |
|---|---|---|
struct | SPARK_MOTION | How each element card's sparks move (ElementCardsSparkMotions). |
Enumerations
| Name | Description | |
|---|---|---|
enum | PROJECTILE_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. |
enum | VOLLEY_FIELD { PROJECTILE_VOLLEY_SHOTS, PROJECTILE_VOLLEY_STEPS, PROJECTILE … } | The bytes of a ProjectileVolleyModes row. |
enum | FUME_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. |
enum | anonymous enum { FROTH_BUBBLE_COUNT, FROTH_TICKS } | Each Froth variant: its motes and ticks. |
enum | anonymous enum { WHIRLWIND_TORNADOES, WHIRLWIND_SWAY, WHIRLWIND_SHAKE } | Each Whirlwind variant: its tornadoes, their sway and the screen shake. |
enum | anonymous 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.
| Enumerator | Value | Description |
|---|---|---|
PROJECTILE_VOLLEY_SLASH | comets, picked by the variant | |
PROJECTILE_VOLLEY_SHURIKEN | spinning shurikens | |
PROJECTILE_VOLLEY_CRAZY_VOICE | bouncing musical notes | |
PROJECTILE_VOLLEY_WING_FLUTTER | yellow sparks | |
PROJECTILE_VOLLEY_WING_BEAT | small yellow sparks | |
PROJECTILE_VOLLEY_CUTTING_EDGE | one large comet in ice colours | |
PROJECTILE_VOLLEY_HEAT_WAVE | fireballs trailing embers | |
PROJECTILE_VOLLEY_SLEET | ice chips falling from high above | |
PROJECTILE_VOLLEY_IMPACT_COMETS | comets, after a casting impact | |
PROJECTILE_VOLLEY_BLIZZARD | scattered ice chips | |
PROJECTILE_VOLLEY_ICE_BLESSING | ice chips streaming one a tick | |
PROJECTILE_VOLLEY_WING_STROKE | large 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.
| Enumerator | Value | Description |
|---|---|---|
PROJECTILE_VOLLEY_SHOTS | shots at each target | |
PROJECTILE_VOLLEY_STEPS | ticks a shot takes to reach its target | |
PROJECTILE_VOLLEY_STAGGER | ticks between shots | |
PROJECTILE_VOLLEY_DELAY | ticks between targets | |
PROJECTILE_VOLLEY_SPARKS | sparks 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.
| Enumerator | Value | Description |
|---|---|---|
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.
| Enumerator | Value | Description |
|---|---|---|
FROTH_BUBBLE_COUNT | bubbles, at most 30 (battle_effect_vortices.c) | |
FROTH_TICKS | the 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.
| Enumerator | Value | Description |
|---|---|---|
WHIRLWIND_TORNADOES | tornadoes drawn | |
WHIRLWIND_SWAY | how far each sways across, in pixels | |
WHIRLWIND_SHAKE | btCameraShake'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.
| Enumerator | Value | Description |
|---|---|---|
SPARK_GROUPS_SEVERE_BLOW | 3 | 340 sparks in one burst: Severe Blow |
SPARK_GROUPS_THRASH | 32 sparks: Thrash | |
SPARK_GROUPS_MIGHTY_PRESS | 200 sparks in one burst: Mighty Press |
Definition at line 84 of file battle_effect_table.h.