internal void Dispose() { SpellState = SpellState.Disposed; SpellInfo = null; Caster = OriginalCaster = null; appliedModifierAuras.Clear(); chargeDroppedModifierAuras.Clear(); ImplicitTargets.Dispose(); ExplicitTargets.Dispose(); }
internal void Dispose() { SpellState = SpellState.Disposed; SpellInfo = null; Caster = OriginalCaster = null; appliedModifierAuras.Clear(); chargeDroppedModifierAuras.Clear(); appliedModifiers.Clear(); unappliedModifiers.Clear(); ListPoolContainer <(SpellPowerType, int)> .Return(powerCosts); powerCosts = null; ImplicitTargets.Dispose(); ExplicitTargets.Dispose(); }