Re: [Code][Newbie]

From: Daniel Koepke (dkoepke@california.com)
Date: 01/05/97


On Sun, 5 Jan 1997, [ISO-8859-1] Elric of Melnibonč wrote:

> would making the next line in the case statment read
>     
>             af[0].bitvector = AFF_INFRAVISION;
> 
> cause the character to have infravision from the get go?

No.  There is no 'af' array in roll_real_abils().  That is from
magic.c, no doubt.  But the above does nothing by it's own.  I
might suggest setting the AFF_ flag...

  SET_BIT(AFF_FLAGS(ch), AFF_INFRAVISION);


Sad fan of the 49ers...happy hater of the Cowboys,

--
Daniel Koepke
dkoepke@california.com
Forgive me father, for I am sin.


+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST