version 1.109 | | version 1.110 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_effect_c = | | * static char *rcsid_spell_effect_c = |
* "$Id: spell_effect.c,v 1.109 2003/11/07 05:17:16 mwedel Exp $"; | | * "$Id: spell_effect.c,v 1.110 2003/11/17 00:13:55 mwedel Exp $"; |
*/ | | */ |
| | |
| | |
| | |
} | | } |
} | | } |
if (spell->attacktype & AT_CONFUSION) { | | if (spell->attacktype & AT_CONFUSION) { |
at=find_archetype("confusion"); | | poison=present_in_ob_by_name(FORCE,"confusion", tmp); |
poison=present_arch_in_ob(at,tmp); | | |
if (poison) { | | if (poison) { |
success = 1; | | success = 1; |
new_draw_info(NDI_UNIQUE, 0,tmp, "Your mind feels clearer"); | | new_draw_info(NDI_UNIQUE, 0,tmp, "Your mind feels clearer"); |
poison->stats.food = 1; | | poison->duration = 1; |
} | | } |
} | | } |
if (spell->attacktype & AT_BLIND) { | | if (spell->attacktype & AT_BLIND) { |