high priest message

Fix bug: Create high priest, let it kill you.  Get "kiled by the high priest".
This commit is contained in:
arromdee
2002-01-17 03:04:04 +00:00
parent f93521e95d
commit af50cb590d
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -387,6 +387,7 @@ monsters without ranged spells don't print curse messages for ranged spells
going down to floor using > should set Heart of Ahriman invocation timeout going down to floor using > should set Heart of Ahriman invocation timeout
riding a steed into water kills the steed if it cannot swim, with penalties riding a steed into water kills the steed if it cannot swim, with penalties
gaze attacks now stop occupation gaze attacks now stop occupation
proper death message when killed by "plain" high priest
Platform- and/or Interface-Specific Fixes Platform- and/or Interface-Specific Fixes
+3 -1
View File
@@ -185,7 +185,9 @@ register struct monst *mtmp;
You("die..."); You("die...");
mark_synch(); /* flush buffered screen output */ mark_synch(); /* flush buffered screen output */
buf[0] = '\0'; buf[0] = '\0';
if ((mtmp->data->geno & G_UNIQ) != 0) { /* "killed by the high priest of Crom" is okay, "killed by the high
priest" alone isn't */
if ((mtmp->data->geno & G_UNIQ) != 0 && !(mtmp->data == &mons[PM_HIGH_PRIEST] && !mtmp->ispriest)) {
if (!type_is_pname(mtmp->data)) if (!type_is_pname(mtmp->data))
Strcat(buf, "the "); Strcat(buf, "the ");
killer_format = KILLED_BY; killer_format = KILLED_BY;