growing into genocided form
<Someone> recently reported that after lieutenants had been genocided, he saw a sergeant drink a potion of gain level and then vanish, leaving behind its gear but no corpse. The message about growing into a lieutenant and subsequently dropping dead would only be given if the monster could be sensed via telepathy, not when it occurred in plain sight. I'm not absolutely sure that this was unintentional, since sensing the dying monster's mind might be giving additional information about what was happening. But there was no comment stating that and I think such behavior violates the principal of least surprise, so seeing it happen will now give the message too.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* SCCS Id: @(#)makemon.c 3.5 2004/06/12 */
|
||||
/* SCCS Id: @(#)makemon.c 3.5 2005/06/13 */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -1453,7 +1453,7 @@ struct monst *mtmp, *victim;
|
||||
if ((int)++mtmp->m_lev >= mons[newtype].mlevel && newtype != oldtype) {
|
||||
ptr = &mons[newtype];
|
||||
if (mvitals[newtype].mvflags & G_GENOD) { /* allow G_EXTINCT */
|
||||
if (sensemon(mtmp))
|
||||
if (canspotmon(mtmp))
|
||||
pline("As %s grows up into %s, %s %s!", mon_nam(mtmp),
|
||||
an(ptr->mname), mhe(mtmp),
|
||||
nonliving(ptr) ? "expires" : "dies");
|
||||
|
||||
Reference in New Issue
Block a user