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; }
public override bool ShouldBeExecuted(Orbwalker.ActiveModes activeModes) { return activeModes.HasFlag(Orbwalker.ActiveModes.Harass) || HarassToggleKey.CurrentValue; }
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(); }
public override bool ShouldBeExecuted(Orbwalker.ActiveModes activeModes) { return activeModes.HasFlag(Orbwalker.ActiveModes.LaneClear); }