2018-06-19 02:10:21 +00:00
|
|
|
|
namespace PKHeX.Core
|
|
|
|
|
{
|
2018-07-02 02:55:23 +00:00
|
|
|
|
public sealed class EvoCriteria : DexLevel
|
2018-06-19 02:10:21 +00:00
|
|
|
|
{
|
2019-12-06 07:04:24 +00:00
|
|
|
|
public EvoCriteria(int species, int form) : base(species, form)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2018-06-19 02:10:21 +00:00
|
|
|
|
public int MinLevel { get; set; }
|
|
|
|
|
public bool RequiresLvlUp { get; set; }
|
2018-06-21 02:42:45 +00:00
|
|
|
|
public int Method { get; set; } = -1;
|
2019-01-07 00:22:45 +00:00
|
|
|
|
|
|
|
|
|
public bool IsTradeRequired => ((EvolutionType) Method).IsTrade();
|
2020-07-19 18:32:40 +00:00
|
|
|
|
|
|
|
|
|
public override string ToString() => $"{(Species) Species} [{MinLevel},{Level}] via {(EvolutionType) Method}";
|
2018-06-19 02:10:21 +00:00
|
|
|
|
}
|
|
|
|
|
}
|