Move all battle state from IPokemon to an ephemeral IBattlePokemon wrapper
This commit is contained in:
@@ -6,7 +6,7 @@ public class KingsShield : ProtectionScript
|
||||
protected override Script GetEffectScript() => new Pokemon.KingsShieldEffect();
|
||||
|
||||
/// <inheritdoc />
|
||||
public override void OnSecondaryEffect(IExecutingMove move, IPokemon target, byte hit)
|
||||
public override void OnSecondaryEffect(IExecutingMove move, IBattlePokemon target, byte hit)
|
||||
{
|
||||
base.OnSecondaryEffect(move, target, hit);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user