public static void ExecuteKillsteal() { foreach (var Enemy in EntityManager.Heroes.Enemies.Where(e => !e.IsDead && e.IsValidTarget(SpellsManager.Q.Range))) { if ((Enemy == null) || Enemy.IsInvulnerable) { return; } if (KillStealMenu["Q"].Cast <CheckBox>().CurrentValue&& SpellsManager.Q.IsReady() && Enemy.Health < Enemy.GetRealDamage(SpellSlot.Q)) { SpellsManager.Q.Cast(Enemy); } if (KillStealMenu["R"].Cast <CheckBox>().CurrentValue&& SpellsManager.R.IsReady() && Enemy.IsValidTarget(SpellsManager.R.Range) && Enemy.Health < Enemy.GetRealDamage(SpellSlot.R))// && Enemy.Health > Enemy.GetRealDamage(SpellSlot.R) * 0.30f) { SpellsManager.R.Cast(Enemy.Position); } // Hextech KS if (Enemy.Health < SpellsManager.HextechGunbladeDamage() && Hextech.IsOwned() && Hextech.IsReady() && Enemy.IsValidTarget(700)) { Hextech.Cast(Enemy); } } }
private static void ItemUse() { var TG = SimpleTs.GetTarget(Q.Range, SimpleTs.DamageType.Physical); if (TG == null) { return; } if (DFG.IsReady() && Menu.Item("DFG1").GetValue <bool>()) { DFG.Cast(TG); } if (Cutlass.IsReady() && Menu.Item("Cutlass1").GetValue <bool>()) { Cutlass.Cast(TG); } if (Hextech.IsReady() && Menu.Item("Hextech1").GetValue <bool>()) { Hextech.Cast(TG); } if (Frostclaim.IsReady() && Menu.Item("Frostclaim1").GetValue <bool>()) { Frostclaim.Cast(TG); } if (Botrk.IsReady() && Menu.Item("Botrk1").GetValue <bool>()) { Botrk.Cast(TG); } if (Youmuus.IsReady() && Menu.Item("Youmuus1").GetValue <bool>()) { Youmuus.Cast(); } }
// normal Combo Q E W public static void ExecuteCombo() { var target = TargetSelector.GetTarget(SpellsManager.Q.Range, DamageType.Magical); if ((target == null) || target.IsInvulnerable) { return; } if (ComboMenu["Q"].Cast <CheckBox>().CurrentValue&& target.IsValidTarget(SpellsManager.Q.Range) && SpellsManager.Q.IsReady()) { SpellsManager.Q.Cast(target); } if (SpellsManager.W.IsReady() && ComboMenu["W"].Cast <CheckBox>().CurrentValue&& myhero.Distance(target) < myhero.AttackRange + 150 && !target.IsDead) { SpellsManager.W.Cast(); } if (ComboMenu["R"].Cast <CheckBox>().CurrentValue&& SpellsManager.R.IsReady() && target.IsValidTarget(SpellsManager.R.Range) && Player.Instance.Spellbook.GetSpell(SpellSlot.R).Ammo >= ComboMenu["RAmmo"].Cast <Slider>().CurrentValue&& lastRCast + 3000 < Environment.TickCount) { var prediction = SpellsManager.R.GetPrediction(target); SpellsManager.R.Cast(SpellsManager.R.GetPrediction(target).CastPosition); lastRCast = Environment.TickCount; } var Summ = TargetSelector.GetTarget(Ignite.Range, DamageType.Mixed); if ((Summ == null) || Summ.IsInvulnerable) { return; } //Ignite if (ComboMenu["Ignite"].Cast <CheckBox>().CurrentValue) { if (Player.Instance.CountEnemyChampionsInRange(600) >= 1 && Ignite.IsReady() && Ignite.IsLearned && Summ.IsValidTarget(Ignite.Range) && target.HealthPercent <= ComboMenu["IgniteHealth"].Cast <Slider>().CurrentValue&& target.Health > target.GetRealDamage()) { Ignite.Cast(Summ); } } if (ComboMenu["Hextech"].Cast <CheckBox>().CurrentValue&& (KillStealMenu["HextechKS"].Cast <CheckBox>().CurrentValue == false || myhero.CountAllyChampionsInRange(800) >= 1)) { if (Hextech.IsOwned() && Hextech.IsReady() && target.IsValidTarget(700)) { Hextech.Cast(target); } if (Bilgewater.IsOwned() && Bilgewater.IsReady() && target.IsValidTarget(700)) { Bilgewater.Cast(target); } } }
private static void ItemsChecks() { if (GLP800.IsReady()) { var t = TargetSelector.GetTarget(GLP800.Range, TargetSelector.DamageType.Magical); if (t.IsValidTarget()) { if (Menu.Item("GLP800").GetValue <bool>() && (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Combo)) { GLP800.Cast(Prediction.GetPrediction(t, 0.5f).CastPosition); } } } if (Protobelt.IsReady()) { var t = TargetSelector.GetTarget(Protobelt.Range, TargetSelector.DamageType.Magical); if (t.IsValidTarget()) { if (Menu.Item("Protobelt").GetValue <bool>() && (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Combo)) { Protobelt.Cast(Prediction.GetPrediction(t, 0.5f).CastPosition); } } } if (Hextech.IsReady()) { var t = TargetSelector.GetTarget(Hextech.Range, TargetSelector.DamageType.Magical); if (t.IsValidTarget()) { if (Menu.Item("Hextech").GetValue <bool>() && (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Combo)) { Hextech.Cast(t); } } } }
/// <summary> /// Pro/Hex/GLP Usage, Perfect. /// </summary> public void ProHexGLPUsage() { if (GLP800.IsReady()) { var t = TargetSelector.GetTarget(GLP800.Range, TargetSelector.DamageType.Magical); if (t.IsValidTarget()) { if (Config.GLP800.GetValue <bool>()) { GLP800.Cast(Prediction.GetPrediction(t, 0.5f).CastPosition); } } } if (Protobelt.IsReady()) { var t = TargetSelector.GetTarget(Protobelt.Range, TargetSelector.DamageType.Magical); if (t.IsValidTarget()) { if (Config.Protobelt.GetValue <bool>()) { Protobelt.Cast(Prediction.GetPrediction(t, 0.5f).CastPosition); } } } if (Hextech.IsReady()) { var t = TargetSelector.GetTarget(Hextech.Range, TargetSelector.DamageType.Magical); if (t.IsValidTarget()) { if (Config.Hextech.GetValue <bool>()) { Hextech.Cast(t); } } } }
private void Offensive() { if (Botrk.IsReady() && Config.Item("Botrk").GetValue <bool>()) { var t = TargetSelector.GetTarget(Botrk.Range, TargetSelector.DamageType.Physical); if (t.IsValidTarget()) { if (Config.Item("BotrkKS").GetValue <bool>() && Player.CalcDamage(t, Damage.DamageType.Physical, t.MaxHealth * 0.1) > t.Health - OktwCommon.GetIncomingDamage(t)) { Botrk.Cast(t); } if (Config.Item("BotrkLS").GetValue <bool>() && Player.Health < Player.MaxHealth * 0.5 - OktwCommon.GetIncomingDamage(Player)) { Botrk.Cast(t); } if (Config.Item("BotrkCombo").GetValue <bool>() && Program.Combo) { Botrk.Cast(t); } } } if (GLP800.IsReady() && Config.Item("GLP800").GetValue <bool>()) { var t = TargetSelector.GetTarget(GLP800.Range, TargetSelector.DamageType.Magical); if (t.IsValidTarget()) { if (Config.Item("GLP800KS").GetValue <bool>() && Player.CalcDamage(t, Damage.DamageType.Magical, 200 + Player.FlatMagicDamageMod * 0.35) > t.Health - OktwCommon.GetIncomingDamage(t)) { GLP800.Cast(Prediction.GetPrediction(t, 0.5f).CastPosition); } if (Config.Item("GLP800Combo").GetValue <bool>() && Program.Combo) { Program.debug("PRO"); GLP800.Cast(Prediction.GetPrediction(t, 0.5f).CastPosition); } } } if (Protobelt.IsReady() && Config.Item("Protobelt").GetValue <bool>()) { var t = TargetSelector.GetTarget(Protobelt.Range, TargetSelector.DamageType.Magical); if (t.IsValidTarget()) { if (Config.Item("ProtobeltKS").GetValue <bool>() && Player.CalcDamage(t, Damage.DamageType.Magical, 150 + Player.FlatMagicDamageMod * 0.35) > t.Health - OktwCommon.GetIncomingDamage(t)) { Protobelt.Cast(Prediction.GetPrediction(t, 0.5f).CastPosition); } if (Config.Item("ProtobeltCombo").GetValue <bool>() && Program.Combo) { Program.debug("PRO"); Protobelt.Cast(Prediction.GetPrediction(t, 0.5f).CastPosition); } } } if (Hextech.IsReady() && Config.Item("Hextech").GetValue <bool>()) { var t = TargetSelector.GetTarget(Hextech.Range, TargetSelector.DamageType.Magical); if (t.IsValidTarget()) { if (Config.Item("HextechKS").GetValue <bool>() && Player.CalcDamage(t, Damage.DamageType.Magical, 150 + Player.FlatMagicDamageMod * 0.4) > t.Health - OktwCommon.GetIncomingDamage(t)) { Hextech.Cast(t); } if (Config.Item("HextechCombo").GetValue <bool>() && Program.Combo) { Hextech.Cast(t); } } } if (Program.Combo && FrostQueen.IsReady() && Config.Item("FrostQueen").GetValue <bool>() && Player.CountEnemiesInRange(800) > 0) { FrostQueen.Cast(); } if (Cutlass.IsReady() && Config.Item("Cutlass").GetValue <bool>()) { var t = TargetSelector.GetTarget(Cutlass.Range, TargetSelector.DamageType.Magical); if (t.IsValidTarget()) { if (Config.Item("CutlassKS").GetValue <bool>() && Player.CalcDamage(t, Damage.DamageType.Magical, 100) > t.Health - OktwCommon.GetIncomingDamage(t)) { Cutlass.Cast(t); } if (Config.Item("CutlassCombo").GetValue <bool>() && Program.Combo) { Cutlass.Cast(t); } } } if (Youmuus.IsReady() && Config.Item("Youmuus").GetValue <bool>() && Program.Combo) { var t = Orbwalker.GetTarget(); if (t.IsValidTarget() && t is AIHeroClient) { if (Config.Item("YoumuusKS").GetValue <bool>() && t.Health < Player.MaxHealth) { Youmuus.Cast(); } if (Config.Item("YoumuusCombo").GetValue <bool>()) { Youmuus.Cast(); } } } if (Config.Item("Hydra").GetValue <bool>()) { if (Hydra.IsReady() && Player.CountEnemiesInRange(Hydra.Range) > 0) { Hydra.Cast(); } else if (Hydra2.IsReady() && Player.CountEnemiesInRange(Hydra2.Range) > 0) { Hydra2.Cast(); } } }
private void Offensive() { var botrk = Config["activator"]["offensives"]["botrk"]; if (Botrk.IsReady && botrk.GetValue <MenuBool>("Botrk").Value) { var t = Variables.TargetSelector.GetTarget(Botrk.Range, DamageType.Magical); if (t.IsValidTarget()) { if (botrk.GetValue <MenuBool>("BotrkKS").Value&& Player.CalculateDamage(t, DamageType.Magical, 100) > t.Health - OktwCommon.GetIncomingDamage(t)) { Botrk.Cast(t); } if (botrk.GetValue <MenuBool>("BotrkCombo").Value&& Program.Combo) { Botrk.Cast(t); } } } var glp800 = Config["activator"]["offensives"]["glp800"]; if (GLP800.IsReady && glp800.GetValue <MenuBool>("GLP800").Value) { var t = Variables.TargetSelector.GetTarget(GLP800.Range, DamageType.Magical); if (t.IsValidTarget()) { if (glp800.GetValue <MenuBool>("GLP800KS").Value&& Player.CalculateDamage(t, DamageType.Magical, 100 + 100f / 17 * (Player.Level - 1) + 0.2 * Player.TotalMagicalDamage) > t.Health - OktwCommon.GetIncomingDamage(t)) { GLP800.Cast(Movement.GetPrediction(t, 0.5f).CastPosition); } if (glp800.GetValue <MenuBool>("GLP800Combo").Value&& Program.Combo) { GLP800.Cast(Movement.GetPrediction(t, 0.5f).CastPosition); } } } var protobelt = Config["activator"]["offensives"]["protobelt"]; if (Protobelt.IsReady && protobelt.GetValue <MenuBool>("Protobelt").Value) { var t = Variables.TargetSelector.GetTarget(Protobelt.Range, DamageType.Magical); if (t.IsValidTarget()) { if (protobelt.GetValue <MenuBool>("ProtobeltKS").Value&& Player.CalculateDamage(t, DamageType.Magical, 75 + 75f / 17 * (Player.Level - 1) + 0.25 * Player.TotalMagicalDamage) > t.Health - OktwCommon.GetIncomingDamage(t)) { Protobelt.Cast(Movement.GetPrediction(t, 0.5f).CastPosition); } if (protobelt.GetValue <MenuBool>("ProtobeltCombo").Value&& Program.Combo) { Protobelt.Cast(Movement.GetPrediction(t, 0.5f).CastPosition); } } } var hextech = Config["activator"]["offensives"]["hextech"]; if (Hextech.IsReady && hextech.GetValue <MenuBool>("Hextech").Value) { var t = Variables.TargetSelector.GetTarget(Hextech.Range, DamageType.Magical); if (t.IsValidTarget()) { if (hextech.GetValue <MenuBool>("HextechKS").Value&& Player.CalculateDamage(t, DamageType.Magical, 175 + 78f / 17 * (Player.Level - 1) + 0.3 * Player.TotalMagicalDamage) > t.Health - OktwCommon.GetIncomingDamage(t)) { Hextech.Cast(t); } if (hextech.GetValue <MenuBool>("HextechCombo").Value&& Program.Combo) { Hextech.Cast(t); } } } var cutlass = Config["activator"]["offensives"]["cutlass"]; if (Cutlass.IsReady && cutlass.GetValue <MenuBool>("Cutlass").Value) { var t = Variables.TargetSelector.GetTarget(Cutlass.Range, DamageType.Magical); if (t.IsValidTarget()) { if (cutlass.GetValue <MenuBool>("CutlassKS").Value&& Player.CalculateDamage(t, DamageType.Magical, 100) > t.Health - OktwCommon.GetIncomingDamage(t)) { Cutlass.Cast(t); } if (cutlass.GetValue <MenuBool>("CutlassCombo").Value&& Program.Combo) { Cutlass.Cast(t); } } } var youmuus = Config["activator"]["offensives"]["youmuus"]; if (Youmuus.IsReady && youmuus.GetValue <MenuBool>("Youmuus").Value&& Program.Combo) { var t = Variables.Orbwalker.GetTarget(); if (t.IsValidTarget() && t is AIHeroClient) { if (youmuus.GetValue <MenuBool>("YoumuusKS").Value&& t.Health < Player.MaxHealth) { Youmuus.Cast(); } if (youmuus.GetValue <MenuBool>("YoumuusCombo").Value) { Youmuus.Cast(); } } } if (Config["activator"]["offensives"]["hydra"].GetValue <MenuBool>("Hydra").Value) { if (Hydra.IsReady && Player.CountEnemyHeroesInRange(Hydra.Range) > 0) { Hydra.Cast(); } else if (Hydra2.IsReady && Player.CountEnemyHeroesInRange(Hydra2.Range) > 0) { Hydra2.Cast(); } } }
private void Offensive() { if (Botrk.IsReady() && Config.Item("Botrk").GetValue <bool>()) { var t = TargetSelector.GetTarget(Botrk.Range, TargetSelector.DamageType.Physical); if (t.IsValidTarget()) { if (Config.Item("BotrkKS").GetValue <bool>() && Player.CalcDamage(t, Damage.DamageType.Physical, t.MaxHealth * 0.1) > t.Health - OktwCommon.GetIncomingDamage(t)) { Botrk.Cast(t); } if (Config.Item("BotrkLS").GetValue <bool>() && Player.Health < Player.MaxHealth * 0.5) { Botrk.Cast(t); } if (Config.Item("BotrkCombo").GetValue <bool>() && Program.Combo) { Botrk.Cast(t); } } } if (Hextech.IsReady() && Config.Item("Hextech").GetValue <bool>()) { var t = TargetSelector.GetTarget(Hextech.Range, TargetSelector.DamageType.Magical); if (t.IsValidTarget()) { if (Config.Item("HextechKS").GetValue <bool>() && Player.CalcDamage(t, Damage.DamageType.Magical, 150 + Player.FlatMagicDamageMod * 0.4) > t.Health - OktwCommon.GetIncomingDamage(t)) { Hextech.Cast(t); } if (Config.Item("HextechCombo").GetValue <bool>() && Program.Combo) { Hextech.Cast(t); } } } if (Program.Combo && FrostQueen.IsReady() && Config.Item("FrostQueen").GetValue <bool>()) { var t = TargetSelector.GetTarget(FrostQueen.Range, TargetSelector.DamageType.Magical); if (t.IsValidTarget()) { var predInput2 = new Core.PredictionInput { Aoe = true, Collision = false, Speed = 1200, Delay = 0.25f, Range = FrostQueen.Range, From = Player.ServerPosition, Radius = 200, Unit = t, Type = Core.SkillshotType.SkillshotCircle }; var poutput2 = Core.Prediction.GetPrediction(predInput2); if (poutput2.Hitchance >= Core.HitChance.High) { FrostQueen.Cast(poutput2.CastPosition); } } } if (Cutlass.IsReady() && Config.Item("Cutlass").GetValue <bool>()) { var t = TargetSelector.GetTarget(Cutlass.Range, TargetSelector.DamageType.Magical); if (t.IsValidTarget()) { if (Config.Item("CutlassKS").GetValue <bool>() && Player.CalcDamage(t, Damage.DamageType.Magical, 100) > t.Health - OktwCommon.GetIncomingDamage(t)) { Cutlass.Cast(t); } if (Config.Item("CutlassCombo").GetValue <bool>() && Program.Combo) { Cutlass.Cast(t); } } } if (Youmuus.IsReady() && Config.Item("Youmuus").GetValue <bool>()) { var t = Orbwalker.GetTarget(); if (t.IsValidTarget() && t is Obj_AI_Hero) { if (Config.Item("YoumuusKS").GetValue <bool>() && t.Health < Player.MaxHealth * 0.6) { Youmuus.Cast(); } if (Config.Item("YoumuusCombo").GetValue <bool>() && Program.Combo) { Youmuus.Cast(); } } } if (Config.Item("Hydra").GetValue <bool>()) { if (Hydra.IsReady() && Player.CountEnemiesInRange(Hydra.Range) > 0) { Hydra.Cast(); } else if (Hydra2.IsReady() && Player.CountEnemiesInRange(Hydra2.Range) > 0) { Hydra2.Cast(); } } }
private static void Offensive() { if (Botrk.IsReady() && OffensivesMenu["botrk"].Cast <CheckBox>().CurrentValue) { var t = TargetSelector.GetTarget(Botrk.Range, DamageType.Physical); if (t.IsValidTarget()) { if (OffensivesMenu["botrkks"].Cast <CheckBox>().CurrentValue&& Player.CalculateDamageOnUnit(t, DamageType.Physical, t.MaxHealth * (float)0.1) > t.Health) { Botrk.Cast(t); } if (OffensivesMenu["botrkls"].Cast <CheckBox>().CurrentValue&& Player.Health < Player.MaxHealth * 0.5) { Botrk.Cast(t); } if (OffensivesMenu["botrkc"].Cast <CheckBox>().CurrentValue&& Orbwalker.ActiveModesFlags == Orbwalker.ActiveModes.Combo) { Botrk.Cast(t); } } } if (Hextech.IsReady() && OffensivesMenu["hex"].Cast <CheckBox>().CurrentValue) { var t = TargetSelector.GetTarget(Hextech.Range, DamageType.Magical); if (t.IsValidTarget()) { if (OffensivesMenu["hexks"].Cast <CheckBox>().CurrentValue&& Player.CalculateDamageOnUnit(t, DamageType.Magical, 150 + Player.FlatMagicDamageMod * (float)0.4) > t.Health) { Hextech.Cast(t); } if (OffensivesMenu["hexc"].Cast <CheckBox>().CurrentValue&& Orbwalker.ActiveModesFlags == Orbwalker.ActiveModes.Combo) { Hextech.Cast(t); } } } if (Orbwalker.ActiveModesFlags == Orbwalker.ActiveModes.Combo && FrostQueen.IsReady() && OffensivesMenu["fq"].Cast <CheckBox>().CurrentValue) { var t = TargetSelector.GetTarget(FrostQueen.Range, DamageType.Magical); if (t.IsValidTarget() && t.Distance(Player) < 1500) { FrostQueen.Cast(); } } if (Cutlass.IsReady() && OffensivesMenu["cut"].Cast <CheckBox>().CurrentValue) { var t = TargetSelector.GetTarget(Cutlass.Range, DamageType.Magical); if (t.IsValidTarget()) { if (OffensivesMenu["cutks"].Cast <CheckBox>().CurrentValue&& Player.CalculateDamageOnUnit(t, DamageType.Magical, 100) > t.Health) { Cutlass.Cast(t); } if (OffensivesMenu["cutc"].Cast <CheckBox>().CurrentValue&& Orbwalker.ActiveModesFlags == Orbwalker.ActiveModes.Combo) { Cutlass.Cast(t); } } } if (Youmuus.IsReady() && OffensivesMenu["gb"].Cast <CheckBox>().CurrentValue&& Orbwalker.ActiveModesFlags == Orbwalker.ActiveModes.Combo) { var t = Orbwalker.LastTarget; if (t.IsValidTarget(Player.AttackRange) && t is AIHeroClient) { Youmuus.Cast(); } } if ((OffensivesMenu["tmat"].Cast <CheckBox>().CurrentValue || OffensivesMenu["rh"].Cast <CheckBox>().CurrentValue) && (Orbwalker.ActiveModesFlags == Orbwalker.ActiveModes.Combo || Orbwalker.ActiveModesFlags == Orbwalker.ActiveModes.Harass)) { if (Hydra.IsReady() && Player.CountEnemiesInRange(Hydra.Range) > 0) { Hydra.Cast(); } else if (Tiamat.IsReady() && Player.CountEnemiesInRange(Tiamat.Range) > 0) { Tiamat.Cast(); } } }
//----------------------------------------------Combo()------------------------------------------------ public static void Combo() { if ((Scimitar.IsReady() || QSS.IsReady()) && Player.HasBuffOfType(BuffType.Charm) || Player.HasBuffOfType(BuffType.Blind) || Player.HasBuffOfType(BuffType.Fear) || Player.HasBuffOfType(BuffType.Polymorph) || Player.HasBuffOfType(BuffType.Silence) || Player.HasBuffOfType(BuffType.Sleep) || Player.HasBuffOfType(BuffType.Snare) || Player.HasBuffOfType(BuffType.Stun) || Player.HasBuffOfType(BuffType.Suppression) || Player.HasBuffOfType(BuffType.Taunt)) { Scimitar.Cast(); QSS.Cast(); } if (Menu["UseQCombo"].Cast <CheckBox>().CurrentValue&& QIsReady && QRange) { if (Menu["SmartQ"].Cast <CheckBox>().CurrentValue) { QLogic(); } else if (Menu["SaveQDodge"].Cast <CheckBox>().CurrentValue) { } else { Q.Cast(Target); } } if (Smite != null) { if (Target.IsValidTarget(Smite.Range) && Smite.IsReady()) { if (Smite.Name.Contains("gank")) { Smite.Cast(Target); } else if (Smite.Name.Contains("duel") && AARange) { Smite.Cast(Target); } } } if (Menu["UseRCombo"].Cast <CheckBox>().CurrentValue&& R.IsReady() && Player.Distance(Target) <= Player.GetAutoAttackRange(Target) + 300) { R.Cast(); } if (Menu["UseECombo"].Cast <CheckBox>().CurrentValue&& EIsReady && AARange) { E.Cast(); } if (QRange && GhostBlade.IsReady()) { GhostBlade.Cast(); } if (Target.IsValidTarget(550) && BOTRK.IsReady()) { BOTRK.Cast(Target); } if (Target.IsValidTarget(550) && Bilgewater.IsReady()) { Bilgewater.Cast(Target); } if (Target.IsValidTarget(350) && Tiamat.IsReady()) { Tiamat.Cast(); } if (Target.IsValidTarget(100) && Titanic.IsReady() && Titanic.Cast()) { Orbwalker.ResetAutoAttack(); } if (Target.IsValidTarget(350) && Hydra.IsReady()) { Hydra.Cast(); } if (Target.IsValidTarget(450) && Randuin.IsReady()) { Randuin.Cast(); } if (Target.IsValidTarget(700) && Hextech.IsReady()) { Hextech.Cast(Target); } return; }
//---------------------------------------------Combo()------------------------------------------------ public static void Combo() { if (!EBuff()) { if (Menu["UseECombo"].Cast <CheckBox>().CurrentValue&& EIsReady && ERange) { E.Cast(); } if (Menu["UseQCombo"].Cast <CheckBox>().CurrentValue&& QIsReady && QRange) { Q.HitChanceCast(Target, 75); } } if (Menu["UseRCombo"].Cast <CheckBox>().CurrentValue&& Player.CountEnemiesInRange(R.Range) >= Menu["Min Enemies R"].Cast <Slider>().CurrentValue) { R.Cast(); } if (Menu["UseWCombo"].Cast <CheckBox>().CurrentValue&& WIsReady && WRange && Target.HasBuff("kennenmarkofstorm")) { W.Cast(); } if (Smite != null) { if (Smite.IsInRange(Target) && Smite.IsReady()) { if (Smite.Name.Contains("gank")) { Smite.Cast(Target); } else if (Smite.Name.Contains("duel") && Player.IsInAutoAttackRange(Target)) { Smite.Cast(Target); } } } if (Talisma.IsReady() && CountAlliesInRange(650) > 0) { Talisma.Cast(); } if (Exhaust != null && Menu["UseExhaust?"].Cast <CheckBox>().CurrentValue&& TargetSelector.GetPriority(Target) > 3 && Target.IsValidTarget(Exhaust.Range)) { Exhaust.Cast(Target); } if (ERange && GhostBlade.IsReady()) { GhostBlade.Cast(); } if (Target.IsValidTarget(550) && BOTRK.IsReady()) { BOTRK.Cast(Target); } if (Target.IsValidTarget(550) && Bilgewater.IsReady()) { Bilgewater.Cast(Target); } if (Target.IsValidTarget(500) && Randuin.IsReady()) { Randuin.Cast(); } if (Target.IsValidTarget(700) && Hextech.IsReady()) { Hextech.Cast(Target); } return; }
//---------------------------------------------Combo()------------------------------------------------ public static void Combo() { if (R.IsReady() && Menu["UseRCombo"].Cast <CheckBox>().CurrentValue&& R.IsInRange(Target) && SpellDamage(Target, SpellSlot.R) >= Target.Health) { R.HitChanceCast(Target, 70); } if (W.IsReady() && (WRange || (Q.IsReady() && QRange)) && Menu["UseWCombo"].Cast <CheckBox>().CurrentValue) { var WPos = Prediction.Position.PredictUnitPosition(Target, 1000).To3D(); W.Cast(CorrectRange(WPos, W.Range)); } else if (Orbwalker.ValidAzirSoldiers.Any()) { if (Q.IsReady() && Menu["UseQCombo"].Cast <CheckBox>().CurrentValue&& QRange) { Q.HitChanceCast(Target, Menu["QHitChanceCombo"].Cast <Slider>().CurrentValue); } if (E.IsReady() && Menu["UseECombo"].Cast <CheckBox>().CurrentValue) { CastE(Target); } } if (Smite != null) { if (Smite.IsInRange(Target) && Smite.IsReady()) { if (Smite.Name.Contains("gank")) { Smite.Cast(Target); } else if (Smite.Name.Contains("duel") && Player.IsInAutoAttackRange(Target)) { Smite.Cast(Target); } } } if (Talisma.IsReady() && Player.CountAlliesInRange(600) > 0) { Talisma.Cast(); } if (Exhaust != null && Menu["UseExhaust?"].Cast <CheckBox>().CurrentValue&& TargetSelector.GetPriority(Target) > 3 && Target.IsValidTarget(Exhaust.Range)) { Exhaust.Cast(Target); } if (Target.IsValidTarget(500) && Randuin.IsReady()) { Randuin.Cast(); } if (Target.IsValidTarget(700) && Hextech.IsReady()) { Hextech.Cast(Target); } return; }
private void Offensive() { if (Botrk.IsReady() && Config.Item("Botrk").GetValue <bool>()) { var t = TargetSelector.GetTarget(Botrk.Range, TargetSelector.DamageType.Physical); if (t.IsValidTarget()) { if (Config.Item("BotrkKS").GetValue <bool>() && Player.CalcDamage(t, Damage.DamageType.Physical, t.MaxHealth * 0.1) > t.Health) { Botrk.Cast(t); } if (Config.Item("BotrkLS").GetValue <bool>() && Player.Health < Player.MaxHealth * 0.5) { Botrk.Cast(t); } if (Config.Item("BotrkCombo").GetValue <bool>() && Program.Combo) { Botrk.Cast(t); } } } if (Hextech.IsReady() && Config.Item("Hextech").GetValue <bool>()) { var t = TargetSelector.GetTarget(Hextech.Range, TargetSelector.DamageType.Magical); if (t.IsValidTarget()) { if (Config.Item("HextechKS").GetValue <bool>() && Player.CalcDamage(t, Damage.DamageType.Magical, 150 + Player.FlatMagicDamageMod * 0.4) > t.Health) { Hextech.Cast(t); } if (Config.Item("HextechCombo").GetValue <bool>() && Program.Combo) { Hextech.Cast(t); } } } if (Cutlass.IsReady() && Config.Item("Cutlass").GetValue <bool>()) { var t = TargetSelector.GetTarget(Cutlass.Range, TargetSelector.DamageType.Magical); if (t.IsValidTarget()) { if (Config.Item("CutlassKS").GetValue <bool>() && Player.CalcDamage(t, Damage.DamageType.Magical, 100) > t.Health) { Cutlass.Cast(t); } if (Config.Item("CutlassCombo").GetValue <bool>() && Program.Combo) { Cutlass.Cast(t); } } } if (Youmuus.IsReady() && Config.Item("Youmuus").GetValue <bool>()) { var t = Orbwalker.GetTarget(); if (t.IsValidTarget() && t is Obj_AI_Hero) { if (Config.Item("YoumuusKS").GetValue <bool>() && t.Health < Player.MaxHealth * 0.6) { Youmuus.Cast(); } if (Config.Item("YoumuusCombo").GetValue <bool>() && Program.Combo) { Youmuus.Cast(); } } } if (Config.Item("Hydra").GetValue <bool>()) { if (Hydra.IsReady() && Player.CountEnemiesInRange(Hydra.Range) > 0) { Hydra.Cast(); } else if (Hydra2.IsReady() && Player.CountEnemiesInRange(Hydra2.Range) > 0) { Hydra2.Cast(); } } }
/// <summary> /// Does the combo. /// </summary> private static void DoCombo() { var target = TargetSelector.GetTarget(Q.Range); var useQ = Menu["Combo"]["UseQ"].GetValue <MenuBool>().Value; var useQGapclose = Menu["Combo"]["UseQGapclose"].GetValue <MenuBool>().Value; var useQGapcloseInfinite = Menu["Combo"]["UseQGapcloseInfinite"].GetValue <MenuBool>().Value; var useW = Menu["Combo"]["UseW"].GetValue <MenuBool>().Value; var useE = Menu["Combo"]["UseE"].GetValue <MenuBool>().Value; var useEStunOnly = Menu["Combo"]["UseEStunOnly"].GetValue <MenuBool>().Value; var useR = Menu["Combo"]["UseR"].GetValue <MenuBool>().Value; var procSheenBeforeR = Menu["Combo"]["ProcSheenBeforeR"].GetValue <MenuBool>().Value; var useRtoQ = Menu["Combo"]["UseRToQ"].GetValue <MenuBool>().Value; var useBotrk = Menu["Combo"]["UseBotrk"].GetValue <MenuBool>().Value; var useRanduin = Menu["Combo"]["UseRanduin"].GetValue <MenuBool>().Value; var useHextech = Menu["Combo"]["UseHextech"].GetValue <MenuBool>().Value; var mode = Menu["Combo"]["Mode"].GetValue <MenuList <string> >().SelectedValue; if (target == null && useQGapclose) { var gapcloseMinion = useQGapcloseInfinite ? GameObjects.EnemyMinions.Where( x => x.IsValidTarget(Q.Range) && Player.GetSpellDamage(x, SpellSlot.Q) > x.Health && Player.Distance( GameObjects.EnemyHeroes.OrderBy(y => y.Distance(Player)) .FirstOrDefault()) < x.Distance( GameObjects.EnemyHeroes.OrderBy(y => y.Distance(Player)) .FirstOrDefault())) .FirstOrDefault( x => x.Distance( GameObjects.EnemyHeroes.OrderBy(y => y.Distance(Player)) .FirstOrDefault()) < Q.Range) : GameObjects.EnemyMinions.Where( x => x.IsValidTarget(Q.Range) && Player.GetSpellDamage(x, SpellSlot.Q) > x.Health) .FirstOrDefault( x => x.Distance(TargetSelector.GetTarget(Q.Range * 5)) < Q.Range); if (gapcloseMinion != null) { Q.CastOnUnit(gapcloseMinion); } else if (useRtoQ && R.IsReady()) { var minionR = ObjectManager.Get <Obj_AI_Minion>() .Where( x => x.IsValidTarget() && x.Distance(Player) < Q.Range && GameObjects.EnemyHeroes.Count(y => x.Distance(y) < Q.Range) > 0) .FirstOrDefault( x => x.Health - Player.GetSpellDamage(x, SpellSlot.R) < Player.GetSpellDamage(x, SpellSlot.Q)); if (minionR != null) { R.Cast(minionR); } } return; } if (!target.IsValidTarget()) { return; } if (useBotrk && Botrk.IsReady) { Botrk.Cast(target); } if (useRanduin && Randuins.IsReady && Player.Distance(target) < 500 && Player.Distance(target) > Player.GetRealAutoAttackRange()) { Randuins.Cast(); } if (useHextech && Hextech.IsReady) { Hextech.Cast(target); } if (useQ && Q.IsReady()) { Q.CastOnUnit(target); } if (mode.Equals("Q -> W -> E")) { if (useW && W.IsReady()) { W.Cast(); } if (useE && E.IsReady()) { UseE(target, useEStunOnly); } } else { if (useE && E.IsReady()) { UseE(target, useEStunOnly); } if (useW && W.IsReady()) { W.Cast(); } } if (!useR || !R.IsReady()) { return; } var ultTarget = TargetSelector.GetTarget(R.Range); if (procSheenBeforeR) { // Cast ult on the target if we have the sheen buff only if they are out of the AA range if (Player.Distance(ultTarget) > Player.GetRealAutoAttackRange() || !Player.HasBuff("sheen")) { R.Cast(ultTarget); } } else if (!procSheenBeforeR) { R.Cast(target); } }
public static void Execute() { var target = TargetSelector.GetTarget(1000, DamageType.Mixed); if (target == null) { var manamune = Player.Instance.Spellbook.Spells.FirstOrDefault(s => s.Name.ToLower().Contains("manamune")); if (manamune != null && manamune.ToggleState == 2) { Manamune.Cast(); } } if (Activator.lastUsed > Environment.TickCount) { return; } if (target != null && !Player.Instance.IsRecalling() && (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo) || Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LaneClear))) { if (Settings.Bilgewater && BilgewaterCutlass.IsOwned() && BilgewaterCutlass.IsReady() && target.IsValidTarget(BilgewaterCutlass.Range)) { if (target.HealthPercent < Settings.BilgewaterTargetHp) { BilgewaterCutlass.Cast(target); Activator.lastUsed = Environment.TickCount + Misc.DelayBetweenOff; } } if (Settings.Blade && BladeOfTheRuinedKing.IsOwned() && BladeOfTheRuinedKing.IsReady() && target.IsValidTarget(BladeOfTheRuinedKing.Range)) { if (Settings.BladeMyHp > Player.Instance.HealthPercent && target.HealthPercent < Settings.BladeTargetHp) { BladeOfTheRuinedKing.Cast(target); Activator.lastUsed = Environment.TickCount + Misc.DelayBetweenOff; } } var minions = EntityManager.MinionsAndMonsters.EnemyMinions.Count(m => m.IsValidTarget(Tiamat.Range)); if (Settings.Tiamat && Tiamat.IsOwned() && Tiamat.IsReady() && target.IsValidTarget(Tiamat.Range) || minions > 2) { if (target.HealthPercent < Settings.TiamatTargetHp && Misc.AACancel ? EventsManager.CanAACancel : Tiamat.IsReady()) { Tiamat.Cast(); Activator.lastUsed = Environment.TickCount + Misc.DelayBetweenOff; } } if (Settings.Hydra && Hydra.IsOwned() && Hydra.IsReady() && target.IsValidTarget(Hydra.Range) || minions > 2) { if (target.HealthPercent < Settings.HydraTargetHp && Misc.AACancel ? EventsManager.CanAACancel : Hydra.IsReady()) { Hydra.Cast(); Activator.lastUsed = Environment.TickCount + Misc.DelayBetweenOff; } } if (Settings.Titanic && TitanicHydra.IsOwned() && TitanicHydra.IsReady() && target.IsValidTarget(TitanicHydra.Range) || minions > 2) { if (target.HealthPercent < Settings.TitanicTargetHp && Misc.AACancel ? EventsManager.CanAACancel : TitanicHydra.IsReady()) { TitanicHydra.Cast(); Activator.lastUsed = Environment.TickCount + Misc.DelayBetweenOff; } } if (Settings.Youmuu && Youmuu.IsOwned() && Youmuu.IsReady() && target.IsValidTarget(Youmuu.Range)) { if (target.HealthPercent < Settings.YoumuuTargetHp) { Youmuu.Cast(); Activator.lastUsed = Environment.TickCount + Misc.DelayBetweenOff; } } if (Settings.Hextech && Hextech.IsOwned() && Hextech.IsReady() && target.IsValidTarget(Hextech.Range)) { if (target.HealthPercent < Settings.HextechTargetHp) { Hextech.Cast(target); Activator.lastUsed = Environment.TickCount + Misc.DelayBetweenOff; } } if (Settings.Manamune && Manamune.IsOwned() && Manamune.IsReady() && target.IsValidTarget(Manamune.Range)) { if (target.HealthPercent < Settings.ManamuneTargetHP && Player.Instance.ManaPercent > Settings.ManamuneMana) { var manamune = Player.Instance.Spellbook.Spells.FirstOrDefault(s => s.Name.ToLower().Contains("manamune")); if (manamune != null && manamune.ToggleState == 1) { Manamune.Cast(); } } } } }
//---------------------------------------------Combo()------------------------------------------------ public static void Combo() { bool AARange = Player.IsInAutoAttackRange(Target); if ((Scimitar.IsReady() || QSS.IsReady()) && Player.HasBuffOfType(BuffType.Charm) || Player.HasBuffOfType(BuffType.Blind) || Player.HasBuffOfType(BuffType.Fear) || Player.HasBuffOfType(BuffType.Polymorph) || Player.HasBuffOfType(BuffType.Silence) || Player.HasBuffOfType(BuffType.Sleep) || Player.HasBuffOfType(BuffType.Snare) || Player.HasBuffOfType(BuffType.Stun) || Player.HasBuffOfType(BuffType.Suppression) || Player.HasBuffOfType(BuffType.Taunt)) { Scimitar.Cast(); QSS.Cast(); } if (E.IsReady() && !Player.HasBuff("JaxCounterStrike") && Menu["UseECombo"].Cast <CheckBox>().CurrentValue) { if (Target.IsValidTarget(Q.Range)) { E.Cast(); ETick = Environment.TickCount; } } if (R.IsReady() && Menu["UseRCombo"].Cast <CheckBox>().CurrentValue) { if (Player.CountEnemiesInRange(650) >= Menu["Min Enemies R"].Cast <Slider>().CurrentValue) { R.Cast(); } else if (Menu["Use1v1RLogic"].Cast <CheckBox>().CurrentValue&& Target.IsValidTarget(600) && (Player.HealthPercent <= 42 || Target.HealthPercent > 30)) { R.Cast(); } } if (Menu["UseQCombo"].Cast <CheckBox>().CurrentValue&& Q.IsReady() && Target.IsValidTarget(Q.Range)) { if (Menu["QOnDash"].Cast <CheckBox>().CurrentValue&& Player.Distance(Target) <= Player.GetAutoAttackRange() + 100) { if (Target.IsDashing()) { Q.Cast(Target); } } else if (Environment.TickCount - ETick >= Menu["QDelayCombo"].Cast <Slider>().CurrentValue) { Q.Cast(Target); } } if (Smite != null) { if (Target.IsValidTarget(Smite.Range) && Smite.IsReady()) { if (Smite.Name.Contains("gank")) { Smite.Cast(Target); } else if (Smite.Name.Contains("duel") && AARange) { Smite.Cast(Target); } } } if (Target.IsValidTarget(Q.Range) && GhostBlade.IsReady()) { GhostBlade.Cast(); } if (Target.IsValidTarget(550) && BOTRK.IsReady()) { BOTRK.Cast(Target); } if (Target.IsValidTarget(550) && Bilgewater.IsReady()) { Bilgewater.Cast(Target); } if (Target.IsValidTarget(400) && Tiamat.IsReady()) { Tiamat.Cast(); } if (Target.IsValidTarget(400) && Hydra.IsReady()) { Hydra.Cast(); } if (Target.IsValidTarget(500) && Randuin.IsReady()) { Randuin.Cast(); } if (Target.IsValidTarget(700) && Hextech.IsReady()) { Hextech.Cast(Target); } return; }
private void Offensive() { if (Botrk.IsReady() && getCheckBoxItem("Botrk")) { var t = TargetSelector.GetTarget(Botrk.Range, DamageType.Physical); if (t.IsValidTarget()) { if (getCheckBoxItem("BotrkKS") && Player.CalcDamage(t, DamageType.Physical, t.MaxHealth * 0.1) > t.Health - OktwCommon.GetIncomingDamage(t)) { Botrk.Cast(t); } if (getCheckBoxItem("BotrkLS") && Player.Health < Player.MaxHealth * 0.5 - OktwCommon.GetIncomingDamage(Player)) { Botrk.Cast(t); } if (getCheckBoxItem("BotrkCombo") && Program.Combo) { Botrk.Cast(t); } } } if (Hextech.IsReady() && getCheckBoxItem("Hextech")) { var t = TargetSelector.GetTarget(Hextech.Range, DamageType.Magical); if (t.IsValidTarget()) { if (getCheckBoxItem("HextechKS") && Player.CalcDamage(t, DamageType.Magical, 150 + Player.FlatMagicDamageMod * 0.4) > t.Health - OktwCommon.GetIncomingDamage(t)) { Hextech.Cast(t); } if (getCheckBoxItem("HextechCombo") && Program.Combo) { Hextech.Cast(t); } } } if (Program.Combo && FrostQueen.IsReady() && getCheckBoxItem("FrostQueen") && Player.CountEnemiesInRange(800) > 0) { FrostQueen.Cast(); } if (Cutlass.IsReady() && getCheckBoxItem("Cutlass")) { var t = TargetSelector.GetTarget(Cutlass.Range, DamageType.Magical); if (t.IsValidTarget()) { if (getCheckBoxItem("CutlassKS") && Player.CalcDamage(t, DamageType.Magical, 100) > t.Health - OktwCommon.GetIncomingDamage(t)) { Cutlass.Cast(t); } if (getCheckBoxItem("CutlassCombo") && Program.Combo) { Cutlass.Cast(t); } } } if (Youmuus.IsReady() && getCheckBoxItem("Youmuus")) { var t = Orbwalker.LastTarget; if (t.IsValidTarget() && t is AIHeroClient) { if (getCheckBoxItem("YoumuusKS") && t.Health < Player.MaxHealth) { Youmuus.Cast(); } if (getCheckBoxItem("YoumuusCombo") && Program.Combo) { Youmuus.Cast(); } } } if (getCheckBoxItem("Hydra")) { if (Hydra.IsReady() && Player.CountEnemiesInRange(Hydra.Range) > 0) { Hydra.Cast(); } else if (Hydra2.IsReady() && Player.CountEnemiesInRange(Hydra2.Range) > 0) { Hydra2.Cast(); } } }
//----------------------------------------------Combo()------------------------------------------------ public static void Combo() { if ((Scimitar.IsReady() || QSS.IsReady()) && Player.HasBuffOfType(BuffType.Charm) || Player.HasBuffOfType(BuffType.Blind) || Player.HasBuffOfType(BuffType.Fear) || Player.HasBuffOfType(BuffType.Polymorph) || Player.HasBuffOfType(BuffType.Silence) || Player.HasBuffOfType(BuffType.Sleep) || Player.HasBuffOfType(BuffType.Snare) || Player.HasBuffOfType(BuffType.Stun) || Player.HasBuffOfType(BuffType.Suppression) || Player.HasBuffOfType(BuffType.Taunt)) { Scimitar.Cast(); QSS.Cast(); } if (Menu["UseQCombo"].Cast <CheckBox>().CurrentValue&& QIsReady) { if (QRange) { if (Menu["SmartQ"].Cast <CheckBox>().CurrentValue) { QLogic(); } else if (Menu["UseWBeforeQCombo"].Cast <CheckBox>().CurrentValue&& WIsReady) { W.Cast(); Core.DelayAction(() => Q.Cast(Target), Game.Ping + W.CastDelay); } else { Q.Cast(Target); } } else if (GapCloseTarget != null && Menu["QGapCloserCombo"].Cast <CheckBox>().CurrentValue) { if (Item.HasItem(ItemId.Trinity_Force)) { var Minions = EntityManager.MinionsAndMonsters.CombinedAttackable.Where(it => it.IsValidTarget(Q.Range) && it.Distance(Game.CursorPos) <= 500 && SpellDamage(it, SpellSlot.Q) >= it.Health); if (Minions.Any()) { var Minion = Minions.OrderBy(it => it.Distance(GapCloseTarget)).First(); Q.Cast(Minion); } else if (R.IsReady() && Menu["UseRGapCloser"].Cast <CheckBox>().CurrentValue) { Minions = EntityManager.MinionsAndMonsters.CombinedAttackable.Where(it => it.IsValidTarget(Q.Range) && it.Distance(Game.CursorPos) <= 500 && SpellDamage(it, SpellSlot.Q) + SpellDamage(it, SpellSlot.R) >= it.Health); if (Minions.Any()) { var Minion = Minions.OrderBy(it => it.Distance(GapCloseTarget)).First(); if (R.Cast(Minion)) { Core.DelayAction(() => Q.Cast(Minion), Game.Ping + R.CastDelay + 400); } } } } else if (Item.HasItem(ItemId.Sheen)) { var Minions = EntityManager.MinionsAndMonsters.CombinedAttackable.Where(it => it.IsValidTarget(Q.Range) && it.Distance(Game.CursorPos) <= 500 && SpellDamage(it, SpellSlot.Q) >= it.Health); if (Minions.Any()) { var Minion = Minions.OrderBy(it => it.Distance(GapCloseTarget)).First(); Q.Cast(Minion); } else if (R.IsReady() && Menu["UseRGapCloser"].Cast <CheckBox>().CurrentValue) { Minions = EntityManager.MinionsAndMonsters.CombinedAttackable.Where(it => it.IsValidTarget(Q.Range) && it.Distance(Game.CursorPos) <= 500 && SpellDamage(it, SpellSlot.Q) + SpellDamage(it, SpellSlot.R) >= it.Health); if (Minions.Any()) { var Minion = Minions.OrderBy(it => it.Distance(GapCloseTarget)).First(); if (R.Cast(Minion)) { Core.DelayAction(() => Q.Cast(Minion), Game.Ping + R.CastDelay + 400); } } } } else { var Minions = EntityManager.MinionsAndMonsters.CombinedAttackable.Where(it => it.IsValidTarget(Q.Range) && it.Distance(Game.CursorPos) <= 500 && SpellDamage(it, SpellSlot.Q) >= it.Health); if (Minions.Any()) { var Minion = Minions.OrderBy(it => it.Distance(GapCloseTarget)).First(); Q.Cast(Minion); } } } } if (Smite != null) { if (Target.IsValidTarget(Smite.Range) && Smite.IsReady()) { if (Smite.Name.Contains("gank")) { Smite.Cast(Target); } else if (Smite.Name.Contains("duel") && AARange) { Smite.Cast(Target); } } } if (Menu["UseWCombo"].Cast <CheckBox>().CurrentValue&& WIsReady && (!QIsReady || !Menu["UseWBeforeQCombo"].Cast <CheckBox>().CurrentValue) && AARange) { W.Cast(); } if (Menu["UseRCombo"].Cast <CheckBox>().CurrentValue&& R.IsReady() && Player.Distance(Target) <= 900) { var RPred = R.GetPrediction(Target); if (RPred.HitChancePercent >= 75) { if (Menu["UseRSelfActived"].Cast <CheckBox>().CurrentValue) { if (Player.HasBuff("ireliatranscendentbladesspell")) { R.Cast(RPred.CastPosition); } } else { R.Cast(RPred.CastPosition); } } } if (Menu["UseECombo"].Cast <CheckBox>().CurrentValue&& EIsReady && E.IsInRange(Target)) { if (Menu["OnlyEStunCombo"].Cast <CheckBox>().CurrentValue) { if (Player.HealthPercent <= Target.HealthPercent) { E.Cast(Target); } } else { E.Cast(Target); } } if (QRange && GhostBlade.IsReady()) { GhostBlade.Cast(); } if (Target.IsValidTarget(550) && BOTRK.IsReady()) { BOTRK.Cast(Target); } if (Target.IsValidTarget(550) && Bilgewater.IsReady()) { Bilgewater.Cast(Target); } if (Target.IsValidTarget(400) && Tiamat.IsReady()) { Tiamat.Cast(); } if (Target.IsValidTarget(400) && Hydra.IsReady()) { Hydra.Cast(); } if (Target.IsValidTarget(500) && Randuin.IsReady()) { Randuin.Cast(); } if (Target.IsValidTarget(700) && Hextech.IsReady()) { Hextech.Cast(Target); } return; }