void ApplySpellEffects(SpellEffectCollection effects) { if (effects != null && ContextOwner != null && ContextOwner.activeInHierarchy) { Targets.FindTargets(effects.TargetSettings); foreach (var effect in effects) { effect.Apply(this); } } }