version 1.107 | | version 1.108 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_effect_c = | | * static char *rcsid_spell_effect_c = |
* "$Id: spell_effect.c,v 1.107 2003/10/12 03:59:46 mwedel Exp $"; | | * "$Id: spell_effect.c,v 1.108 2003/10/26 06:56:57 mwedel Exp $"; |
*/ | | */ |
| | |
| | |
| | |
heal += random_roll(spell->stats.hp, 6, op, PREFER_HIGH) + | | heal += random_roll(spell->stats.hp, 6, op, PREFER_HIGH) + |
spell->stats.hp; | | spell->stats.hp; |
| | |
if (tmp->stats.hp >= tmp->stats.maxhp && heal) { | | if (heal) { |
| | if (tmp->stats.hp >= tmp->stats.maxhp) { |
new_draw_info(NDI_UNIQUE, 0,tmp, "Your are already fully healed."); | | new_draw_info(NDI_UNIQUE, 0,tmp, "Your are already fully healed."); |
} | | } |
else { | | else { |
| | |
} | | } |
success=1; | | success=1; |
} | | } |
| | } |
if (spell->attacktype & AT_DISEASE) | | if (spell->attacktype & AT_DISEASE) |
if (cure_disease (tmp, op)) | | if (cure_disease (tmp, op)) |
success = 1; | | success = 1; |