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

            /* Menu Information */
            if (ComboMenu["Rcombo"].Cast <CheckBox>().CurrentValue == false)
            {
                ComboMenu["Rcombo"].Cast <CheckBox>().DisplayName = "Use R without rooting";
            }
            if (ComboMenu["Rcombo"].Cast <CheckBox>().CurrentValue == true)
            {
                ComboMenu["Rcombo"].Cast <CheckBox>().DisplayName = "Use R with rooting";
            }
        }
Beispiel #2
0
 static void Drawing_OnDraw(EventArgs args)
 {
     MagicianHandler.DrawMode();
 }