]> granicus.if.org Git - nethack/commitdiff
Master of Thieves
authornethack.allison <nethack.allison>
Fri, 17 Dec 2004 00:33:05 +0000 (00:33 +0000)
committernethack.allison <nethack.allison>
Fri, 17 Dec 2004 00:33:05 +0000 (00:33 +0000)
<Someone>  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.

doc/fixes34.4
src/role.c

index 52316d17af8dd532b782587cac9d5b70c9d6a53a..504dab9d1a17267a1702d81caf401a9911569f63 100644 (file)
@@ -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
index 394e8823c63df074fadfd2d945e9d623bc72511c..c7a531d30eb5f39d7b3faefcd131005245ca6f3a 100644 (file)
@@ -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;
        }