mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 20:43:07 +00:00
parent
431c0fc205
commit
de25056275
1 changed files with 3 additions and 2 deletions
|
@ -551,9 +551,10 @@ namespace PKHeX.Core
|
|||
return;
|
||||
}
|
||||
}
|
||||
if (EncounterMatch is EncounterSlot w && w.Type == SlotType.FriendSafari)
|
||||
if (EncounterMatch is EncounterSlot w)
|
||||
{
|
||||
if (pkm.IVs.Count(iv => iv == 31) < 2)
|
||||
bool force2 = w.Type == SlotType.FriendSafari || pkm.Gen7 && pkm.AbilityNumber == 4;
|
||||
if (force2 && pkm.IVs.Count(iv => iv == 31) < 2)
|
||||
{
|
||||
AddLine(Severity.Invalid, V29, CheckIdentifier.IVs);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue