mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-25 18:15:16 -05:00
Enhance debugging obj->ToString indications for evo checks
This commit is contained in:
@@ -12,6 +12,6 @@ public EvoCriteria(int species, int form) : base(species, form)
|
||||
|
||||
public bool IsTradeRequired => ((EvolutionType) Method).IsTrade();
|
||||
|
||||
public override string ToString() => $"{(Species) Species} [{MinLevel},{Level}] via {(EvolutionType) Method}";
|
||||
public override string ToString() => $"{(Species) Species}{(Form != 0 ? $"-{Form}" : "")}}} [{MinLevel},{Level}] via {(EvolutionType) Method}";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -47,6 +47,8 @@ public EvolutionMethod(int method, int species, int argument = 0, int level = 0,
|
||||
Level = level;
|
||||
}
|
||||
|
||||
public override string ToString() => $"{(Species) Species}-{Form} [{Argument}] @ {Level}{(RequiresLevelUp ? "X" : "")}";
|
||||
|
||||
/// <summary>
|
||||
/// Returns the form that the Pokémon will have after evolution.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user