Ejemplo n.º 1
0
        public static void Dogemenu()
        {
            DogeMenu = YMenu.AddSubMenu("Doge", "Doge");
            DogeMenu.Add("smartW", new CheckBox("Smart WindWall"));
            DogeMenu.Add("smartWD",
                         new Slider("Smart WindWall Delay(cast when SPELL is about to hit in x milliseconds)", 3000, 0, 3000));
            DogeMenu.Add("smartEDogue", new CheckBox("E use Doge"));
            DogeMenu.Add("wwDanger", new CheckBox("WindWall only dangerous"));
            var skillShots = MainMenu.AddMenu("Enemy Skillshots", "aShotsSkills");

            foreach (var hero in ObjectManager.Get <AIHeroClient>())
            {
                if (hero.Team != ObjectManager.Player.Team)
                {
                    foreach (var spell in SpellDatabase.Spells)
                    {
                        if (spell.ChampionName == hero.ChampionName)
                        {
                            SubMenu["SMIN"] = skillShots.AddSubMenu(spell.MenuItemName, spell.MenuItemName);

                            SubMenu["SMIN"].Add
                                ("DangerLevel" + spell.MenuItemName,
                                new Slider("Danger level", spell.DangerValue, 5, 1));

                            SubMenu["SMIN"].Add
                                ("IsDangerous" + spell.MenuItemName,
                                new CheckBox("Is Dangerous", spell.IsDangerous));

                            //SubMenu["SMIN"].Add("Draw" + spell.MenuItemName, new CheckBox("Draw"));
                            SubMenu["SMIN"].Add("Enabled" + spell.MenuItemName, new CheckBox("Enabled"));
                        }
                    }
                }
            }
        }
Ejemplo n.º 2
0
        public static void Dogemenu()
        {
            DogeMenu = YMenu.AddSubMenu("躲避", "Doge");
            DogeMenu.Add("smartW", new CheckBox("智能风墙"));
            DogeMenu.Add("smartWD",
                         new Slider("风墙释放延迟(毫秒)", 3000, 0, 3000));
            DogeMenu.Add("smartEDogue", new CheckBox("使用E躲避"));
            DogeMenu.Add("wwDanger", new CheckBox("仅危险技能使用W"));
            var skillShots = MainMenu.AddMenu("敌人技能", "aShotsSkills");

            foreach (var hero in ObjectManager.Get <AIHeroClient>())
            {
                if (hero.Team != ObjectManager.Player.Team)
                {
                    foreach (var spell in SpellDatabase.Spells)
                    {
                        if (spell.ChampionName == hero.ChampionName)
                        {
                            SubMenu["SMIN"] = skillShots.AddSubMenu(spell.MenuItemName, spell.MenuItemName);

                            SubMenu["SMIN"].Add
                                ("DangerLevel" + spell.MenuItemName,
                                new Slider("危险等级", spell.DangerValue, 5, 1));

                            SubMenu["SMIN"].Add
                                ("IsDangerous" + spell.MenuItemName,
                                new CheckBox("危险", spell.IsDangerous));

                            //SubMenu["SMIN"].Add("Draw" + spell.MenuItemName, new CheckBox("Draw"));
                            SubMenu["SMIN"].Add("Enabled" + spell.MenuItemName, new CheckBox("开启"));
                        }
                    }
                }
            }
        }