combatspell

itemmanual page 10

combatspell <mode> "spell name"

Arguments

ArgumentTypeRequiredReferences
modeintyes—
spell namestryes—

Takes 2 arguments.

What it does

Mode -1 = spell will be auto cast on the first round, 1 = unit can cast this spell (like a wand), 2 = spell will be auto cast each round. The spell name is simply the name of the combat spell to be cast, e.g. "Fireball".

— modding manual, page 10 (as an item command)

From the base game data

item data
combatspell 1 "Heal"
item data
combatspell 1 "Acid Darts"
item data
combatspell 1 "Curse of the Frog Prince"

← All commands