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"/>
|
2020-12-24 04:40:59 +00:00
|
|
|
|
public sealed record EncounterStatic7b : EncounterStatic
|
2020-08-30 23:10:24 +00:00
|
|
|
|
{
|
|
|
|
|
public override int Generation => 7;
|
2021-01-04 00:49:49 +00:00
|
|
|
|
|
|
|
|
|
public EncounterStatic7b(GameVersion game) : base(game) { }
|
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
|
|
|
|
}
|
|
|
|
|
}
|