Clamp max CP at 10k

ingame max is 10k
This commit is contained in:
Kurt 2018-11-18 15:32:47 -08:00
parent b818aff48a
commit 65febae125

View file

@ -663,7 +663,7 @@ namespace PKHeX.Core
0, 0, 0, 0, 0, // Quirky 0, 0, 0, 0, 0, // Quirky
}; };
public int CalcCP => AwakeCP + BaseCP; public int CalcCP => Math.Min(10000, AwakeCP + BaseCP);
public int BaseCP public int BaseCP
{ {