version 1.110 | | version 1.111 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_util_c = | | * static char *rcsid_spell_util_c = |
* "$Id: spell_util.c,v 1.110 2006/08/19 21:23:15 ryo_saeba Exp $"; | | * "$Id: spell_util.c,v 1.111 2006/09/03 13:29:36 ryo_saeba Exp $"; |
*/ | | */ |
| | |
| | |
| | |
* doing. | | * doing. |
*/ | | */ |
if (spell_ob->type == SPELL && caster->type != POTION && !QUERY_FLAG(op, FLAG_WIZCAST) && | | if (spell_ob->type == SPELL && caster->type != POTION && !QUERY_FLAG(op, FLAG_WIZCAST) && |
(QUERY_FLAG(caster, FLAG_ALIVE) || QUERY_FLAG(op, FLAG_ALIVE)) && | | (QUERY_FLAG(caster, FLAG_ALIVE) || QUERY_FLAG(op, FLAG_ALIVE)) && !QUERY_FLAG(op,FLAG_MONSTER) && |
(((mflags & P_NO_MAGIC) && spell_ob->stats.sp) || | | (((mflags & P_NO_MAGIC) && spell_ob->stats.sp) || |
((mflags & P_NO_CLERIC) && spell_ob->stats.grace))) { | | ((mflags & P_NO_CLERIC) && spell_ob->stats.grace))) { |
| | |