Exemplo n.º 1
0
        static Config()
        {
            Menu = new MenuWrapper(MENU_NAME);

            // Combo
            Combo.Initialize();

            // Harass
            Harass.Initialize();

            // WaveClear
            WaveClear.Initialize();

            // JungleClear
            JungleClear.Initialize();

            // Flee
            Flee.Initialize();

            // Keys
            Keys.Initialize();

            // Misc
            Misc.Initialize();

            // Items
            Items.Initialize();

            // Drawing
            Drawing.Initialize();
        }
Exemplo n.º 2
0
Arquivo: Program.cs Projeto: ncmp/L-
        private static void SetupMenu()
        {
            MainMenu = new Menu("TRUStInMyViktor", "TRUStInMyViktor", true).Attach();

            // Combo
            ComboMenu = MainMenu.Add(new Menu("Combo", "Combo"));
            ComboMenu.Add(new MenuBool("comboUseQ", "Use Q", true));
            ComboMenu.Add(new MenuBool("comboUseW", "Use W", true));
            ComboMenu.Add(new MenuBool("comboUseE", "Use E", true));
            ComboMenu.Add(new MenuBool("comboUseR", "Use R", true));
            ComboMenu.Add(new MenuBool("qAuto", "Dont autoattack without passive"));
            ComboMenu.Add(new MenuKeyBind("comboActive", "Combo key", System.Windows.Forms.Keys.Space, KeyBindType.Press));

            RMenu = MainMenu.Add(new Menu("RMenu", "R config"));
            RMenu.Add(new MenuList <string>("HitR", "Auto R if: ", new[] { "1 target", "2 targets", "3 targets", "4 targets", "5 targets" }));
            RMenu.Add(new MenuBool("AutoFollowR", "Auto Follow R"));
            RMenu.Add(new MenuSlider("rTicks", "Ultimate ticks to count", 2, 1, 14));


            RSolo = RMenu.Add(new Menu("RSolo", "R one target"));
            RSolo.Add(new MenuKeyBind("forceR", "Force R on target", System.Windows.Forms.Keys.T, KeyBindType.Press));
            RSolo.Add(new MenuBool("rLastHit", "1 target ulti"));

            foreach (var hero in GameObjects.EnemyHeroes)
            {
                RSolo.Add(new MenuBool("RU" + hero.ChampionName, "Use R on: " + hero.ChampionName));
            }

            TestFeatures = MainMenu.Add(new Menu("TestF", "Test features"));
            TestFeatures.Add(new MenuBool("spPriority", "Prioritize kill over dmg"));



            // Harass
            HarassMenu = MainMenu.Add(new Menu("Harass", "Harass"));
            HarassMenu.Add(new MenuBool("harassUseQ", "Use Q", true));
            HarassMenu.Add(new MenuBool("harassUseE", "Use E", true));
            HarassMenu.Add(new MenuSlider("harassMana", "Mana usage in percent (%)", 30));
            HarassMenu.Add(new MenuSlider("eDistance", "Harass range with E", maxRangeE, rangeE, maxRangeE));
            HarassMenu.Add(new MenuKeyBind("harassActive", "Harass active", System.Windows.Forms.Keys.C, KeyBindType.Press));


            // WaveClear
            WaveClear = MainMenu.Add(new Menu("WaveClear", "WaveClear"));
            WaveClear.Add(new MenuBool("waveUseQ", "Use Q", true));
            WaveClear.Add(new MenuBool("waveUseE", "Use E", true));
            WaveClear.Add(new MenuSlider("waveNumE", "Minions to hit with E", 2, 1, 10));
            WaveClear.Add(new MenuSlider("waveMana", "Mana usage in percent (%)", 30));

            WaveClear.Add(new MenuKeyBind("waveActive", "WaveClear active", System.Windows.Forms.Keys.G, KeyBindType.Press));
            WaveClear.Add(new MenuKeyBind("jungleActive", "JungleClear active", System.Windows.Forms.Keys.G, KeyBindType.Press));


            // LastHit
            LastHit = MainMenu.Add(new Menu("LastHit", "LastHit"));
            LastHit.Add(new MenuKeyBind("waveUseQLH", "Use Q", System.Windows.Forms.Keys.A, KeyBindType.Press));

            // Flee
            FleeMenu = MainMenu.Add(new Menu("Flee", "Flee"));
            FleeMenu.Add(new MenuKeyBind("FleeActive", "Flee mode", System.Windows.Forms.Keys.Z, KeyBindType.Press));

            // Misc
            MiscMenu = MainMenu.Add(new Menu("Misc", "Misc"));
            MiscMenu.Add(new MenuBool("rInterrupt", "Use R to interrupt dangerous spells", true));
            MiscMenu.Add(new MenuBool("wInterrupt", "Use W to interrupt dangerous spells", true));
            MiscMenu.Add(new MenuBool("autoW", "Use W to continue CC", true));
            MiscMenu.Add(new MenuBool("miscGapcloser", "Use W against gapclosers", true));


            // Drawings
            DrawMenu = MainMenu.Add(new Menu("Drawings", "Drawings"));

            DrawMenu.Add(new MenuBool("drawRangeQ", "Q range", true));
            DrawMenu.Add(new MenuColor("QRangeC", "Q range", SharpDX.ColorBGRA.FromRgba(0xBF3F3FFF)));
            DrawMenu.Add(new MenuBool("drawRangeW", "W range", true));
            DrawMenu.Add(new MenuColor("WRangeC", "W range", SharpDX.ColorBGRA.FromRgba(0xBFBF3FFF)));
            DrawMenu.Add(new MenuBool("drawRangeE", "E range", true));
            DrawMenu.Add(new MenuColor("ERangeC", "E range", SharpDX.ColorBGRA.FromRgba(0x3FBFBFFF)));
            DrawMenu.Add(new MenuBool("drawRangeEMax", "E max range", true));
            DrawMenu.Add(new MenuColor("ERangeC2", "E max range", SharpDX.ColorBGRA.FromRgba(0xBF7F3FFF)));
            DrawMenu.Add(new MenuBool("drawRangeR", "R range", true));
            DrawMenu.Add(new MenuColor("RRangeC", "R range", SharpDX.ColorBGRA.FromRgba(0xBF3FBFFF)));
            DrawMenu.Add(new MenuBool("dmgdraw", "Draw dmg on healthbar"));
            SpellList.Add(Q);
            SpellList.Add(W);
            SpellList.Add(E);
            SpellList.Add(R);
        }