namespace PkmnLib.Plugin.Gen7.Scripts.Moves; [Script(ScriptCategory.Move, "superpower")] public class Superpower : Script { /// public override void OnSecondaryEffect(IExecutingMove move, IPokemon target, byte hit) { EventBatchId eventBatch = new(); move.User.ChangeStatBoost(Statistic.Attack, -1, true, eventBatch); move.User.ChangeStatBoost(Statistic.Defense, -1, true, eventBatch); } }