Fix neutral mint index

hardy is index 0. and isn't a mint
This commit is contained in:
Kurt 2020-06-20 15:05:34 -05:00
parent 1ab7c916ce
commit 17f8ad97a9

View File

@ -380,8 +380,8 @@ private void VerifySWSHStats(LegalityAnalysis data, PK8 pk8)
var sn = pk8.StatNature;
if (sn != pk8.Nature)
{
// Only allow Serious nature (0); disallow all other neutral natures.
if (sn != 0 && (sn > 24 || sn % 6 == 0))
// Only allow Serious nature (12); disallow all other neutral natures.
if (sn != 12 && (sn > 24 || sn % 6 == 0))
data.AddLine(GetInvalid(LStatNatureInvalid));
}