Skip to content

Commit

Permalink
Fix: Vecna wasn't getting the Key of Chaos!
Browse files Browse the repository at this point in the history
  • Loading branch information
elunna committed Jul 27, 2023
1 parent be6cdab commit e2e3e70
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions hackem_changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

Version 1.2.0 (unreleased)

Fix: Vecna wasn't getting the Key of Chaos!
Fix: Lookup for skeleton key matched skeleton monster.
Message when cursed gain level is blocked at Vlad's Tower.
Two alignment keys can be forged together to create The Key of Access.
Expand Down
7 changes: 7 additions & 0 deletions src/makemon.c
Original file line number Diff line number Diff line change
Expand Up @@ -3421,6 +3421,13 @@ long mmflags;
mtmp->iscerberus = TRUE;
} else if (mndx == PM_VECNA) {
mtmp->isvecna = TRUE;
struct obj *otmp;
otmp = oname(mksobj(SKELETON_KEY, TRUE, FALSE),
artiname(ART_KEY_OF_CHAOS));
if (otmp) {
otmp->blessed = otmp->cursed = 0;
mpickobj(mtmp, otmp);
}
} else if (mndx == PM_GRUND_THE_ORC_KING) {
mtmp->isgrund = TRUE;
(void) mongets(mtmp, SUBMACHINE_GUN);
Expand Down

0 comments on commit e2e3e70

Please sign in to comment.