mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-24 04:53:08 +00:00
Tweak evo levelup param
0 - item required (method 5,6,7) 1 - trade required (method 8) 2 - level required (everything else) Fixes encounter checks of trade evolution pkm
This commit is contained in:
parent
7477d4d20e
commit
28568c2908
2 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ namespace PKHeX
|
|||
{
|
||||
if (lvl >= pk6.Met_Level && lvl >= evo.Level)
|
||||
dl.Add(new DexLevel { Species = evo.Species, Level = lvl });
|
||||
if (evo.Level > 0) // Level Up (from previous level)
|
||||
if (evo.Level > 1) // Level Up (from previous level)
|
||||
lvl--;
|
||||
}
|
||||
return dl;
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue