Only way I can think of is to have a new command that references a table structure. Most races don't have particular "affects" related to them unless you've added them (at least not to my knowledge). If you do have additional affects, then you have probably already added them to a table somewhere (pc_race_table for example).
-Valnir ----- Original Message ----- From: "Witt Hinton" <[EMAIL PROTECTED]> To: "Sarix" <[EMAIL PROTECTED]> Cc: <[email protected]> Sent: Thursday, January 22, 2004 8:18 AM Subject: Re: Affect bits, modifiers, all that jazz. > I've also been wondering if there is a way to show racial affect to the > char? I've tried several times, but nothing seems to come out right. I > think it'd be neat to have them have an inate command or something of the > sort that would show them how their race affects them. > --Witt > > On Thu, 22 Jan 2004, Sarix wrote: > > > Ok well depends if you want to make them ALWAYS affected by flying and not > > show them that they are. Then you could just do SET_BIT(ch->affected_by, > > AFF_FLYING); And be done with it, but if you want it to show up on the > > affects list then you would need to setup and affect > > > > af.where = TO_AFFECTS; > > af.sn = sn; > > af.level = level; > > af.duration = -1; // This makes it last for ever > > af.location = 0; > > af.modifier = 0; > > af.bitvector = AFF_FLYING; > > > > All depends on how you want them to know their affected by it. > > > > ----- Original Message ----- > > From: "George Whiteside" <[EMAIL PROTECTED]> > > To: <[email protected]> > > Sent: Wednesday, January 21, 2004 9:30 PM > > Subject: Affect bits, modifiers, all that jazz. > > > > > > > Hey list. There's a flying spell in ROM that I want to make into a skill > > > instead, so a player can just "fly" indefinately on a whim. My question is > > > this: If the skill won't affect stats or have a limited duration, is there > > > any reason I should set all the extra AF vectors? The only thing flying is > > > going to affect directly is combat and stamina loss, which can be taken > > care > > > of by simply checking the AFF_FLYING bit. Basically I'm just concerned > > that > > > if I don't, the code'll puke somewhere I didn't expect it to if it doesn't > > > find the effect info or something. I don't think it will. Just playing it > > > safe and checking with you guys first. :) > > > > > > --- > > > This sentence is false. The previous statement was true. > > > > > > --- > > > [This E-mail scanned for viruses by Declude Virus] > > > > > > > > > -- > > > ROM mailing list > > > [email protected] > > > http://www.rom.org/cgi-bin/mailman/listinfo/rom > > > > > > > > > -- > ROM mailing list > [email protected] > http://www.rom.org/cgi-bin/mailman/listinfo/rom >

