pkNX icon indicating copy to clipboard operation
pkNX copied to clipboard

Backpropagation of inheritance

Open Salier13 opened this issue 3 years ago • 0 comments

In the case of a mon having obtained a pre-evolution later in the game, and by such the pre-evolution coming later in the dex than the mon. The types/ability inheritence system doesn't work as it goes through the dex with a linear process going only from basic to evolution and not the opposite (Example of Magby 240 / Magmar 126).

https://github.com/kwsch/pkNX/blob/fe9e21749fa548f5efbf150867b6373bdd30ca99/pkNX.Randomization/Randomizers/Personal/PersonalRandomizer.cs#L102-L109

This could be fixed by allowing the randomizer to inherit to an already randomized pokemon as i don't believe that there is a pokemon evolving into multiple pokemons and that come after those in the dex.

Salier13 avatar Jul 27 '22 14:07 Salier13