11 lines
416 B
C#
11 lines
416 B
C#
namespace PkmnLib.Plugin.Gen7.Scripts.Pokemon;
|
|
|
|
public class HelpingHandEffect : Script, IScriptChangeBasePower, IScriptOnEndTurn
|
|
{
|
|
/// <inheritdoc />
|
|
public void ChangeBasePower(IExecutingMove move, IPokemon target, byte hit, ref ushort basePower) =>
|
|
basePower = basePower.MultiplyOrMax(1.5f);
|
|
|
|
/// <inheritdoc />
|
|
public void OnEndTurn(IScriptSource owner, IBattle battle) => RemoveSelf();
|
|
} |