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