Re: Tweaking the spell_level

From: George (greerga@CIRCLEMUD.ORG)
Date: 10/09/98


>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 :
>
>spell_level(SPELL_SOMENAME, {ARRAY OF LEVELS]);
[...]
>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..

spell_level(SPELL_SOMENAME, "Wi35,Cl5,Ma2");

Then just parse.  ',' is optional but looks better.

--
George Greer, greerga@circlemud.org | Genius may have its limitations, but
http://mouse.van.ml.org/   (mostly) | stupidity is not thus handicapped.
http://www.van.ml.org/CircleMUD/    |                  -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



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