Tweaking the spell_level

From: The Merciless Lord of everything (serces@MUD.DK)
Date: 10/09/98

Hi all

I'm getting immensly tired of writing one line pr. Spell Pr. Class,
seems to be a bit overhand, what I would like to do is this :


But somehow I'm stuck. The Easy solution is of course to do :


And yes, it would suit the needs I have, but it would be cool to be able
to go something like :

spell_level(SPELL_SOMENAME, {"WI", 1, "CL", 2, -1, -1}); Or something
like that..

So that Every spell only needs one line to be spell_levelled, Problem is
I'm stuck here, The Idea is there, but somehow my knowledge in about
arrays and pointers have gone somewhere. Anyone with an idea to how this
could be made, the easiest way, so that if a new class is added, you can
just add "NEWCLASS", LEVEL to the spells they need.

Hope to hear something from someone. :)

S. P. Skou

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/15/00 PST