mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 04:23:12 +00:00
Relax gen4/8b poffin sheen max calc
Really bad burnt poffins.
This commit is contained in:
parent
78d681751e
commit
1a3a365d8a
1 changed files with 3 additions and 2 deletions
|
@ -11,6 +11,7 @@ public static class ContestStatInfo
|
|||
private const int LowestFeelBlock3 = 1; // quad Nutpea
|
||||
private const int LowestFeelPoffin4 = 11; // Beauty Haircut
|
||||
private const int LowestFeelPoffin8b = 7;
|
||||
private const int HighestFeelPoffin8b = 79;
|
||||
|
||||
private const byte MaxContestStat = 255;
|
||||
|
||||
|
@ -80,10 +81,10 @@ public static class ContestStatInfo
|
|||
return initial.CNT_Sheen;
|
||||
|
||||
if (avg <= 2)
|
||||
return 24;
|
||||
return 56;
|
||||
|
||||
// Can get trash poffins by burning and spilling on purpose.
|
||||
return Math.Min(MaxContestStat, avg * LowestFeelPoffin4);
|
||||
return Math.Min(MaxContestStat, avg * HighestFeelPoffin8b);
|
||||
}
|
||||
|
||||
public static int CalculateMinimumSheen(IContestStats s, IContestStats initial, INature pkm, ContestStatGrantingSheen method) => method switch
|
||||
|
|
Loading…
Reference in a new issue