mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-26 22:10:21 +00:00
Fix starter bypass
lol oops, hotfix inc
This commit is contained in:
parent
ae53f1cf8d
commit
1c26c7713f
2 changed files with 5 additions and 13 deletions
|
@ -277,11 +277,11 @@ namespace PKHeX.Core
|
|||
|
||||
private static void VerifyBelugaStats(LegalityAnalysis data, PB7 pb7)
|
||||
{
|
||||
if (Math.Abs(pb7.HeightAbsolute - pb7.CalcHeightAbsolute) > 0.001 && !IsStarter(pb7))
|
||||
if (Math.Abs(pb7.HeightAbsolute - pb7.CalcHeightAbsolute) > 0.001)
|
||||
data.AddLine(GetInvalid(LStatIncorrectHeight, CheckIdentifier.Encounter));
|
||||
if (Math.Abs(pb7.WeightAbsolute - pb7.CalcWeightAbsolute) > 0.001)
|
||||
data.AddLine(GetInvalid(LStatIncorrectWeight, CheckIdentifier.Encounter));
|
||||
if (pb7.Stat_CP != pb7.CalcCP)
|
||||
if (pb7.Stat_CP != pb7.CalcCP && !IsStarter(pb7))
|
||||
data.AddLine(GetInvalid(LStatIncorrectCP, CheckIdentifier.Encounter));
|
||||
}
|
||||
|
||||
|
|
|
@ -6,16 +6,6 @@
|
|||
<IsPackable>false</IsPackable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Remove="TestData\SM Project 802.main" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="TestData\SM Project 802.main">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="FluentAssertions" Version="5.4.2" />
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.8.0" />
|
||||
|
@ -28,7 +18,9 @@
|
|||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="Properties\" />
|
||||
<EmbeddedResource Update="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
Loading…
Reference in a new issue