mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-27 10:05:27 -05:00
Update _K12.cs
This commit is contained in:
@@ -260,12 +260,11 @@ public override ushort[] GetStats(PersonalInfo p)
|
||||
|
||||
protected static ushort GetStat(int BV, int IV, int EV, int LV)
|
||||
{
|
||||
EV = (ushort)Math.Sqrt(EV) >> 2;
|
||||
EV = (ushort)Math.Min(255, Math.Sqrt(EV) + 1) >> 2;
|
||||
return (ushort)((((2 * (BV + IV)) + EV) * LV / 100) + 5);
|
||||
}
|
||||
|
||||
public override int GetMovePP(int move, int ppup) => Math.Min(61, base.GetMovePP(move, ppup));
|
||||
|
||||
public override int GetMovePP(int move, int ppup) => GetBasePP(move) + ppup * Math.Min(7, GetBasePP(move) / 5)
|
||||
/// <summary>
|
||||
/// Applies <see cref="PKM.IVs"/> to the <see cref="PKM"/> to make it shiny.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user