mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 12:33:06 +00:00
Update fixed ability comparison for 6+
4aa44c90c1
only updated it for gens 3-5
Closes #2136
This commit is contained in:
parent
f65bc2e984
commit
47f20b8c0e
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ namespace PKHeX.Core
|
|||
{
|
||||
var EncounterMatch = data.EncounterMatch;
|
||||
var eabil = GetEncounterFixedAbilityNumber(EncounterMatch);
|
||||
if (eabil >= 0)
|
||||
if (eabil > 0)
|
||||
return VerifyFixedAbility(data, abilities, AbilityState.CanMismatch, eabil, abilnum);
|
||||
|
||||
var gen = data.Info.Generation;
|
||||
|
|
Loading…
Reference in a new issue