mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-28 06:35:37 -05:00
Adjust levelmin on single evochain
Early return wasn't adjusting the minimum level; closes #2035
This commit is contained in:
@@ -172,7 +172,10 @@ private static List<EvoCriteria> GetEvolutionChain(PKM pkm, IEncounterable Encou
|
||||
if (Encounter.Species == maxspec)
|
||||
{
|
||||
if (vs.Count != 1)
|
||||
{
|
||||
vs.RemoveAll(z => z.Species != Encounter.Species);
|
||||
vs[0].MinLevel = Encounter.LevelMin;
|
||||
}
|
||||
return vs;
|
||||
}
|
||||
|
||||
|
||||
@@ -18,7 +18,6 @@ public LearnLookup(PersonalTable table, Learnset[] learn, GameVersion version)
|
||||
Version = version;
|
||||
Table = table;
|
||||
Learn = learn;
|
||||
|
||||
}
|
||||
|
||||
public List<int> AddMovesIndex(List<int> moves, int index, int max, int min)
|
||||
|
||||
Reference in New Issue
Block a user