From 304ac1488baf9899ee7b227d56b246b251eb38c5 Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Sat, 31 Aug 2002 20:47:04 +0000 Subject: [PATCH] message when trying to wear HoOA on quest --- doc/fixes34.1 | 2 ++ src/do_wear.c | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/fixes34.1 b/doc/fixes34.1 index f643d811b..795fb1dc5 100644 --- a/doc/fixes34.1 +++ b/doc/fixes34.1 @@ -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 diff --git a/src/do_wear.c b/src/do_wear.c index 4129816a7..1da405855 100644 --- a/src/do_wear.c +++ b/src/do_wear.c @@ -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; -- 2.50.1