From: nethack.allison Date: Fri, 17 Dec 2004 00:33:05 +0000 (+0000) Subject: Master of Thieves X-Git-Tag: MOVE2GIT~1388 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=422a6f814581a37a4990418572a5a669a168f62c;p=nethack Master of Thieves wrote: > The "/* Fix up the quest nemesis */" code in role_init() > adds M3_WAITFORU but _doesn't_ remove M3_CLOSE; > since the Master of Thieves as the Rogue Quest Leader is > defined with that flag, he keeps it when acting as the Tourist > Quest Nemesis. Thus, when STRAT_WAITFORU > is cleared by your actions, STRAT_CLOSE may stay in > place making him stay meditating when another Nemesis > wouldn't. --- diff --git a/doc/fixes34.4 b/doc/fixes34.4 index 52316d17a..504dab9d1 100644 --- a/doc/fixes34.4 +++ b/doc/fixes34.4 @@ -73,6 +73,7 @@ don't hallucinate anything for an exploding black light as it dies give blindness feedback when moving into/through stinking cloud fix case on monster name when monster reflects floating eye's gaze monsters "shrieking in pain" from a potion didn't wake anything up +Master of Thieves as Tourist Nemesis still had STRAT_CLOSE Platform- and/or Interface-Specific Fixes diff --git a/src/role.c b/src/role.c index 394e8823c..c7a531d30 100644 --- a/src/role.c +++ b/src/role.c @@ -1407,6 +1407,7 @@ role_init() mons[urole.neminum].msound = MS_NEMESIS; mons[urole.neminum].mflags2 &= ~(M2_PEACEFUL); mons[urole.neminum].mflags2 |= (M2_NASTY|M2_STALK|M2_HOSTILE); + mons[urole.neminum].mflags3 &= ~(M3_CLOSE); mons[urole.neminum].mflags3 |= M3_WANTSARTI | M3_WAITFORU; }