Files
nethack/include
Alex Smith 3f837939ba Change the MAX_REROLLS option to be MAX_REROLL_RATE
Having a hard cap on the number of rerolls doesn't help save CPU
usage from excessive rerolling, because if the cap is set low
enough to keep the CPU usage reasonable it isn't high enough for
players to actually use the feature.

Instead, allow capping the number of rerolls per second. (Sensible
values seem to be in the 5-10 range.) If the player attempts more
rerolls than this, show a paranoid confirmation prompt: the need to
type the answer to the prompt will slow a human user down (and if
the prompt is filled in too quickly, it will simply just be shown
again, preventing attempts to use automation to skip the prompt).
2026-05-22 06:02:00 +01:00
..
2022-02-04 11:01:20 -05:00
2025-05-25 20:38:17 -04:00
2026-05-02 08:25:58 -04:00
2026-05-01 09:12:37 -04:00
2026-05-16 12:22:03 -04:00
2026-05-01 09:12:37 -04:00
2026-05-02 00:19:08 -04:00
2024-09-06 13:08:07 -07:00
2026-05-02 00:19:08 -04:00
2026-04-26 12:34:02 -04:00
2026-05-02 19:26:05 -04:00
2025-05-25 20:38:17 -04:00
2026-04-26 13:21:18 -04:00
2026-05-01 09:12:37 -04:00
2026-04-26 12:34:02 -04:00
2026-05-15 21:58:51 -04:00
2026-04-26 12:34:02 -04:00
2026-05-01 09:12:37 -04:00
2026-04-26 12:34:02 -04:00
2026-05-02 10:45:29 -04:00