mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 05:48:44 +00:00
Update EncounterStatic8ND.cs
This commit is contained in:
parent
efb3d9aeac
commit
e36fdd3cb6
1 changed files with 7 additions and 6 deletions
|
@ -24,6 +24,13 @@ namespace PKHeX.Core
|
|||
protected override bool IsMatchLevel(PKM pkm, DexLevel evo)
|
||||
{
|
||||
var lvl = pkm.Met_Level;
|
||||
|
||||
if (lvl <= 25) // 1 or 2 stars
|
||||
{
|
||||
if (InaccessibleRank12DistributionLocations.Contains(pkm.Met_Location))
|
||||
return false;
|
||||
}
|
||||
|
||||
if (lvl == Level)
|
||||
return true;
|
||||
|
||||
|
@ -36,12 +43,6 @@ namespace PKHeX.Core
|
|||
if (lvl % 5 != 0)
|
||||
return false;
|
||||
|
||||
if (lvl <= 25) // 1 or 2 stars
|
||||
{
|
||||
if (InaccessibleRank12DistributionLocations.Contains(pkm.Met_Location))
|
||||
return false;
|
||||
}
|
||||
|
||||
// shared nests can be down-leveled to any
|
||||
if (pkm.Met_Location == SharedNest)
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue