Add helpless monster macro

This commit is contained in:
Pasi Kallinen
2022-03-18 10:19:04 +02:00
parent 480ba917a1
commit 39acd095b2
21 changed files with 66 additions and 68 deletions
+1 -1
View File
@@ -453,7 +453,7 @@ void
quest_stat_check(struct monst *mtmp)
{
if (mtmp->data->msound == MS_NEMESIS)
Qstat(in_battle) = (mtmp->mcanmove && !mtmp->msleeping
Qstat(in_battle) = (!helpless(mtmp)
&& monnear(mtmp, u.ux, u.uy));
}