Haste Spell

From: I Chose No Name (MUDaholic@AOL.COM)
Date: 06/27/98


Okay, here's my problem: I added the spell haste to my mud (show ya the code
in a sec) and everything compiled right...

(magic.c)
case SPELL_HASTE:
  af[0].duration = 4;
  af[0].bitvector = AFF_HASTE;
  to_vict = "The world slows down around you.";
  to_room = "$n begins to move quickly.";
  break;

(spell_parser.c)
spello(SPELL_HASTE, 50, 25, 5, POS_FIGHTING, TAR_CHAR_ROOM, FALSE,
MAG_AFFECTS);

...as well as the AFF_X and SPELL_X and all that stuff in the appropriate
files.  But, when I compile and run, here's what happens:

> c 'haste
Okay.
The world slows down around you.
> stat self
...
AFF: NOBITS
(there are no affects/spells)

I'm not sure what the problem is, i've made tons of spells in my lifetime,
never had this happen...it appears that it's reaching the code in magic.c
because of the messages, but it's not affecting me with haste (boggle) and
help would be much appreciated, thanks


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