version 1.105 | | version 1.105.2.1 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_effect_c = | | * static char *rcsid_spell_effect_c = |
* "$Id: spell_effect.c,v 1.105 2003/09/03 12:25:06 tchize Exp $"; | | * "$Id: spell_effect.c,v 1.105.2.1 2003/09/23 05:38:31 mwedel Exp $"; |
*/ | | */ |
| | |
| | |
| | |
int i,bonus; | | int i,bonus; |
object *tmp,*effect, *god=find_god(determine_god(op)); | | object *tmp,*effect, *god=find_god(determine_god(op)); |
| | |
if (op->type != PLAYER) | | if (op->type != PLAYER || !god) |
return 0; | | return 0; |
if (QUERY_FLAG(caster,FLAG_UNDEAD) || (god->race && strstr(god->race,undead_name)!=NULL)) { | | if (QUERY_FLAG(caster,FLAG_UNDEAD) || (god->race && strstr(god->race,undead_name)!=NULL)) { |
bonus = 5; | | bonus = 5; |