magic.h
tmi2_fluffos_v2/lib/include/magic.h · 606 B
From the archive tmi2_fluffos_v2.zip
Download the archive « Back to the archive contents
// Spells are stored in a directory somewhere and are named of the form
// <spell name>_spell.c. These defines control where the command looks for
// the spell code.
#define PATH "/cmds/std/spells/"
#define EXTENSION "_spell.c"
#define SPELLS ({ "missile", "fireball", "vision", "heal", \
"invisibility", "message", "raise", "read" })
#define SPELL_SKILLS ({ "Combat spells", "Combat spells", \
"Divinations spells", "Healing spells", \
"Divinations spells", "Divinations spells", \
"Healing spells", "Divinations spells" })
#define LEARN_LEVELS ({ 0, 10, 5, 0, 5, 0, 10, 0 })