fix #K3997 - livelog feedback for high priests
If you killed a second high priest (either two on Astral or first in the Sanctum and another on Astral) the livelog/#chronicle message would report "killed high priest of Foo (2nd time)" even though the first was the high priest of Bar, or even just "killed high priest (2nd time)" if second kill happened when not adjacent. High priests pass the 'unique monster' test (even though they aren't actually unique--there will be four of them) so get logged for killing such. Always report "killed high priest of Foo" and only do so if the specific high priest[ess] monster hasn't been revived and re-killed. Logging deaths of unique monsters normally reports the 1st, 2nd, 3rd, 5th, 10th, and various later instances. If you were to kill Moloch's high priest and all three on Astral, the last one wouldn't be logged because 4th instance gets skipped. This forces each one to be treated as the 1st (provided that the mrevived flag is clear), so for logging purposes it will now behave as if there are 4 distinct high priests.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.7 extern.h $NHDT-Date: 1689629242 2023/07/17 21:27:22 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.1279 $ */
|
||||
/* NetHack 3.7 extern.h $NHDT-Date: 1693292519 2023/08/29 07:01:59 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.1282 $ */
|
||||
/* Copyright (c) Steve Creps, 1988. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -2292,7 +2292,7 @@ extern boolean inhistemple(struct monst *);
|
||||
extern int pri_move(struct monst *);
|
||||
extern void priestini(d_level *, struct mkroom *, int, int, boolean);
|
||||
extern aligntyp mon_aligntyp(struct monst *);
|
||||
extern char *priestname(struct monst *, int, char *);
|
||||
extern char *priestname(struct monst *, int, boolean, char *);
|
||||
extern boolean p_coaligned(struct monst *);
|
||||
extern struct monst *findpriest(char);
|
||||
extern void intemple(int);
|
||||
|
||||
Reference in New Issue
Block a user