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).
This commit is contained in:
+1
-1
@@ -141,7 +141,7 @@ tty: allow custom glyph colors if they're basic 16 nethack colors
|
||||
|
||||
General New Features
|
||||
--------------------
|
||||
sysconf option MAX_REROLLS to limit number of rerolls
|
||||
sysconf option MAX_REROLL_RATE to limit rate at which rerolls are performed
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific New Features
|
||||
|
||||
Reference in New Issue
Block a user