PKHeX/PKHeX.Core/Legality/Encounters/EncounterStatic
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
..
DreamWorldEntry.cs Enumerate ability permissions in encounter templates, misc updates (#3368) 2022-01-08 22:34:04 -08:00
EncounterStatic.cs Update PKHeX.Core abstractions with latest logic 2022-02-04 17:35:15 -08:00
EncounterStatic1.cs Ignore encounter if bad catch rate 2022-01-02 15:03:04 -08:00
EncounterStatic1E.cs Trailing commas 2021-08-20 13:49:20 -07:00
EncounterStatic2.cs Define specific moveset for Odd Egg / extremespeed mons 2022-01-10 21:27:04 -08:00
EncounterStatic2E.cs Trailing commas 2021-08-20 13:49:20 -07:00
EncounterStatic3.cs Trailing commas 2021-08-20 13:49:20 -07:00
EncounterStatic4.cs Use primary constructors for some records 2021-12-09 01:08:46 -08:00
EncounterStatic4Pokewalker.cs Add missing met location bypass for pokewalker xfr's 2021-02-21 18:41:42 -08:00
EncounterStatic5.cs Enumerate ability permissions in encounter templates, misc updates (#3368) 2022-01-08 22:34:04 -08:00
EncounterStatic5DR.cs Enumerate ability permissions in encounter templates, misc updates (#3368) 2022-01-08 22:34:04 -08:00
EncounterStatic5N.cs Enumerate ability permissions in encounter templates, misc updates (#3368) 2022-01-08 22:34:04 -08:00
EncounterStatic6.cs Use primary constructors for some records 2021-12-09 01:08:46 -08:00
EncounterStatic7.cs Enumerate ability permissions in encounter templates, misc updates (#3368) 2022-01-08 22:34:04 -08:00
EncounterStatic7b.cs Update PKHeX.Core abstractions with latest logic 2022-02-04 17:35:15 -08:00
EncounterStatic8.cs Use primary constructors for some records 2021-12-09 01:08:46 -08:00
EncounterStatic8a.cs Add logic for PLA wild RNG correlation (#3443) 2022-02-20 17:59:48 -08:00
EncounterStatic8b.cs Add Wild8RNG generation method 2022-01-16 01:57:56 -06:00
EncounterStatic8N.cs Add inaccessible den-rank checks 2021-04-22 21:47:25 -07:00
EncounterStatic8NC.cs Minor clean 2021-12-09 19:30:12 -08:00
EncounterStatic8ND.cs Replace some linq usage with direct logic 2021-05-06 23:26:38 -07:00
EncounterStatic8Nest.cs Enumerate ability permissions in encounter templates, misc updates (#3368) 2022-01-08 22:34:04 -08:00
EncounterStatic8S.cs Minor clean 2021-12-09 19:30:12 -08:00
EncounterStatic8U.cs Fracture the encounter matching checks to allow progressive validation (#3137) 2021-01-29 17:55:27 -08:00
EncounterStaticShadow.cs Add accurate Colo EReader PID generating 2022-02-09 09:26:10 -08:00