private static void OnTick(EventArgs args) { if (Return.Activemode(Orbwalker.ActiveModes.Combo)) { Combo.Execute(); } if (Return.Activemode(Orbwalker.ActiveModes.Harass) || Return.HarassToggle) { Harass.Execute(); } if (Return.Activemode(Orbwalker.ActiveModes.LaneClear)) { Clear.Execute(); } if (Return.Activemode(Orbwalker.ActiveModes.JungleClear)) { Jungle.Execute(); } if (Return.Activemode(Orbwalker.ActiveModes.LastHit)) { Lasthit.Execute(); } PermaActive.Execute(); }
private static void OnUpdate(EventArgs args) { if (Player.Instance.IsDead) { return; } PermaActive.Execute(); if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo)) { Combo.Execute(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Harass)) { Harass.Execute(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LaneClear)) { LaneClear.Execute(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.JungleClear)) { JungleClear.Execute(); } }
private static void OnTick(EventArgs args) { PermaActive.Execute(); if (Activemode(Orbwalker.ActiveModes.Combo)) { switch (Mode) { case 1: Combo.Execute(); break; case 2: Burst.Execute(); break; } } if (Activemode(Orbwalker.ActiveModes.JungleClear)) { Jungle.Execute(); } if (Activemode(Orbwalker.ActiveModes.LaneClear)) { Lane.Execute(); } if (Activemode(Orbwalker.ActiveModes.Flee)) { Flee.Execute(); } }
private static void OnUpdate(EventArgs args) { if (Player.Instance.IsDead) { return; } PermaActive.Execute(); if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo)) { Combo.Execute(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Harass) || MenuDesigner.HarassUi.Get <KeyBind>("HarassToggle").CurrentValue) { Harass.Execute(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LaneClear) && Player.Instance.Mana > MenuDesigner.ClearUi.Get <Slider>("ClearLanaMana").CurrentValue) { LaneClear.Execute(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LastHit)) { LastHit.Execute(); } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.JungleClear)) { JungleClear.Execute(); } }
public static void OnTick(EventArgs args) { if (Player.Instance.IsDead || Player.Instance.IsRecalling()) { return; } PermaActive.Execute(); var flags = Orbwalker.ActiveModesFlags; #region Flags checker if (flags.HasFlag(Orbwalker.ActiveModes.Combo)) { try { Combo.Execute(); } catch (Exception e) { Console.WriteLine("{0} Exception caught.", e); } } if (flags.HasFlag(Orbwalker.ActiveModes.Harass)) { try { Harass.Execute(); } catch (Exception e) { Console.WriteLine("{0} Exception caught.", e); } } if (flags.HasFlag(Orbwalker.ActiveModes.LastHit)) { try { LastHit.Execute(); } catch (Exception e) { Console.WriteLine("{0} Exception caught.", e); } } if (flags.HasFlag(Orbwalker.ActiveModes.LaneClear)) { try { LaneClear.Execute(); } catch (Exception e) { Console.WriteLine("{0} Exception caught.", e); } } if (flags.HasFlag(Orbwalker.ActiveModes.JungleClear)) { try { JungleClear.Execute(); } catch (Exception e) { Console.WriteLine("{0} Exception caught.", e); } } if (flags.HasFlag(Orbwalker.ActiveModes.Flee)) { try { Flee.Execute(); } catch (Exception e) { Console.WriteLine("{0} Exception caught.", e); } } #endregion }
public static void OnTick(EventArgs args) { if (Player.Instance.IsDead || Player.Instance.IsRecalling()) { return; } PermaActive.Execute(); var flags = Orbwalker.ActiveModesFlags; #region Flags checker if (flags.HasFlag(Orbwalker.ActiveModes.Combo)) { try { Combo.Execute(); } catch (Exception e) { Console.WriteLine("{0} Exception caught.", e); } } if (flags.HasFlag(Orbwalker.ActiveModes.Harass)) { try { Harass.Execute(); } catch (Exception e) { Console.WriteLine("{0} Exception caught.", e); } } if (flags.HasFlag(Orbwalker.ActiveModes.LastHit)) { try { LastHit.Execute(); } catch (Exception e) { Console.WriteLine("{0} Exception caught.", e); } } if (flags.HasFlag(Orbwalker.ActiveModes.LaneClear)) { try { LaneClear.Execute(); } catch (Exception e) { Console.WriteLine("{0} Exception caught.", e); } } if (flags.HasFlag(Orbwalker.ActiveModes.JungleClear)) { try { JungleClear.Execute(); } catch (Exception e) { Console.WriteLine("{0} Exception caught.", e); } } if (Config.Combo.Menu.GetKeyBindValue("Config.Combo.R.Force")) { if (SpellManager.R.IsReady() || Player.Instance.HasBuff("AhriTumble")) { var position = Player.Instance.Position.Distance(Game.CursorPos) < SpellManager.R.Range ? Game.CursorPos : Player.Instance.Position.Extend(Game.CursorPos, SpellManager.R.Range).To3D(); SpellManager.R.Cast(position); } } #endregion }
public static void OnTick(EventArgs args) { if (Player.Instance.IsDead || Player.Instance.IsRecalling()) { return; } PermaActive.Execute(); var flags = Orbwalker.ActiveModesFlags; #region Flags checker if (flags.HasFlag(Orbwalker.ActiveModes.Combo)) { try { Combo.Execute(); } catch (Exception e) { Console.WriteLine("{0} Exception caught.", e); } } if (flags.HasFlag(Orbwalker.ActiveModes.Harass)) { try { Harass.Execute(); } catch (Exception e) { Console.WriteLine("{0} Exception caught.", e); } } if (flags.HasFlag(Orbwalker.ActiveModes.LastHit)) { try { LastHit.Execute(); } catch (Exception e) { Console.WriteLine("{0} Exception caught.", e); } } if (flags.HasFlag(Orbwalker.ActiveModes.LaneClear)) { try { LaneClear.Execute(); } catch (Exception e) { Console.WriteLine("{0} Exception caught.", e); } } if (flags.HasFlag(Orbwalker.ActiveModes.JungleClear)) { try { JungleClear.Execute(); } catch (Exception e) { Console.WriteLine("{0} Exception caught.", e); } } if (Config.Combo.Menu.GetKeyBindValue("Config.Combo.R.Force")) { if (!Player.Instance.HasBuff("WarwickR") && Config.Combo.Menu.GetCheckBoxValue("Config.Combo.R.OrbWalk")) { Orbwalker.OrbwalkTo(Game.CursorPos); } Other.ForceRUsage(); } #endregion }
public static void OnTick(EventArgs args) { if (Player.Instance.IsDead || Player.Instance.IsRecalling()) { return; } if (Core.GameTickCount - LastAttack > 5000) { Other.SetSpikes(false); } PermaActive.Execute(); var flags = Orbwalker.ActiveModesFlags; #region Flags checker if (flags.HasFlag(Orbwalker.ActiveModes.Combo)) { try { Combo.Execute(); } catch (Exception e) { Console.WriteLine("{0} Exception caught.", e); } } if (flags.HasFlag(Orbwalker.ActiveModes.Harass)) { try { Harass.Execute(); } catch (Exception e) { Console.WriteLine("{0} Exception caught.", e); } } if (flags.HasFlag(Orbwalker.ActiveModes.LastHit)) { try { LastHit.Execute(); } catch (Exception e) { Console.WriteLine("{0} Exception caught.", e); } } if (flags.HasFlag(Orbwalker.ActiveModes.LaneClear)) { try { LaneClear.Execute(); } catch (Exception e) { Console.WriteLine("{0} Exception caught.", e); } } if (flags.HasFlag(Orbwalker.ActiveModes.JungleClear)) { try { JungleClear.Execute(); } catch (Exception e) { Console.WriteLine("{0} Exception caught.", e); } } if (Config.Combo.Menu.GetKeyBindValue("Config.Combo.R.FlashR")) { if (SpellManager.R.IsReady() && SpellManager.Flash.IsReady()) { foreach (var e in EntityManager.Heroes.Enemies.Where(h => h.IsValid && h.IsAlive() && !h.IsInvulnerable)) { if (!e.HasSpellshield() && e.IsInRange(Player.Instance, SpellManager.R.Range + 200)) { Other.FlashR(e); break; } } } } #endregion }