[NEWBIE] [CODE] getting a spell's name

From: Mundi King (kingmundi@YAHOO.COM)
Date: 05/31/98


---George <greerga@CIRCLEMUD.ORG> wrote:
>
> On Sun, 31 May 1998, Mundi King wrote:
>
> >if you have the spell number of a spell, say 32 and you want to get
a hold
> >of the spells name, in this case magic missile
>
> There's a huge array called 'spells' at the top of spell_parser.c
you might
> want to look at.
>

ahh, i see now how simple an answer it is
spells[spellnum]

apologies for my ommission of newbie in the title
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com


     +------------------------------------------------------------+
     | 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