Update fixed ability comparison

ignores <= 0 now
This commit is contained in:
Kurt 2018-10-07 15:36:04 -07:00
parent fd1009476e
commit 4aa44c90c1

View file

@ -78,7 +78,7 @@ namespace PKHeX.Core
var EncounterMatch = data.EncounterMatch; var EncounterMatch = data.EncounterMatch;
int eabil = GetEncounterFixedAbilityNumber(EncounterMatch); int eabil = GetEncounterFixedAbilityNumber(EncounterMatch);
if (eabil >= 0) if (eabil > 0)
return VerifyFixedAbility(data, abilities, state, eabil, abilnum); return VerifyFixedAbility(data, abilities, state, eabil, abilnum);
int gen = data.Info.Generation; int gen = data.Info.Generation;