namespace PkmnLib.Plugin.Gen7.Scripts.Moves; [Script(ScriptCategory.Move, "trump_card")] public class TrumpCard : Script, IScriptChangeBasePower { /// public 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, }; } }