Disallow downleveled watchtower self hosted shinies

This commit is contained in:
Kurt
2021-10-09 17:12:54 -07:00
parent 507eef43e7
commit df34f2b5c4

View File

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