PKHeX/Tests/PKHeX.Core.Tests
Kurt d5be6254f3
Add logic for PLA wild RNG correlation (#3443)
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>
2022-02-20 17:59:48 -08:00
..
General Add prev function for xoroshiro implementations 2022-01-13 18:43:04 -08:00
Legality Add logic for PLA wild RNG correlation (#3443) 2022-02-20 17:59:48 -08:00
PKM Enumerate ability permissions in encounter templates, misc updates (#3368) 2022-01-08 22:34:04 -08:00
Saves Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
Simulator Get criteria from set details 2021-06-14 21:11:46 -07:00
TestData Fix build & tests 2018-11-13 18:03:18 -06:00
Util Refactoring: Span-based value writes and method signatures (#3361) 2022-01-02 21:35:59 -08:00
PKHeX.Core.Tests.csproj Ban more BDSP egg moves before HOME 2021-12-20 19:00:48 -08:00