2020-08-30 23:10:24 +00:00
|
|
|
|
namespace PKHeX.Core
|
|
|
|
|
{
|
2020-11-27 19:51:02 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Generation 7 Static Encounter (<see cref="GameVersion.GG"/>
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <inheritdoc cref="EncounterStatic"/>
|
2021-12-09 09:08:46 +00:00
|
|
|
|
public sealed record EncounterStatic7b(GameVersion Version) : EncounterStatic(Version)
|
2020-08-30 23:10:24 +00:00
|
|
|
|
{
|
|
|
|
|
public override int Generation => 7;
|
2021-01-04 00:49:49 +00:00
|
|
|
|
|
2021-02-14 20:27:14 +00:00
|
|
|
|
protected override void ApplyDetails(ITrainerInfo sav, EncounterCriteria criteria, PKM pk)
|
|
|
|
|
{
|
|
|
|
|
base.ApplyDetails(sav, criteria, pk);
|
|
|
|
|
pk.SetRandomEC();
|
|
|
|
|
}
|
2020-08-30 23:10:24 +00:00
|
|
|
|
}
|
|
|
|
|
}
|