PKHeX/PKHeX.Core/Legality
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
..
Areas Add BinLinkerAccessor for better startup perf 2022-02-04 17:20:56 -08:00
Encounters Add logic for PLA wild RNG correlation (#3443) 2022-02-20 17:59:48 -08:00
Enums Add GV legality check 2022-02-05 13:48:34 -08:00
Evolutions Update PKHeX.Core abstractions with latest logic 2022-02-04 17:35:15 -08:00
Formatting Add GV legality check 2022-02-05 13:48:34 -08:00
Learnset Min move count: ignore purchased moves 2022-02-05 16:47:19 -08:00
Moves Minor tweaks for api consumers 2022-02-12 23:40:28 -08:00
Restrictions Check level for new evo methods 2022-02-07 21:46:05 -08:00
RNG Add logic for PLA wild RNG correlation (#3443) 2022-02-20 17:59:48 -08:00
Structures Update PKHeX.Core abstractions with latest logic 2022-02-04 17:35:15 -08:00
Tables Add move mastery batch command (MoveMastery) 2022-02-04 20:04:57 -08:00
Verifiers Minor clean 2022-02-14 21:32:52 -08:00
BinLinkerAccessor.cs Add BinLinkerAccessor for better startup perf 2022-02-04 17:20:56 -08:00
Breeding.cs Update PKHeX.Core abstractions with latest logic 2022-02-04 17:35:15 -08:00
BulkAnalysis.cs More records/sealing 2021-12-05 23:54:59 -08:00
BulkGenerator.cs Unify concepts with different names 2020-12-10 20:42:30 -08:00
Core.cs Conditionally set PP Ups and Purchase/Mastery flags on set import 2022-02-07 15:40:02 -08:00
LegalityAnalysis.cs Re-enable legality checking error suppression 2022-02-05 09:31:36 -08:00
LegalityAnalyzers.cs Update PKHeX.Core abstractions with latest logic 2022-02-04 17:35:15 -08:00
MoveList.cs Update PKHeX.Core abstractions with latest logic 2022-02-04 17:35:15 -08:00
MoveListSuggest.cs Fix dropdown suggested green moves from showing swsh moves 2021-11-23 22:58:41 -08:00