namespace PkmnLib.Plugin.Gen7.Scripts.Abilities; /// /// Moxie is an ability that raises the user's Attack stat after knocking out a Pokémon. /// /// Bulbapedia - Moxie /// [Script(ScriptCategory.Ability, "moxie")] public class Moxie : Script { /// public override void OnOpponentFaints(IExecutingMove move, IPokemon target, byte hit) { move.User.ChangeStatBoost(Statistic.Attack, 1, true, false); } }