version 1.94 | | version 1.95 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_util_c = | | * static char *rcsid_spell_util_c = |
* "$Id: spell_util.c,v 1.94 2005/08/12 08:18:59 ryo_saeba Exp $"; | | * "$Id: spell_util.c,v 1.95 2005/09/09 21:09:41 akirschbaum Exp $"; |
*/ | | */ |
| | |
| | |
| | |
* objects on the space - presume that they know what they are | | * objects on the space - presume that they know what they are |
* doing. | | * doing. |
*/ | | */ |
if (spell_ob->type == SPELL && caster->type != POTION && | | 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)) && |
(((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))) { |