public override void AntiGapcloser_OnEnemyGapCloser(ActiveGapcloser gapcloser) { if (!GetValue<bool>("AntiGap")) return; if (E.IsReady()) { E.Cast(gapcloser.Sender); } }
void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (MenuHelper.isMenuEnabled("dz191.vhr.misc.general.antigp")) { if (gapcloser.Sender.IsValidTarget(_spells[SpellSlot.E].Range) && gapcloser.End.Distance(ObjectManager.Player.ServerPosition) <= 375f) { _spells[SpellSlot.E].Cast(gapcloser.Sender); } } }
public override void OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (Q.CastCheck(gapcloser.Sender, "GapcloserQ")) { } if (W.CastCheck(gapcloser.Sender, "GapcloserW")) { } if (E.CastCheck(gapcloser.Sender, "GapcloserE")) { } if (R.CastCheck(gapcloser.Sender, "GapcloserR")) { } }
public static void DoAntigapclose(ActiveGapcloser gapcloser) { Chat.Print("Detected GC"); if (gapcloser.Sender.IsAlly || gapcloser.Sender.IsDead || gapcloser.Sender.IsMe) { return; } Chat.Print("Enemy GC"); var w = miscMenu.GetCheckbox("agW") && W.IsReady(); var e = miscMenu.GetCheckbox("agE") && E.IsReady(); if (w && gapcloser.Sender.IsEnemy && gapcloser.Sender.IsDashing() && gapcloser.Sender.IsValidTarget(W.Range)) { W.Cast(); } if (e && gapcloser.Sender.IsEnemy && gapcloser.Sender.IsDashing() && gapcloser.Sender.IsValidTarget(E.Range)) { E.Cast(); } }
private void OnGapClose(ActiveGapcloser gapcloser) { if (AzirMenu.GapCloserMenu["UseRGapcloser"].Cast <CheckBox>().CurrentValue) { if (gapcloser.End.Distance(azir.Hero.ServerPosition) < azir.Spells.R.Range) { for (int i = 0; i < azir.GapcloserNum; i++) { if (AzirMenu.GapCloserMenu["G" + i].Cast <CheckBox>().CurrentValue) { if ( azir.gapcloserList.FindGapCloserBy(gapcloser.Sender.ChampionName, gapcloser.Slot) .getName == azir.Gapcloser[i]) { azir.Spells.R.Cast(gapcloser.Sender); } } } } } }
private void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (MenuProvider.Champion.Misc.UseAntiGapcloser) { if (gapcloser.End.Distance(ObjectManager.Player.Position) <= 200) { if (R.isReadyPerfectly()) { if (gapcloser.Sender.IsValidTarget(R.Range)) { R.Cast(gapcloser.Sender); } } else if (gapcloser.Sender.IsValidTarget(E.Range)) { E.Cast(gapcloser.Sender, false, true); } } } }
internal static void Init(ActiveGapcloser Args) { var sender = Args.Sender; if (!SpellManager.HaveStun && SpellManager.BuffCounts == 3 && E.IsReady() && Menu.GetBool("AntiGapcloserE")) { E.Cast(); } if (SpellManager.HaveStun) { if (Q.IsReady() && Menu.GetBool("AntiGapcloserQ") && sender.IsValidTarget(300)) { Q.Cast(sender, true); } else if (W.IsReady() && Menu.GetBool("AntiGapcloserW") && sender.IsValidTarget(250)) { W.Cast(sender, true); } } }
private static void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (ObjectManager.Player.Mana > RMANA + EMANA && ObjectManager.Player.Position.Extend(Game.CursorPos, E.Range).CountEnemiesInRange(400) < 3) { var Target = (Obj_AI_Hero)gapcloser.Sender; if (Target.IsValidTarget(E.Range) && E.IsReady()) { if (Config.Item("AGCE").GetValue <bool>() && E.IsReady()) { E.Cast(ObjectManager.Player.Position.Extend(Game.CursorPos, E.Range), true); debug("E AGC"); } if (Config.Item("AGCW").GetValue <bool>() && W.IsReady()) { W.Cast(ObjectManager.Player.Position, true); debug("W AGC"); } } } return; }
public override void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (gapcloser.Sender.IsEnemy) { if (Player.Distance(gapcloser.End) <= 200) { if (Player.Spellbook.GetSpell(SpellSlot.Q).Name.Equals("JavelinToss")) { if (R.IsReady()) { R.Cast(); AntiGapClose(W); } } else { AntiGapClose(W); } } } }
public override void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (GetValue <bool>("Misc.E.Antigapcloser")) { if (gapcloser.End.Distance(ObjectManager.Player.Position) <= 200) { if (E.IsReady()) { if (gapcloser.Sender.IsValidTarget(E.Range)) { E.CastOnUnit(gapcloser.Sender); } } } } if (GetValue <bool>("Misc.Q.Antigapcloser") && Q.IsReady() && gapcloser.Sender.IsValidTarget(Q.Range)) { Q.CastOnUnit(gapcloser.Sender); } }
public override void OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (gapcloser.Sender.IsAlly) { return; } if (this.E.CastCheck(gapcloser.Sender, "GapcloserE")) { if (this.E.Cast()) { Orbwalking.ResetAutoAttackTimer(); EloBuddy.Player.IssueOrder(GameObjectOrder.AttackUnit, gapcloser.Sender); } } if (this.R.CastCheck(gapcloser.Sender, "GapcloserR")) { this.R.Cast(); } }
private void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (MenuProvider.Champion.Misc.UseAntiGapcloser) { if (gapcloser.Sender.IsValidTarget(_w.Range)) { PickACard(Cards.Gold); if (ObjectManager.Player.HasBuff("goldcardpreattack")) { if (Orbwalking.InAutoAttackRange(gapcloser.Sender)) { if (Orbwalking.CanAttack()) { ObjectManager.Player.IssueOrder(GameObjectOrder.AttackUnit, gapcloser.Sender); } } } } } }
static void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (gapcloser.Sender.IsAlly) { return; } var enable = menu.Item("GapCloser.Enable").GetValue <bool>(); if (enable) { if (E.IsReady() && E.IsInRange(gapcloser.Sender)) { E.CastOnUnit(gapcloser.Sender); } if (Q.IsReady() && Q.IsInRange(gapcloser.Sender) && gapcloser.Sender.HasBuff("brandablaze")) { Q.CastIfHitchanceEquals(gapcloser.Sender, HitChance.High); } } }
private static void OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (!Config.Item("AntiGap").GetValue <bool>()) { return; } if (!E.IsReady() || !(Player.Distance(gapcloser.Sender, true) <= Math.Pow(Qe.Range, 2)) || !gapcloser.Sender.IsValidTarget(Qe.Range)) { return; } if (Q.IsReady() && Player.Spellbook.GetSpell(SpellSlot.Q).ManaCost + Player.Spellbook.GetSpell(SpellSlot.E).ManaCost <= Player.Mana) { Helper.UseQe(gapcloser.Sender); } else if (Player.Distance(gapcloser.Sender, true) <= Math.Pow(E.Range, 2)) { E.Cast(gapcloser.End); } }
private void OnEnemyGapcloser(ActiveGapcloser args) { try { if (!args.Sender.IsEnemy) { return; } if (HeroListManager.Check("w-gapcloser", args.Sender)) { if (args.End.Distance(Player.Position) < W.Range) { W.Cast(args.End); } } } catch (Exception ex) { Global.Logger.AddItem(new LogItem(ex)); } }
private static void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { var Target = (Obj_AI_Hero)gapcloser.Sender; if (Q.IsReady() && Config.Item("AGCQ").GetValue <bool>()) { if (Target.IsValidTarget(Q.Range)) { Q.Cast(Player.Position); debug("AGC Q"); } } else if (W.IsReady() && Config.Item("AGCW").GetValue <bool>()) { if (Target.IsValidTarget(W.Range)) { W.Cast(Player.Position); debug("AGC W"); } } }
public static void Gapcloser(ActiveGapcloser gapcloser) { var t = gapcloser.Sender; if (!t.IsEnemy || !t.IsValidTarget(Spells.W.Range + t.BoundingRadius)) { return; } if (Spells.W.IsReady()) { Spells.W.Cast(t); } if (Qstack != 3) { return; } Spells.Q.Cast(gapcloser.End); }
static void OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (gapcloser.Sender.IsAlly) { return; } if (!_Menu.Item("gapclose").GetValue <bool>()) { return; } if (E.IsReady() && gapcloser.Sender.IsValidTarget(E.Range)) { E.CastOnUnit(gapcloser.Sender); } if (Q.IsReady() && gapcloser.Sender.IsValidTarget(Q.Range) && gapcloser.Sender.HasBuff("brandablaze")) { Q.CastIfHitchanceEquals(gapcloser.Sender, HitChance.High); } }
private void OnGapClose(ActiveGapcloser gapcloser) { if (azir.Menu.GetMenu.Item("UseRGapcloser").GetValue <bool>()) { if (gapcloser.End.Distance(azir.Hero.ServerPosition) < azir.Spells.R.Range) { for (int i = 0; i < azir.GapcloserNum; i++) { if (azir.Menu.GetMenu.Item("G" + i).GetValue <bool>()) { if ( azir.gapcloserList.FindGapCloserBy(gapcloser.Sender.ChampionName, gapcloser.Slot) .getName == azir.Gapcloser[i]) { azir.Spells.R.Cast(gapcloser.Sender); } } } } } }
static void OnGapClose(ActiveGapcloser args) { if (Player.IsDead) { return; } var sender = args.Sender; if (LissUtils.Active("Interrupter.AntiGapClose") && sender.IsValidTarget()) { if (LissUtils.Active("Interrupter.AG.UseW") && Vector3.Distance(args.End, Player.ServerPosition) <= Spells["W"].Range) { Utility.DelayAction.Add(300, () => Spells["W"].CastOnUnit(Player)); return; } if (LissUtils.Active("Interrupter.AG.UseR") && !LissUtils.Active("Blacklist." + sender.ChampionName) && Vector3.Distance(sender.ServerPosition, Player.ServerPosition) <= Spells["R"].Range) { Spells["R"].Cast(sender); } } }
static void GravesReverseGapclose(ActiveGapcloser gapcloser) { var attacker = gapcloser.Sender; if (attacker.IsValidTarget()) { if (Buckshot.IsReady() && attacker.Distance(Me.ServerPosition) <= 475) { Buckshot.Cast(attacker); } if (Smokescreen.IsReady() && MainMenu.Item("usewongap").GetValue <bool>()) { if (attacker.Distance(Me.ServerPosition) < 420 && attacker.Distance(Me.ServerPosition) > 300) { Smokescreen.Cast(attacker); } } } }
private static void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { try { if (_MainMenu.Item("Alistar_Anti-Order").GetValue <StringList>().SelectedIndex == 0) { if (_Q.IsReady() && gapcloser.Sender.Position.Distance(Player.Position) < _Q.Range && AntiTime < Environment.TickCount && _MainMenu.Item("Alistar_Anti-Q").GetValue <bool>()) { _Q.Cast(true); AntiTime = TickCount(1000); } if (_W.IsReady() && gapcloser.Sender.Position.Distance(Player.Position) < _W.Range && AntiTime < Environment.TickCount && _MainMenu.Item("Alistar_Anti-W").GetValue <bool>()) { _W.Cast(gapcloser.Sender, true); AntiTime = TickCount(1000); } } if (_MainMenu.Item("Alistar_Anti-Order").GetValue <StringList>().SelectedIndex == 1) { if (_W.IsReady() && gapcloser.Sender.Position.Distance(Player.Position) < _W.Range && AntiTime < Environment.TickCount && _MainMenu.Item("Alistar_Anti-W").GetValue <bool>()) { _W.Cast(gapcloser.Sender, true); AntiTime = TickCount(1000); } if (_Q.IsReady() && gapcloser.Sender.Position.Distance(Player.Position) < _Q.Range && AntiTime < Environment.TickCount && _MainMenu.Item("Alistar_Anti-Q").GetValue <bool>()) { _Q.Cast(true); AntiTime = TickCount(1000); } } } catch (Exception) { if (NowTime() > ErrorTime) { Chat.Print(ChampName + " in FreshBooster isn't Load. Error Code 07"); ErrorTime = TickCount(10000); } } }
public override void OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (gapcloser.Sender.IsAlly) { return; } if (this.Q.CastCheck(gapcloser.Sender, "Gapcloser.Q") && !this.Q.IsCharging) { var pred = this.Q.GetPrediction(gapcloser.Sender); if (pred.Hitchance >= HitChance.Medium) { this.Q.Cast(pred.CastPosition); this.DelayQ = true; } } if (this.W.CastCheck(gapcloser.Sender, "Gapcloser.W")) { this.W.CastOnUnit(gapcloser.Sender); } }
private static void OnEnemyGapcloser(ActiveGapcloser gapcloser) { var e = gapcloser.Sender; if (Menu.Item("nightmoon.misc.eqgap", true).GetValue <bool>() && e.IsValidTarget(E.Range)) { if (HavePassive(e)) { if (Q.IsReady()) { Q.CastTo(e); } } else if (!HavePassive(e)) { if (E.IsReady()) { E.CastOnUnit(e, true); } } } }
public override void OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (gapcloser.Sender.IsAlly) { return; } if (Q.CastCheck(gapcloser.Sender, "Gapcloser.Q")) { var pred = Q.GetPrediction(gapcloser.Sender); if (pred.Hitchance >= HitChance.High) { Q.Cast(pred.CastPosition, UsePackets); Q.Cast(); } } if (W.CastCheck(gapcloser.Sender, "Gapcloser.W")) { W.CastOnUnit(gapcloser.Sender, UsePackets); } }
private static void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { try { if (_MainMenu.Item("Poppy_Gap_W").GetValue <bool>() && _W.IsReady()) { _W.Cast(); return; } if (_MainMenu.Item("Poppy_Gap_E").GetValue <bool>() && _E.IsReady()) { var FinalPosition = gapcloser.Sender.BoundingRadius + gapcloser.Sender.Position.Extend(ObjectManager.Player.Position, -360); if (FinalPosition.IsWall()) { _E.Cast(gapcloser.Sender, true); } return; } if (_MainMenu.Item(gapcloser.Sender.ChampionName).GetValue <bool>() && _R.IsReady()) { if (!_R.IsCharging) { _R.StartCharging(); Rsender.Sender = gapcloser.Sender; Rsender.Enable = true; Rsender.Type = "gap"; } } } catch (Exception) { if (NowTime() > ErrorTime) { Chat.Print(ChampName + " in FreshBooster isn't Load. Error Code 07"); ErrorTime = TickCount(10000); } } }
private void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (DashSpell.IsReady() && Config.Item("EGCchampion" + gapcloser.Sender.ChampionName, true).GetValue <bool>()) { int GapcloserMode = Config.Item("GapcloserMode", true).GetValue <StringList>().SelectedIndex; if (GapcloserMode == 0) { var bestpoint = Player.Position.Extend(Game.CursorPos, DashSpell.Range); if (IsGoodPosition(bestpoint)) { DashSpell.Cast(bestpoint); } } else { var points = OktwCommon.CirclePoints(10, DashSpell.Range, Player.Position); var bestpoint = Player.Position.Extend(gapcloser.Sender.Position, -DashSpell.Range); int enemies = bestpoint.CountEnemiesInRange(DashSpell.Range); foreach (var point in points) { int count = point.CountEnemiesInRange(DashSpell.Range); if (count < enemies) { enemies = count; bestpoint = point; } else if (count == enemies && Game.CursorPos.Distance(point) < Game.CursorPos.Distance(bestpoint)) { enemies = count; bestpoint = point; } } if (IsGoodPosition(bestpoint)) { DashSpell.Cast(bestpoint); } } } }
private static void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser g) { var doGap = Config.Item("gapclose").GetValue <bool>(); if (!doGap) { return; } if (!Config.Item("GC." + g.Sender.BaseSkinName).GetValue <bool>()) { return; } //possible can kill if (g.Sender.IsValidTarget() && !Player.Position.Extend(Game.CursorPos, W.Range).IsWall() && W.IsReady() && Player.HealthPercentage() < 70 && Player.HealthPercentage() < g.Sender.HealthPercentage() + 20 && !Q.IsReady() && Player.Position.CountEnemiesInRange(600) > 1 && Player.Position.Extend(Game.CursorPos, W.Range).CountEnemiesInRange(400) < 1) { W.Cast(Player.Position.Extend(Game.CursorPos, W.Range)); } else if (g.Sender.IsValidTarget() && !Player.Position.Extend(Game.CursorPos, W.Range).IsWall() && W.IsReady() && Player.CountEnemiesInRange(400) >= 3 && Player.Position.Extend(Game.CursorPos, W.Range).CountEnemiesInRange(500) < 2) { W.Cast(Player.Position.Extend(Game.CursorPos, W.Range)); } }
protected override void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (!menu.Item("W_Gap", true).GetValue <bool>()) { return; } if (!HasStun() || !gapcloser.Sender.IsValidTarget(Q.Range)) { return; } if (W.IsReady()) { W.Cast(gapcloser.Sender); return; } if (Q.IsReady()) { Q.Cast(gapcloser.Sender); } }
static void OnGapClose(ActiveGapcloser args) { if (Player.IsDead || Player.recalling()) { return; } var sender = args.Sender; if (CassioUtils.getCheckBoxItem(CassiopeiaMenu.Interrupter, "Interrupter.AntiGapClose") && sender.LSIsValidTarget()) { if (CassioUtils.getCheckBoxItem(CassiopeiaMenu.Interrupter, "Interrupter.AG.UseR") && Vector3.Distance(args.End, Player.ServerPosition) <= Spells[SpellSlot.R].Range && sender.LSIsFacing(Player)) { //Spells[SpellSlot.R].SPredictionCast(sender, CassioUtils.GetHitChance("Hitchance.R")); var pred = Spells[SpellSlot.R].GetPrediction(sender); if (pred.Hitchance >= HitChance.VeryHigh && sender.LSIsFacing(Player)) { Spells[SpellSlot.R].Cast(pred.CastPosition); } } } }
private void Gapcloser(ActiveGapcloser gapcloser) { if (!CheckGuardians() || gapcloser.Sender == null || !spell.Spell.IsReady() || !gapcloser.Sender.IsValidTarget(spell.Spell.Range)) { return; } var target = gapcloser.Sender; if (!spell.Stunnable(target) && eSpell.Spell.IsReady()) { eSpell.Spell.CastOnUnit(target); } if (spell.Stunnable(target)) { spell.Spell.Cast(gapcloser.End); } }
private void Gapcloser_OnGapCloser(ActiveGapcloser gapcloser) { if (!Enable) { return; } if (gapcloser.Sender.IsEnemy && E.IsReady() && autogapinter) { if (gapcloser.Sender.IsValidTarget(E.Range)) { E.Cast(gapcloser.Sender.Position); } if (StunAbleOrb.Any()) { var i = StunAbleOrb.First(x => x.Key.NetworkId == gapcloser.Sender.NetworkId); if (i.Value != null) { E.Cast(i.Value.Position.To2D()); } } } }
private static void OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (E.IsReady() && Human() && gapcloser.Sender.LSIsValidTarget(E.Range) && getCheckBoxItem(miscMenu, "hGC")) { E.Cast(gapcloser.Sender); return; } if (realcdSE == 0 && gapcloser.Sender.LSIsValidTarget(E1.Range) && getCheckBoxItem(miscMenu, "fGC") && gapcloser.End.LSDistance(Player.Position) >= getSliderItem(comboMenu, "eMin")) { if (Human() && R.IsReady()) { R.Cast(); E1.Cast(gapcloser.Sender); } else if (!Human()) { E1.Cast(gapcloser.Sender); } } }
public override void AntiGapcloser_OnEnemyGapCloser(ActiveGapcloser gapcloser) { Q.Cast(gapcloser.Sender); }
static void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { champClass.AntiGapcloser_OnEnemyGapCloser(gapcloser); }
public static void OnEnemyGapCloser(ActiveGapcloser gapcloser) { if (_E.IsReady() && Config.SubMenu("Misc").SubMenu("Gapclosers").Item(gapcloser.SpellName.ToLower()).GetValue<bool>() && Player.Distance(gapcloser.Sender) < _E.Range + 100) { if (gapcloser.SpellName == "LeonaZenithBlade") { if (Player.Distance(gapcloser.Start) < Player.Distance(gapcloser.End)) PullFlay(gapcloser.Sender); else Utility.DelayAction.Add(75, delegate { PushFlay(gapcloser.Sender); }); } else { if (Player.Distance(gapcloser.Start) < Player.Distance(gapcloser.End)) PullFlay(gapcloser.Sender); else PushFlay(gapcloser.Sender); } } }
private void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (Config.Item("AGC", true).GetValue<bool>() && E.IsReady() && Player.Mana > RMANA + EMANA) { var Target = gapcloser.Sender; if (Target.IsValidTarget(E.Range)) { E.Cast(gapcloser.End); } return; } return; }
void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { var GPSender = (Obj_AI_Hero)gapcloser.Sender; if (!isMenuEnabled("AntiGP") || !E.IsReady() || !GPSender.IsValidTarget()) return; CastE(GPSender, true); }
public static void OnEnemyGapCloser(ActiveGapcloser gapcloser) { if (_E.IsReady() && getCheckBoxItem(miscMenu, gapcloser.SpellName.ToLower()) && Player.LSDistance(gapcloser.Sender) < _E.Range + 100) { if (gapcloser.SpellName == "LeonaZenithBlade") { if (Player.LSDistance(gapcloser.Start) < Player.LSDistance(gapcloser.End)) PullFlay(gapcloser.Sender); else LeagueSharp.Common.Utility.DelayAction.Add(75, delegate { PushFlay(gapcloser.Sender); }); } else { if (Player.LSDistance(gapcloser.Start) < Player.LSDistance(gapcloser.End)) PullFlay(gapcloser.Sender); else PushFlay(gapcloser.Sender); } } }
public override void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (!E.IsReady() || !Menu.Item("AntiGapcloser").IsActive()) { return; } if (gapcloser.Sender.IsValidTarget(E.Range) && E.Cast(gapcloser.Sender).IsCasted() && Menu.Item("AntiGapcloserR").IsActive()) { LeagueSharp.Common.Utility.DelayAction.Add( (int) (200 + 1000 * (E.Delay + Game.Ping / 2f)), () => { SpellManager.UpdateUltimate(); if (R.GetSpellSlot() == SpellSlot.E) { R.Cast(gapcloser.Sender); } }); } }
/// <summary> /// Called on an enemy gapcloser. /// </summary> /// <param name="gapcloser">The gapcloser.</param> private void AntiGapcloserOnOnEnemyGapcloser(ActiveGapcloser gapcloser) { if (!this.Menu.Item("UseEGapcloser").IsActive() || !this.E.IsReady() || !gapcloser.Sender.IsValidTarget(this.E.Range)) { return; } this.E.Cast(gapcloser.Sender); }