Move all battle state from IPokemon to an ephemeral IBattlePokemon wrapper
This commit is contained in:
@@ -6,11 +6,11 @@ namespace PkmnLib.Plugin.Gen7.Scripts.Pokemon;
|
||||
public class ChargeMoveEffect : Script, IScriptForceTurnSelection
|
||||
{
|
||||
public readonly StringKey MoveName;
|
||||
private readonly IPokemon _user;
|
||||
private readonly IBattlePokemon _user;
|
||||
private readonly byte _targetSide;
|
||||
private readonly byte _targetPosition;
|
||||
|
||||
public ChargeMoveEffect(StringKey moveName, IPokemon user, byte targetSide, byte targetPosition)
|
||||
public ChargeMoveEffect(StringKey moveName, IBattlePokemon user, byte targetSide, byte targetPosition)
|
||||
{
|
||||
MoveName = moveName;
|
||||
_user = user;
|
||||
|
||||
Reference in New Issue
Block a user