Implements critical capture, tweaks for integration tests.
All checks were successful
Build / Build (push) Successful in 48s

This commit is contained in:
2025-05-18 17:07:46 +02:00
parent cbd4340b13
commit 377c1a1c68
11 changed files with 158 additions and 52 deletions

View File

@@ -173,4 +173,7 @@ public class LearnedMoveImpl : ILearnedMove
{
CurrentPp = Math.Min(uses, MaxPp);
}
/// <inheritdoc />
public override string ToString() => MoveData.Name;
}

View File

@@ -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 />