]> granicus.if.org Git - nethack/commitdiff
message when trying to wear HoOA on quest
authornethack.allison <nethack.allison>
Sat, 31 Aug 2002 20:47:04 +0000 (20:47 +0000)
committernethack.allison <nethack.allison>
Sat, 31 Aug 2002 20:47:04 +0000 (20:47 +0000)
doc/fixes34.1
src/do_wear.c

index f643d811b0e53ce4d0823043924567573ff0bf1d..795fb1dc55b4b50daba00c785e4e6d0a132575f6 100644 (file)
@@ -232,6 +232,8 @@ mounting a steed allowed hero to make moves that would otherwise be disallowed
 monsters lose intrinsic speed when pertrified
 if you have converted, the quest leader banishes you instead of asking you
        to come back later, and tells you that you won't succeed without Bell
+don't state that "you narrowly avoid losing all chance" message if you try
+       to put on a helm of opposite alignment in the quest after converting
 
 
 Platform- and/or Interface-Specific Fixes
index 4129816a7683763c6e38e6ffe5f13afb2420e425..1da405855d5781e288a71d4b9aa28d4c57c4ba4c 100644 (file)
@@ -1330,7 +1330,10 @@ dowear()
 
        if (otmp->otyp == HELM_OF_OPPOSITE_ALIGNMENT &&
                        qstart_level.dnum == u.uz.dnum) {       /* in quest */
-               You("narrowly avoid losing all chance at your goal.");
+               if (u.ualignbase[A_CURRENT] == u.ualignbase[A_ORIGINAL])
+                       You("narrowly avoid losing all chance at your goal.");
+               else    /* converted */
+                       You("are suddenly overcome with shame and change your mind.");
                u.ublessed = 0; /* lose your god's protection */
                makeknown(otmp->otyp);
                flags.botl = 1;