Re: [CODE] Race Attributes

From: Xual (xual@danathara.dhs.org)
Date: 03/08/99


On Mon, 8 Mar 1999, Brian Heimgartner wrote:

> How do you set it so that races get special skills/spells like:
> Dwarf - Infravision, or something like that?
> I have tried for a long time, and I'm, stumped.

class.c
do_start()

if (GET_RACE(ch) == RACE_DWARF)
  SET_BIT(AFF_FLAGS(ch), AFF_INFRAVISION);

"Misery is boundless"
        -Xual the Torturer, on the Eve of the Sundering.

Danathara Online RPG
telnet://danathara.dhs.org:4000


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



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