Skip to content

Spells

Write your own spells, with their own path, level and effect, and give your units new magic to cast.

Each spell needs newspell, path, level and weapon, in any order.

Add new spells at the end of your file

A spell added above your existing ones jumbles the spells units know in your players' old saves.

newspell "<name>"

Creates a spell.

newspell "Gandalf's Light"
#!@newspell "Gandalf's Light"

path "<name>" | <nbr>

Sets the spell's magic path.

  • name: The name of a game path, or of one made with newspellpath.
  • nbr: A path number, 1 to 69. Use instead of a name.

A game path, by name:

path "Pyromancy"

Or the same path, by number:

path 3

Or a path made with newspellpath:

path "Lore of the Istari"

A game path, by name:

#!@path "Pyromancy"

Or the same path, by number:

#!@path 3

Or a path made with newspellpath:

#!@path "Lore of the Istari"

level <level>

Sets the spell's level. Inside a spell only; elsewhere level is the game's ritual level.

  • level: The spell's level, 1 to 3.
level 2
#!@level 2

weapon <dmg> "<weapon>" | <nbr>

Sets the weapon the spell casts and its damage, as meleeweapon does for a monster.

  • dmg: The damage.
  • weapon: The weapon's name. The weapon must exist before this line: one of the game's, or one made earlier with newweapon.
  • nbr: A weapon number. Use instead of a name.

A weapon by name:

weapon 15 "Fireball"

Or the same weapon, by number:

weapon 15 54

A weapon by name:

#!@weapon 15 "Fireball"

Or the same weapon, by number:

#!@weapon 15 54

Example spell

newspell "Flame of Anor"
path "Pyromancy"
level 3
weapon 15 "Fireball"
#!@newspell "Flame of Anor"
#!@path "Pyromancy"
#!@level 3
#!@weapon 15 "Fireball"