mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-14 16:27:21 +00:00
Ignore insufficient fixed IV matches
Wild vaporeon and glaceon can get mis-recognized with the fixed strong static teras.
This commit is contained in:
parent
c1796da94b
commit
78676a9cbd
1 changed files with 2 additions and 0 deletions
|
@ -59,6 +59,8 @@ public sealed record EncounterFixed9 : EncounterStatic, IGemType
|
|||
{
|
||||
if (TeraType != GemType.Random && pk is ITeraType t && !Tera9RNG.IsMatchTeraType(TeraType, Species, Form, (byte)t.TeraTypeOriginal))
|
||||
return false;
|
||||
if (FlawlessIVCount != 0 && pk.FlawlessIVCount < FlawlessIVCount)
|
||||
return false;
|
||||
return base.IsMatchExact(pk, evo);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue