version 1.127 | | version 1.128 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_effect_c = | | * static char *rcsid_spell_effect_c = |
* "$Id: spell_effect.c,v 1.127 2005/07/14 09:18:56 akirschbaum Exp $"; | | * "$Id: spell_effect.c,v 1.128 2005/07/16 21:10:40 akirschbaum Exp $"; |
*/ | | */ |
| | |
| | |
| | |
missile_plus = spell->stats.dam + SP_level_dam_adjust(caster, spell); | | missile_plus = spell->stats.dam + SP_level_dam_adjust(caster, spell); |
| | |
if (find_archetype(missile_name)==NULL) { | | if (find_archetype(missile_name)==NULL) { |
LOG(llevDebug, "Cast create_missile: could not find archtype %s\n", | | LOG(llevDebug, "Cast create_missile: could not find archetype %s\n", |
missile_name); | | missile_name); |
return 0; | | return 0; |
} | | } |
| | |
| | |
if (heal) { | | if (heal) { |
if (tmp->stats.hp >= tmp->stats.maxhp) { | | 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, "You are already fully healed."); |
} | | } |
else { | | else { |
/* See how many points we actually heal. Instead of messages | | /* See how many points we actually heal. Instead of messages |
| | |
| | |
if(tmp->level > caster_level(caster, spell)) { | | if(tmp->level > caster_level(caster, spell)) { |
new_draw_info_format(NDI_UNIQUE, 0,op, | | new_draw_info_format(NDI_UNIQUE, 0,op, |
"You are not poweful enough to reconsecrate the %s", tmp->name); | | "You are not powerful enough to reconsecrate the %s", tmp->name); |
return 0; | | return 0; |
} else { | | } else { |
/* If we got here, we are consecrating an altar */ | | /* If we got here, we are consecrating an altar */ |