Move all battle state from IPokemon to an ephemeral IBattlePokemon wrapper
This commit is contained in:
@@ -15,7 +15,7 @@ public class Recoil : Script, IScriptOnInitialize, IScriptOnSecondaryEffect
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public void OnSecondaryEffect(IExecutingMove move, IPokemon target, byte hit)
|
||||
public void OnSecondaryEffect(IExecutingMove move, IBattlePokemon target, byte hit)
|
||||
{
|
||||
if (_recoilPercentage <= 0)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user