Move all battle state from IPokemon to an ephemeral IBattlePokemon wrapper
This commit is contained in:
@@ -17,7 +17,7 @@ public class FlameWheel : Script, IScriptOnInitialize, IScriptOnSecondaryEffect
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public void OnSecondaryEffect(IExecutingMove move, IPokemon target, byte hit)
|
||||
public void OnSecondaryEffect(IExecutingMove move, IBattlePokemon target, byte hit)
|
||||
{
|
||||
if (move.User.HasStatus(ScriptUtils.ResolveName<Status.Frozen>()))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user