Ejemplo n.º 1
0
 private void Clean()
 {
     if (Quicksilver.IsReady())
     {
         Quicksilver.Cast();
     }
     else if (Mercurial.IsReady())
     {
         Mercurial.Cast();
     }
     else if (Dervish.IsReady())
     {
         Dervish.Cast();
     }
 }
Ejemplo n.º 2
0
 private static void Clean()
 {
     if (Quicksilver.IsReady() && CleansersMenu["qss"].Cast <CheckBox>().CurrentValue)
     {
         Quicksilver.Cast();
     }
     else if (Mercurial.IsReady() && CleansersMenu["qss3"].Cast <CheckBox>().CurrentValue)
     {
         Mercurial.Cast();
     }
     else if (Dervish.IsReady() && CleansersMenu["qss4"].Cast <CheckBox>().CurrentValue)
     {
         Dervish.Cast();
     }
 }
Ejemplo n.º 3
0
 private void Clean()
 {
     if (Quicksilver.IsReady())
     {
         Utility.DelayAction.Add(getSliderItem("CSSdelay"), () => Quicksilver.Cast());
     }
     else if (Mercurial.IsReady())
     {
         Utility.DelayAction.Add(getSliderItem("CSSdelay"), () => Mercurial.Cast());
     }
     else if (Dervish.IsReady())
     {
         Utility.DelayAction.Add(getSliderItem("CSSdelay"), () => Dervish.Cast());
     }
     else if (cleanse != SpellSlot.Unknown && cleanse.IsReady() && getCheckBoxItem("Cleanse"))
     {
         Utility.DelayAction.Add(getSliderItem("CSSdelay"), () => Player.Spellbook.CastSpell(cleanse, Player));
     }
 }
Ejemplo n.º 4
0
 private void Clean()
 {
     if (Quicksilver.IsReady())
     {
         LeagueSharp.Common.Utility.DelayAction.Add(Config.Item("CSSdelay").GetValue <Slider>().Value, () => Quicksilver.Cast());
     }
     else if (Mercurial.IsReady())
     {
         LeagueSharp.Common.Utility.DelayAction.Add(Config.Item("CSSdelay").GetValue <Slider>().Value, () => Mercurial.Cast());
     }
     else if (Dervish.IsReady())
     {
         LeagueSharp.Common.Utility.DelayAction.Add(Config.Item("CSSdelay").GetValue <Slider>().Value, () => Dervish.Cast());
     }
     else if (cleanse != SpellSlot.Unknown && cleanse.IsReady() && Config.Item("Cleanse").GetValue <bool>())
     {
         LeagueSharp.Common.Utility.DelayAction.Add(Config.Item("CSSdelay").GetValue <Slider>().Value, () => Player.Spellbook.CastSpell(cleanse, Player));
     }
 }
Ejemplo n.º 5
0
 private void Clean()
 {
     if (Quicksilver.IsReady())
     {
         Utility.DelayAction.Add(Config.Item("CSSdelay").GetValue <Slider>().Value, () => Quicksilver.Cast());
     }
     else if (Mercurial.IsReady())
     {
         Utility.DelayAction.Add(Config.Item("CSSdelay").GetValue <Slider>().Value, () => Mercurial.Cast());
     }
     else if (Dervish.IsReady())
     {
         Utility.DelayAction.Add(Config.Item("CSSdelay").GetValue <Slider>().Value, () => Dervish.Cast());
     }
 }
Ejemplo n.º 6
0
 private void Clean()
 {
     if (Quicksilver.IsReady)
     {
         DelayAction.Add(Config["activator"]["cleansers"].GetValue <MenuSlider>("CSSdelay").Value, () => Quicksilver.Cast());
     }
     else if (Mercurial.IsReady)
     {
         DelayAction.Add(Config["activator"]["cleansers"].GetValue <MenuSlider>("CSSdelay").Value, () => Mercurial.Cast());
     }
     else if (Dervish.IsReady)
     {
         DelayAction.Add(Config["activator"]["cleansers"].GetValue <MenuSlider>("CSSdelay").Value, () => Dervish.Cast());
     }
     else if (CanUse(Cleanse) && Config["activator"]["summoner"].GetValue <MenuBool>("Cleanse").Value)
     {
         DelayAction.Add(Config["activator"]["cleansers"].GetValue <MenuSlider>("CSSdelay").Value, () => Player.Spellbook.CastSpell(Cleanse, Player));
     }
 }