private static void OnGapcloser(ActiveGapcloser gapcloser) { if (gapcloser.Sender.IsEnemy && gapcloser.Sender.IsValidTarget(Spells.E.Range) && (gapcloser.Sender.Target.IsMe || ObjectManager.Player.Distance(gapcloser.End) < 100) && Spells.E.IsReady() && Utilities.Enabled("anti-gapcloser.e")) { Spells.E.Cast(gapcloser.Sender.Position); } }
private static void OnUpdate(EventArgs args) { Utilities.UpdateUltimateVariable(); switch (Menus.Orbwalker.ActiveMode) { case Orbwalking.OrbwalkingMode.Combo: ComboSelector(); break; case Orbwalking.OrbwalkingMode.Mixed: Mixed.Init(); break; case Orbwalking.OrbwalkingMode.LaneClear: Clear.WaveInit(); Clear.JungleInit(); break; } }