feedback for monsters' health
For farlook description of a monster, and for "killed by monster" when game ends, include an indication of the monster's health: uninjured full health barely wounded 95%+ health slightly wounded 80%+ wounded 20%..80% heavily wounded 20%- nearly deceased 5%-, or 1HP for really weak monsters These descriptions and the criteria for choosing which one will probably need some tuning. Messages referring to the monster, including combat, do not include the extra verbosity.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.7 end.c $NHDT-Date: 1606009001 2020/11/22 01:36:41 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.215 $ */
|
||||
/* NetHack 3.7 end.c $NHDT-Date: 1608749031 2020/12/23 18:43:51 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.216 $ */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/*-Copyright (c) Robert Patrick Rankin, 2012. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
@@ -419,6 +419,7 @@ int how;
|
||||
Strcat(buf, "the ");
|
||||
g.killer.format = KILLED_BY;
|
||||
}
|
||||
(void) monhealthdescr(mtmp, TRUE, eos(buf));
|
||||
if (mtmp->minvis)
|
||||
Strcat(buf, "invisible ");
|
||||
if (distorted)
|
||||
|
||||
Reference in New Issue
Block a user