Re: spell level

From: Patrick Dughi (dughi@IMAXX.NET)
Date: 06/05/98


On Thu, 4 Jun 1998, Travis M. Fuller wrote:

> Does anyone have an idea of an easy way to determine the level of a long
> lasting spell after the caster is gone? Thats vague so heres the

        Add a caster level variable to the struct affected_type, and
within magic.c mag_affects, you'll want to add a line like
af[i].caster_level = GET_LEVEL(ch);

        Make a macro maybe to reference this, and go ahead and use it in
your ASPELL() declaration in spells.c.

                                        PjD


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