namespace PkmnLib.Plugin.Gen7.Scripts.Pokemon; [Script(ScriptCategory.Pokemon, "magma_storm")] public class MagmaStormEffect : Script { private readonly IPokemon _owner; public MagmaStormEffect(IPokemon owner) { _owner = owner; } /// public override void OnEndTurn(IBattle battle) { _owner.Damage(_owner.BoostedStats.Hp / 16, DamageSource.Misc); } /// public override void PreventSelfRunAway(IFleeChoice choice, ref bool prevent) => prevent = true; /// public override void PreventSelfSwitch(ISwitchChoice choice, ref bool prevent) => prevent = true; }