diff --git a/doc/fixes37.0 b/doc/fixes37.0 index 66e389cc0..0eea5c110 100644 --- a/doc/fixes37.0 +++ b/doc/fixes37.0 @@ -108,6 +108,7 @@ make non-tame (baby) purple worms eat corpses off the ground make baby purple worms attack shriekers make hero polymorphed into baby purple worm warned against shriekers confused scroll of light summons tame cancelled lights +potions of hallucination can give enlightenment Fixes to 3.7.0-x Problems that Were Exposed Via git Repository diff --git a/src/potion.c b/src/potion.c index ca15a2287..c07d96cab 100644 --- a/src/potion.c +++ b/src/potion.c @@ -632,11 +632,22 @@ register struct obj *otmp; } break; case POT_HALLUCINATION: - if (Hallucination || Halluc_resistance) + if (Halluc_resistance) { g.potion_nothing++; + break; + } else if (Hallucination) { + g.potion_nothing++; + } (void) make_hallucinated(itimeout_incr(HHallucination, rn1(200, 600 - 300 * bcsign(otmp))), TRUE, 0L); + if ((otmp->blessed && !rn2(3)) || (!otmp->cursed && !rn2(6))) { + You("perceive yourself..."); + display_nhwindow(WIN_MESSAGE, FALSE); + enlightenment(MAGICENLIGHTENMENT, ENL_GAMEINPROGRESS); + Your("awareness re-normalizes."); + exercise(A_WIS, TRUE); + } break; case POT_WATER: if (!otmp->blessed && !otmp->cursed) {