mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-09-10 17:16:01 -05:00
Fix ability check wild
This commit is contained in:
@@ -162,7 +162,7 @@ public static LegalityCheck verifyEncounter(PK6 pk)
|
||||
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user