private static void OnCombo() { var enemiesq = EntityManager.Heroes.Enemies.OrderByDescending (a => a.HealthPercent).Where(a => !a.IsMe && a.IsValidTarget() && a.Distance(Player) <= Q.Range); var enemies = EntityManager.Heroes.Enemies.OrderByDescending (a => a.HealthPercent).Where(a => !a.IsMe && a.IsValidTarget() && a.Distance(Player) <= E.Range); var target = TargetSelector.GetTarget(1900, DamageType.Magical); if (E.IsReady() && target.IsValidTarget(E.Range)) { foreach (var eenemies in enemies) { var useE = FappadredMenu.MyCombo["combo.e" + eenemies.ChampionName].Cast <CheckBox>().CurrentValue; if (useE) { E.Cast(eenemies); } } } if (W.IsReady() && FappadredMenu.ComboW() && target.Distance(Player) <= W.Range) { W.Cast(); } if (Q.IsReady() && target.IsValidTarget(Q.Range)) { foreach (var qenemies in enemiesq) { var useQ = FappadredMenu.MyCombo["combo.Q" + qenemies.ChampionName].Cast <CheckBox>().CurrentValue; if (useQ) { Q.Cast(Game.CursorPos); } } } if (Player.HealthPercent <= FappadredMenu.gunbladeHP() && FappadredMenu.gunblade() && MyActivator.Hextech.IsReady() && MyActivator.Hextech.IsOwned() && MyActivator.Hextech.IsInRange(target)) { MyActivator.Hextech.Cast(target); return; } if ((ObjectManager.Player.CountEnemiesInRange(ObjectManager.Player.AttackRange) >= FappadredMenu.YoumusEnemies() || Player.HealthPercent >= FappadredMenu.ItemsYoumuShp()) && MyActivator.Youmus.IsReady() && FappadredMenu.Youmus() && MyActivator.Youmus.IsOwned()) { MyActivator.Youmus.Cast(); return; } if (Player.HealthPercent <= FappadredMenu.BilgewaterHp() && FappadredMenu.Bilgewater() && MyActivator.Bilgewater.IsReady() && MyActivator.Bilgewater.IsOwned()) { MyActivator.Bilgewater.Cast(target); return; } if (Player.HealthPercent <= FappadredMenu.BotrkHp() && FappadredMenu.Botrk() && MyActivator.Botrk.IsReady() && MyActivator.Botrk.IsOwned()) { MyActivator.Botrk.Cast(target); } }