private static void Game_OnTick(EventArgs args) { var orbMode = Orbwalker.ActiveModesFlags; var playerMana = Player.Instance.ManaPercent; Active.Execute(); if (orbMode.HasFlag(Orbwalker.ActiveModes.Combo)) { Combo.Execute(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.Flee)) { Flee.Execute(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.LaneClear) && playerMana > LaneClearMenu.GetSliderValue("manaSlider")) { LaneClear.Execute(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.JungleClear) && playerMana > JungleClearMenu.GetSliderValue("manaSlider")) { JungleClear.Execute(); } if (playerMana > AutoHarassMenu.GetSliderValue("manaSlider")) { AutoHarass.Execute(); } }
private static void Game_OnTick(EventArgs args) { var orbMode = Orbwalker.ActiveModesFlags; var playerMana = Player.Instance.ManaPercent; if (UltimateFollower && Program.Champion.HasBuff("VelkozR")) { Program.UltFollowMode(); } if (RoninVelkoz.Menus.StackMode) { Program.StackMode(); } Active.Execute(); if (orbMode.HasFlag(Orbwalker.ActiveModes.Combo)) { Combo.Execute(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.Harass) && playerMana > HarassMenu.GetSliderValue("manaSlider")) { Harass.Execute(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.LastHit) && playerMana > LasthitMenu.GetSliderValue("manaSlider")) { LastHit.Execute(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.LaneClear) && playerMana > LaneClearMenu.GetSliderValue("manaSlider")) { LaneClear.Execute(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.JungleClear) && playerMana > JungleClearMenu.GetSliderValue("manaSlider")) { JungleClear.Execute(); } if (playerMana > AutoHarassMenu.GetSliderValue("manaSlider") && AutoHarassMenu.GetKeyBindValue("autoHarassKey")) { AutoHarass.Execute(); } }
/// <summary> /// This event is triggered every tick of the game /// </summary> /// <param name="args"></param> private static void Game_OnTick(EventArgs args) { var orbMode = Orbwalker.ActiveModesFlags; var playerMana = Player.Instance.ManaPercent; Active.Execute(); if (orbMode.HasFlag(Orbwalker.ActiveModes.Combo)) { Combo.Execute(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.Harass) && playerMana > HarassMenu.GetSliderValue("manaSlider")) { Harass.Execute(); } if (playerMana > AutoHarassMenu.GetSliderValue("manaSlider")) { AutoHarass.Execute(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.LaneClear) && playerMana > LaneClearMenu.GetSliderValue("manaSlider")) { LaneClear.Execute(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.JungleClear) && playerMana > JungleClearMenu.GetSliderValue("manaSlider")) { JungleClear.Execute(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.Flee)) { Flee.Execute(); } if (Program.check(MiscMenu, "skinhax")) { Program._player.SetSkinId((int)MiscMenu["skinID"].Cast <ComboBox>().CurrentValue); } }
/// <summary> /// Put in here what you want to do when the mode is running /// </summary> public static void Execute() { var target = TargetSelector.GetTarget(1250, DamageType.Magical); if (target == null) { return; } if (W.IsReady() && AutoHarassMenu.GetCheckBoxValue("wUse")) { if (W.Handle.Ammo == 1 && AutoHarassMenu.GetCheckBoxValue("wSave")) { return; } if (Orbwalker.AzirSoldiers.Any(x => !x.IsInRange(target, Orbwalker.AzirSoldierAutoAttackRange))) { W.Cast(W.GetPrediction(target).CastPosition); } if (Orbwalker.AzirSoldiers.Count(s => s.IsAlly) == 0) { W.Cast(W.GetPrediction(target).CastPosition); } if (target.IsValidTarget(Q.Range - 25) && Q.IsReady() && Q.Handle.SData.Mana + W.Handle.SData.Mana < Azir.Mana) { var p = Azir.Distance(target, true) > W.RangeSquared ? Azir.Position.To2D().Extend(target.Position.To2D(), W.Range) : target.Position.To2D(); W.Cast((Vector3)p); } } if (Q.IsReady() && AutoHarassMenu.GetCheckBoxValue("qUse")) { if (Orbwalker.AzirSoldiers.Any(x => x.IsInRange(target, Orbwalker.AzirSoldierAutoAttackRange))) { return; } Q.RangeCheckSource = Azir.ServerPosition; Q.SourcePosition = Orbwalker.AzirSoldiers.FirstOrDefault(s => s.IsAlly)?.ServerPosition; var pred = Q.GetPrediction(target); if (pred.HitChance >= hitchance) { Q.Cast(pred.CastPosition); } if (target.GetDamage(SpellSlot.Q) >= target.TotalShieldHealth()) { Q.Cast(Azir.Position.To2D().Extend(target.Position.To2D(), Q.Range).To3D()); } } if (Ehit(target) && E.IsReady() && AutoHarassMenu.GetCheckBoxValue("eUse")) { if (target.IsUnderHisturret() && !AutoHarassMenu.GetCheckBoxValue("eDive") || (target.CountEnemiesInRange(750) >= AutoHarassMenu.GetSliderValue("eSave"))) { return; } E.TryToCast(target, AutoHarassMenu); } }
/// <summary> /// This event is triggered every tick of the game /// </summary> /// <param name="args"></param> private static void Game_OnTick(EventArgs args) { var orbMode = Orbwalker.ActiveModesFlags; var playerMana = Azir.ManaPercent; Active.Execute(); if (orbMode.HasFlag(Orbwalker.ActiveModes.Combo)) { Combo.Execute(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.Harass) && playerMana > HarassMenu.GetSliderValue("manaSlider")) { Harass.Execute(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.LastHit) && playerMana > LasthitMenu.GetSliderValue("manaSlider")) { LastHit.Execute(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.LaneClear) && playerMana > LaneClearMenu.GetSliderValue("manaSlider")) { LaneClear.Execute(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.JungleClear) && playerMana > JungleClearMenu.GetSliderValue("manaSlider")) { JungleClear.Execute(); } if (AutoHarassMenu.GetKeyBindValue("autoHarassKey")) { if (Orbwalker.AzirSoldiers.Count >= 1 && AutoHarassMenu.GetCheckBoxValue("attack")) { var target = TargetSelector.GetTarget(1250, DamageType.Magical); if (target == null) { return; } SoldierAttack(target); } if (playerMana > AutoHarassMenu.GetSliderValue("manaSlider")) { AutoHarass.Execute(); } } if (FleeMenu.GetKeyBindValue("insect")) { InSec.Normal(); } if (FleeMenu.GetKeyBindValue("insected")) { InSec.New(); } if (FleeMenu.GetKeyBindValue("flee")) { Flee.Execute(); } KillSteal.Execute(); }