From a bug report, attempting to attack
a hidden monster who is revealed by ongoing monster detection (blessed
potion or skilled spell) gave "wait! there's a <monster> hiding there"
response and prevented the attack. Make it behave the same as when the
hidden monster is revealed by telepathy; the monster comes out of hiding
and the hero's attack proceeds.
poly'd hero out of hiding
escape the deleted trap after performing the invocation while trapped
use alternate phrasing when life drain attack affects non-living creature
+bypass "wait! there's a creature hidden there" when attacking a hidden monster
+ sensed by ongoing monster detection
Platform- and/or Interface-Specific Fixes
-/* SCCS Id: @(#)uhitm.c 3.5 2006/03/29 */
+/* SCCS Id: @(#)uhitm.c 3.5 2006/06/21 */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */
seemimic(mtmp);
return(FALSE);
}
- if (!(Blind ? Blind_telepat : Unblind_telepat)) {
+ if (!((Blind ? Blind_telepat : Unblind_telepat) ||
+ Detect_monsters)) {
struct obj *obj;
if (Blind || (is_pool(mtmp->mx,mtmp->my) && !Underwater))