version 1.20 | | version 1.21 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_attack_c = | | * static char *rcsid_spell_attack_c = |
* "$Id: spell_attack.c,v 1.20 2005/07/19 20:59:34 ryo_saeba Exp $"; | | * "$Id: spell_attack.c,v 1.21 2005/08/12 13:46:34 ryo_saeba Exp $"; |
*/ | | */ |
| | |
| | |
| | |
sint16 sx,sy; | | sint16 sx,sy; |
mapstruct *m; | | mapstruct *m; |
object *tmp; | | object *tmp; |
char *skill; | | const char *skill; |
| | |
range = spell_ob->range + SP_level_range_adjust(caster, spell_ob); | | range = spell_ob->range + SP_level_range_adjust(caster, spell_ob); |
dam = spell_ob->stats.dam + SP_level_dam_adjust(caster, spell_ob); | | dam = spell_ob->stats.dam + SP_level_dam_adjust(caster, spell_ob); |
| | |
int done_one, range, mflags, level, at, best_at; | | int done_one, range, mflags, level, at, best_at; |
sint16 x, y, nx, ny; | | sint16 x, y, nx, ny; |
mapstruct *m; | | mapstruct *m; |
char *race; | | const char *race; |
| | |
/* We precompute some values here so that we don't have to keep | | /* We precompute some values here so that we don't have to keep |
* doing it over and over again. | | * doing it over and over again. |