Support deep cloning for BattleRandom

This commit is contained in:
2024-12-29 15:00:15 +01:00
parent 40803f0269
commit 9bdd584b54
3 changed files with 64 additions and 15 deletions

View File

@@ -6,7 +6,7 @@ namespace PkmnLib.Dynamic.Models;
/// <summary>
/// Random number generator for battles.
/// </summary>
public interface IBattleRandom : IRandom
public interface IBattleRandom : IRandom, IDeepCloneable
{
/// <summary>
/// Gets whether or not a move triggers its secondary effect. This takes its chance, and