If you are trying to use a different code then spell_smaug to effect your spell, you need to declare the code (i.e. spell_quantum_spike). But, before you do that, you have to actually define it in the code. I believe it's in tables.c, mud.h, and magic.c
The code you need to add looks something like this: (for the bloom example)
In Mud.h - do a search for spell_quantum_spike and then add: DECLARE_SPELL_FUN( spell_your_spell );
In Tables.c - do the same search, then add:
if ( !str_cmp( name, "spell_your_spell" )) return spell_your_spell;
then search again and add:
if ( spell == spell_your_spell ) return "spell_your_spell";
Then make clean, recompile...reboot your mud. sset 'your spell' code spell_your_spell, then sset save skill table. Then reboot again. That *should* fix it.
|