chest trap bit
From a bug report, the "you stagger" message when a trapped chest releases a cloud of gas shouldn't include the inaccurate phrase "and your vision blurs" if hallucination is blocked by Grayswandir. Suppress it in that case.
This commit is contained in:
@@ -152,6 +152,7 @@ incubi react to mirrors
|
|||||||
alignment of Angels was handled inconsistently
|
alignment of Angels was handled inconsistently
|
||||||
pets capable of digging could pass through walls and stone on the Rogue level
|
pets capable of digging could pass through walls and stone on the Rogue level
|
||||||
avoid inappropriate "the corridor disappears" when vault guard gets killed
|
avoid inappropriate "the corridor disappears" when vault guard gets killed
|
||||||
|
adjust message for gas effect from chest trap if hero resists hallucination
|
||||||
|
|
||||||
|
|
||||||
Platform- and/or Interface-Specific Fixes
|
Platform- and/or Interface-Specific Fixes
|
||||||
|
|||||||
+6
-6
@@ -1,4 +1,4 @@
|
|||||||
/* SCCS Id: @(#)trap.c 3.5 2005/06/22 */
|
/* SCCS Id: @(#)trap.c 3.5 2005/11/01 */
|
||||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||||
/* NetHack may be freely redistributed. See license for details. */
|
/* NetHack may be freely redistributed. See license for details. */
|
||||||
|
|
||||||
@@ -3919,12 +3919,12 @@ boolean disarm;
|
|||||||
if(!Stunned) {
|
if(!Stunned) {
|
||||||
if (Hallucination)
|
if (Hallucination)
|
||||||
pline("What a groovy feeling!");
|
pline("What a groovy feeling!");
|
||||||
else if (Blind)
|
|
||||||
You("%s and get dizzy...",
|
|
||||||
stagger(youmonst.data, "stagger"));
|
|
||||||
else
|
else
|
||||||
You("%s and your vision blurs...",
|
You("%s%s...",
|
||||||
stagger(youmonst.data, "stagger"));
|
stagger(youmonst.data, "stagger"),
|
||||||
|
Halluc_resistance ? "" :
|
||||||
|
Blind ? " and get dizzy" :
|
||||||
|
" and your vision blurs");
|
||||||
}
|
}
|
||||||
make_stunned(HStun + rn1(7, 16),FALSE);
|
make_stunned(HStun + rn1(7, 16),FALSE);
|
||||||
(void) make_hallucinated(HHallucination + rn1(5, 16),FALSE,0L);
|
(void) make_hallucinated(HHallucination + rn1(5, 16),FALSE,0L);
|
||||||
|
|||||||
Reference in New Issue
Block a user