Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CriticalRNG for super-luck, update others
CriticalRNG should make some unusual cases easier to implement, where a character can exceed the normal limits of what some ability can do by sheer luck. It isn't a general RNG since it can and frequently will produce values that are larger or smaller than an arrays's limits if it's used to get a random element from an array as-is; instead it could be used to get multiple items from that array if the value is very high, or from a different array if it is high or low. Various subclasses of RNG hadn't been looked at in a while; some methods were marked GwtIncompatible but that no longer applied as of GWT 2.8.0, while others could be made more general thanks to changes in APIs elsewhere (String parameters were just passed to CrossHash, so they could be CharSequence parameters and so take StringBuilders and such).
- Loading branch information
1 parent
c828120
commit 42b72c6
Showing
58 changed files
with
15,473 additions
and
14,444 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Oops, something went wrong.