mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-10 14:44:24 +00:00
Add friendsafari to HA metadata permission
This commit is contained in:
parent
24e1898410
commit
29fd17a6f9
2 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ namespace PKHeX.Core
|
|||
return Pressure ? LegalityCheckStrings.LEncConditionLead : LegalityCheckStrings.LEncCondition;
|
||||
}
|
||||
|
||||
protected override HiddenAbilityPermission IsHiddenAbilitySlot() => CanDexNav || Area.Type == SlotType.Horde ? HiddenAbilityPermission.Possible : HiddenAbilityPermission.Never;
|
||||
protected override HiddenAbilityPermission IsHiddenAbilitySlot() => CanDexNav || IsHorde ? HiddenAbilityPermission.Possible : HiddenAbilityPermission.Never;
|
||||
|
||||
private int[] GetDexNavMoves()
|
||||
{
|
||||
|
|
|
@ -30,6 +30,6 @@ namespace PKHeX.Core
|
|||
|
||||
public EncounterSlot6XY CreatePressureFormCopy(int evoForm) => new((EncounterArea6XY) Area, Species, evoForm, LevelMin, LevelMax) {Pressure = true};
|
||||
|
||||
protected override HiddenAbilityPermission IsHiddenAbilitySlot() => IsHorde ? HiddenAbilityPermission.Possible : HiddenAbilityPermission.Never;
|
||||
protected override HiddenAbilityPermission IsHiddenAbilitySlot() => IsHorde || IsFriendSafari ? HiddenAbilityPermission.Possible : HiddenAbilityPermission.Never;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue