Move all battle state from IPokemon to an ephemeral IBattlePokemon wrapper
This commit is contained in:
@@ -8,7 +8,7 @@ public class NaturePower : Script, IScriptChangeMove
|
||||
/// <inheritdoc />
|
||||
public void ChangeMove(IMoveChoice choice, ref StringKey moveName)
|
||||
{
|
||||
var battleData = choice.User.BattleData;
|
||||
var battleData = choice.User;
|
||||
if (battleData is null)
|
||||
return;
|
||||
var newMoveName = GetMoveName(battleData.Battle);
|
||||
|
||||
Reference in New Issue
Block a user