Example #1
0
 static void Drawing_OnDraw(EventArgs args)
 {
     if (Program.SettingMenu["Drawmode"].Cast <CheckBox>().CurrentValue)
     {
         ExecutionerHandler.DrawMode();
     }
 }
Example #2
0
 static void Game_OnTick(EventArgs args)
 {
     if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo))
     {
         ExecutionerHandler.ComboMode();
     }
     if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Harass))
     {
         ExecutionerHandler.HarassMode();
     }
     if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.JungleClear))
     {
         ExecutionerHandler.JungleMode();
     }
     if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LaneClear))
     {
         ExecutionerHandler.LaneClearMode();
     }
     if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.LastHit))
     {
         ExecutionerHandler.LastHitMode();
     }
     if (Program.SettingMenu["KSmode"].Cast <CheckBox>().CurrentValue)
     {
         ExecutionerHandler.KSMode();
     }
     if (Program.SettingMenu["Stackmode"].Cast <CheckBox>().CurrentValue)
     {
         ExecutionerHandler.StackMode();
     }
     if (Program.SettingMenu["Grabmode"].Cast <CheckBox>().CurrentValue)
     {
         ExecutionerHandler.GrabMode();
     }
     if (Program.SettingMenu["Healthcall"].Cast <Slider>().CurrentValue > 0)
     {
         ExecutionerHandler.HealthPotionMode();
     }
     if (Program.SettingMenu["Manacall"].Cast <Slider>().CurrentValue > 0)
     {
         ExecutionerHandler.ManaPotionMode();
     }
     if (Program.SettingMenu["FlaskHcall"].Cast <Slider>().CurrentValue > 0 || Program.SettingMenu["FlaskMcall"].Cast <Slider>().CurrentValue > 0)
     {
         ExecutionerHandler.CrystallineFlaskMode();
     }
     if (Ignite != null)
     {
         if (Program.SettingMenu["Ignitemode"].Cast <CheckBox>().CurrentValue)
         {
             ExecutionerHandler.IgniteMode();
         }
     }
     if (Smite != null)
     {
         if (Program.SettingMenu["Smitemode"].Cast <CheckBox>().CurrentValue)
         {
             ExecutionerHandler.SmiteMode();
         }
     }
 }