private static void OnTick(EventArgs args) { if (myhero.IsDead) { return; } Orbwalker.ActiveModes flags = Orbwalker.ActiveModesFlags; if (flags.HasFlag(Orbwalker.ActiveModes.Combo)) { Combo(); } if ((flags.HasFlag(Orbwalker.ActiveModes.Harass) && myhero.ManaPercent > slider(harass, "HMIN")) || (flags.HasFlag(Orbwalker.ActiveModes.LaneClear) && myhero.ManaPercent > slider(laneclear, "LMIN")) || (flags.HasFlag(Orbwalker.ActiveModes.JungleClear) && myhero.ManaPercent > slider(jungleclear, "JMIN"))) { AIO_Logic(); } if (check(misc, "WFLEE") && DemSpells.W.IsReady() && flags.HasFlag(Orbwalker.ActiveModes.Flee)) { DemSpells.W.Cast(); } Misc(); }
public override bool ShouldBeExecuted(Orbwalker.ActiveModes activeModes) { if (activeModes.HasFlag(Orbwalker.ActiveModes.Combo)) { return(true); } var deadCombo = Instance.GetGlobal <CheckBox>("ComboWhileDead"); return(deadCombo != null && deadCombo.CurrentValue && Instance.IsDead); }
private List <Orbwalker.ActiveModes> GetModes(Orbwalker.ActiveModes modes) { if (modes == Orbwalker.ActiveModes.None) { return(new List <Orbwalker.ActiveModes> { Orbwalker.ActiveModes.None }); } return(OrbwalkerModes.Where(mode => modes.HasFlag(mode)).ToList()); }
private void PermaActive() { if (MenuManager.Modes.Misc.Evade && !EvadeHelper.Evading) { EvadeHelper.OnLoad(); } if (!MenuManager.Modes.Misc.Evade && EvadeHelper.Evading) { EvadeHelper.UnLoad(); } activeMode = Orbwalker.ActiveModesFlags; if (activeMode.HasFlag(Orbwalker.ActiveModes.Combo)) { OnCombo(); } if (activeMode.HasFlag(Orbwalker.ActiveModes.LastHit)) { OnLastHit(); } if (activeMode.HasFlag(Orbwalker.ActiveModes.Harass)) { OnHarass(); } if (activeMode.HasFlag(Orbwalker.ActiveModes.LaneClear)) { OnLaneClear(); } if (activeMode.HasFlag(Orbwalker.ActiveModes.JungleClear)) { OnJungleClear(); } /* * if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Flee)) OnFlee(); */ }
public override bool ShouldBeExecuted(Orbwalker.ActiveModes activeModes) { return(activeModes.HasFlag(Orbwalker.ActiveModes.Harass) || HarassToggleKey.CurrentValue); }
public override bool ShouldBeExecuted(Orbwalker.ActiveModes activeModes) { return(activeModes.HasFlag(Orbwalker.ActiveModes.Harass)); }
private void PermaActive() { if (MenuManager.Modes.Misc.Evade && !EvadeHelper.Evading) EvadeHelper.OnLoad(); if (!MenuManager.Modes.Misc.Evade && EvadeHelper.Evading) EvadeHelper.UnLoad(); activeMode = Orbwalker.ActiveModesFlags; if (activeMode.HasFlag(Orbwalker.ActiveModes.Combo)) OnCombo(); if (activeMode.HasFlag(Orbwalker.ActiveModes.LastHit)) OnLastHit(); if (activeMode.HasFlag(Orbwalker.ActiveModes.Harass)) OnHarass(); if (activeMode.HasFlag(Orbwalker.ActiveModes.LaneClear)) OnLaneClear(); if (activeMode.HasFlag(Orbwalker.ActiveModes.JungleClear)) OnJungleClear(); /* if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Flee)) OnFlee(); */ }