/// <summary> /// Put in here what you want to do when the mode is running /// </summary> public static void Execute() { { var target = TargetSelector.GetTarget(Q.Range, DamageType.Physical); if (target == null) { return; } if (!QState && LastQ + 200 < Environment.TickCount && HarassMenu.GetCheckBoxValue("q1Use") && !QState && Q.IsReady() && target.HasQBuff() && (LastQ + 2700 < Environment.TickCount || myHero.GetSpellDamage(target, SpellSlot.Q) >= target.Health || target.Distance(myHero) > myHero.GetAutoAttackRange() + 50)) { Q.Cast(); } if (ComboMenu.GetCheckBoxValue("Cpassive") && PassiveStacks > ComboMenu.GetSliderValue("passivestacks") && myHero.GetAutoAttackRange() > myHero.Distance(target)) { return; } if (Q.IsReady() && HarassMenu.GetCheckBoxValue("q1Use") && LastQ + 200 < Environment.TickCount) { if (QState && target.Distance(myHero) < Q.Range) { CastQ(target, MiscMenu.GetCheckBoxValue("smiteq")); } } if (E.IsReady() && HarassMenu.GetCheckBoxValue("eeUse") && LastE + 200 < Environment.TickCount) { if (EState && target.Distance(myHero) < E.Range) { E.Cast(); return; } if (!EState && target.Distance(myHero) > myHero.GetAutoAttackRange() + 50) { E.Cast(); } } if (HarassMenu.GetCheckBoxValue("wUse") && myHero.Distance(target) < 50 && !(target.HasQBuff()) && (EState || !E.IsReady() && HarassMenu.GetCheckBoxValue("eeUse")) && (QState || !Q.IsReady() && HarassMenu.GetCheckBoxValue("q1Use"))) { var min = ObjectManager.Get <Obj_AI_Minion>() .Where(a => a.IsAlly && a.Distance(myHero) <= W.Range) .OrderByDescending(a => a.Distance(target)) .FirstOrDefault(); W.Cast(min); } } }
public static void Execute() { var qtarget = TargetSelector.GetTarget(Q.Range, DamageType.Magical); var wtarget = TargetSelector.GetTarget(W.Range, DamageType.Magical); var etarget = TargetSelector.GetTarget(E.Range, DamageType.Magical); var rtarget = TargetSelector.GetTarget(R.Range, DamageType.Mixed); var target = TargetSelector.GetTarget(Q.Range + 200, DamageType.Magical); if (target == null) { return; } if (HarassMenu.GetCheckBoxValue("eUse") && E.IsReady() && etarget.IsValidTarget(E.Range)) { E.Cast(); } if (HarassMenu.GetCheckBoxValue("qUse") && Q.IsReady() && qtarget.IsValidTarget(Q.Range)) { Q.Cast(qtarget); } var motaEnemy = Modes.Combo.enemyHaveMota; if (motaEnemy != null && motaEnemy.IsValidTarget(Modes.Combo._player.GetAutoAttackRange(qtarget))) { return; } }
public override void Laneclear() { var target = GetTarget(Q); var minion = E.GetLaneMinion(); if (LaneClearMenu.GetCheckBoxValue(49)) { if (HarassMenu.GetCheckBoxValue(HarassMenuID + "Q")) { Q.TryCast(target); } if (HarassMenu.GetCheckBoxValue(HarassMenuID + "E")) { E.TryCast(target); } } else { if (LaneClearMenu.GetCheckBoxValue(LaneMenuID + "Q")) { Q.TryCast(minion); } if (LaneClearMenu.GetCheckBoxValue(LaneMenuID + "E")) { E.TryCast(minion); } } }
public override void Lasthit() { var target = GetTarget(Q); var minion = R.GetLasthitLaneMinion(); if (LastHitMenu.GetCheckBoxValue(50)) { if (HarassMenu.GetCheckBoxValue(HarassMenuID + "Q")) { Q.TryCast(target); } if (HarassMenu.GetCheckBoxValue(HarassMenuID + "E")) { E.TryCast(target); } } else { if (LastHitMenu.GetCheckBoxValue(LastMenuID + "Q")) { Q.TryCast(minion); } if (LastHitMenu.GetCheckBoxValue(LastMenuID + "E")) { E.TryCast(minion); } } }
/// <summary> /// Put in here what you want to do when the mode is running /// </summary> public static void Execute() { var qtarget = TargetSelector.GetTarget(Q.Range, DamageType.Mixed); var wtarget = TargetSelector.GetTarget(W.Range, DamageType.Mixed); var etarget = TargetSelector.GetTarget(E.Range, DamageType.Mixed); var rtarget = TargetSelector.GetTarget(3400, DamageType.Mixed); var target = TargetSelector.GetTarget(E.Range + 200, DamageType.Magical); if (Q.IsReady() && HarassMenu.GetCheckBoxValue("qUse")) { var predq = Q.GetPrediction(qtarget); if (predq.HitChance >= HitChance.High) { Q.Cast(predq.CastPosition); } } if (E.IsReady() && HarassMenu.GetCheckBoxValue("eUse")) { var prede = E.GetPrediction(etarget); if (prede.HitChance >= HitChance.High) { E.Cast(prede.CastPosition); } } }
public static void Execute() { var target = TargetSelector.GetTarget(2000, DamageType.Physical); var rtarget = TargetSelector.GetTarget(R.Range, DamageType.Magical); var useQ = HarassMenu.GetCheckBoxValue("qUse"); var useW = HarassMenu.GetCheckBoxValue("wUse"); var useE = HarassMenu.GetCheckBoxValue("eUse"); var useR = HarassMenu.GetCheckBoxValue("rUse"); var useEE = HarassMenu.GetCheckBoxValue("UseEEC"); var tqq = TargetSelector.GetTarget(Q.Range, DamageType.Physical); var tee = TargetSelector.GetTarget(E.Range, DamageType.Physical); if (useQ && tqq.IsValidTarget(SpellsManager.Q.Range) && Q.IsReady()) { Q.Cast(); } if (useE && tee.IsValidTarget(E.Range) && E.IsReady() && E.GetPrediction(tee).HitChance >= Hitch.hitchance(E, FirstMenu)) { E.Cast(tee); } if (useW && tqq.IsValidTarget(SpellsManager.W.Range) && W.IsReady()) { W.Cast(); } }
public static void Execute() { var enemiese = EntityManager.Heroes.Enemies.OrderByDescending (a => a.HealthPercent).Where(a => !a.IsMe && a.IsValidTarget() && a.Distance(Player) <= R.Range); var enemiesq = EntityManager.Heroes.Enemies.OrderByDescending (a => a.HealthPercent).Where(a => !a.IsMe && a.IsValidTarget() && a.Distance(Player) <= Q.Range); var target = TargetSelector.GetTarget(1900, DamageType.Magical); if (!target.IsValidTarget()) { return; } if (E.IsReady() && target.IsValidTarget(E.Range) && HarassMenu.GetCheckBoxValue("e.Use")) { foreach (var eenemies in enemiese) { E.Cast(eenemies); } } if (target.IsValidTarget(Q.Range) && HarassMenu.GetCheckBoxValue("qUse")) { foreach (var qenemies in enemiesq) { var predq = Q.GetPrediction(qenemies); if (predq.HitChance >= HitChance.High) { Q.Cast(predq.CastPosition); } } } }
public override void Harass() { var target = GetTarget(W); if (HarassMenu.GetSliderValue(HarassMenuID + "mana") >= Player.Instance.ManaPercent) return; if (HarassMenu.GetCheckBoxValue(HarassMenuID + "Q")) Q.TryCast(target); if (HarassMenu.GetCheckBoxValue(HarassMenuID + "W")) W.TryCast(target); if (HarassMenu.GetCheckBoxValue(HarassMenuID + "E") && HarassMenu.GetSliderValue(49) <= Player.Instance.HealthPercent) { E.TryCast(target); } }
public override void Harass() { var target = GetTarget(E); if (HarassMenu.GetCheckBoxValue(HarassMenuID + "Q")) { Q.TryCast(target); } if (HarassMenu.GetCheckBoxValue(HarassMenuID + "E")) { E.TryCast(target); } }
public static void Execute() { // 2-Leveled settings var settingsType = (Self.Level >= HarassMenu.GetSliderValue("lateGameLevelSlider")) ? "LateGame" : ""; // Get best champion var target = Targeting.Champions( HarassMenu.GetCheckBoxValue("eUse" + settingsType) ? EffectiveExtendedReachRange : EffectiveReachRange, true); // Check if target/self are valid for spells if (!States.SpellReady(target)) { return; } // Use E? if (E.IsReady() && HarassMenu.GetCheckBoxValue("eUse" + settingsType)) { // Predict best E position var predictedPosition = Dash.Prediction(target).Position; // Make sure prediction position is within AA range, not under turret and no other enemies are close if (target.WithinRange(predictedPosition, EffectiveAttackRange) && !predictedPosition.UnderEnemyTurret() && predictedPosition.EnemiesWithinRange(ScanRange) == 1) { Player.CastSpell(SpellSlot.E, predictedPosition); } } // Harass with Q if (HarassMenu.GetCheckBoxValue("qUse" + settingsType)) { if (!Q.Cast(target)) { CastQExtended(target); } } // Cast W if (HarassMenu.GetCheckBoxValue("wUse" + settingsType) && target.WithinRange(EffectiveAttackRange)) { if (!W.Cast(target)) { CastW(target.ServerPosition); } } }
/// <summary> /// Put in here what you want to do when the mode is running /// </summary> public static void Execute() { var qtarget = TargetSelector.GetTarget(650, DamageType.Magical); var wtarget = TargetSelector.GetTarget(1, DamageType.Magical); var etarget = TargetSelector.GetTarget(400, DamageType.Magical); var rtarget = TargetSelector.GetTarget(500, DamageType.Magical); if (Q.IsReady() && HarassMenu.GetCheckBoxValue("qUse") && qtarget.IsValidTarget(Q.Range)) { Q.Cast(qtarget); } if (E.IsReady() && HarassMenu.GetCheckBoxValue("eUse") && etarget.IsValidTarget(E.Range)) { E.Cast(etarget.Position); } }
public override void Harass() { var target = GetTarget(W); if (HarassMenu.GetSliderValue(HarassMenuID + "mana") >= Player.Instance.ManaPercent) { return; } if (HarassMenu.GetCheckBoxValue(HarassMenuID + "W")) { W.TryCast(target); } if (HarassMenu.GetCheckBoxValue(HarassMenuID + "Q")) { Q.TryCast(target); } }
private static void OnBeforeAttack(AttackableUnit target, Orbwalker.PreAttackArgs args) { var combo = Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo); var harass = Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Harass); var QC = ComboMenu.GetCheckBoxValue("qUse"); var QH = HarassMenu.GetCheckBoxValue("qUse"); var mode = FirstMenu.GetComboBoxValue("ComboPrio") == 0 || FirstMenu.GetComboBoxValue("ComboPrio") == 2; if (!(args.Target is AIHeroClient)) { return; } if (_player.HasBuff("rengarpassivebuff") || _player.HasBuff("RengarR")) { return; } if (_player.Mana <= 4) { if (combo && QC && Q.IsReady() && args.Target.IsValidTarget(Q.Range)) { Q.Cast(); } if (harass && QH && Q.IsReady() && args.Target.IsValidTarget(Q.Range)) { Q.Cast(); } } if (_player.Mana == 5) { if (combo && QC && Q.IsReady() && mode && args.Target.IsValidTarget(Q.Range)) { Q.Cast(); } if (harass && QH && Q.IsReady() && mode && args.Target.IsValidTarget(Q.Range)) { Q.Cast(); } } }
public static void Execute() { var enemiese = EntityManager.Heroes.Enemies.OrderByDescending (a => a.HealthPercent).Where(a => !a.IsMe && a.IsValidTarget() && a.Distance(Player) <= E.Range); var target = TargetSelector.GetTarget(1500, DamageType.Magical); var etarget = TargetSelector.GetTarget(E.Range, DamageType.Magical); if (HarassMenu.GetCheckBoxValue("eUse") && etarget.IsValidTarget(SpellsManager.E.Range) && E.IsReady() && E.GetPrediction(etarget).HitChance >= Hitch.hitchance(E, FirstMenu)) { foreach (var eenemies in enemiese) { var predE = E.GetPrediction(eenemies); { E.Cast(predE.CastPosition); } } } }
/// <summary> /// Put in here what you want to do when the mode is running /// </summary> public static void Execute() { var qtarget = TargetSelector.GetTarget(Q.Range, DamageType.Magical); var wtarget = TargetSelector.GetTarget(W.Range, DamageType.Magical); var etarget = TargetSelector.GetTarget(E.Range, DamageType.Magical); var rtarget = TargetSelector.GetTarget(R.Range, DamageType.Mixed); var target = TargetSelector.GetTarget(Q.Range + 200, DamageType.Magical); if (HarassMenu.GetCheckBoxValue("wUse") && W.IsReady() && wtarget.IsValidTarget(W.Range)) { W.Cast(wtarget); } if (HarassMenu.GetCheckBoxValue("eUse") && E.IsReady() && etarget.IsValidTarget(E.Range)) { E.Cast(etarget); } }
public override void Laneclear() { var target = GetTarget(E); var minion = E.GetLaneMinion(); if (LaneClearMenu.GetSliderValue(LaneMenuID + "mana") >= Player.Instance.ManaPercent) { return; } if (LaneClearMenu.GetCheckBoxValue(48)) { if (HarassMenu.GetCheckBoxValue(HarassMenuID + "Q")) { Q.TryCast(target); } if (HarassMenu.GetCheckBoxValue(HarassMenuID + "W")) { W.TryCast(target); } if (HarassMenu.GetCheckBoxValue(HarassMenuID + "E")) { E.TryCast(target); } } else { if (LaneClearMenu.GetCheckBoxValue(LaneMenuID + "Q")) { Q.TryCast(minion); } if (LaneClearMenu.GetCheckBoxValue(LaneMenuID + "W")) { W.TryCast(minion); } if (LaneClearMenu.GetCheckBoxValue(LaneMenuID + "E")) { E.TryCast(minion); } if (LaneClearMenu.GetCheckBoxValue(LaneMenuID + "R")) { R.TryCast(minion); } } }
private void OnPreAttack(AttackableUnit target, Orbwalker.PreAttackArgs args) { if (ComboMenu.GetCheckBoxValue(ComboMenuID + "W")) { WCast(ComboMenu, 48, target); } if (HarassMenu.GetCheckBoxValue(HarassMenuID + "W")) { WCast(HarassMenu, 49, target); } if (LaneClearMenu.GetCheckBoxValue(LaneMenuID + "W")) { WCast(LaneClearMenu, 50, target); } if (JungleClearMenu.GetCheckBoxValue(JunglesMenuID + "W")) { WCast(JungleClearMenu, 52, target); } }
public override void PermaActive() { var ks = W.GetKillableTarget(); if (KillStealMenu.GetCheckBoxValue(KillstealMenuID + "Q")) Q.TryCast(ks); if (KillStealMenu.GetCheckBoxValue(KillstealMenuID + "W")) W.TryCast(ks); var target = GetTarget(1200); if (HarassMenu.GetSliderValue(AutoHarassMenuID + "mana") <= Player.Instance.ManaPercent) { if (HarassMenu.GetCheckBoxValue(AutoHarassMenuID + "Q")) Q.TryCast(target); if (HarassMenu.GetCheckBoxValue(AutoHarassMenuID + "W")) W.TryCast(target); if (HarassMenu.GetCheckBoxValue(AutoHarassMenuID + "E") && HarassMenu.GetSliderValue(50) <= Player.Instance.HealthPercent) { E.TryCast(target); } } if (MiscMenu.GetSliderValue(MiscMenuID + "mana") <= Player.Instance.ManaPercent && MiscMenu.GetCheckBoxValue(58)) { if (MiscMenu.GetCheckBoxValue(60)) { if (MiscMenu.GetCheckBoxValue(61) && target.IsStunned) Q.TryCast(target); if (MiscMenu.GetCheckBoxValue(62) && target.IsRooted) Q.TryCast(target); if (MiscMenu.GetCheckBoxValue(63) && target.IsFeared) Q.TryCast(target); if (MiscMenu.GetCheckBoxValue(64) && target.IsTaunted) Q.TryCast(target); if (MiscMenu.GetCheckBoxValue(65) && target.IsSuppressCallForHelp) Q.TryCast(target); if (MiscMenu.GetCheckBoxValue(66) && target.IsCharmed) Q.TryCast(target); } if (MiscMenu.GetCheckBoxValue(67)) { if (MiscMenu.GetCheckBoxValue(68) && target.IsStunned) W.TryCast(target); if (MiscMenu.GetCheckBoxValue(69) && target.IsRooted) W.TryCast(target); if (MiscMenu.GetCheckBoxValue(70) && target.IsFeared) W.TryCast(target); if (MiscMenu.GetCheckBoxValue(71) && target.IsTaunted) W.TryCast(target); if (MiscMenu.GetCheckBoxValue(72) && target.IsSuppressCallForHelp) W.TryCast(target); if (MiscMenu.GetCheckBoxValue(73) && target.IsCharmed) W.TryCast(target); } } }
public override void Lasthit() { var target = GetTarget(E); var minion = E.GetLasthitLaneMinion(); if (LastHitMenu.GetSliderValue(LastMenuID + "mana") >= Player.Instance.ManaPercent) return; if (LastHitMenu.GetCheckBoxValue(53)) { if (HarassMenu.GetCheckBoxValue(HarassMenuID + "Q")) Q.TryCast(target); if (HarassMenu.GetCheckBoxValue(HarassMenuID + "W")) W.TryCast(target); if (HarassMenu.GetCheckBoxValue(HarassMenuID + "E") && HarassMenu.GetSliderValue(49) <= Player.Instance.HealthPercent) { E.TryCast(target); } } else { if (LastHitMenu.GetCheckBoxValue(LastMenuID + "Q")) Q.TryCast(minion); if (LastHitMenu.GetCheckBoxValue(LastMenuID + "W")) W.TryCast(minion); } }
public override void Harass() { var target = GetTarget(Q); if (HarassMenu.GetCheckBoxValue(MenuIds.HarassUseQ)) { Q.TryCast(target); } if (HarassMenu.GetCheckBoxValue(MenuIds.HarassUseW)) { W.TryCast(target); } if (HarassMenu.GetCheckBoxValue(MenuIds.HarassUseE)) { E.TryCast(target); } if (HarassMenu.GetCheckBoxValue(MenuIds.HarassUseR)) { R.TryCast(target); } }
public static void Execute() { var target = TargetSelector.GetTarget(1300, DamageType.Magical); if (target == null) { return; } if (target.IsValidTarget(Q.Range) && HarassMenu.GetCheckBoxValue("qUse")) { Q.Cast(); } Core.DelayAction(delegate { if (target.IsValidTarget(E.Range) && HarassMenu.GetCheckBoxValue("eUse")) /*&& (!Program.ActiveE || FirstMenu.GetSliderValue("eDelay"))*/ { E.Cast(target); } }, Edelay); }
/// <summary> /// Put in here what you want to do when the mode is running /// </summary> public static void Execute() { var qtarget = TargetSelector.GetTarget(Q.Range, DamageType.Magical); var wtarget = TargetSelector.GetTarget(W.Range, DamageType.Magical); var etarget = TargetSelector.GetTarget(E.Range, DamageType.Magical); var rtarget = TargetSelector.GetTarget(R.Range, DamageType.Magical); if (HarassMenu.GetCheckBoxValue("qUse") && qtarget.IsValidTarget(SpellsManager.Q.Range) && Q.IsReady() && Q.GetPrediction(qtarget).HitChance >= HitChance.Medium) { Q.Cast(qtarget); } if (HarassMenu.GetCheckBoxValue("eUse") && E.IsReady() && etarget.IsValidTarget(SpellsManager.E.Range) && E.GetPrediction(etarget).HitChance >= HitChance.Medium) { E.Cast(etarget); } if (HarassMenu.GetCheckBoxValue("wUse") && W.IsReady() && wtarget.IsValidTarget(SpellsManager.W.Range) && W.GetPrediction(wtarget).HitChance >= HitChance.Medium) { W.Cast(wtarget); } }
public static void Execute() { var target = TargetSelector.GetTarget(Q2.Range, DamageType.Mixed); if (target == null) { return; } var targetW = TargetSelector.GetTarget(Player.Instance.BoundingRadius + 175, DamageType.Physical); var targetQ2 = TargetSelector.GetTarget(850, DamageType.Magical); var targetE = TargetSelector.GetTarget(550, DamageType.Physical); var targetE2 = TargetSelector.GetTarget(E2.Range, DamageType.Physical); if (!Program.burrowed) { if (HarassMenu.GetCheckBoxValue("qUse") && Q.IsReady() && targetE.IsValidTarget(100)) { Q.Cast(); } if (HarassMenu.GetCheckBoxValue("eUse") && E.IsReady()) { E.Cast(targetE); } } if (Program.IsBurrowed()) { if (HarassMenu.GetCheckBoxValue("q2Use") && Q2.IsReady()) { var predQ2 = Q2.GetPrediction(targetQ2); Q2.Cast(predQ2.CastPosition); } } }
public override void Harass() { var enemies = EntityManager.Heroes.Enemies.Where(t => t.IsValidTarget() && !t.HasUndyingBuff()).ToArray(); if (Q.IsReady() && HarassMenu.GetCheckBoxValue(MenuIds.HarassUseQ)) { var target = TargetSelector.GetTarget(enemies, DamageType.Physical); if (target == null || !Q.IsInRange(target)) { return; } LogicQ(target); } if (W.IsReady() && HarassMenu.GetCheckBoxValue(MenuIds.HarassUseW)) { var target = TargetSelector.GetTarget(enemies, DamageType.Magical); if (target == null || !W.IsInRange(target)) { return; } LogicW(target); } }
/// <summary> /// Put in here what you want to do when the mode is running /// </summary> public static void Execute() { var target = TargetSelector.GetTarget(1100, DamageType.Magical); if (SpellsManager.IsSpider) { // SPIDER COMBO if (HarassMenu.GetCheckBoxValue("q2Use") && Q2.IsReady() && target.IsValidTarget(SpellsManager.Q2.Range)) { Q2.Cast(target); } if (HarassMenu.GetCheckBoxValue("w2Use") && W2.IsReady()) { W2.Cast(); } if (HarassMenu.GetCheckBoxValue("e2Use") && E2.IsReady() && target.IsValidTarget(E2.Range)) { E2.Cast(target); } } else { //HUMAN if (HarassMenu.GetCheckBoxValue("eUse") && E.IsReady() && target.IsValidTarget(SpellsManager.E.Range) && E.GetPrediction(target).HitChance >= HitChance.Medium) { E.Cast(target); } if (HarassMenu.GetCheckBoxValue("qUse") && Q.IsReady() && target.IsValidTarget(SpellsManager.Q.Range)) { Q.Cast(target); } if (HarassMenu.GetCheckBoxValue("WUse") && W.IsReady() && target.IsValidTarget(W.Range)) { W.Cast(target); } } }
public override void PermaActive() { var ks = R.GetKillableTarget(); if (KillStealMenu.GetCheckBoxValue(KillstealMenuID + "Q")) { Q.TryCast(ks); } if (KillStealMenu.GetCheckBoxValue(KillstealMenuID + "E")) { E.TryCast(ks); } var target = GetTarget(E); if (HarassMenu.GetCheckBoxValue(AutoHarassMenuID + "E")) { E.TryCast(target); } if (MiscMenu.GetCheckBoxValue(57)) { if (MiscMenu.GetCheckBoxValue(59)) { if (MiscMenu.GetCheckBoxValue(60) && target.IsStunned) { Q.TryCast(target); } if (MiscMenu.GetCheckBoxValue(61) && target.IsRooted) { Q.TryCast(target); } if (MiscMenu.GetCheckBoxValue(62) && target.IsFeared) { Q.TryCast(target); } if (MiscMenu.GetCheckBoxValue(63) && target.IsTaunted) { Q.TryCast(target); } if (MiscMenu.GetCheckBoxValue(64) && target.IsSuppressCallForHelp) { Q.TryCast(target); } if (MiscMenu.GetCheckBoxValue(65) && target.IsCharmed) { Q.TryCast(target); } } if (MiscMenu.GetCheckBoxValue(66)) { if (MiscMenu.GetCheckBoxValue(67) && target.IsStunned) { E.TryCast(target); } if (MiscMenu.GetCheckBoxValue(68) && target.IsRooted) { E.TryCast(target); } if (MiscMenu.GetCheckBoxValue(69) && target.IsFeared) { E.TryCast(target); } if (MiscMenu.GetCheckBoxValue(70) && target.IsTaunted) { E.TryCast(target); } if (MiscMenu.GetCheckBoxValue(71) && target.IsSuppressCallForHelp) { E.TryCast(target); } if (MiscMenu.GetCheckBoxValue(72) && target.IsCharmed) { E.TryCast(target); } } } }
public override void PermaActive() { var ks = R.GetKillableTarget(); if (KillStealMenu.GetCheckBoxValue(KillstealMenuID + "W")) { W.TryCast(ks); } if (KillStealMenu.GetCheckBoxValue(KillstealMenuID + "R")) { R.TryCast(ks); } var target = GetTarget(W); if (HarassMenu.GetCheckBoxValue(AutoHarassMenuID + "W") && HarassMenu.GetSliderValue(AutoHarassMenuID + "mana") <= Player.Instance.ManaPercent) { W.TryCast(target); } if (MiscMenu.GetSliderValue(MiscMenuID + "mana") <= Player.Instance.ManaPercent && MiscMenu.GetCheckBoxValue(56)) { if (MiscMenu.GetCheckBoxValue(52)) { if (MiscMenu.GetCheckBoxValue(53) && target.IsStunned) { W.TryCast(target); } if (MiscMenu.GetCheckBoxValue(54) && target.IsRooted) { W.TryCast(target); } if (MiscMenu.GetCheckBoxValue(55) && target.IsFeared) { W.TryCast(target); } if (MiscMenu.GetCheckBoxValue(56) && target.IsTaunted) { W.TryCast(target); } if (MiscMenu.GetCheckBoxValue(57) && target.IsSuppressCallForHelp) { W.TryCast(target); } if (MiscMenu.GetCheckBoxValue(58) && target.IsCharmed) { W.TryCast(target); } } if (MiscMenu.GetCheckBoxValue(59)) { if (MiscMenu.GetCheckBoxValue(60) && target.IsStunned) { R.TryCast(target); } if (MiscMenu.GetCheckBoxValue(61) && target.IsRooted) { R.TryCast(target); } if (MiscMenu.GetCheckBoxValue(62) && target.IsFeared) { R.TryCast(target); } if (MiscMenu.GetCheckBoxValue(63) && target.IsTaunted) { R.TryCast(target); } if (MiscMenu.GetCheckBoxValue(64) && target.IsSuppressCallForHelp) { R.TryCast(target); } if (MiscMenu.GetCheckBoxValue(65) && target.IsCharmed) { R.TryCast(target); } } } }
/// <summary> /// Put in here what you want to do when the mode is running /// </summary> public static void Execute() { var target = TargetSelector.GetTarget(1250, DamageType.Magical); if (target == null) { return; } if (W.IsReady() && HarassMenu.GetCheckBoxValue("wUse")) { if (W.Handle.Ammo == 1 && HarassMenu.GetCheckBoxValue("wSave")) { return; } if (Orbwalker.AzirSoldiers.Any(x => !x.IsInRange(target, Orbwalker.AzirSoldierAutoAttackRange))) { W.Cast(W.GetPrediction(target).CastPosition); } if (Orbwalker.AzirSoldiers.Count == 0) { W.Cast(W.GetPrediction(target).CastPosition); } if (target.IsValidTarget(Q.Range - 25) && Q.IsReady() && Q.Handle.SData.Mana + W.Handle.SData.Mana < Azir.Mana) { var p = Azir.Distance(target, true) > W.RangeSquared ? Azir.Position.To2D().Extend(target.Position.To2D(), W.Range) : target.Position.To2D(); W.Cast((Vector3)p); } } if (Q.IsReady() && HarassMenu.GetCheckBoxValue("qUse")) { if (Orbwalker.AzirSoldiers.Any(x => x.IsInRange(target, Orbwalker.AzirSoldierAutoAttackRange))) { return; } Q.RangeCheckSource = Azir.ServerPosition; Q.SourcePosition = Orbwalker.AzirSoldiers.FirstOrDefault(s => s.IsAlly)?.ServerPosition; var pred = Q.GetPrediction(target); if (pred.HitChance >= hitchance) { Q.Cast(pred.CastPosition); } if (target.GetDamage(SpellSlot.Q) >= target.TotalShieldHealth()) { Q.Cast(Azir.Position.To2D().Extend(target.Position.To2D(), Q.Range).To3D()); } } if (Ehit(target) && E.IsReady() && HarassMenu.GetCheckBoxValue("eUse")) { if (target.IsUnderHisturret() && !HarassMenu.GetCheckBoxValue("eDive") || (target.CountEnemiesInRange(750) >= HarassMenu.GetSliderValue("eSave"))) { return; } E.TryToCast(target, HarassMenu); } }
public override void PermaActive() { var ks = R.GetKillableTarget(); if (KillStealMenu.GetCheckBoxValue(KillstealMenuID + "Q")) { Q.TryCast(ks); } if (KillStealMenu.GetCheckBoxValue(KillstealMenuID + "E")) { E.TryCast(ks); } if (KillStealMenu.GetCheckBoxValue(KillstealMenuID + "R")) { RJump(ComboMenu.GetCheckBoxValue(51) ? "KillstealGapcloser" : "Killsteal", ks); } var target = GetTarget(1200); if (HarassMenu.GetCheckBoxValue(AutoHarassMenuID + "Q")) { Q.TryCast(target); } if (HarassMenu.GetCheckBoxValue(AutoHarassMenuID + "E")) { E.TryCast(target); } if (MiscMenu.GetCheckBoxValue(54)) { if (MiscMenu.GetCheckBoxValue(56)) { if (MiscMenu.GetCheckBoxValue(57) && target.IsStunned) { Q.TryCast(target); } if (MiscMenu.GetCheckBoxValue(58) && target.IsRooted) { Q.TryCast(target); } if (MiscMenu.GetCheckBoxValue(59) && target.IsFeared) { Q.TryCast(target); } if (MiscMenu.GetCheckBoxValue(60) && target.IsTaunted) { Q.TryCast(target); } if (MiscMenu.GetCheckBoxValue(61) && target.IsSuppressCallForHelp) { Q.TryCast(target); } if (MiscMenu.GetCheckBoxValue(62) && target.IsCharmed) { Q.TryCast(target); } } if (MiscMenu.GetCheckBoxValue(63)) { if (MiscMenu.GetCheckBoxValue(64) && target.IsStunned) { E.TryCast(target); } if (MiscMenu.GetCheckBoxValue(65) && target.IsRooted) { E.TryCast(target); } if (MiscMenu.GetCheckBoxValue(66) && target.IsFeared) { E.TryCast(target); } if (MiscMenu.GetCheckBoxValue(67) && target.IsTaunted) { E.TryCast(target); } if (MiscMenu.GetCheckBoxValue(68) && target.IsSuppressCallForHelp) { E.TryCast(target); } if (MiscMenu.GetCheckBoxValue(69) && target.IsCharmed) { E.TryCast(target); } } } }