Esempio n. 1
0
 static void SetMenu()
 {
     Menu      = MainMenu.AddMenu("Mysterious Twitch", "Mysterious Twitch");
     ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo Settings");
     ComboMenu.Add("useW", new CheckBox("Use W"));
     ComboMenu.Add("useE", new CheckBox("Use E Killable"));
     MixedMenu = Menu.AddSubMenu("Mixed Settings", "Mixed Settings");
     MixedMenu.Add("useW", new CheckBox("Use W"));
     MixedMenu.Add("useE", new CheckBox("Use E"));
     Misc = Menu.AddSubMenu("Misc Settings", "Misc Settings");
     Misc.Add("Youmuus", new CheckBox("Youmuus with R"));
     Misc.Add("Wtower", new CheckBox("Don't W Under Tower"));
     Misc.Add("noW", new Slider("No W if x aa can kill", 2, 0, 10));
     Misc.Add("EMana", new CheckBox("Save Mana for E"));
 }
Esempio n. 2
0
 static void SetMenu()
 {
     Menu      = MainMenu.AddMenu("Mysterious Sivir", "Mysterious Sivir");
     ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo Settings");
     ComboMenu.Add("useQ", new CheckBox("Use Q"));
     ComboMenu.Add("useW", new CheckBox("Use W"));
     ComboMenu.Add("useR", new CheckBox("Use R"));
     ComboMenu.Add("manaManager", new CheckBox("Mana Manager"));
     MixedMenu = Menu.AddSubMenu("Mixed Settings", "Mixed Settings");
     MixedMenu.Add("useQ", new CheckBox("Use Q"));
     MixedMenu.Add("useW", new CheckBox("Use W"));
     MixedMenu.Add("mana", new Slider("Min Mana %", 50, 0, 100));
     Emenu = Menu.AddSubMenu("Shield Settings", "Shield Settings");
     Emenu.Add("autoE", new CheckBox("Auto E"));
     Emenu.AddGroupLabel("E On : ");
     foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.IsEnemy))
     {
         for (var i = 0; i < 4; i++)
         {
             var spell = enemy.Spellbook.Spells[i];
             if (spell.SData.TargettingType != SpellDataTargetType.Self && spell.SData.TargettingType != SpellDataTargetType.SelfAndUnit)
             {
                 if (spell.SData.TargettingType == SpellDataTargetType.Unit)
                 {
                     Emenu.Add("spell" + spell.SData.Name, new CheckBox(spell.Name, true));
                 }
                 else
                 {
                     Emenu.Add("spell" + spell.SData.Name, new CheckBox(spell.Name, false));
                 }
             }
         }
     }
     LaneClearMenu = Menu.AddSubMenu("Clear Settings", "Clear Settings");
     LaneClearMenu.Add("useQ", new CheckBox("Use Q", false));
     LaneClearMenu.Add("useW", new CheckBox("Use W"));
     LaneClearMenu.Add("mana", new Slider("Min Mana %", 30, 0, 100));
 }