Skip to content

Commit

Permalink
First wish is free, pain comes on #2.
Browse files Browse the repository at this point in the history
  • Loading branch information
elunna committed Sep 27, 2023
1 parent c75bda9 commit 43d354c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 0 additions & 4 deletions src/allmain.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,16 +301,12 @@ boolean resuming;
past_clock = moves - timeout_start;
if (past_clock > 0)
monclock = MIN_MONGEN_RATE * 30000 / (past_clock + 30000);
if (monclock > MIN_MONGEN_RATE / 2 && (u.uconduct.wishes >= 1L))
monclock = MIN_MONGEN_RATE / 2;
if (monclock > MIN_MONGEN_RATE / 4 && (u.uconduct.wishes >= 2L))
monclock = MIN_MONGEN_RATE / 4;
if (monclock > MIN_MONGEN_RATE / 6 && (u.uconduct.wishes >= 3L))
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 / 10 && (u.uconduct.wishes >= 5L))
monclock = MIN_MONGEN_RATE / 10;
}
/* make sure we don't fall off the bottom */
if (monclock < MAX_MONGEN_RATE)
Expand Down
3 changes: 2 additions & 1 deletion src/dungeon.c
Original file line number Diff line number Diff line change
Expand Up @@ -1682,7 +1682,8 @@ level_difficulty()
res += 15;
}
/* Wishes increase difficulty */
res += (int) u.uconduct.wishes * 5;
if (u.uconduct.wishes > 1)
res += (int) (u.uconduct.wishes - 1) * 4;
return (xchar) res;
}

Expand Down

0 comments on commit 43d354c

Please sign in to comment.