namespace PkmnLib.Plugin.Gen7.Scripts.Pokemon; [Script(ScriptCategory.Pokemon, "helping_hand")] public class HelpingHandEffect : Script, IScriptChangeBasePower, IScriptOnEndTurn, IScriptStack { private int _stacks = 1; /// public void ChangeBasePower(IExecutingMove move, IBattlePokemon target, byte hit, ref ushort basePower) => basePower = basePower.MultiplyOrMax((float)Math.Pow(1.5f, _stacks)); /// public void OnEndTurn(IScriptSource owner, IBattle battle) => RemoveSelf(); public void Stack() { _stacks++; } }