-
Notifications
You must be signed in to change notification settings - Fork 460
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix github issue #349 - out of depth liches
Change mkclass() to always honor the hell-only monster generation flag for L class, preventing master and arch-liches outside Gehennom. For other classes, honor hell-only and outside-hell-only most (89%) of the time. When not honored (11%), it allows demons and devils to appear outside of Gehennom as they have in the past. [That part might need to be re-done since it is done for all monsters in the class on any mkclass() call instead of being done on a class-member by class-member basis within each such call.] This prevents out of depth liches in the Castle and ought to do same for themed rooms of type 'Mausoleum' although I haven't figured out how to test that. Fixes #349
- Loading branch information
PatR
committed
May 27, 2020
1 parent
c63165e
commit c29ffe1
Showing
2 changed files
with
25 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c29ffe1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Considering mausoleums pick a lich using the same mechanism as the Castle liches, yeah. I tested it by increasing the random weight for that themed room type.