Fix the situation <Someone> reported where the "You disturbed me, fool!"
result when releasing a djinni from a cloudy potion sometimes produced a
peaceful djinni for neutrals due to the usual randomness in how monsters
react to characters of the same alignment. Explicitly force it to be
hostile for that outcome.
Also, for the "it's about time" result, suppress the "It vanishes"
message when the character doesn't see the djinni depart.
loss of hitpoints
shopkeeper removal of trap from shop doorway yields an open door instead of
a closed one if an intact open door is present
+guarantee that hostile djinn released from bottles really are hostile
Platform- and/or Interface-Specific Fixes
-/* SCCS Id: @(#)potion.c 3.4 2004/06/12 */
+/* SCCS Id: @(#)potion.c 3.4 2004/06/28 */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */
set_malign(mtmp);
break;
case 3 : verbalize("It is about time!");
- pline("%s vanishes.", Monnam(mtmp));
+ if (canspotmon(mtmp)) pline("%s vanishes.", Monnam(mtmp));
mongone(mtmp);
break;
default: verbalize("You disturbed me, fool!");
+ mtmp->mpeaceful = FALSE;
+ set_malign(mtmp);
break;
}
}