mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-22 18:33:14 +00:00
d5be6254f3
Adds structures to read/write saved spawner data such as seeds, counts. Adds generator and validator to emulate the FixInitSpec builder used by the game logic Similar to SW/SH raids, validating these in-process is not feasible due to the number crunching required. This does not handle the encounter slot call or the follow-up level range call. Just the inner FixInitSpec ctor & fill. level is calc'd: randFloat(sum) -> slot float rand.Next() -> gen_seed (for all the details) rand.NextInt(delta) +min -> level Co-Authored-By: Lusamine <30205550+Lusamine@users.noreply.github.com> |
||
---|---|---|
.. | ||
LCRNG.cs | ||
RNG.cs | ||
RNGType.cs | ||
RNGUtil.cs | ||
Xoroshiro128Plus.cs | ||
Xoroshiro128Plus8b.cs | ||
XorShift128.cs |