mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-10 14:44:24 +00:00
Fix Gen3 min sheen check
referred to wrong const value https://projectpokemon.org/home/forums/topic/57375-pkhex-new-update-legality-errors-contribution-page/?do=findComment&comment=286554
This commit is contained in:
parent
64ed92a566
commit
40b6c97358
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ public static class ContestStatInfo
|
|||
|
||||
var rawAvg = GetAverageFeel(s, 0, initial);
|
||||
if (rawAvg == MaxContestStat)
|
||||
return MaxContestStat;
|
||||
return BestSheenStat3;
|
||||
|
||||
var avg = Math.Max(1, nature % 6 == 0 ? rawAvg : GetAverageFeel(s, nature, initial));
|
||||
avg = Math.Min(rawAvg, avg); // be generous
|
||||
|
|
Loading…
Reference in a new issue