version 1.33 | | version 1.34 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_attack_c = | | * static char *rcsid_spell_attack_c = |
* "$Id: spell_attack.c,v 1.33 2006/03/04 16:34:26 akirschbaum Exp $"; | | * "$Id: spell_attack.c,v 1.34 2006/03/14 07:44:16 mwedel Exp $"; |
*/ | | */ |
| | |
| | |
| | |
int t_dir; /* stores temporary dir calculation */ | | int t_dir; /* stores temporary dir calculation */ |
mapstruct *m; | | mapstruct *m; |
sint16 sx,sy; | | sint16 sx,sy; |
| | object *new_bolt; |
| | |
/* pick a fork direction. tmp->stats.Con is the left bias | | /* pick a fork direction. tmp->stats.Con is the left bias |
* i.e., the chance in 100 of forking LEFT | | * i.e., the chance in 100 of forking LEFT |
| | |
return; | | return; |
| | |
/* OK, we made a fork */ | | /* OK, we made a fork */ |
object *new_bolt = get_object(); | | new_bolt = get_object(); |
| | |
copy_object(tmp,new_bolt); | | copy_object(tmp,new_bolt); |
| | |