Or if, for some reason, the dragon breath is getting around the is_safe check, you can fix that problem... for example if it's just doing the damage calculations in the function and then subtracting the hp (this is very unlikely, but you get the idea) instead of routing through the proper damage function to do it...
Richard. -----Original Message----- From: Valnir [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 13, 2005 8:50 AM To: [email protected] Subject: Re: Dragon Breath Easiest way would be to add a check in the dragon function that checks: if ( IS_NPC(victim) && IS_SET(victim->act, ACT_ADEPT) ) continue; Plain English, don't do damage to this mob. - Valnir ----- Original Message ----- From: "Charles Gray" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, September 13, 2005 4:28 AM Subject: Dragon Breath > On my mud i have dragonbreath as a auto-skill for > dragons. I have recently encountered a problem. When > players are in mud school fighting things that are in > the same rooms as Adepts, thier dragon breath hits the > adepts... I need to know how to make this not > happen... here is the code... > > //GUESS WHAT< AUTOBREATH FOR PCS! > if (ch->race == race_lookup("dragon")) > { > dragon( ch, "fire breath" ); > } > > I know dragon is in the special.c file in stock rom... > so no need to include that. Any help would be > appreciated! thanks! > Atm, > Forgotten Empire > > > > __________________________________ > Yahoo! Mail - PC Magazine Editors' Choice 2005 > http://mail.yahoo.com > -- > ROM mailing list > [email protected] > Unsubscribe here ->>> http://www.rom.org/cgi-bin/mailman/listinfo/rom > -- ROM mailing list [email protected] Unsubscribe here ->>> http://www.rom.org/cgi-bin/mailman/listinfo/rom

