Avoid "It turns into [Name]" on vamp engulf
Apply a similar fix asa791b4bandf441696ended up settling on for normal vampire transformation to the vampire transformation that happens when their shapeshifted form is engulfed.
This commit is contained in:
+7
-2
@@ -784,8 +784,13 @@ gulpmm(
|
|||||||
using that would be excessively verbose */
|
using that would be excessively verbose */
|
||||||
pline("%s expels %s.", Monnam(magr),
|
pline("%s expels %s.", Monnam(magr),
|
||||||
canspotmon(mdef) ? "it" : something);
|
canspotmon(mdef) ? "it" : something);
|
||||||
if (canspotmon(mdef))
|
if (canspotmon(mdef)) {
|
||||||
pline("It turns into %s.", a_monnam(mdef));
|
pline("It turns into %s.",
|
||||||
|
x_monnam(mdef, ARTICLE_A, (char *) 0,
|
||||||
|
(SUPPRESS_NAME | SUPPRESS_IT
|
||||||
|
| SUPPRESS_INVISIBLE), FALSE));
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return MM_HIT; /* bypass mdamagem() */
|
return MM_HIT; /* bypass mdamagem() */
|
||||||
}
|
}
|
||||||
|
|||||||
+10
-3
@@ -4587,10 +4587,17 @@ gulpum(struct monst *mdef, struct attack *mattk)
|
|||||||
&& newcham(mdef, &mons[mdef->cham], NO_NC_FLAGS)) {
|
&& newcham(mdef, &mons[mdef->cham], NO_NC_FLAGS)) {
|
||||||
You("%s it, then %s it.", u_digest ? "swallow" : "engulf",
|
You("%s it, then %s it.", u_digest ? "swallow" : "engulf",
|
||||||
expel_verb);
|
expel_verb);
|
||||||
if (canspotmon(mdef))
|
if (canspotmon(mdef)) {
|
||||||
pline("It turns into %s.", a_monnam(mdef));
|
/* Avoiding a_monnam here: if the target is named, it gives us
|
||||||
else
|
a sequence like "You bite Dracula. You swallow it, then
|
||||||
|
regurgitate it. It turns into Dracula." */
|
||||||
|
pline("It turns into %s.",
|
||||||
|
x_monnam(mdef, ARTICLE_A, (char *) 0,
|
||||||
|
(SUPPRESS_NAME | SUPPRESS_IT
|
||||||
|
| SUPPRESS_INVISIBLE), FALSE));
|
||||||
|
} else {
|
||||||
map_invisible(mdef->mx, mdef->my);
|
map_invisible(mdef->mx, mdef->my);
|
||||||
|
}
|
||||||
return MM_HIT;
|
return MM_HIT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user