mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 20:43:07 +00:00
Update fixed ability comparison
ignores <= 0 now
This commit is contained in:
parent
fd1009476e
commit
4aa44c90c1
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ namespace PKHeX.Core
|
|||
|
||||
var EncounterMatch = data.EncounterMatch;
|
||||
int eabil = GetEncounterFixedAbilityNumber(EncounterMatch);
|
||||
if (eabil >= 0)
|
||||
if (eabil > 0)
|
||||
return VerifyFixedAbility(data, abilities, state, eabil, abilnum);
|
||||
|
||||
int gen = data.Info.Generation;
|
||||
|
|
Loading…
Reference in a new issue