private static void AutoCC() { var autoCCTarget = EntityManager.Heroes.Enemies.FirstOrDefault( x => x.IsValidTarget(Q.Range) && x.HasBuffOfType(BuffType.Charm) || x.HasBuffOfType(BuffType.Knockup) || x.HasBuffOfType(BuffType.Stun) || x.HasBuffOfType(BuffType.Suppression) || x.HasBuffOfType(BuffType.Snare));; if (autoCCTarget != null && autoCCTarget.IsValidTarget(Q.Range)) { if (MariagiospaldaMenu.ComboCC() && Q.IsReady()) { Q.Cast(autoCCTarget.Position); } if (MariagiospaldaMenu.ComboCC1() && E.IsReady() && PiuwPiuwMissile == null) { E.Cast(autoCCTarget.Position); } } }