Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding new spells ...
More on this iceball spell:
How about a generalized 'ball' spell, which you can use
to cast:
a ball of <fire, acid, lightning, holy word, cold>
which behaves just like a large fireball?
you'd use it like this:
cast magic ball of fire
cast magic ball of lightning
cast magic ball of holy word
cast magic ball of cold
This is made possible by some string-interpretation code
added by ERic Mehlhafff and me here @ berkeley.
BTW, rgg has the correct approach for adding new spells.
FOr help with the spell paramaters, you should look in
doc/spell_params.doc
I describe there what the level dependencies are and
what to do with them.
Regards,
PeterM