private static void OnInterruptableTarget(AIHeroClient sender, Interrupter.InterruptSpellArgs args) { var intermenu = _Misc.InterruptSpells.Enabled; var eqintermenu = _Misc.eqinter.Enabled; var rintermenu = _Misc.rinter.Enabled; if (intermenu) { if (ObjectManager.Player.Distance(sender) < Q.Range && Q.IsReady()) { Q.Cast(); ObjectManager.Player.IssueOrder(GameObjectOrder.AttackUnit, sender); } if (ObjectManager.Player.Distance(sender) < E.Range && E.IsReady() && Q.IsReady()) { if (eqintermenu) { Q.Cast(); E.CastIfHitchanceEquals(sender, HitChance.High, true); ObjectManager.Player.IssueOrder(GameObjectOrder.AttackUnit, sender); } } else if (ObjectManager.Player.Distance(sender) > E.Range) { if (rintermenu) { if (ObjectManager.Player.Distance(sender) < R.Range && R.IsReady()) { R.CastIfHitchanceEquals(sender, HitChance.High, true); } } } } }
private static void Interrupter2_OnInterruptableTarget(AIHeroClient unit, Interrupter.InterruptSpellArgs args) { if (E.IsReady() && unit.IsValidTarget(550) && getMenuBoolItem(emenu, "Int_E") && unit.IsEnemy) { E.Cast(unit); } }
static void Interrupter_OnPossibleToInterrupt(AIBaseClient unit, Interrupter.InterruptSpellArgs args) { if (args.DangerLevel >= Interrupter.DangerLevel.High && unit.Distance(Player.Position) <= _q.Range) { _q.Cast(unit); } }
private static void Interrupter_OnInterrupterSpell(AIHeroClient sender, Interrupter.InterruptSpellArgs args) { if (mainMenu["Combo"].GetValue <MenuBool>("intR").Enabled&& GameObjects.Player.Distance(sender) < R.Range && R.IsReady()) { R.Cast(); } }
private static void OnPossibleToInterrupt(AIHeroClient target, Interrupter.InterruptSpellArgs args) { if (args.DangerLevel < Interrupter.DangerLevel.High || target.IsAlly) { return; } if (LeonaMenu["Interrupt Settings"]["InterruptQ"].GetValue <MenuBool>().Enabled&& Q.IsReady()) { if (Q.CanCast(target)) { if (Q.Cast()) { Orbwalker.ResetAutoAttackTimer(); Player.IssueOrder(GameObjectOrder.AttackUnit, target); } return; } } if (LeonaMenu["Interrupt Settings"]["InterruptR"].GetValue <MenuBool>().Enabled&& R.IsReady()) { if (R.CanCast(target)) { R.Cast(target); } } }
private static void Interrupter_OnInterruptableTarget(AIHeroClient sender, Interrupter.InterruptSpellArgs args) { if (R.IsReady() && sender.IsValidTarget(E.Range) && Config["Misc"].GetValue <MenuBool>("interrupt")) { R.CastOnUnit(sender); } }
private static void OnInterrupterSpell(AIHeroClient sender, Interrupter.InterruptSpellArgs args) { if (E.IsReady() && Config[Player.CharacterName]["EConfig"].GetValue <MenuBool>("Int").Enabled&& sender.IsValidTarget(E.Range)) { E.CastOnUnit(sender); } }
public static void OnInterrupterSpell(AIHeroClient sender, Interrupter.InterruptSpellArgs args) { if (sender.IsMe || sender.IsAlly) { return; } if (SpellManager.Q.IsReady() && MenuManager.MiscInterrupterMenu["Q"].GetValue <MenuBool>().Enabled&& args.DangerLevel >= Interrupter.DangerLevel.Medium) { var getPrediction = SpellManager.Q.GetPrediction(sender, true); if (SpellManager.Q.SData.Name == "AurelionSolQ") { if (sender.IsValidTarget(SpellManager.Q.Range) && getPrediction.Hitchance >= HitChance.High && InterrupterQ) { SpellManager.Q.Cast(getPrediction.CastPosition); InterrupterQ = false; DelayAction.Add(2000, () => InterrupterQ = true); } } else if (SpellManager.Q.SData.Name == "AurelionSolQCancelButton") { if (AurelionSolQMissile != null && sender.IsValidTarget(150f, false, AurelionSolQMissile.Position)) { SpellManager.Q.Cast(); } } } }
private static void InterrupterOnOnInterrupterSpell(AIHeroClient sender, Interrupter.InterruptSpellArgs args) { if (sender.IsEnemy && sender.Distance(Player) < Q.Range) { Q.CastOnUnit(sender); } }
private static void Interrupter_OnInterrupterSpell(AIHeroClient sender, Interrupter.InterruptSpellArgs args) { if (sender.IsMe) { return; } if (args.DangerLevel >= Interrupter.DangerLevel.Low && W.IsReady() && sender.IsValidTarget(W.Range)) { if (Player.CanUseItem((int)ItemId.Tiamat) || Player.CanUseItem((int)ItemId.Ravenous_Hydra) || Player.CanUseItem((int)ItemId.Tiamat_Melee_Only) || Player.CanUseItem((int)ItemId.Ravenous_Hydra_Melee_Only) ) { Player.UseItem((int)ItemId.Tiamat); Player.UseItem((int)ItemId.Ravenous_Hydra_Melee_Only); Player.UseItem((int)ItemId.Ravenous_Hydra); Player.UseItem((int)ItemId.Tiamat_Melee_Only); DelayAction.Add(1, () => { W.Cast(sender); }); } else { DelayAction.Add(1, () => { W.Cast(sender); }); } } }
private void OnInterrupterSpell(AIHeroClient sender, Interrupter.InterruptSpellArgs args) { if (E.IsReady() && sender.IsValidTarget(E.Range)) { E.Cast(sender); } }
private static void DangerousSpellsInterupt(AIHeroClient sender, Interrupter.InterruptSpellArgs args) { if (Main[Gamer.CharacterName]["interrupt"]["interruptR"] && R.IsReady() && args.DangerLevel >= Interrupter.DangerLevel.Medium && sender.DistanceToPlayer() < 1500 && sender.IsEnemy) { R.Cast(sender.Position); } }
static void Interrupter2_OnInterruptableTarget(AIHeroClient sender, Interrupter.InterruptSpellArgs args) { if (!Config["Misc"].GetValue <MenuBool>("InterruptSpells")) { return; } if (args.DangerLevel <= Interrupter.DangerLevel.Medium) { return; } if (sender.IsAlly) { return; } if (R.IsReady()) { Q.Cast(sender, true); if (BallManager.BallPosition.Distance(sender.Position) < R.Range * R.Range) { R.Cast(Player.Position, true); } } }
private static void OnInterrupterSpell(AIHeroClient sender, Interrupter.InterruptSpellArgs args) { if (ObjectManager.Player.IsDead || ObjectManager.Player.IsRecalling()) { return; } if (MenuGUI.IsChatOpen || MenuGUI.IsShopOpen) { return; } if (Q.IsCharging || ObjectManager.Player.HasBuff("XerathLocusOfPower2")) { return; } if (MenuWrapper.Misc.EAntiGapcloser.Enabled && E.IsReady() && args.DangerLevel >= Interrupter.DangerLevel.Medium && sender.DistanceToPlayer() < E.Range) { var pred = E.GetPrediction(sender); if (pred.Hitchance >= HitChance.High) { E.Cast(pred.CastPosition); } } }
private static void OnInterrupterSpell(AIHeroClient sender, Interrupter.InterruptSpellArgs args) { if (MenuSettings.Misc.interrupter.Enabled && args.DangerLevel >= Interrupter.DangerLevel.High) { if (!sender.IsValidTarget(Q.Range)) { return; } if (E.IsReady() && getBuffCounts() == 3) { E.Cast(); } if (objPlayer.HasBuff("anniepassiveprimed")) { if (W.IsReady() && sender.IsValidTarget(W.Range)) { W.Cast(sender.Position); return; } else if (Q.IsReady() && sender.IsValidTarget(Q.Range)) { Q.Cast(sender); return; } else if (R.IsReady() && sender.IsValidTarget(R.Range)) { R.Cast(sender.Position); return; } } } }
private static void OnInterrupterSpell(AIHeroClient target, Interrupter.InterruptSpellArgs args) { if (MenuWrapper.Misc.WI.Enabled && W.IsReady() && args.DangerLevel >= Interrupter.DangerLevel.Medium && target.DistanceToPlayer() < 660) { W.Cast(target.Position); } }
private void Interrupter_OnPosibleToInterruptEvent( AIHeroClient sender, Interrupter.InterruptSpellArgs args ) { Interrupter_OnPosibleToInterrupt(sender, args); }
static void OnInterrupterSpell(AIHeroClient sender, Interrupter.InterruptSpellArgs args) { if (!mainMenu["Misc"].GetValue <MenuBool>("Interrupter").Enabled) { return; } if (args.DangerLevel <= Interrupter.DangerLevel.Low) { return; } if (sender.IsAlly) { return; } if (sender.IsEnemy && W.IsReady() && sender.Distance(GameObjects.Player) <= W.Range) { W.Cast(sender); } else { if (sender.IsEnemy && Q.IsReady() && sender.Distance(GameObjects.Player) <= Q.Range) { Q.Cast(sender); } } }
private static void InterrupterSpellHandler(AIHeroClient sender, Interrupter.InterruptSpellArgs args) { if (Config["extra"].GetValue <MenuBool>("autoInter") && (int)args.DangerLevel > 0) { knockAway(sender); } }
static void InterrupterSpellHandler(AIHeroClient sender, Interrupter.InterruptSpellArgs args) { if (!Config["Misc"].GetValue <MenuBool>("InterruptSpells")) { return; } E.Cast(sender); }
private void Interrupter2_OnInterruptableTarget(AIHeroClient sender, Interrupter.InterruptSpellArgs args) { if (args.Sender.IsAlly) { return; } W.Cast(args.Sender); }
private static void Interrupter_OnPossibleToInterrupt(AIBaseClient sender, Interrupter.InterruptSpellArgs args) { if (_e.IsReady() && _q.IsReady() && sender.IsValidTarget(_q.Range) && _config["misc"]["UseEQInt"].GetValue <MenuBool>().Enabled && _e.GetPrediction(sender).Hitchance >= Echange()) { _e.Cast(sender, Packets()); } _q.Cast(sender, Packets()); }
internal static void Interrupter2_OnInterruptableTarget(AIHeroClient sender, Interrupter.InterruptSpellArgs args) { if (sender.IsValidTarget(Lib.Spellbook["E"].Range) && Lib.Spellbook["E"].IsReady()) { if (Config["rmenu"].GetValue <MenuBool>("useeint").Enabled) { Lib.Spellbook["E"].Cast(sender.PreviousPosition); } } }
/// <summary> /// Gets the value. /// </summary> /// <typeparam name="T">Type of value to get.</typeparam> /// <param name="name">The name.</param> /// <returns>The type of value.</returns> /// <summary> /// Called when a unit is casting a spell that can be interrupted. /// </summary> /// <param name="sender">The sender.</param> /// <param name="args">The <see cref="Interrupter2.InterruptableTargetEventArgs" /> instance containing the event data.</param> private static void Interrupter2OnOnInterruptableTarget( AIHeroClient sender, Interrupter.InterruptSpellArgs args) { if (!sender.IsValidTarget(E.Range) || args.DangerLevel == Interrupter.DangerLevel.Low) { return; } E.Cast(sender); }
private static void Interrupter2_OnInterruptableTarget( AIHeroClient sender, Interrupter.InterruptSpellArgs args) { if (!sender.IsValidTarget(R.Range) || args.DangerLevel != Interrupter.DangerLevel.High || args.EndTime - Environment.TickCount < 500 || !miscMenu["UseRInterrupt"].GetValue <MenuBool>()) { return; } R.Cast(sender); }
/*private static bool Packets() * { * return _config.Item("usePackets").GetValue<bool>(); * }*/ private static void Interrupter2_OnInterruptableTarget( AIHeroClient unit, Interrupter.InterruptSpellArgs args) { if (!getMenuBoolItem(miscMenu, "UseEInt")) { return; } if (unit.IsValidTarget(_humanE.Range) && _humanE.GetPrediction(unit).Hitchance >= HitChance.Low) { _humanE.Cast(unit); } }
private void OnInterrupt(AIHeroClient sender, Interrupter.InterruptSpellArgs args) { bool onI = GetMenu.GetBoolOption("IE"); if (onI) { if (sender.Distance(GameObjects.Player) < 300 && GetSpells.GetE.IsInRange(sender)) { GetSpells.GetE.Cast(sender.Position); } } }
private static void OnInterrupterSpell(AIHeroClient sender, Interrupter.InterruptSpellArgs args) { if (!Config[Player.CharacterName]["QConfig"].GetValue <MenuBool>("intQ").Enabled || !Q.IsReady()) { return; } if (sender.IsValidTarget(Q.Range)) { Q.Cast(sender); } }
public static void interrupt( AIHeroClient sender, Interrupter.InterruptSpellArgs args ) { if (sender.IsEnemy && W.IsReady() && sender.IsValidTarget() && !sender.IsZombie && Winterrupt) { if (sender.IsValidTarget(125 + Player.BoundingRadius + sender.BoundingRadius)) { W.Cast(); } } }
public static void Interupt(AIBaseClient sender, Interrupter.InterruptSpellArgs i) { var Inter = Misc["inter"].GetValue <MenuBool>().Enabled; if (!sender.IsEnemy || !(sender is AIHeroClient) || Player.Instance.IsRecalling()) { return; } if (Inter && E.IsReady() && i.DangerLevel == DangerLevel.Medium && E.IsInRange(sender)) { E.Cast(sender.Position); } }