Use #monster to make dragon steed breathe
This commit is contained in:
@@ -960,6 +960,9 @@ domonability(void)
|
||||
aggravate();
|
||||
} else if (is_vampire(uptr) || is_vampshifter(&gy.youmonst)) {
|
||||
return dopoly();
|
||||
} else if (u.usteed && can_breathe(u.usteed->data)) {
|
||||
(void) pet_ranged_attk(u.usteed);
|
||||
return ECMD_TIME;
|
||||
} else if (Upolyd) {
|
||||
pline("Any special ability you may have is purely reflexive.");
|
||||
} else {
|
||||
|
||||
@@ -18,7 +18,6 @@ static int dog_goal(struct monst *, struct edog *, int, int, int);
|
||||
static struct monst *find_targ(struct monst *, int, int, int);
|
||||
static int find_friends(struct monst *, struct monst *, int);
|
||||
static struct monst *best_target(struct monst *);
|
||||
static int pet_ranged_attk(struct monst *);
|
||||
static long score_targ(struct monst *, struct monst *);
|
||||
static boolean can_reach_location(struct monst *, coordxy, coordxy, coordxy,
|
||||
coordxy);
|
||||
@@ -866,7 +865,7 @@ best_target(struct monst *mtmp) /* Pet */
|
||||
}
|
||||
|
||||
/* Pet considers and maybe executes a ranged attack */
|
||||
static int
|
||||
int
|
||||
pet_ranged_attk(struct monst *mtmp)
|
||||
{
|
||||
struct monst *mtarg;
|
||||
|
||||
Reference in New Issue
Block a user