Deukhoofd a17cb92c5a
Some checks failed
continuous-integration/drone/push Build is failing
Implements a bunch more moves
2025-05-17 17:44:15 +02:00

20 lines
494 B
C#

namespace PkmnLib.Plugin.Gen7.Scripts.Moves;
[Script(ScriptCategory.Move, "trump_card")]
public class TrumpCard : Script
{
/// <inheritdoc />
public override void ChangeBasePower(IExecutingMove move, IPokemon target, byte hit, ref ushort basePower)
{
var remainingPp = move.ChosenMove.CurrentPp;
basePower = remainingPp switch
{
>= 4 => 40,
3 => 50,
2 => 60,
1 => 80,
0 => 200,
};
}
}