mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-24 04:53:08 +00:00
28 lines
643 B
C#
28 lines
643 B
C#
namespace PKHeX.Core
|
|
{
|
|
public sealed class EncounterStatic1 : EncounterStatic
|
|
{
|
|
public EncounterStatic1(int species, int level)
|
|
{
|
|
Species = species;
|
|
Level = level;
|
|
}
|
|
|
|
public EncounterStatic1(int species, int level, GameVersion ver)
|
|
{
|
|
Species = species;
|
|
Level = level;
|
|
Version = ver;
|
|
}
|
|
|
|
protected override bool IsMatchLevel(PKM pkm, DexLevel evo)
|
|
{
|
|
return Level <= evo.Level;
|
|
}
|
|
|
|
protected override bool IsMatchLocation(PKM pkm)
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
}
|