Move all battle state from IPokemon to an ephemeral IBattlePokemon wrapper
This commit is contained in:
@@ -12,6 +12,6 @@ namespace PkmnLib.Plugin.Gen7.Scripts.Abilities;
|
||||
public class PreventCritical : Script, IScriptBlockIncomingCriticalHit
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public void BlockIncomingCriticalHit(IExecutingMove move, IPokemon target, byte hit, ref bool block) =>
|
||||
public void BlockIncomingCriticalHit(IExecutingMove move, IBattlePokemon target, byte hit, ref bool block) =>
|
||||
block = true;
|
||||
}
|
||||
Reference in New Issue
Block a user