PKHeX/PKHeX.Core/Legality/Encounters/EncounterSlot/EncounterSlot7GO.cs
2020-08-30 11:08:21 -07:00

17 lines
446 B
C#

namespace PKHeX.Core
{
public sealed class EncounterSlot7GO : EncounterSlot
{
public override int Generation => 7;
public EncounterSlot7GO(EncounterArea7g area, int species, int form, int min, int max) : base(area)
{
Species = species;
Form = form;
LevelMin = min;
LevelMax = max;
}
public void ClampMinRaid(int level) => LevelMin = level;
}
}