Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backpropagation of inheritance #218

Open
Salier13 opened this issue Jul 27, 2022 · 0 comments
Open

Backpropagation of inheritance #218

Salier13 opened this issue Jul 27, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@Salier13
Copy link
Contributor

Salier13 commented Jul 27, 2022

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).

foreach (var evo in evos.PossibleEvolutions)
{
var ei = Table.GetFormeIndex(evo.Species, evo.Form);
if (AlreadyProcessed(evoindex))
return;
RandomizeSplitChain(evo, devolvedIndex);
ProcessEvolutions(evo.Species, evo.Form, ei);
}

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 Salier13 changed the title Backpropagation of type inheriting Backpropagation of inheritance Jul 27, 2022
@kwsch kwsch added the enhancement New feature or request label Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants