version 1.2 | | version 1.3 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_attack_c = | | * static char *rcsid_spell_attack_c = |
* "$Id: spell_attack.c,v 1.2 2003/11/14 07:57:10 mwedel Exp $"; | | * "$Id: spell_attack.c,v 1.3 2004/02/13 07:42:10 mwedel Exp $"; |
*/ | | */ |
| | |
| | |
| | |
} | | } |
tmp->stats.food = spell->duration + SP_level_duration_adjust(caster,spell); | | tmp->stats.food = spell->duration + SP_level_duration_adjust(caster,spell); |
if (tmp->glow_radius) { | | if (tmp->glow_radius) { |
tmp->glow_radius= spell->range + + SP_level_range_adjust(caster,spell); | | tmp->glow_radius= spell->range + SP_level_range_adjust(caster,spell); |
if (tmp->glow_radius > MAX_LIGHT_RADII) tmp->glow_radius = MAX_LIGHT_RADII; | | if (tmp->glow_radius > MAX_LIGHT_RADII) tmp->glow_radius = MAX_LIGHT_RADII; |
} | | } |
tmp->x=x; | | tmp->x=x; |