Exemple #1
0
 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;
 }
Exemple #2
0
 public override bool ShouldBeExecuted(Orbwalker.ActiveModes activeModes)
 {
     return activeModes.HasFlag(Orbwalker.ActiveModes.Harass) || HarassToggleKey.CurrentValue;
 }
Exemple #3
0
 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);
 }