예제 #1
0
        public override void CreateConfigMenu()
        {
            combo = new Menu("Combo Settings", "Combo Settings");
            combo.AddItem(new MenuItem("combo.q", "Use Q").SetValue(true));
            combo.AddItem(new MenuItem("combo.e", "Use E").SetValue(true));
            combo.AddItem(new MenuItem("combo.r", "Use R").SetValue(true));
            combo.AddItem(new MenuItem("combo.r.count", "R on x Enemy").SetValue(new Slider(3, 1, 5)));

            harass = new Menu("Harass Settings", "Harass Settings");
            harass.AddItem(new MenuItem("harass.q", "Use Q").SetValue(true));
            harass.AddItem(new MenuItem("harass.e", "Use E").SetValue(true));
            harass.AddItem(new MenuItem("harass.mana", "Min. Mana Percent").SetValue(new Slider(50, 0, 100)));

            jungle = new Menu("Jungle Settings", "Jungle Settings");
            jungle.AddItem(new MenuItem("jungle.q", "Use Q").SetValue(true));
            jungle.AddItem(new MenuItem("jungle.e", "Use E").SetValue(true));
            jungle.AddItem(new MenuItem("jungle.mana", "Min. Mana Percent").SetValue(new Slider(50, 0, 100)));

            CondemnMenu = new Menu("» Condemn Settings «", "Condemn Settings");
            condemnwhitelist = new Menu("» Condemn Whitelist", "Condemn Whitelist");
            foreach (var enemy in ObjectManager.Get<Obj_AI_Hero>().Where(o => o.IsEnemy))
            {
                condemnwhitelist.AddItem(new MenuItem("condemnset." + enemy.CharData.BaseSkinName, string.Format("Condemn: {0}", enemy.CharData.BaseSkinName)).SetValue(true));

            }
            CondemnMenu.AddItem(new MenuItem("condemn.distance", "» Condemn Push Distance").SetValue(new Slider(410, 350, 420)));

            misc = new Menu("Miscellaneous", "Miscellaneous");
            customizableinterrupter = new Menu("Customizable Interrupter", "Customizable Interrupter");
            customizableinterrupter.AddItem(new MenuItem("miss.fortune.r", "Miss Fortune (R)").SetValue(true));
            customizableinterrupter.AddItem(new MenuItem("katarina.r", "Katarina (R)").SetValue(true));
            
            misc.AddItem(new MenuItem("auto.orb.buy", "Auto Scrying Orb Buy!").SetValue(true));
            misc.AddItem(new MenuItem("orb.level", "Scrying Orb Buy Level").SetValue(new Slider(6, 0, 18)));
            
            activator = new Menu("Activator Settings", "Activator Settings");
            #region QSS Usage
            qss = new Menu("QSS Settings", "QSS Settings");
            qss.AddItem(new MenuItem("use.qss", "Use QSS").SetValue(true));
            #region QSS Debuff List
            qssMenu = new Menu("QSS Debuff List", "QSS Debuff List");
            qssMenu.AddItem(new MenuItem("qss.charm", "Charm").SetValue(true));
            qssMenu.AddItem(new MenuItem("qss.flee", "Flee").SetValue(true));
            qssMenu.AddItem(new MenuItem("qss.snare", "Snare").SetValue(true));
            qssMenu.AddItem(new MenuItem("qss.polymorph", "Polymorph").SetValue(true));
            qssMenu.AddItem(new MenuItem("qss.stun", "Stun").SetValue(true));
            qssMenu.AddItem(new MenuItem("qss.suppression", "Suppression").SetValue(true));
            qssMenu.AddItem(new MenuItem("qss.taunt", "Taunt").SetValue(true));
            #endregion QSS Debuff List
            #endregion QSS Usage
            #region BOTRK Usage
            botrk = new Menu("BOTRK Settings", "BOTRK Settings");
            botrk.AddItem(new MenuItem("use.botrk", "Use BOTRK").SetValue(true));
            botrk.AddItem(new MenuItem("botrk.vayne.hp", "Use if Vayne HP < %").SetValue(new Slider(20, 0, 100)));
            botrk.AddItem(new MenuItem("botrk.enemy.hp", "Use if Enemy HP < %").SetValue(new Slider(20, 0, 100)));
            #endregion BOTRK Usage
            #region Youmuu Usage
            youmuu = new Menu("Youmuu Settings", "Youmuu Settings");
            youmuu.AddItem(new MenuItem("use.youmuu", "Use Youmuu").SetValue(true));
            #endregion Youmuu Usage
            
            m_evader = new Evader(out evade, EvadeMethods.VayneQ);
            
            Config.AddSubMenu(combo);
            Config.AddSubMenu(harass);
            Config.AddSubMenu(jungle);
            Config.AddSubMenu(evade);
            Config.AddSubMenu(CondemnMenu);
            CondemnMenu.AddSubMenu(condemnwhitelist);
            misc.AddSubMenu(customizableinterrupter);

            Config.AddSubMenu(misc);
            activator.AddSubMenu(qss);
            activator.AddSubMenu(botrk);
            activator.AddSubMenu(youmuu);
            qss.AddSubMenu(qssMenu);
            Config.AddSubMenu(activator);
            
            Config.AddItem(new MenuItem("masterracec0mb0", "                      HikiCarry Masterrace Mode"));
            Config.AddItem(new MenuItem("condemn.style", "Condemn Method").SetValue(new StringList(new[] { "Shine", "Asuna", "360" })));
            Config.AddItem(new MenuItem("condemn.x1", "Condemn Style").SetValue(new StringList(new[] { "Only Combo"})));
            Config.AddItem(new MenuItem("q.type", "Q Type").SetValue(new StringList(new[] {"Cursor Position" })));
            Config.AddItem(new MenuItem("combo.type", "Combo Type").SetValue(new StringList(new[] { "Burst", "Normal" })));
            Config.AddItem(new MenuItem("harass.type", "Harass Type").SetValue(new StringList(new[] { "2 Silver Stack + Q", "2 Silver Stack + E" })));
            Config.AddToMainMenu();
            
            var drawing = new Menu("Draw Settings", "Draw Settings");
            {
                drawing.AddItem(new MenuItem("qDraw", "Q Range").SetValue(new Circle(true, System.Drawing.Color.Chartreuse)));
                drawing.AddItem(new MenuItem("eDraw", "E Range").SetValue(new Circle(true, System.Drawing.Color.Yellow)));
                drawing.AddItem(new MenuItem("aa.indicator", "AA Indicator").SetValue(true));
                Config.AddSubMenu(drawing);
            }

            Game.OnUpdate += Game_OnGameUpdate;
            Orbwalking.AfterAttack += Orbwalking_AfterAttack;
            Drawing.OnDraw += OnDraw;
            
        }
예제 #2
0
        public override void CreateConfigMenu()
        {
            ComboMenu = new Menu("Combo Settings", "Combo Settings");
            {
                ComboMenu.AddItem(new MenuItem("q.combo", "Use Q").SetValue(true));
                ComboMenu.AddItem(new MenuItem("q2.combo", "> Use Q2").SetValue(true));
                ComboMenu.AddItem(new MenuItem("w.combo", "Use W").SetValue(true));
                ComboMenu.AddItem(new MenuItem("w2.combo", "> Use W2").SetValue(true));
                ComboMenu.AddItem(new MenuItem("e.combo", "Use E").SetValue(true));
                ComboMenu.AddItem(new MenuItem("e2.combo", "> Use E2").SetValue(true));
                ComboMenu.AddItem(new MenuItem("r.combo", "Use R").SetValue(true));
                ComboMenu.AddItem(new MenuItem("passive.usage", "Passive Usage?").SetValue(new StringList(new[] { "Enabled", "Disabled" }))); // +
            }
            //SMenu
            /*SMenu = new Menu("Star Combo Settings", "Star Combo Settings");
            {
                SMenu.AddItem(new MenuItem("q.star", "Use Q").SetValue(true));
                SMenu.AddItem(new MenuItem("q2.star", "> Use Q2").SetValue(true));
                SMenu.AddItem(new MenuItem("w.star", "Use W").SetValue(true));
                SMenu.AddItem(new MenuItem("w2.star", "> Use W2").SetValue(true));
                SMenu.AddItem(new MenuItem("e.star", "Use E").SetValue(true));
                SMenu.AddItem(new MenuItem("e2.star", "> Use E2").SetValue(true));
                SMenu.AddItem(new MenuItem("r.star", "Use R").SetValue(true));

            }

            HikiMenu = new Menu("Hikigaya Combo Settings", "Hikigaya Combo Settings");
            {
                HikiMenu.AddItem(new MenuItem("q.hiki", "Use Q").SetValue(true));
                HikiMenu.AddItem(new MenuItem("q2.hiki", "> Use Q2").SetValue(true));
                HikiMenu.AddItem(new MenuItem("e.hiki", "Use E").SetValue(true));
                HikiMenu.AddItem(new MenuItem("e2.hiki", "> Use E2").SetValue(true));
                HikiMenu.AddItem(new MenuItem("r.hiki", "Use R").SetValue(true));
                
            }
             * */
            InsecMenu = new Menu("Insec Settings", "Insec Settings");
            {
                InsecMenu.AddItem(new MenuItem("insec.style", "Insec Method").SetValue(new StringList(new[] { "Automatic", "Click Target" }))); // +

                WhiteMenu = new Menu("Insec Whitelist", "Insec Whitelist");
                {
                    foreach (var enemy in HeroManager.Enemies.Where(x => x.IsValid))
                    {
                        WhiteMenu.AddItem(new MenuItem("insec.whitelist." + enemy.ChampionName, "" + enemy.ChampionName).SetValue(true));
                    }
                    InsecMenu.AddSubMenu(WhiteMenu);
                }
                var flashInsecMenu = new Menu("Flash Insec Settings", "Flash Insec Settings");
                {

                    flashInsecMenu.AddItem(new MenuItem("flash.insec.flash.delay", "Max. Flash Delay").SetValue(new Slider(30, 30, 200)));
                    flashInsecMenu.AddItem(new MenuItem("flash.insec.piorty", "Flash Insec Piorty").SetValue(new StringList(new[] { "Smart" }))); //+
                    InsecMenu.AddSubMenu(flashInsecMenu);
                }
                InsecMenu.AddItem(new MenuItem("insec.status", "Insec Status").SetValue(new StringList(new[] { "Enabled", "Disabled" }))); // +
                InsecMenu.AddItem(new MenuItem("insec.to", "Insec to ?").SetValue(new StringList(new[] { "Ally", "Tower", "Cursor Position" }, 2)));
                //InsecMenu.AddItem(new MenuItem("max.enemy.count", "Max. Enemy for Insec").SetValue(new Slider(3, 1, 5))); // +
                InsecMenu.AddItem(new MenuItem("max.enemy.count.distance", "Enemy Search Range").SetValue(new Slider(1000, 1, 2000))); // +
                //InsecMenu.AddItem(new MenuItem("min.mana", "Min. Energy for Insec").SetValue(new Slider(50, 1, 99))); //+
                InsecMenu.AddItem(new MenuItem("insec.distance", "Min. Insec Distance").SetValue(new Slider(300, 1, 374)));
                //InsecMenu.AddItem(new MenuItem("collision.object.smite", "Smite Collision Object").SetValue(true));
                //InsecMenu.AddItem(new MenuItem("object.usage", "Object Usage").SetValue(true));
                InsecMenu.AddItem(new MenuItem("flash.insec", "Flash Insec").SetValue(new StringList(new[] { "Enabled", "Disabled" }, 1))); //+
               
            }
            HarassMenu = new Menu("Harass Settings", "Harass Settings");
            {
                HarassMenu.AddItem(new MenuItem("q.harass", "Use Q").SetValue(true));
                HarassMenu.AddItem(new MenuItem("e.harass", "Use E").SetValue(true));
                HarassMenu.AddItem(new MenuItem("e2.harass", "Use E2").SetValue(true));
            }

            ClearMenu = new Menu("Clear Settings", "Clear Settings");
            {
                ClearMenu.AddItem(new MenuItem("q.clear", "Use Q").SetValue(true));
                ClearMenu.AddItem(new MenuItem("q2.clear", "> Use Q2").SetValue(true));
                ClearMenu.AddItem(new MenuItem("e.clear", "Use E").SetValue(true));
                ClearMenu.AddItem(new MenuItem("e.minion.count", "E Minion Count").SetValue(new Slider(3, 1, 5)));
                ClearMenu.AddItem(new MenuItem("hydra.clear", "Use Hydra").SetValue(true));
                //ClearMenu.AddItem(new MenuItem("passive.usage.clear", "Passive Usage?").SetValue(new StringList(new[] { "Enabled", "Disabled" }))); // +
                
            }
            JungleMenu = new Menu("Jungle Settings", "Jungle Settings");
            {
                JungleMenu.AddItem(new MenuItem("q.jungle", "Use Q").SetValue(true));
                JungleMenu.AddItem(new MenuItem("q2.jungle", "> Use Q2").SetValue(true));
                JungleMenu.AddItem(new MenuItem("w.jungle", "Use W").SetValue(true));
                JungleMenu.AddItem(new MenuItem("w2.jungle", "> Use W2").SetValue(true));
                JungleMenu.AddItem(new MenuItem("e.jungle", "Use E").SetValue(true));
                JungleMenu.AddItem(new MenuItem("e2.jungle", "> Use E2").SetValue(true));
                JungleMenu.AddItem(new MenuItem("passive.usage.jungle", "Passive Usage?").SetValue(new StringList(new[] { "Enabled", "Disabled" }))); // +
                
            }
            StealMenu = new Menu("Jungle Steal Settings", "Jungle Steal Settings");
            {
                var stealSkill = new Menu("Jung Steal Skill", "Jung Steal Skill");
                {
                    stealSkill.AddItem(new MenuItem("q.steal", "Use Q").SetValue(true));
                    stealSkill.AddItem(new MenuItem("q2.steal", "Use Q2").SetValue(true));
                    StealMenu.AddSubMenu(stealSkill);
                }
                StealMenu.AddItem(new MenuItem("steal.dragon", "Steal Dragon").SetValue(true));
                StealMenu.AddItem(new MenuItem("steal.baron", "Steal Baron").SetValue(true));
            }
            KillStealMenu = new Menu("KillSteal Settings", "KillSteal Settings");
            {
                KillStealMenu.AddItem(new MenuItem("q.ks", "Use Q").SetValue(true));
                KillStealMenu.AddItem(new MenuItem("q2.ks", "> Use Q2").SetValue(true));
                KillStealMenu.AddItem(new MenuItem("e.ks", "Use E").SetValue(true));
                KillStealMenu.AddItem(new MenuItem("r.ks", "Use R").SetValue(true));
                KillStealMenu.AddItem(new MenuItem("killsteal", "Kill Steal?").SetValue(new StringList(new[] { "Enabled", "Disabled" }))); // +
                
            }
            ActivatorMenu = new Menu("Activator Settings", "Activator Settings");
            {
                var hydraMenu = new Menu("Hydra Settings", "Hydra Settings");
                {
                    hydraMenu.AddItem(new MenuItem("use.hydra", "Use Ravenous Hydra (Combo)").SetValue(true)); // 
                    hydraMenu.AddItem(new MenuItem("use.titanic", "Use Titanic Hydra (Combo)").SetValue(true));
                    hydraMenu.AddItem(new MenuItem("use.tiamat", "Use Tiamat(Combo)").SetValue(true));
                    ActivatorMenu.AddSubMenu(hydraMenu);
                }
                var youmuuMenu = new Menu("Youmuu Settings", "Youmuu Settings");
                {
                    youmuuMenu.AddItem(new MenuItem("use.youmuu", "Use Youmuu (Combo)").SetValue(true));
                    ActivatorMenu.AddSubMenu(youmuuMenu);
                }
                var botrkMenu = new Menu("Botrk Settings", "Botrk Settings");
                {
                    botrkMenu.AddItem(new MenuItem("use.botrk", "Use Botrk (Combo)").SetValue(true));
                    botrkMenu.AddItem(new MenuItem("botrk.hp", "If Lee HP < %").SetValue(new Slider(20, 1, 99)));
                    botrkMenu.AddItem(new MenuItem("botrk.enemy.hp", "If Enemy HP < %").SetValue(new Slider(20, 1, 99)));
                    ActivatorMenu.AddSubMenu(botrkMenu);
                }
                var bilgewaterMenu = new Menu("Bilgewater Settings", "Bilgewater Settings");
                {
                    bilgewaterMenu.AddItem(new MenuItem("use.bilgewater", "Use Bilgewater (Combo)").SetValue(true));
                    bilgewaterMenu.AddItem(new MenuItem("bilgewater.hp", "If Lee HP < %").SetValue(new Slider(20, 1, 99)));
                    bilgewaterMenu.AddItem(new MenuItem("bilgewater.enemy.hp", "If Enemy HP < %").SetValue(new Slider(20, 1, 99)));
                    ActivatorMenu.AddSubMenu(bilgewaterMenu);
                }
                var randuinMenu = new Menu("Randuin Settings", "Randuin Settings");
                {
                    randuinMenu.AddItem(new MenuItem("use.randuin", "Use Randuin (Combo)").SetValue(true));
                    randuinMenu.AddItem(new MenuItem("randuin.min.enemy.count", "Min. Enemy Count").SetValue(new Slider(3, 1, 5)));
                    ActivatorMenu.AddSubMenu(randuinMenu);
                }

            }
            MiscMenu = new Menu("Miscellaneous", "Miscellaneous");
            {
                var customizableinterrupter = new Menu("Customizable Interrupter", "Customizable Interrupter");
                {
                    customizableinterrupter.AddItem(new MenuItem("miss.fortune.r", "Miss Fortune (R)").SetValue(true));
                    customizableinterrupter.AddItem(new MenuItem("katarina.r", "Katarina (R)").SetValue(true));
                    customizableinterrupter.AddItem(new MenuItem("customizable.check", "Customizable Interrupter?").SetValue(new StringList(new[] { "Enabled", "Disabled" })));
                    MiscMenu.AddSubMenu(customizableinterrupter);
                }
            }
            DrawMenu = new Menu("Draw Settings", "Draw Settings");
            {
                var skillDraw = new Menu("Skill Draws", "Skill Draws");
                {
                    skillDraw.AddItem(new MenuItem("q.draw", "Q Range").SetValue(new Circle(true, Color.White)));
                    skillDraw.AddItem(new MenuItem("q2.draw", "Q2 Range").SetValue(new Circle(true, Color.DarkSeaGreen)));
                    skillDraw.AddItem(new MenuItem("w.draw", "W Range").SetValue(new Circle(true, Color.Gold)));
                    skillDraw.AddItem(new MenuItem("e.draw", "E Range").SetValue(new Circle(true, Color.DodgerBlue)));
                    skillDraw.AddItem(new MenuItem("e2.draw", "E2 Range").SetValue(new Circle(true, Color.SeaGreen)));
                    skillDraw.AddItem(new MenuItem("r.draw", "R Range").SetValue(new Circle(true, Color.GreenYellow)));
                    skillDraw.AddItem(new MenuItem("wardjump.range", "Ward Jump Range").SetValue(new Circle(true, Color.Tomato)));
                    DrawMenu.AddSubMenu(skillDraw);
                }
                var insecDraw = new Menu("Insec Draws", "Insec Draws");
                {
                    insecDraw.AddItem(new MenuItem("flash.insec.text.draw", "Flash Insec Text Draw").SetValue(true));
                    insecDraw.AddItem(new MenuItem("insec.circle", "Insec Circle").SetValue(new Circle(true, Color.Gold)));
                    insecDraw.AddItem(new MenuItem("insec.line", "Insec Line").SetValue(new Circle(true, Color.Gold)));
                    insecDraw.AddItem(new MenuItem("thickness", "Thickness").SetValue(new Slider(5, 1, 5)));
                    DrawMenu.AddSubMenu(insecDraw);
                }
                var objectDraws = new Menu("Object Draws", "Object Draws");
                {
                    objectDraws.AddItem(new MenuItem("ward.draw", "Ward Draw").SetValue(new Circle(true, Color.Red)));
                    DrawMenu.AddSubMenu(objectDraws);
                }
                DrawMenu.AddItem(new MenuItem("draw.damage", "Fill Combo Damage").SetValue(true));

                
            }

            m_evader = new Evader(out Evade, EvadeMethods.LeeSinW);

            Config.AddSubMenu(ComboMenu);
            //Config.AddSubMenu(SMenu);
            //Config.AddSubMenu(HikiMenu);
            Config.AddSubMenu(InsecMenu);
            Config.AddSubMenu(HarassMenu);
            Config.AddSubMenu(ClearMenu);
            Config.AddSubMenu(JungleMenu);
            Config.AddSubMenu(StealMenu);
            Config.AddSubMenu(KillStealMenu);
            Config.AddSubMenu(ActivatorMenu);
            Config.AddSubMenu(MiscMenu);
            Config.AddSubMenu(DrawMenu);
            Config.AddSubMenu(Evade);
            
            
            Config.AddItem(new MenuItem("masterracec0mb0", "                  Hikigaya Lee Sin Keys"));
            Config.AddItem(new MenuItem("insec.active", "Insec!").SetValue(new KeyBind("A".ToCharArray()[0], KeyBindType.Press)));
            Config.AddItem(new MenuItem("flash.insec.active", "Flash Insec!").SetValue(new KeyBind("Z".ToCharArray()[0], KeyBindType.Press)));
            //Config.AddItem(new MenuItem("star.active", "Star Combo!").SetValue(new KeyBind("Z".ToCharArray()[0], KeyBindType.Press)));
            //Config.AddItem(new MenuItem("hiki.active", "Hikigaya Combo!").SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Press)));
            Config.AddItem(new MenuItem("wardjump.active", "Ward Jump!").SetValue(new KeyBind("S".ToCharArray()[0], KeyBindType.Press)));
            Config.AddToMainMenu();
            if (Config.Item("draw.damage").GetValue<bool>())
            {
                DamageIndicator.DamageToUnit = (t) => (float)CalculateComboDamage(t);
            }
            
            Orbwalking.AfterAttack += AfterAttack;
            Game.OnUpdate += Game_OnGameUpdate;
            GameObject.OnCreate += GameObject_OnCreate;
            Drawing.OnDraw += OnDraw;
            
        }