using System.Collections.Generic; namespace PkmnLib.Plugin.Gen7.Scripts.Side; [Script(ScriptCategory.Side, "double_power_if_target_damaged_in_turn_data")] public class DoublePowerIfTargetDamagedInTurnData : Script { public readonly HashSet HitPokemon = []; /// /// public override void OnEndTurn(IBattle battle) { RemoveSelf(); } /// public override void OnDamage(IPokemon pokemon, DamageSource source, uint oldHealth, uint newHealth) { HitPokemon.Add(pokemon); } }