namespace PkmnLib.Plugin.Gen7.Scripts.Abilities; /// /// Reckless is an ability that boosts the power of moves that have recoil or crash damage. /// /// Bulbapedia - Reckless /// [Script(ScriptCategory.Ability, "reckless")] public class Reckless : Script, IScriptChangeBasePower { /// public void ChangeBasePower(IExecutingMove move, IPokemon target, byte hit, ref ushort basePower) { if (move.UseMove.HasFlag(MoveFlags.Recoil)) { basePower = basePower.MultiplyOrMax(1.2f); } } }