Add unique Rider revival messages
This comes from xNetHack by copperwater <aosdict@gmail.com> with some changes to the code, although original change is from SpliceHack.
This commit is contained in:
@@ -772,6 +772,7 @@ in flush_screen, reorder the code slightly to complete the bot() and
|
||||
on the hero
|
||||
magic traps can toggle intrinsic invisibility
|
||||
Death attacking a monster does drain life attack
|
||||
add unique Rider revival messages
|
||||
|
||||
|
||||
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
|
||||
|
||||
16
src/do.c
16
src/do.c
@@ -1923,10 +1923,20 @@ revive_corpse(struct obj *corpse)
|
||||
break;
|
||||
|
||||
case OBJ_FLOOR:
|
||||
if (cansee(mtmp->mx, mtmp->my))
|
||||
pline("%s rises from the dead!",
|
||||
if (cansee(mtmp->mx, mtmp->my)) {
|
||||
const char *effect = "";
|
||||
|
||||
if (mtmp->data == &mons[PM_DEATH])
|
||||
effect = " in a whirl of spectral skulls";
|
||||
else if (mtmp->data == &mons[PM_PESTILENCE])
|
||||
effect = " in a churning pillar of flies";
|
||||
else if (mtmp->data == &mons[PM_FAMINE])
|
||||
effect = " in a ring of withered crops";
|
||||
|
||||
pline("%s rises from the dead%s!",
|
||||
chewed ? Adjmonnam(mtmp, "bite-covered")
|
||||
: Monnam(mtmp));
|
||||
: Monnam(mtmp), effect);
|
||||
}
|
||||
break;
|
||||
|
||||
case OBJ_MINVENT: /* probably a nymph's */
|
||||
|
||||
Reference in New Issue
Block a user