protected override void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (!menu.Item("E_Gap_Closer", true).GetValue<bool>()) return; if (E.IsReady() && gapcloser.Sender.IsValidTarget(E.Range)&& GetCurrentHeat() < 70) E.Cast(gapcloser.Sender); }
private static void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (!gapcloser.Sender.IsValidTarget(spells[Spells.Q].Range)) { return; } if (gapcloser.Sender.Distance(Player) > spells[Spells.Q].Range) { return; } var useQ = ElSejuaniMenu.getCheckBoxItem(ElSejuaniMenu.interuptMenu, "ElSejuani.Interupt.Q"); var useR = ElSejuaniMenu.getCheckBoxItem(ElSejuaniMenu.interuptMenu, "ElSejuani.Interupt.R"); if (gapcloser.Sender.IsValidTarget(spells[Spells.Q].Range)) { if (useQ && spells[Spells.Q].IsReady()) { spells[Spells.Q].Cast(gapcloser.Sender); } if (useR && !spells[Spells.Q].IsReady() && spells[Spells.R].IsReady()) { spells[Spells.R].Cast(gapcloser.Sender); } } }
private static void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (!CConfig.ConfigMenu.Item("AntiGapCloser").GetValue<bool>() || !CSpell.E.CanCast(gapcloser.Sender)) return; CSpell.E.Cast(gapcloser.Sender); }
private static void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { var gapCloserActive = ElVladimirMenu._menu.Item("ElVladimir.Settings.AntiGapCloser.Active").GetValue<bool>(); if (gapCloserActive && spells[Spells.W].IsReady() && gapcloser.Sender.Distance(Player) < spells[Spells.W].Range && Player.CountEnemiesInRange(spells[Spells.Q].Range) >= 1) spells[Spells.W].Cast(Player); }
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 void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (E.IsReady() && gapcloser.Sender.IsValidTarget(E.Range)) { E.Cast(gapcloser.Sender); } }
/// <summary> /// Fired on an incoming gapcloser. /// </summary> /// <param name="args">The <see cref="ActiveGapcloser" /> instance containing the event data.</param> public static void OnGapCloser(ActiveGapcloser args) { if (ObjectManager.Player.IsDead || TargetSelector.IsInvulnerable(args.Sender, TargetSelector.DamageType.Magical, false)) { return; } if (Variables.E.IsReady() && ObjectManager.Player.Distance(args.End) < Variables.E.Range - 50f && Variables.EMenu.Item("gapcloser").IsActive()) { Variables.E.Cast(args.End); } if (Variables.W.IsReady() && args.Sender.IsValidTarget(Variables.W.Range) && Variables.WMenu.Item("gapcloser").IsActive()) { if (args.Sender.ChampionName.Equals("MasterYi")) { Utility.DelayAction.Add( 250, () => { Variables.W.Cast(ObjectManager.Player.ServerPosition, args.Start); }); return; } Variables.W.Cast( args.End, args.Sender.IsMelee ? ObjectManager.Player.ServerPosition.Extend( args.End, ObjectManager.Player.Distance(args.End) * 2) : ObjectManager.Player.ServerPosition); } }
private void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (KoreanUtils.GetParamBool(vlady.MainMenu, "antigapcloser") && W.IsReady()) { W.Cast(); } }
public static void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (!Config.Item("UseGap").GetValue<bool>()) return; if (E.IsReady() && gapcloser.Sender.IsValidTarget(E.Range)) E.Cast(gapcloser.Sender); }
public static void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (!menu.Item("UseGap").GetValue<bool>()) return; if (W.IsReady() && gapcloser.Sender.IsValidTarget(W.Range)) W.Cast(gapcloser.Sender, packets()); }
private static void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (humansexygirl) { if (Config.Item("agapcloser").GetValue<bool>()) { if (gapcloser.Sender.IsValidTarget(1000)) { Render.Circle.DrawCircle(gapcloser.Sender.Position, gapcloser.Sender.BoundingRadius, Color.Gold, 5); var targetpos = Drawing.WorldToScreen(gapcloser.Sender.Position); Drawing.DrawText(targetpos[0] - 40, targetpos[1] + 20, Color.Gold, "Gapcloser"); } if (E.CanCast(gapcloser.Sender)) { E.Cast(gapcloser.Sender); } } } if (spidergirl) { if (Config.Item("agapcloser2").GetValue<bool>()) { if (gapcloser.Sender.IsValidTarget(1000)) { Render.Circle.DrawCircle(gapcloser.Sender.Position, gapcloser.Sender.BoundingRadius, Color.Gold, 5); var targetpos = Drawing.WorldToScreen(gapcloser.Sender.Position); Drawing.DrawText(targetpos[0] - 40, targetpos[1] + 20, Color.Gold, "Gapcloser"); } if (E.CanCast(gapcloser.Sender)) { E.Cast(gapcloser.Sender); } } } }
static void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (!Config.GapcloseE) return; var awayPosition = gapcloser.End.Extend(ObjectManager.Player.ServerPosition, ObjectManager.Player.Distance(gapcloser.End) + SpellManager.E.Range); SpellManager.E.Cast(awayPosition); }
private static void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (Q.IsReady() && gapcloser.Sender.IsValidTarget(400) && Config.Item("antigap").GetValue<bool>()) { Q.SPredictionCast(gapcloser.Sender, (HitChance)Config.Item("qhit").GetValue<Slider>().Value + 1); } }
public static void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { if(!Program.Player.IsDead && MainMenu._MainMenu.Item("WGap").GetValue<bool>() && Program.W.CanCast(gapcloser.Sender)) { Program.W.CastOnUnit(gapcloser.Sender); } }
private static void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (_w.IsReady() && gapcloser.Sender.IsValidTarget(_w.Range) && _config.Item("Gap_W").GetValue<bool>()) { _w.Cast(); } }
private static void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (!_mainMenu.Item("gapp").GetValue<bool>()) return; var attacker = gapcloser.Sender; if (attacker.IsValidTarget(360f)) { if (!_cougarForm) { Javelin.SPredictionCast(attacker, HitChance.Medium); if (Aspectofcougar.IsReady()) Aspectofcougar.Cast(); } if (_cougarForm) { if (attacker.Distance(Me.ServerPosition) <= Takedown.Range && Takedown.IsReady()) Takedown.CastOnUnit(Me); if (attacker.Distance(Me.ServerPosition) <= Swipe.Range && Swipe.IsReady()) Swipe.Cast(attacker.ServerPosition); } } }
public override void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (gapcloser.End.Distance(ObjectManager.Player.ServerPosition) <= 300) { Spells[E].Cast(gapcloser.End.Extend(ObjectManager.Player.ServerPosition, ObjectManager.Player.Distance(gapcloser.End) + Spells[E].Range)); } }
protected override void OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (config.Item("UseQ2Misc").GetValue<bool>() && Q.IsReady()) { if (gapcloser.Sender.IsEnemy && Vector3.Distance(Player.ServerPosition, gapcloser.Sender.ServerPosition) < Q.Range) { if (myUtility.ImmuneToMagic(gapcloser.Sender) || myUtility.ImmuneToCC(gapcloser.Sender)) return; QPredict(gapcloser.Sender); } } if (config.Item("UseWMisc").GetValue<bool>() && W.IsReady()) { if (gapcloser.Sender.IsEnemy && Vector3.Distance(Player.ServerPosition, gapcloser.End) < W.Range) { W.Cast(gapcloser.End); } } if (config.Item("UseEMisc").GetValue<bool>() && E.IsReady()) { if (gapcloser.Sender.IsEnemy && gapcloser.Sender.Target.IsMe) { E.CastOnUnit(Player); } } }
private void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (MenuProvider.Champion.Misc.UseAntiGapcloser) if (W.isReadyPerfectly()) if (gapcloser.Sender.IsValidTarget(W.Range)) W.CastOnUnit(gapcloser.Sender); }
private void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (E.IsReady() && Config.Item("Gap").GetValue<bool>() && gapcloser.Sender.IsValidTarget(E.Range)) { E.Cast(gapcloser.Sender.ServerPosition); } }
public override void OnGapClose(ActiveGapcloser gapcloser) { if (!Menu.Item("Misc_useE_Gap_Closer").GetValue<bool>()) return; if (E.IsReady() && gapcloser.Sender.IsValidTarget(E.Range)) E.Cast(gapcloser.Sender, UsePackets()); }
public override void OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (Q.CastCheck(gapcloser.Sender, "Gapcloser.Q")) { Q.Cast(gapcloser.Sender); } }
static void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (gapcloser.Sender.IsAlly || !GetValueMenuBool("GC.W")) return; if (W.IsReady() && W.IsInRange(gapcloser.Sender)) W.CastOnUnit(gapcloser.Sender); }
private void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { var target = gapcloser.Sender; if (E.IsReady() && target.IsValidTarget(E.Range) && Config.Item("gapE", true).GetValue<bool>() && Config.Item("gap" + target.ChampionName).GetValue<bool>()) E.Cast(target); }
public override void Gapcloser(ComboProvider combo, ActiveGapcloser gapcloser) { if (UseOnGapcloser && (!_r.CanBeCast() || _r.GapcloserUltHp < ObjectManager.Player.HealthPercent)) { Cast(gapcloser.Sender); } }
public override void AntiGapcloser_OnEnemyGapcloser(LeagueSharp.Common.ActiveGapcloser gapcloser) { if (!E.IsReady() || !Menu.Item("AntiGapcloser").IsActive()) { return; } LeagueSharp.Common.Utility.DelayAction.Add( 150, () => { 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); } }); } }); }
public override void OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (E.IsReady() && gapcloser.Sender.IsValidTarget(E.Range)) { E.Cast(gapcloser.Sender); } }
private void OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (config.Item("usewgc", true).GetValue<bool>() && gapcloser.End.Distance(player.Position) < 200) { W.Cast(); } }
public override void OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (this.Q.CastCheck(gapcloser.Sender, "Gapcloser.Q")) { this.Q.Cast(gapcloser.Sender); } }
protected override void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (!menu.Item("UseGap", true).GetValue<bool>()) return; if (Q.IsReady() && gapcloser.Sender.IsValidTarget(Q.Range)) Q.Cast(gapcloser.Sender); }
public void OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (E.IsReady() && Config.Item("EGapCloser").GetValue<bool>() && gapcloser.Sender.IsValidTarget(E.Range)) { E.Cast(gapcloser.Sender); } }
private static void AntiGapcloser_OnEnemyGapcloser(ActiveGapcloser gapcloser) { var target = gapcloser.Sender; if (target.IsAlly || target.IsMe || !(menu.Item("AntiGapcloser").GetValue<bool>())) return; if (GetPassiveStacks() == 4) { if (Q.IsReady()) { Q.Cast(gapcloser.Sender, UsePackets()); } else if (W.IsReady() && W.InRange(gapcloser.Sender.Position)) { W.Cast(gapcloser.Sender, UsePackets()); } } if (GetPassiveStacks() == 3) { if (E.IsReady()) E.Cast(UsePackets()); if (GetPassiveStacks() == 4) { if (Q.IsReady()) { Q.Cast(gapcloser.Sender, UsePackets()); } else if (W.IsReady() && W.InRange(gapcloser.Sender.Position)) { W.Cast(gapcloser.Sender, UsePackets()); } } } }
internal static void OnGapCloser(LeagueSharp.Common.ActiveGapcloser gapcloser) { if (gapcloser.Sender.IsValidTarget() && MenuExtensions.GetItemValue <bool>("iseriesr.vayne.misc.general.antigp") && Variables.spells[SpellSlot.E].IsReady()) { Variables.spells[SpellSlot.E].Cast(gapcloser.Sender); } }
public override void OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (this.E.CastCheck(gapcloser.Sender, "Gapcloser.E")) { if (this.E.Cast(this.Target) == Spell.CastStates.SuccessfullyCasted) { this.CastW(this.E.GetPrediction(this.Target).CastPosition); } } }
static void AntiGapcloser_OnEnemyGapcloser(LeagueSharp.Common.ActiveGapcloser gapcloser) { if (!Misc["autoE"].Cast <CheckBox>().CurrentValue) { return; } if (EloBuddy.ObjectManager.Player.LSDistance(gapcloser.Sender, true) < _spellE.Range * _spellE.Range) { _spellE.Cast(gapcloser.Sender); } }
public override void OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (gapcloser.Sender.IsAlly) { return; } if (this.R.CastCheck(gapcloser.Sender, "GapcloserR")) { this.R.Cast(this.Target, true); } }
public override void OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (gapcloser.Sender.IsAlly) { return; } if (this.E.CastCheck(gapcloser.Sender, "GapcloserE")) { this.E.Cast(gapcloser.Sender); } }
public override void OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (gapcloser.Sender.IsAlly) { return; } if (this.Q.CastCheck(gapcloser.Sender, "GapcloserQ")) { if (this.Q.Cast()) { Orbwalking.ResetAutoAttackTimer(); this.Player.IssueOrder(GameObjectOrder.AttackUnit, gapcloser.Sender); } } }
public override void OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (gapcloser.Sender.IsAlly) { return; } if (this.E.CastCheck(gapcloser.Sender, "Gapcloser.E")) { this.E.CastOnUnit(gapcloser.Sender); if (this.W.IsReady()) { this.W.CastOnUnit(this.Player); } } }
private static void OnEnemyGapcloser(LeagueSharp.Common.ActiveGapcloser gapcloser) { if (!getCheckBoxItem(MenuGenerator.miscOptions, "com.ilucian.misc.gapcloser")) { return; } if (!gapcloser.Sender.IsEnemy || !(gapcloser.End.LSDistance(ObjectManager.Player.ServerPosition) < 300)) { return; } if (Variables.Spell[Variables.Spells.E].IsReady()) { Variables.Spell[Variables.Spells.E].Cast( ObjectManager.Player.ServerPosition.LSExtend(gapcloser.End, -475)); } }
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); } }
/// <summary> /// OnEnemyGapcloser /// </summary> /// <remarks> /// override to Implement AntiGapcloser logic /// </remarks> /// <param name="gapcloser">ActiveGapcloser</param> public virtual void OnEnemyGapcloser(ActiveGapcloser gapcloser) { }