Move all battle state from IPokemon to an ephemeral IBattlePokemon wrapper
This commit is contained in:
@@ -14,7 +14,7 @@ public class LuckyChantEffect : Script, IScriptBlockIncomingCriticalHit, IScript
|
||||
RemoveSelf();
|
||||
}
|
||||
|
||||
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