Re: Spell Components

From: David Eliott (ravemaniac@HOTMAIL.COM)
Date: 08/27/97


>I had tinkered with mag_materials at one point and came up
>with the following solution:
>
>        Create a new function which will check for the
>material components, which is just one big switch statement
>of all spells that need material components, with each case
>being the relevent call to mag_materials().
>        Then, in do_cast(), right before it calls the function
>that actually executes the spell (call_magic()?  I forget
>the name, but the call to it is right at the end of
>do_cast()), call this new function.  If it succeeds, the
>spell is cast, otherwise nada.

Isn't this already in the stock circle code? Or at least this concept of
checking for the components? I remember a long time ago, I was working
with components, but I dont remember if I made it check, or if it
already checked...

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.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/08/00 PST