private void HandleEffect(Unit unit, bool visible)
        {
            if (!AddEffectType && Owner.Animation.Name != "idle")
            {
                AddEffectType = true;
            }

            if (!unit.IsValid)
            {
                return;
            }

            if (visible && unit.IsAlive && unit.Position.IsOnScreen())
            {
                ParticleManager.AddOrUpdate(
                    unit,
                    $"unit_{unit.Handle}",
                    Config.Effects[Config.EffectTypeItem.Value.SelectedIndex],
                    ParticleAttachment.AbsOriginFollow,
                    RestartType.NormalRestart,
                    1,
                    new Vector3(Red, Green, Blue),
                    2,
                    new Vector3(Alpha));
            }
            else if (AddEffectType)
            {
                ParticleManager.Remove($"unit_{ unit.Handle }");
            }
        }