mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 06:20:25 +00:00
Clamp max CP at 10k
ingame max is 10k
This commit is contained in:
parent
b818aff48a
commit
65febae125
1 changed files with 1 additions and 1 deletions
|
@ -663,7 +663,7 @@ namespace PKHeX.Core
|
|||
0, 0, 0, 0, 0, // Quirky
|
||||
};
|
||||
|
||||
public int CalcCP => AwakeCP + BaseCP;
|
||||
public int CalcCP => Math.Min(10000, AwakeCP + BaseCP);
|
||||
|
||||
public int BaseCP
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue