version 1.47 | | version 1.48 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_util_c = | | * static char *rcsid_spell_util_c = |
* "$Id: spell_util.c,v 1.47 2001/04/23 20:03:29 mardahl Exp $"; | | * "$Id: spell_util.c,v 1.48 2001/04/25 04:58:27 mardahl Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
if(victim->race&&op->race&&strstr(op->race,victim->race)) { | | if(victim->race&&op->race&&strstr(op->race,victim->race)) { |
if(op->owner) new_draw_info_format(NDI_UNIQUE, 0,op->owner, | | if(op->owner) new_draw_info_format(NDI_UNIQUE, 0,op->owner, |
"%s avoids damaging %s.",op->name,victim->name); | | "%s avoids damaging %s.",op->name,victim->name); |
} else if (op->exp_obj && op->exp_obj->stats.Wis | | } else if (op->exp_obj |
&& victim == op->owner) { | | && victim == op->owner) { |
if(op->owner) new_draw_info_format(NDI_UNIQUE, 0,op->owner, | | if(op->owner) new_draw_info_format(NDI_UNIQUE, 0,op->owner, |
"%s avoids damaging you.",op->name); | | "%s avoids damaging you.",op->name); |