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

@@ -10,7 +10,6 @@ staticfn boolean morgue_mon_sound(struct monst *);
staticfn boolean zoo_mon_sound(struct monst *);
staticfn boolean temple_priest_sound(struct monst *);
staticfn boolean mon_is_gecko(struct monst *);
staticfn int domonnoise(struct monst *);
staticfn int dochat(void);
staticfn struct monst *responsive_mon_at(int, int);
staticfn int mon_in_room(struct monst *, int);
@@ -675,7 +674,7 @@ mon_is_gecko(struct monst *mon)
DISABLE_WARNING_FORMAT_NONLITERAL
staticfn int /* check calls to this */
int /* check calls to this */
domonnoise(struct monst *mtmp)
{
char verbuf[BUFSZ];