Alchemy
Loading...
Searching...
No Matches

undead_sword.c File Reference

Undead Sword. More...

Go to the source code of this file.

Macros

#define UNDEAD_SWORD_SPARK_SHEET   (14 * 80)
 The blast sheet's seven spark pictures, after the lime column's 14x80 picture.

Functions

void BattleFx_RunUndeadSword (struct BattleEffectArgument *effect)
 Two mirrored columns of light rise at the first target's feet and sink again, scattering 16 sparks that drift upward; the target is struck on frame 10.

Detailed Description

Undead Sword.

Part of effect.c, the battle effect object, compiled only through it.

Definition in file undead_sword.c.

Macro Definition Documentation

◆ UNDEAD_SWORD_SPARK_SHEET

#define UNDEAD_SWORD_SPARK_SHEET   (14 * 80)

The blast sheet's seven spark pictures, after the lime column's 14x80 picture.

Definition at line 9 of file undead_sword.c.

Referenced by BattleFx_RunUndeadSword().

Function Documentation

◆ BattleFx_RunUndeadSword()

void BattleFx_RunUndeadSword ( struct BattleEffectArgument * effect)

Two mirrored columns of light rise at the first target's feet and sink again, scattering 16 sparks that drift upward; the target is struck on frame 10.

Abilities: Undead Sword (kind 320).

54 frames. BG2 is moved so that the canvas's centre line stands on the target. The sparks are work->particles 0 to 15, variant their age in frames.

Definition at line 20 of file undead_sword.c.

Referenced by BattleFx_RunUndeadSword().