Steed #monster breath feedback

Using #monster to make the steed use the breath weapon often
failed because the steed did not want to breathe at weak or
too strong monsters.
Make #monster force the steed use the breath, and if there is
no targets available, make the steed make some noise as feedback.
This commit is contained in:
Pasi Kallinen
2025-01-04 16:37:11 +02:00
parent 2ebe8915f6
commit 1ef3167ca0
4 changed files with 13 additions and 12 deletions

View File

@@ -934,7 +934,7 @@ domonability(void)
} 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);
(void) pet_ranged_attk(u.usteed, TRUE);
return ECMD_TIME;
} else if (Upolyd) {
pline("Any special ability you may have is purely reflexive.");