version 1.44 | | version 1.45 |
---|
| | |
/* | | /* |
* static char *rcsid_monster_c = | | * static char *rcsid_monster_c = |
* "$Id: monster.c,v 1.44 2002/07/15 04:57:13 mwedel Exp $"; | | * "$Id: monster.c,v 1.45 2002/07/19 04:21:18 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
| | |
int monster_use_scroll(object *head, object *part,object *pl,int dir, rv_vector *rv) { | | int monster_use_scroll(object *head, object *part,object *pl,int dir, rv_vector *rv) { |
object *scroll; | | object *scroll; |
spell *sp; | | |
object *owner; | | object *owner; |
rv_vector rv1; | | rv_vector rv1; |
| | |
| | |
return 0; | | return 0; |
} | | } |
| | |
if (sp->onself) /* Spell should be cast on caster (ie, heal, strength) */ | | if (spells[scroll->stats.sp].onself) /* Spell should be cast on caster (ie, heal, strength) */ |
dir = 0; | | dir = 0; |
| | |
apply_scroll(part, scroll, dir); | | apply_scroll(part, scroll, dir); |