private static void Game_OnTick(EventArgs args) { var orbMode = Orbwalker.ActiveModesFlags; var playerMana = Player.Instance.ManaPercent; rRangeLevel.LevelRRange(); Active.Defensive(); Active.Defensive2(); Active.Potions(); if (orbMode.HasFlag(Orbwalker.ActiveModes.Combo)) { Combo.Execute1(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.Combo) && (playerMana > ComboMenu.GetSliderValue("manaSlider"))) { Combo.ExecuteR(); } if (orbMode.HasFlag(Orbwalker.ActiveModes.Combo)) { Combo.ExecuteItems(); } 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.Flee) && (playerMana > LastHitMenu.GetSliderValue("manaSlider"))) { Flee.Execute(); } }
public override void Lasthit() { var target = GetTarget(W); var minion = W.GetLasthitLaneMinion(); if (LastHitMenu.GetSliderValue(LastMenuID + "mana") >= Player.Instance.ManaPercent) { return; } if (LastHitMenu.GetCheckBoxValue(LastMenuID + "W")) { if (LastHitMenu.GetCheckBoxValue(51)) { W.TryCast(target); } else { W.TryCast(minion); } } }
public override void Lasthit() { var target = GetTarget(E); var minion = E.GetLasthitLaneMinion(); if (LastHitMenu.GetSliderValue(LastMenuID + "mana") >= Player.Instance.ManaPercent) return; if (LastHitMenu.GetCheckBoxValue(53)) { if (HarassMenu.GetCheckBoxValue(HarassMenuID + "Q")) Q.TryCast(target); if (HarassMenu.GetCheckBoxValue(HarassMenuID + "W")) W.TryCast(target); if (HarassMenu.GetCheckBoxValue(HarassMenuID + "E") && HarassMenu.GetSliderValue(49) <= Player.Instance.HealthPercent) { E.TryCast(target); } } else { if (LastHitMenu.GetCheckBoxValue(LastMenuID + "Q")) Q.TryCast(minion); if (LastHitMenu.GetCheckBoxValue(LastMenuID + "W")) W.TryCast(minion); } }