Exemplo n.º 1
0
 private static void Game_OnUpdate(EventArgs args)
 {
     KillSteal.Execute();
     Orbwalker.DisableMovement = IsFlee && Flee.Menu.GetCheckBoxValue("Movement");
     if (IsCombo)
     {
         Combo.Execute();
     }
     else if (IsHarass)
     {
         Harass.Execute();
     }
     else if (IsClear)
     {
         Clear.Execute();
     }
     else if (IsLastHit)
     {
         LastHit.Execute();
     }
     if (IsFlee)
     {
         Flee.Execute();
     }
 }
Exemplo n.º 2
0
        public static void Init()
        {
            Principal = MainMenu.AddMenu("Champions", "Champions");
            Principal.AddLabel("Prediction:");
            Principal.Add("QPred", new Slider("Q Hitchance: {0}", 80, 20, 100));
            Principal.Add("WPred", new Slider("W Hitchance: {0}", 80, 20, 100));

            Combo = Principal.AddSubMenu("Combo", "Combo");
            Combo.Add("Q", new CheckBox("Use Q"));
            Combo.Add("W", new CheckBox("Use W"));
            Combo.Add("E", new CheckBox("Use E"));
            Combo.Add("R", new CheckBox("Use R"));

            Laneclear = Principal.AddSubMenu("Laneclear", "Laneclear");
            Laneclear.Add("Q", new CheckBox("Use Q"));
            Laneclear.Add("W", new CheckBox("Use W"));

            Jungleclear = Principal.AddSubMenu("Jungleclear", "Jungleclear");
            Jungleclear.Add("Q", new CheckBox("Use Q"));
            Jungleclear.Add("W", new CheckBox("Use W"));
            Jungleclear.Add("E", new CheckBox("Use E"));

            Lasthit = Principal.AddSubMenu("Lasthit", "Lasthit");
            Lasthit.Add("Q", new CheckBox("Use Q"));

            Flee = Principal.AddSubMenu("Flee", "Flee");
            Flee.Add("E", new CheckBox("Use E"));

            Misc = Principal.AddSubMenu("Misc", "Misc");
            Misc.Add("SkinHack", new CheckBox("SkinHack?"));
            Misc.Add("SkinID", new Slider("Skin ID: {0}", 0, 0, 0));
            Misc.Add("Reset", new KeyBind("Reset (Skin Bug):", false, KeyBind.BindTypes.HoldActive, 'T'));
            Misc.AddSeparator(2);
            Misc.Add("Gapcloser", new CheckBox("Gapcloser?"));
            Misc.Add("Interrupter", new CheckBox("Interrupter?"));

            Draw = Principal.AddSubMenu("Draw", "Draw");
            Draw.Add("Q", new CheckBox("Draw Q"));
            Draw.Add("W", new CheckBox("Draw W"));
            Draw.Add("E", new CheckBox("Draw E"));
            Draw.Add("R", new CheckBox("Draw R"));
        }