Move all battle state from IPokemon to an ephemeral IBattlePokemon wrapper
This commit is contained in:
@@ -10,7 +10,7 @@ namespace PkmnLib.Dynamic.Events;
|
||||
public class CaptureAttemptEvent : IEventData
|
||||
{
|
||||
/// <inheritdoc cref="CaptureAttemptEvent"/>
|
||||
public CaptureAttemptEvent(IPokemon target, CaptureResult result, IItem captureItem)
|
||||
public CaptureAttemptEvent(IBattlePokemon target, CaptureResult result, IItem captureItem)
|
||||
{
|
||||
Target = target;
|
||||
Result = result;
|
||||
@@ -20,7 +20,7 @@ public class CaptureAttemptEvent : IEventData
|
||||
/// <summary>
|
||||
/// The Pokémon that is being captured.
|
||||
/// </summary>
|
||||
public IPokemon Target { get; init; }
|
||||
public IBattlePokemon Target { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// The result of the capture attempt.
|
||||
|
||||
Reference in New Issue
Block a user