message when trying to wear HoOA on quest

This commit is contained in:
nethack.allison
2002-08-31 20:47:04 +00:00
parent 47f4cf21aa
commit 304ac1488b
2 changed files with 6 additions and 1 deletions

View 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;