Ignore insufficient fixed IV matches

Wild vaporeon and glaceon can get mis-recognized with the fixed strong static teras.
This commit is contained in:
Kurt 2022-11-25 18:25:14 -08:00
parent c1796da94b
commit 78676a9cbd

View file

@ -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);
}