mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-20 16:05:01 -05:00
Disallow downleveled watchtower self hosted shinies
This commit is contained in:
@@ -27,6 +27,8 @@ protected override bool IsMatchLevel(PKM pkm, DexLevel evo)
|
||||
return false;
|
||||
if (lvl is < 20 or > 55)
|
||||
return false;
|
||||
if (pkm.Met_Location == Watchtower && pkm.IsShiny)
|
||||
return false; // host cannot downlevel and be shiny
|
||||
return lvl % 5 == 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user