mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-23 19:54:17 -05:00
Update EncounterFixed9.cs
This commit is contained in:
@@ -59,13 +59,10 @@ protected override bool IsMatchLocation(PKM pk)
|
||||
|
||||
public override bool IsMatchExact(PKM pk, EvoCriteria evo)
|
||||
{
|
||||
if (TeraType != GemType.Random)
|
||||
{
|
||||
if (pk is ITeraType t && !Tera9RNG.IsMatchTeraType(TeraType, Species, Form, (byte)t.TeraTypeOriginal))
|
||||
return false;
|
||||
if (pk is IScaledSize3 { Scale: < MinScaleStrongTera })
|
||||
return false;
|
||||
}
|
||||
if (TeraType != GemType.Random && pk is ITeraType t && !Tera9RNG.IsMatchTeraType(TeraType, Species, Form, (byte)t.TeraTypeOriginal))
|
||||
return false;
|
||||
if (TeraType != 0 && pk is IScaledSize3 { Scale: < MinScaleStrongTera })
|
||||
return false;
|
||||
|
||||
if (FlawlessIVCount != 0 && pk.FlawlessIVCount < FlawlessIVCount)
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user