예제 #1
0
        private static void SetUpMenu()
        {
            Cleanser.CreateQssSpellList();

            Menu = new Menu("PennyJinx", "PJinx", true);

            var orbMenu = new Menu("Orbwalker", "OW");

            _orbwalker = new Orbwalking.Orbwalker(orbMenu);
            var tsMenu = new Menu("Target Selector", "TS");

            TargetSelector.AddToMenu(tsMenu);
            Menu.AddSubMenu(orbMenu);
            Menu.AddSubMenu(tsMenu);
            var comboMenu = new Menu("[PJ] Combo", "Combo");
            {
                comboMenu.AddItem(new MenuItem("UseQC", "Use Q Combo").SetValue(true));
                comboMenu.AddItem(new MenuItem("UseWC", "Use W Combo").SetValue(true));
                comboMenu.AddItem(new MenuItem("UseEC", "Use E Combo").SetValue(true));
                comboMenu.AddItem(new MenuItem("UseRC", "Use R Combo").SetValue(true));
                comboMenu.AddItem(new MenuItem("QMode", "Q Usage Mode").SetValue(QMode));
                comboMenu.AddItem(
                    new MenuItem("EMode", "E Mode").SetValue(new StringList(new[] { "PennyJinx", "Marksman" })));
            }
            var manaManagerCombo = new Menu("Mana Manager", "mm_Combo");

            {
                manaManagerCombo.AddItem(new MenuItem("QManaC", "Q Mana Combo").SetValue(new Slider(15)));
                manaManagerCombo.AddItem(new MenuItem("WManaC", "W Mana Combo").SetValue(new Slider(35)));
                manaManagerCombo.AddItem(new MenuItem("EManaC", "E Mana Combo").SetValue(new Slider(25)));
                manaManagerCombo.AddItem(new MenuItem("RManaC", "R Mana Combo").SetValue(new Slider(5)));
            }
            comboMenu.AddSubMenu(manaManagerCombo);
            Menu.AddSubMenu(comboMenu);

            var harassMenu = new Menu("[PJ] Harrass", "Harass");
            {
                harassMenu.AddItem(new MenuItem("UseQH", "Use Q Harass").SetValue(true));
                harassMenu.AddItem(new MenuItem("UseWH", "Use W Harass").SetValue(true));
            }
            var manaManagerHarrass = new Menu("Mana Manager", "mm_Harrass");

            {
                manaManagerHarrass.AddItem(new MenuItem("QManaH", "Q Mana Harass").SetValue(new Slider(15)));
                manaManagerHarrass.AddItem(new MenuItem("WManaH", "W Mana Harass").SetValue(new Slider(35)));
            }
            harassMenu.AddSubMenu(manaManagerHarrass);
            Menu.AddSubMenu(harassMenu);

            var farmMenu = new Menu("[PJ] Farm", "Farm");
            {
                farmMenu.AddItem(new MenuItem("UseQLC", "Use Q Laneclear").SetValue(true));
                farmMenu.AddItem(new MenuItem("UseWLH", "Use W Lasthit").SetValue(false));
                farmMenu.AddItem(new MenuItem("UseWLC", "Use W Laneclear").SetValue(false));
                farmMenu.AddItem(new MenuItem("MinQMinions", "Min Minions for Q").SetValue(new Slider(0, 4, 6)));
            }
            var manaManagerFarm = new Menu("Mana Manager", "mm_Farm");

            {
                manaManagerFarm.AddItem(new MenuItem("QManaLC", "Q Mana Laneclear").SetValue(new Slider(15)));
                manaManagerFarm.AddItem(new MenuItem("WManaLH", "W Mana Lasthit").SetValue(new Slider(35)));
                manaManagerFarm.AddItem(new MenuItem("WManaLC", "W Mana Laneclear").SetValue(new Slider(35)));
            }

            farmMenu.AddSubMenu(manaManagerFarm);
            Menu.AddSubMenu(farmMenu);

            var miscMenu = new Menu("[PJ] Misc", "Misc");

            {
                miscMenu.AddItem(new MenuItem("Packets", "Use Packets").SetValue(true));
                miscMenu.AddItem(new MenuItem("AntiGP", "Anti Gapcloser").SetValue(true));
                miscMenu.AddItem(new MenuItem("EOnTP", "E On Teleport Location").SetValue(true));
                miscMenu.AddItem(new MenuItem("Interrupter", "Use Interrupter").SetValue(true));
                miscMenu.AddItem(new MenuItem("SwitchQNoEn", "Switch to Minigun when no enemies").SetValue(true));
                miscMenu.AddItem(
                    new MenuItem("C_Hit", "Hitchance").SetValue(
                        new StringList(new[] { "Low", "Medium", "High", "Very High" }, 2)));
                miscMenu.AddItem(
                    new MenuItem("ManualR", "Manual R").SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Press)));
                miscMenu.AddItem(
                    new MenuItem("ThreshLantern", "Grab Thresh Lantern").SetValue(
                        new KeyBind("S".ToCharArray()[0], KeyBindType.Press)));
            }
            Menu.AddSubMenu(miscMenu);

            var autoMenu = new Menu("[PJ] Auto Harrass", "Auto");

            {
                autoMenu.AddItem(new MenuItem("AutoE", "Auto E Slow/Immobile").SetValue(true));
                autoMenu.AddItem(new MenuItem("AutoE_Mana", "Auto E Mana").SetValue(new Slider(35)));
                autoMenu.AddItem(new MenuItem("AutoW", "Auto W").SetValue(true));
                autoMenu.AddItem(new MenuItem("AutoW_Mana", "Auto W Mana").SetValue(new Slider(40)));
                autoMenu.AddItem(new MenuItem("AutoWEmp", "Auto W Slow/Immobile").SetValue(true));
                autoMenu.AddItem(new MenuItem("AutoWEmp_Mana", "Auto W Slow/Imm Mana").SetValue(new Slider(40)));
            }
            Menu.AddSubMenu(autoMenu);

            var itemsMenu = new Menu("[PJ] Items", "Items");

            {
                itemsMenu.AddItem(new MenuItem("BotrkC", "Botrk Combo").SetValue(true));
                itemsMenu.AddItem(new MenuItem("BotrkH", "Botrk Harrass").SetValue(false));
                itemsMenu.AddItem(new MenuItem("YoumuuC", "Youmuu Combo").SetValue(true));
                itemsMenu.AddItem(new MenuItem("YoumuuH", "Youmuu Harrass").SetValue(false));
                itemsMenu.AddItem(new MenuItem("BilgeC", "Cutlass Combo").SetValue(true));
                itemsMenu.AddItem(new MenuItem("BilgeH", "Cutlass Harrass").SetValue(false));
                itemsMenu.AddItem(new MenuItem("OwnHPercBotrk", "Min Own H. % Botrk").SetValue(new Slider(50, 1)));
                itemsMenu.AddItem(new MenuItem("EnHPercBotrk", "Min Enemy H. % Botrk").SetValue(new Slider(20, 1)));
            }
            Menu.AddSubMenu(itemsMenu);

            Menu.AddSubMenu(new Menu("[PJ] QSS Buff Types", "QSST"));
            Cleanser.CreateTypeQssMenu();
            Menu.AddSubMenu(new Menu("[PJ] QSS Spells", "QSSSpell"));
            Cleanser.CreateQssSpellMenu();

            Menu.AddSubMenu(new Menu("[PJ] AutoPot", "AutoPot"));
            Menu.SubMenu("AutoPot").AddItem(new MenuItem("APH", "Health Pot").SetValue(true));
            Menu.SubMenu("AutoPot").AddItem(new MenuItem("APM", "Mana Pot").SetValue(true));
            Menu.SubMenu("AutoPot").AddItem(new MenuItem("APH_Slider", "Health Pot %").SetValue(new Slider(35, 1)));
            Menu.SubMenu("AutoPot").AddItem(new MenuItem("APM_Slider", "Mana Pot %").SetValue(new Slider(35, 1)));
            Menu.SubMenu("AutoPot").AddItem(new MenuItem("APHeal", "Use Heal").SetValue(true));
            Menu.SubMenu("AutoPot").AddItem(new MenuItem("APHeal_Slider", "Heal %").SetValue(new Slider(35, 1)));

            var drawMenu = new Menu("[PJ] Drawings", "Drawing");

            {
                drawMenu.AddItem(new MenuItem("DrawQ", "Draw Q").SetValue(new Circle(true, Color.Red)));
                drawMenu.AddItem(new MenuItem("DrawW", "Draw W").SetValue(new Circle(true, Color.MediumPurple)));
                drawMenu.AddItem(new MenuItem("DrawE", "Draw E").SetValue(new Circle(true, Color.MediumPurple)));
                drawMenu.AddItem(new MenuItem("DrawR", "Draw R").SetValue(new Circle(true, Color.MediumPurple)));
                miscMenu.AddItem(new MenuItem("SpriteDraw", "Draw Sprite for R Killable").SetValue(false));
            }
            Menu.AddSubMenu(drawMenu);

            Menu.AddToMainMenu();
        }
예제 #2
0
        private static void SetUpMenu()
        {
            Menu = new Menu("PennyJinx", "PJinx", true);

            var orbMenu = new Menu("Orbwalker", "OW");

            _orbwalker = new Orbwalking.Orbwalker(orbMenu);
            var tsMenu = new Menu("Target Selector", "TS");

            TargetSelector.AddToMenu(tsMenu);
            Menu.AddSubMenu(orbMenu);
            Menu.AddSubMenu(tsMenu);
            var comboMenu = new Menu("[PJ] Combo", "Combo");
            {
                comboMenu.AddItem(new MenuItem("UseQC", "Use Q Combo").SetValue(true));
                comboMenu.AddItem(new MenuItem("UseWC", "Use W Combo").SetValue(true));
                comboMenu.AddItem(new MenuItem("UseEC", "Use E Combo").SetValue(true));
                comboMenu.AddItem(new MenuItem("UseRC", "Use R Combo").SetValue(true));
                comboMenu.AddItem(new MenuItem("QMode", "Q Usage Mode").SetValue(QMode));
                comboMenu.AddItem(
                    new MenuItem("EMode", "E Mode").SetValue(new StringList(new[] { "PennyJinx", "Marksman" })));
            }
            var manaManagerCombo = new Menu("Mana Manager", "mm_Combo");

            {
                manaManagerCombo.AddItem(new MenuItem("QManaC", "Q Mana Combo").SetValue(new Slider(15)));
                manaManagerCombo.AddItem(new MenuItem("WManaC", "W Mana Combo").SetValue(new Slider(35)));
                manaManagerCombo.AddItem(new MenuItem("EManaC", "E Mana Combo").SetValue(new Slider(25)));
                manaManagerCombo.AddItem(new MenuItem("RManaC", "R Mana Combo").SetValue(new Slider(5)));
            }
            comboMenu.AddSubMenu(manaManagerCombo);
            Menu.AddSubMenu(comboMenu);

            var harassMenu = new Menu("[PJ] Harrass", "Harass");
            {
                harassMenu.AddItem(new MenuItem("UseQH", "Use Q Harass").SetValue(true));
                harassMenu.AddItem(new MenuItem("UseWH", "Use W Harass").SetValue(true));
            }
            var manaManagerHarrass = new Menu("Mana Manager", "mm_Harrass");

            {
                manaManagerHarrass.AddItem(new MenuItem("QManaH", "Q Mana Harass").SetValue(new Slider(15)));
                manaManagerHarrass.AddItem(new MenuItem("WManaH", "W Mana Harass").SetValue(new Slider(35)));
            }
            harassMenu.AddSubMenu(manaManagerHarrass);
            Menu.AddSubMenu(harassMenu);

            var farmMenu = new Menu("[PJ] Farm", "Farm");
            {
                farmMenu.AddItem(new MenuItem("UseQLC", "Use Q Laneclear").SetValue(true));
                farmMenu.AddItem(new MenuItem("UseWLH", "Use W Lasthit").SetValue(false));
                farmMenu.AddItem(new MenuItem("UseWLC", "Use W Laneclear").SetValue(false));
                farmMenu.AddItem(new MenuItem("MinQMinions", "Min Minions for Q").SetValue(new Slider(0, 4, 6)));
            }
            var manaManagerFarm = new Menu("Mana Manager", "mm_Farm");

            {
                manaManagerFarm.AddItem(new MenuItem("QManaLC", "Q Mana Laneclear").SetValue(new Slider(15)));
                manaManagerFarm.AddItem(new MenuItem("WManaLH", "W Mana Lasthit").SetValue(new Slider(35)));
                manaManagerFarm.AddItem(new MenuItem("WManaLC", "W Mana Laneclear").SetValue(new Slider(35)));
            }

            farmMenu.AddSubMenu(manaManagerFarm);
            Menu.AddSubMenu(farmMenu);

            var miscMenu = new Menu("[PJ] Misc", "Misc");

            {
                miscMenu.AddItem(new MenuItem("AntiGP", "Anti Gapcloser").SetValue(true));
                miscMenu.AddItem(new MenuItem("EOnTP", "E On Teleport Location").SetValue(true));
                miscMenu.AddItem(new MenuItem("Interrupter", "Use Interrupter").SetValue(true));
                miscMenu.AddItem(new MenuItem("SwitchQNoEn", "Switch to Minigun when no enemies").SetValue(true));
                miscMenu.AddItem(new MenuItem("C_Hit", "Hitchance").SetValue(new StringList(new[] { "Low", "Medium", "High", "Very High" }, 2)));
                miscMenu.AddItem(new MenuItem("ManualR", "Manual R").SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Press)));
            }
            Menu.AddSubMenu(miscMenu);

            var autoMenu = new Menu("[PJ] Auto Harrass", "Auto");

            {
                autoMenu.AddItem(new MenuItem("AutoE", "Auto E Slow/Immobile").SetValue(true));
                autoMenu.AddItem(new MenuItem("AutoE_Mana", "Auto E Mana").SetValue(new Slider(35)));
                autoMenu.AddItem(new MenuItem("AutoW", "Auto W").SetValue(true));
                autoMenu.AddItem(new MenuItem("AutoW_Mana", "Auto W Mana").SetValue(new Slider(40)));
                autoMenu.AddItem(new MenuItem("AutoWEmp", "Auto W Slow/Immobile").SetValue(true));
                autoMenu.AddItem(new MenuItem("AutoWEmp_Mana", "Auto W Slow/Imm Mana").SetValue(new Slider(40)));
            }
            Menu.AddSubMenu(autoMenu);


            Cleanser.OnLoad();
            ItemManager.OnLoad(Menu);
            PotionManager.OnLoad(Menu);

            var drawMenu = new Menu("[PJ] Drawings", "Drawing");

            {
                drawMenu.AddItem(new MenuItem("DrawQ", "Draw Q").SetValue(new Circle(true, Color.Red)));
                drawMenu.AddItem(
                    new MenuItem("DrawW", "Draw W").SetValue(new Circle(true, Color.MediumPurple)));
                drawMenu.AddItem(
                    new MenuItem("DrawE", "Draw E").SetValue(new Circle(true, Color.MediumPurple)));
                drawMenu.AddItem(new MenuItem("DrawR", "Draw R").SetValue(new Circle(true, Color.MediumPurple)));
                miscMenu.AddItem(new MenuItem("SpriteDraw", "Draw Sprite for R Killable").SetValue(false));
            }
            Menu.AddSubMenu(drawMenu);

            Menu.AddToMainMenu();
        }