mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-24 13:03:06 +00:00
Fix ability check wild
This commit is contained in:
parent
c6439aa03c
commit
7f2b382353
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ namespace PKHeX
|
|||
|
||||
if (Legal.getWildEncounterValid(pk))
|
||||
{
|
||||
var lc = Legal.ValidMet_AO.Contains(pk.Met_Location)
|
||||
var lc = pk.AbilityNumber != 4
|
||||
? new LegalityCheck(Severity.Valid, "Valid encounter at location.")
|
||||
: new LegalityCheck(Severity.Invalid, "Hidden ability on valid encounter.");
|
||||
return lc;
|
||||
|
|
Loading…
Reference in a new issue