invisibility bit
Make timeout of temporary invisibility consistent with other forms of toggling that state: you notice it even when you are able to see invisible. (Invoking the archeologist's quest artifact is still inconsistent in this regard.)
This commit is contained in:
@@ -331,6 +331,8 @@ non-moving monster are not affected by liquid
|
|||||||
present in the quiver or alternate weapon inventory slots
|
present in the quiver or alternate weapon inventory slots
|
||||||
most cases of the hero dropping things need to check for dropping on an altar
|
most cases of the hero dropping things need to check for dropping on an altar
|
||||||
zapping undiggable trees with wand or spell of dig gave feedback about rock
|
zapping undiggable trees with wand or spell of dig gave feedback about rock
|
||||||
|
being able to see invisible shouldn't cause you to not notice when potion
|
||||||
|
or spell of invisibility wears off
|
||||||
|
|
||||||
|
|
||||||
Platform- and/or Interface-Specific Fixes
|
Platform- and/or Interface-Specific Fixes
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* SCCS Id: @(#)timeout.c 3.4 2002/10/12 */
|
/* SCCS Id: @(#)timeout.c 3.4 2002/12/17 */
|
||||||
/* 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. */
|
||||||
|
|
||||||
@@ -287,10 +287,11 @@ nh_timeout()
|
|||||||
break;
|
break;
|
||||||
case INVIS:
|
case INVIS:
|
||||||
newsym(u.ux,u.uy);
|
newsym(u.ux,u.uy);
|
||||||
if (!Invis && !BInvis &&
|
if (!Invis && !BInvis && !Blind) {
|
||||||
!See_invisible && !Blind) {
|
You(!See_invisible ?
|
||||||
You("are no longer invisible.");
|
"are no longer invisible." :
|
||||||
stop_occupation();
|
"can no longer see through yourself.");
|
||||||
|
stop_occupation();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case SEE_INVIS:
|
case SEE_INVIS:
|
||||||
|
|||||||
Reference in New Issue
Block a user