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