Skip to content

Commit

Permalink
The invocation was still affecting the endgame monster generation, wh…
Browse files Browse the repository at this point in the history
…ere it would maximize it. Now it's totally dependant on the number of wishes.
  • Loading branch information
elunna committed Oct 3, 2023
1 parent 9a2a384 commit 8ea9e38
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/allmain.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,10 +299,7 @@ boolean resuming;
*/
monclock = MIN_MONGEN_RATE;

if (u.uevent.invoked) {
/* performing the invocation gets the entire dungeon riled up */
monclock = MAX_MONGEN_RATE;
} else if (!iflags.debug_fuzzer) {
if (!iflags.debug_fuzzer) {
/* Don't let wishes influence the fuzzer */
past_clock = moves - timeout_start;
if (past_clock > 0)
Expand All @@ -313,6 +310,8 @@ boolean resuming;
monclock = MIN_MONGEN_RATE / 6;
if (monclock > MIN_MONGEN_RATE / 8 && (u.uconduct.wishes >= 4L))
monclock = MIN_MONGEN_RATE / 8;
if (monclock > MIN_MONGEN_RATE / 8 && (u.uconduct.wishes >= 5L))
monclock = MAX_MONGEN_RATE;
}
/* make sure we don't fall off the bottom */
if (monclock < MAX_MONGEN_RATE)
Expand All @@ -333,6 +332,7 @@ boolean resuming;
(void) makemon((struct permonst *) 0, 0, 0,
MM_MPLAYEROK);
}

/* calculate how much time passed. */
if (u.usteed && u.umoved) {
/* your speed doesn't augment steed's speed */
Expand Down

0 comments on commit 8ea9e38

Please sign in to comment.