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 enemiesr = EntityManager.Heroes.Enemies.OrderByDescending (a => a.HealthPercent).Where(a => !a.IsMe && a.IsValidTarget() && a.Distance(Player) <= R.Range); var enemiesw = EntityManager.Heroes.Enemies.OrderByDescending (a => a.HealthPercent).Where(a => !a.IsMe && a.IsValidTarget() && a.Distance(Player) <= W.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 (R.IsReady() && target.IsValidTarget(R.Range) && !target.IsInvulnerable) { foreach (var ultenemies in enemiesr) { var useR = FapturneMenu.MyCombo["combo.r" + ultenemies.ChampionName].Cast <CheckBox>().CurrentValue; if (useR) { R.Cast(); R1.Cast(ultenemies); } } } if (E.IsReady() && target.IsValidTarget(E.Range)) { foreach (var eenemies in enemies) { var useE = FapturneMenu.MyCombo["combo.e" + eenemies.ChampionName].Cast <CheckBox>().CurrentValue; if (useE) { E.Cast(eenemies); } } } if (Q.IsReady() && target.IsValidTarget(Q.Range)) { foreach (var qenemies in enemiesq) { var useQ = FapturneMenu.MyCombo["combo.Q" + qenemies.ChampionName].Cast <CheckBox>().CurrentValue; var predQ = Q.GetPrediction(qenemies); if (useQ && predQ.HitChancePercent >= FapturneMenu.ComboQH()) { Q.Cast(predQ.CastPosition); } } } if (Player.HealthPercent <= FapturneMenu.tiamatHP() && FapturneMenu.tiamat() && MyActivator.Tiamat.IsReady() && MyActivator.Tiamat.IsOwned() && MyActivator.Tiamat.IsInRange(target)) { MyActivator.Tiamat.Cast(); return; } if (Player.HealthPercent <= FapturneMenu.hydraHP() && FapturneMenu.hydra() && MyActivator.Hydra.IsReady() && MyActivator.Hydra.IsOwned() && MyActivator.Hydra.IsInRange(target)) { MyActivator.Hydra.Cast(); return; } if (Player.HealthPercent <= FapturneMenu.gunbladeHP() && FapturneMenu.gunblade() && MyActivator.Hextech.IsReady() && MyActivator.Hextech.IsOwned() && MyActivator.Hextech.IsInRange(target)) { MyActivator.Hextech.Cast(target); return; } if ((ObjectManager.Player.CountEnemiesInRange(ObjectManager.Player.AttackRange) >= FapturneMenu.YoumusEnemies() || Player.HealthPercent >= FapturneMenu.ItemsYoumuShp()) && MyActivator.Youmus.IsReady() && FapturneMenu.Youmus() && MyActivator.Youmus.IsOwned()) { MyActivator.Youmus.Cast(); return; } if (Player.HealthPercent <= FapturneMenu.BilgewaterHp() && FapturneMenu.Bilgewater() && MyActivator.Bilgewater.IsReady() && MyActivator.Bilgewater.IsOwned()) { MyActivator.Bilgewater.Cast(target); return; } if (Player.HealthPercent <= FapturneMenu.BotrkHp() && FapturneMenu.Botrk() && MyActivator.Botrk.IsReady() && MyActivator.Botrk.IsOwned()) { MyActivator.Botrk.Cast(target); } }