Move all battle state from IPokemon to an ephemeral IBattlePokemon wrapper
This commit is contained in:
@@ -9,7 +9,7 @@ namespace PkmnLib.Plugin.Gen7.Scripts.Abilities;
|
||||
public class Levitate : Script, IScriptIsFloating
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public void IsFloating(IPokemon pokemon, ref bool isFloating)
|
||||
public void IsFloating(IBattlePokemon pokemon, ref bool isFloating)
|
||||
{
|
||||
isFloating = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user