Implements critical capture, tweaks for integration tests.
All checks were successful
Build / Build (push) Successful in 48s
All checks were successful
Build / Build (push) Successful in 48s
This commit is contained in:
@@ -173,4 +173,7 @@ public class LearnedMoveImpl : ILearnedMove
|
||||
{
|
||||
CurrentPp = Math.Min(uses, MaxPp);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override string ToString() => MoveData.Name;
|
||||
}
|
||||
@@ -1261,6 +1261,14 @@ public class PokemonImpl : ScriptSource, IPokemon
|
||||
side.CollectScripts(scripts);
|
||||
}
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override string ToString()
|
||||
{
|
||||
if (!string.IsNullOrEmpty(Nickname))
|
||||
return $"{Nickname} ({Species.Name})";
|
||||
return Species.Name;
|
||||
}
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
Reference in New Issue
Block a user