private static void OnInterruptableTarget(object obj, Events.InterruptableTargetEventArgs args) { if (MenuWrapper.Misc.RInterrupt.Value && R.IsReady() && args.DangerLevel >= DangerLevel.Medium && args.Sender.DistanceToPlayer() < 1200) { R.Cast(args.Sender.Position); } }
/// <summary> /// Called on interruptable spell. /// </summary> /// <param name="sender">The object.</param> /// <param name="args">The <see cref="Events.InterruptableTargetEventArgs" /> instance containing the event data.</param> public static void OnInterruptableTarget(object sender, Events.InterruptableTargetEventArgs args) { if (Invulnerable.Check(args.Sender, DamageType.Magical, false)) { return; } if (Vars.E.IsReady() && args.Sender.IsValidTarget(Vars.E.Range) && Vars.getCheckBoxItem(Vars.EMenu, "interrupter")) { if (!Vars.E.GetPrediction(args.Sender).CollisionObjects.Any()) { Vars.E.Cast(Vars.E.GetPrediction(args.Sender).UnitPosition); return; } } if (Vars.W.IsReady() && args.Sender.IsValidTarget(Vars.W.Range) && Vars.getCheckBoxItem(Vars.WMenu, "interrupter")) { Vars.W.Cast(Vars.W.GetPrediction(args.Sender).CastPosition); } }
private void OnInterruptableTarget(object sender, Events.InterruptableTargetEventArgs args) { if (R.IsReady() && args.DangerLevel >= LeagueSharp.SDK.DangerLevel.Medium && args.Sender.Distance(ObjectManager.Player) < 1300) { R.Cast(args.Sender.ServerPosition); } }
private void OnInterruptableTarget(object sender, Events.InterruptableTargetEventArgs args) { if (E.IsReady() && this.UseEGapclose && args.DangerLevel == LeagueSharp.SDK.DangerLevel.High && args.Sender.Distance(ObjectManager.Player) < 400) { E.Cast(ObjectManager.Player.Position.Extend(args.Sender.Position, -Misc.GiveRandomInt(300, 600))); } }
private static void OnInterruptableTarget(object sender, Events.InterruptableTargetEventArgs args) { if (EInterrupt && E.IsReady() && args.Sender.Distance(ObjectManager.Player) < 950) { E.Cast(args.Sender.Position); } }
/// <summary> /// Called on interruptable spell. /// </summary> /// <param name="sender">The object.</param> /// <param name="args">The <see cref="Events.InterruptableTargetEventArgs" /> instance containing the event data.</param> public static void OnInterruptableTarget(object sender, Events.InterruptableTargetEventArgs args) { if (Invulnerable.Check(args.Sender, DamageType.Magical, false)) { return; } if (Vars.E.IsReady() && args.Sender.IsValidTarget(Vars.E.Range) && Vars.getCheckBoxItem(Vars.EMenu, "interrupter")) { if (!Vars.E.GetPrediction(args.Sender).CollisionObjects.Any()) { Vars.E.Cast(Vars.E.GetPrediction(args.Sender).UnitPosition); return; } } if (Vars.W.IsReady() && args.Sender.IsValidTarget(Vars.W.Range) && Vars.getCheckBoxItem(Vars.WMenu, "interrupter")) { if (!ObjectManager.Get <Obj_AI_Minion>().Any( m => m.CharData.BaseSkinName.Equals("caitlyntrap") && m.Distance(Vars.W.GetPrediction(args.Sender).CastPosition) < 100f)) { Vars.W.Cast(Vars.W.GetPrediction(args.Sender).CastPosition); } } }
private void OnInterruptableTarget(object sender, Events.InterruptableTargetEventArgs args) { if (args.Sender.Distance(ObjectManager.Player) < 800) { E.Cast(args.Sender); } }
private void OnInterruptableTarget(object oSender, Events.InterruptableTargetEventArgs args) { /*var sender = args.Sender; * if (!GameObjects.AllyMinions.Any(m => !m.IsDead && m.CharData.BaseSkinName.Contains("trap") && m.Distance(sender.ServerPosition) < 100) && ObjectManager.Player.Distance(sender) < 550) * { * W.Cast(sender.ServerPosition); * }*/ }
/// <summary> /// Called on interruptable spell. /// </summary> /// <param name="sender">The object.</param> /// <param name="args">The <see cref="Events.InterruptableTargetEventArgs" /> instance containing the event data.</param> public static void OnInterruptableTarget(object sender, Events.InterruptableTargetEventArgs args) { if (Vars.R.IsReady() && args.Sender.IsValidTarget(Vars.R.Range) && Vars.Menu["spells"]["r"]["interrupter"].GetValue <MenuBool>().Value) { Vars.R.Cast(args.Sender.ServerPosition); } }
private void OnInterruptableTarget(object oSender, Events.InterruptableTargetEventArgs args) { var sender = args.Sender; if (!GameObjects.AllyMinions.Any(m => m.Position.Distance(sender.ServerPosition) < 100) && args.DangerLevel >= DangerLevel.Medium && ObjectManager.Player.Distance(sender) < 550) { W.Cast(sender.ServerPosition); } }
/// <summary> /// Called on interruptable spell. /// </summary> /// <param name="sender">The object.</param> /// <param name="args">The <see cref="Events.InterruptableTargetEventArgs" /> instance containing the event data.</param> public static void OnInterruptableTarget(object sender, Events.InterruptableTargetEventArgs args) { if (Vars.E.IsReady() && args.Sender.IsValidTarget(Vars.E.Range) && !Invulnerable.Check(args.Sender, DamageType.Magical, false) && Vars.Menu["spells"]["e"]["interrupter"].GetValue <MenuBool>().Value) { Vars.E.Cast(args.Sender.ServerPosition); } }
private static void OnInterruptableTarget(object obj, Events.InterruptableTargetEventArgs Args) { var target = Args.Sender; if (target.IsEnemy && target.IsCastingInterruptableSpell() && Menu["Tristana_Misc"]["Interrupt"] && R.IsReady() && target.IsValidTarget(R.Range)) { R.CastOnUnit(target); } }
/// <summary> /// Called on interruptable spell. /// </summary> /// <param name="sender">The sender.</param> /// <param name="args">The <see cref="Events.InterruptableTargetEventArgs" /> instance containing the event data.</param> public static void OnInterruptableTarget(object sender, Events.InterruptableTargetEventArgs args) { if (Vars.W.IsReady() && args.Sender.IsValidTarget(Vars.W.Range) && !Invulnerable.Check(args.Sender, DamageType.Physical, false) && Vars.Menu["spells"]["w"]["interrupter"].GetValue <MenuBool>().Value) { Vars.W.CastOnUnit(args.Sender); } }
private static void OnInterruptableTarget( object sender, Events.InterruptableTargetEventArgs interruptableTargetEventArgs) { if (Interruptenemyskills && e.IsReady() && interruptableTargetEventArgs.Sender.Distance(ObjectManager.Player) < 1000) { e.Cast(interruptableTargetEventArgs.Sender.Position); } }
/// <summary> /// Called on interruptable spell. /// </summary> /// <param name="sender">The sender.</param> /// <param name="args">The <see cref="Events.InterruptableTargetEventArgs" /> instance containing the event data.</param> public static void OnInterruptableTarget(object sender, Events.InterruptableTargetEventArgs args) { if (Vars.E.IsReady() && args.Sender.LSIsValidTarget(Vars.E.Range) && !Invulnerable.Check(args.Sender, DamageType.Magical, false) && Vars.getCheckBoxItem(Vars.EMenu, "interrupter")) { Vars.E.CastOnUnit(args.Sender); } }
private static void Events_OnInterruptableTarget(object sender, Events.InterruptableTargetEventArgs e) { if (GetBool(main_menu, "interrupt")) { if (e.Sender.DistanceToPlayer() < W.Range) { W.Cast(e.Sender.ServerPosition); } } }
/// <summary> /// Called on interruptable spell. /// </summary> /// <param name="sender">The sender.</param> /// <param name="args">The <see cref="Events.InterruptableTargetEventArgs" /> instance containing the event data.</param> public static void OnInterruptableTarget(object sender, Events.InterruptableTargetEventArgs args) { if (Vars.R.IsReady() && !Invulnerable.Check(args.Sender) && args.Sender.LSIsValidTarget(Vars.R.Range) && Vars.getCheckBoxItem(Vars.RMenu, "interrupter")) { Vars.R.Cast(args.Sender.ServerPosition); } }
private static void OnInterruptableTarget(object sender, Events.InterruptableTargetEventArgs args) { if (args.DangerLevel >= DangerLevel.High && Menu["E"]["Interrupt"]) { if (args.Sender.IsValidTarget(E.Range)) { E.CastOnUnit(args.Sender); } } }
private static void OnInterruptableTarget(object sender, Events.InterruptableTargetEventArgs args) { if (Menu["E"]["InterruptE"] && args.DangerLevel >= DangerLevel.High) { if (E.IsReady() && args.Sender.IsValidTarget(E.Range)) { E.Cast(); } } }
private static void Events_OnInterruptableTarget(object sender, Events.InterruptableTargetEventArgs e) { if (main_menu["taliyah.interrupt"].GetValue <MenuBool>().Value) { if (e.Sender.DistanceToPlayer() < W.Range) { W.Cast(e.Sender.ServerPosition, ObjectManager.Player.ServerPosition); } } }
private static void OnInterruptableTarget(object sender, Events.InterruptableTargetEventArgs args) { if (Menu["E"]["ImmeE"] && args.DangerLevel >= DangerLevel.High) { if (args.Sender.IsValidTarget(E.Range - 30) && E.IsReady() && Player.HealthPercent <= args.Sender.HealthPercent) { E.CastOnUnit(args.Sender); } } }
private static void Events_OnInterruptableTarget(object sender, Events.InterruptableTargetEventArgs e) { if (getCheckBoxItem(main_menu, "taliyah.interrupt")) { if (e.Sender.DistanceToPlayer() < W.Range) { W.Cast(e.Sender.ServerPosition); } } }
private static void OnInterruptableTarget(object obj, Events.InterruptableTargetEventArgs Args) { if (Menu["Ryze_Misc"]["WInt"] && W.IsReady() && Args.Sender.IsEnemy && Args.Sender is AIHeroClient) { if (Args.DangerLevel >= DangerLevel.High && Args.Sender.IsValidTarget(W.Range)) { W.CastOnUnit(Args.Sender); } } }
private void OnInterruptableTarget(object sender, Events.InterruptableTargetEventArgs args) { if (EInterrupt && args.Sender.Distance(ObjectManager.Player) < 750) { var pred = E.GetPrediction(args.Sender); if (!pred.CollisionObjects.Any()) { E.Cast(args.Sender); } } }
private static void OnInterruptableTarget(object obj, Events.InterruptableTargetEventArgs Args) { if (Menu["Ahri_Misc"]["EInt"] && Args.Sender.IsEnemy && Args.Sender.IsValidTarget(E.Range) && E.IsReady()) { if (Args.DangerLevel >= LeagueSharp.Data.Enumerations.DangerLevel.High || Args.Sender.IsCastingInterruptableSpell()) { E.Cast(Args.Sender); } } }
private static void OnInterruptableTarget(object sender, Events.InterruptableTargetEventArgs args) { if (!args.Sender.IsEnemy || !args.Sender.IsValidTarget(E.Range) || !E.IsReady()) { return; } if (args.DangerLevel >= LeagueSharp.Data.Enumerations.DangerLevel.High || args.Sender.IsCastingInterruptableSpell()) { CastSpell(E, args.Sender); } }
private void OnInterruptableTarget(object sender, Events.InterruptableTargetEventArgs args) { if (E.IsReady() && this.UseEGapclose && args.DangerLevel == DangerLevel.High && args.Sender.Distance(ObjectManager.Player) < 400) { var pos = ObjectManager.Player.Position.Extend(args.Sender.Position, -Misc.GiveRandomInt(300, 600)); if (pos.IsUnderEnemyTurret() && !ObjectManager.Player.IsUnderEnemyTurret()) { return; } E.Cast(pos); } }
private static void Events_OnInterruptableTarget(object sender, Events.InterruptableTargetEventArgs e) { if (!Config.Misc.AutoInterrupt.Enabled) { return; } if (Config.Misc.AutoInterrupt.UseR && SpellManager.R.IsReady() && e.Sender.IsValidTarget(SpellManager.R.Range)) { Extensions.CastR(e.Sender); } }
private static void OnInterruptableTarget(object sender, Events.InterruptableTargetEventArgs Args) { var target = Args.Sender; if (Menu["Blitzcrank_Misc"]["Interrupt"] && target.IsEnemy && target.IsValidTarget(R.Range) && R.IsReady()) { if (Args.DangerLevel >= LeagueSharp.Data.Enumerations.DangerLevel.High || target.IsCastingInterruptableSpell()) { R.Cast(); } } }
/// <summary> /// Called on interruptable spell. /// </summary> /// <param name="sender">The sender.</param> /// <param name="args">The <see cref="Events.InterruptableTargetEventArgs" /> instance containing the event data.</param> public static void OnInterruptableTarget(object sender, Events.InterruptableTargetEventArgs args) { if (GameObjects.Player.IsDead || !Invulnerable.Check(args.Sender, DamageType.Magical, false)) { return; } if (Vars.R.IsReady() && args.Sender.IsValidTarget(Vars.R.Range) && Vars.Menu["spells"]["r"]["interrupter"].GetValue <MenuBool>().Value) { Vars.R.CastOnUnit(args.Sender); } }