Re: Magic

From: Justin (c616077@SHOWME.MISSOURI.EDU)
Date: 07/28/97


On Mon, 28 Jul 1997, Patrick J. Dughi wrote:

>         What I want to do is re-organize all the spells in such a way that
> you can define spell "groups". Fireball, fire finger, flame strike,
> burning hands, fire storm, lava arrow, etc.. these would all be in the
> "fire" group. Then, you can easily setup something like "resistance to
> fire" or races that are fire-immune (phoenix, fire elementals, etc).  Of

I've already put this in mine, kindof.  What I did was gave all sources of
damage a bitvector for the damage type.  That way you can just put in a
check at any place you're dealing damage such as, well, damage().  Another
neat thing you can do with that is make weapons that deal special damage,
like an ice sword or flame thrower.
Just my thoughts.

Salvatore


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