示例#1
0
        public static void CreateMenu()
        {
            menu = new Menu("Easy_Sup.Lux", "Easy_Sup.Lux", true);
            var qconfig = new Menu("q", "[Q] - Light Binding");

            qconfig.Add(Menubase.lux_q.Q);
            qconfig.Add(Menubase.lux_q.autoQ);
            qconfig.Add(Menubase.lux_q.gap);
            var wconfig = new Menu("w", "[W] - Super Magical Barrier");

            wconfig.Add(Menubase.lux_w.W);
            wconfig.Add(Menubase.lux_w.Wper);
            //wconfig.Add(Menubase.lux_w.autoW);

            var econfig = new Menu("e", "[E] - Lucent Singularity");

            econfig.Add(Menubase.lux_e.E);
            var rconfig = new Menu("r", "[R] - Finales Funkeln");

            rconfig.Add(Menubase.lux_r.R);
            rconfig.Add(Menubase.lux_r.Rkill);
            rconfig.Add(Menubase.lux_r.rprecision);
            var ks = new Menu("ks", "Killsteal Config");

            ks.Add(Menubase.lux_ks.ksQ);
            ks.Add(Menubase.lux_ks.ksE);
            ks.Add(Menubase.lux_ks.ksR);
            var clear = new Menu("clear", "Clear Wave config");

            clear.Add(Menubase.lux_clear.clearQ);
            clear.Add(Menubase.lux_clear.Qcount);
            clear.Add(Menubase.lux_clear.clearE);
            clear.Add(Menubase.lux_clear.Ecount);
            clear.Add(Menubase.lux_clear.mana);
            var jgsteal = new Menu("jgsteal", "Steal Buffs Config");

            jgsteal.Add(Menubase.lux_steal.steal);
            jgsteal.Add(Menubase.lux_steal.red);
            jgsteal.Add(Menubase.lux_steal.blue);
            jgsteal.Add(Menubase.lux_steal.dragon);
            jgsteal.Add(Menubase.lux_steal.baron);
            var hitchance = new Menu("hitchance", "Hitchance Config");

            hitchance.Add(Menubase.lux_hit.qhit);
            hitchance.Add(Menubase.lux_hit.ehit);
            hitchance.Add(Menubase.lux_hit.rhit);

            menu.Add(qconfig);
            menu.Add(wconfig);
            menu.Add(econfig);
            menu.Add(rconfig);
            menu.Add(ks);
            menu.Add(clear);
            menu.Add(hitchance);
            var spred = new Menu("Spred", "SPrediction Config");

            Prediction.Initialize(spred);
            //menu.Add(jgsteal);
            menu.Attach();
        }
示例#2
0
        /// <summary>
        /// Sets the menu.
        /// </summary>
        public static void Initialize()
        {
            /// <summary>
            /// Sets the prediction menu.
            /// </summary>
            Prediction.Initialize(Variables.Menu);

            /// <summary>
            /// Sets the spells menu.
            /// </summary>
            Variables.SettingsMenu = new Menu("Spells", $"{Variables.MainMenuName}.settingsmenu");
            {
                Variables.QMenu = new Menu("Use Q to:", $"{Variables.MainMenuName}.qmenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Green);
                {
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.auto", "Damage Mitigation")).SetValue(true);
                }
                Variables.SettingsMenu.AddSubMenu(Variables.QMenu);

                Variables.WMenu = new Menu("Use W to:", $"{Variables.MainMenuName}.wmenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Purple);
                {
                    Variables.WMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.wspell.auto", "Logical")).SetValue(true);
                }
                Variables.SettingsMenu.AddSubMenu(Variables.WMenu);

                Variables.EMenu = new Menu("Use E to:", $"{Variables.MainMenuName}.emenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Cyan);
                {
                    Variables.EMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.espell.combo", "Engage/Out AA Range")).SetValue(true);
                    Variables.EMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.espell.farm", "LaneClear")).SetValue(true);
                }
                Variables.SettingsMenu.AddSubMenu(Variables.EMenu);

                Variables.RMenu = new Menu("Use R to:", $"{Variables.MainMenuName}.rmenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Red);
                {
                    Variables.RMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.rspell.lifesaver", "LifeSaver")).SetValue(true);
                }
                Variables.SettingsMenu.AddSubMenu(Variables.RMenu);
            }
            Variables.Menu.AddSubMenu(Variables.SettingsMenu);

            /// <summary>
            /// Sets the drawings menu.
            /// </summary>
            Variables.DrawingsMenu = new Menu("Drawings", $"{Variables.MainMenuName}.drawingsmenu");
            {
                Variables.DrawingsMenu
                .AddItem(new MenuItem($"{Variables.MainMenuName}.drawings.w", "W Range"))
                .SetValue(false)
                .SetFontStyle(FontStyle.Regular, Color.Purple);

                Variables.DrawingsMenu
                .AddItem(new MenuItem($"{Variables.MainMenuName}.drawings.e", "E Range"))
                .SetValue(false)
                .SetFontStyle(FontStyle.Regular, Color.Cyan);
            }
            Variables.Menu.AddSubMenu(Variables.DrawingsMenu);
        }
示例#3
0
        public static void Initialize()
        {
            TargetSelector.Initialize();
            Prediction.Initialize();
            Hacks.Initialize();
            //FakeClicks.Initialize();

            Instance.AddToMainMenu();
        }
示例#4
0
        /// <summary>
        ///     Initializes a static instance of the <see cref="CommonMenu" /> class.
        /// </summary>
        static CommonMenu()
        {
            TargetSelector.Initialize();
            Prediction.Initialize();
            Hacks.Initialize();
            FakeClicks.Initialize();

            Instance.AddToMainMenu();
        }
示例#5
0
        /// <summary>
        /// Sets the menu.
        /// </summary>
        public static void Initialize()
        {
            /// <summary>
            /// Sets the prediction menu.
            /// </summary>
            Prediction.Initialize(Variables.Menu);

            /// <summary>
            /// Sets the spells menu.
            /// </summary>
            Variables.SettingsMenu = new Menu("Spells", $"{Variables.MainMenuName}.settingsmenu");
            {
                Variables.QMenu = new Menu("Use Q to:", $"{Variables.MainMenuName}.qmenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Green);
                {
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.combo", "Combo")).SetValue(true);
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.ks", "KillSteal")).SetValue(true);
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.immobile", "Harass Impaired Enemies")).SetValue(true);
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.farm", "LaneClear")).SetValue(true);
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.mana", "LaneClear: Mana >= x%"))
                    .SetValue(new Slider(50, 0, 99));
                }
                Variables.SettingsMenu.AddSubMenu(Variables.QMenu);

                Variables.WMenu = new Menu("Use W to:", $"{Variables.MainMenuName}.wmenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Purple);
                {
                    Variables.WMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.wspell.combo", "Combo")).SetValue(true);
                    Variables.WMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.wspell.farm", "LaneClear")).SetValue(true);
                    Variables.WMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.wspell.mana", "LaneClear: Mana >= x%"))
                    .SetValue(new Slider(50, 0, 99));
                }
                Variables.SettingsMenu.AddSubMenu(Variables.WMenu);

                Variables.EMenu = new Menu("Use E to:", $"{Variables.MainMenuName}.emenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Cyan);
                {
                    Variables.EMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.espell.auto", "Logical")).SetValue(true);
                }
                Variables.SettingsMenu.AddSubMenu(Variables.EMenu);
            }
            Variables.Menu.AddSubMenu(Variables.SettingsMenu);

            /// <summary>
            /// Sets the drawings menu.
            /// </summary>
            Variables.DrawingsMenu = new Menu("Drawings", $"{Variables.MainMenuName}.drawingsmenu");
            {
                Variables.DrawingsMenu
                .AddItem(new MenuItem($"{Variables.MainMenuName}.drawings.q", "Q Range"))
                .SetValue(false)
                .SetFontStyle(FontStyle.Regular, Color.Green);
            }
            Variables.Menu.AddSubMenu(Variables.DrawingsMenu);
        }
        public static void Initialize()
        {
            //修改的内容:增加FrozenGJ菜单。
            FrozenGJMenu.Initialize();
            TargetSelector.Initialize();
            Prediction.Initialize();
            Hacks.Initialize();
            FakeClicks.Initialize();

            Instance.AddToMainMenu();
        }
示例#7
0
        protected override void OnLoad(object sender, FeatureBaseEventArgs eventArgs)
        {
            base.OnLoad(sender, eventArgs);

            Menu.AddItem(new MenuItem("Ziggs.Combo.Q.Prediction", "Prediction: ").SetValue(new StringList(new[] { "Common", "SPrediction", "OKTW"}, 1)));

            Menu.AddItem(new MenuItem("Ziggs.Combo.Q.Hitchance", "Hitchance: ").SetValue(new StringList(new[] {"Medium", "High", "Very High"})));

            Menu.AddItem(new MenuItem("Ziggs.Combo.Q.Mana", "Min Mana %").SetValue(new Slider(0, 0, 100)));

            Prediction.Initialize(Menu);
        }
示例#8
0
        public Kalista()
        {
            CreateMenu();
            LoadModules();
            Prediction.Initialize(Menu);
            PopulateList();
            //Custom//DamageIndicator.Initialize(Helper.GetRendDamage);
            Game.OnUpdate  += OnUpdate;
            Drawing.OnDraw += OnDraw;
            Obj_AI_Base.OnProcessSpellCast += OnProcessSpell;
            Spellbook.OnCastSpell          += (sender, args) =>
            {
                if (sender.Owner.IsMe && args.Slot == SpellSlot.Q && ObjectManager.Player.IsDashing())
                {
                    args.Process = false;
                }
            };
            Orbwalker.RegisterCustomMode("com.ikalista.flee", "Flee", "V".ToCharArray()[0]);
            Orbwalking.OnNonKillableMinion += minion =>
            {
                var killableMinion = minion as Obj_AI_Base;
                if (killableMinion == null || !SpellManager.Spell[SpellSlot.E].IsReady() ||
                    ObjectManager.Player.HasBuff("summonerexhaust") || !killableMinion.HasRendBuff())
                {
                    return;
                }

                if (Menu.Item("com.ikalista.laneclear.useEUnkillable").GetValue <bool>() &&
                    killableMinion.IsMobKillable())
                {
                    SpellManager.Spell[SpellSlot.E].Cast();
                }
            };
            Orbwalking.BeforeAttack += args =>
            {
                if (!Menu.Item("com.ikalista.misc.forceW").GetValue <bool>())
                {
                    return;
                }

                var target =
                    HeroManager.Enemies.FirstOrDefault(
                        x => ObjectManager.Player.Distance(x) <= 600 && x.HasBuff("kalistacoopstrikemarkally"));
                if (target != null)
                {
                    Orbwalker.ForceTarget(target);
                }
            };
        }
示例#9
0
        /// <summary>
        ///     Called when [load].
        /// </summary>
        /// <param name="sender">The sender.</param>
        /// <param name="eventArgs">The <see cref="Base.FeatureBaseEventArgs" /> instance containing the event data.</param>
        protected sealed override void OnLoad(object sender, FeatureBaseEventArgs eventArgs)
        {
            if (Variables.Spells != null)
            {
                Variables.Spells[SpellSlot.Q].SetSkillshot(0.25f, 185, 1600, false, SkillshotType.SkillshotCone);
            }

            Menu.AddItem(new MenuItem("QRange", "Q Range ").SetValue(new Slider(820, 0, 825)));

            Menu.AddItem(new MenuItem("QMana", "Mana %").SetValue(new Slider(10, 0, 100)));

            qLogic = new CrescentStrikeLogic();
            logic  = new LogicAll();
            Prediction.Initialize(Menu);
        }
示例#10
0
        private static void CreateMenu()
        {
            var geral = new Menu("menu.base", "thienha1.Pyke", true);

            var Combat = new Menu("Pyke_Combat", "Combo Settings");

            Combat.Add(Menubase.Pyke_Combat.QhitC);
            Combat.Add(Menubase.Pyke_Combat.QC);
            Combat.Add(Menubase.Pyke_Combat.EC);
            Combat.Add(Menubase.Pyke_Combat.EtowerC);
            Combat.Add(Menubase.Pyke_Combat.ECCC);
            Combat.Add(Menubase.Pyke_Combat.RC);
            Combat.Add(Menubase.Pyke_Combat.RkillC);

            var harass = new Menu("harass", "Harass Settings");

            harass.Add(Menubase.Pyke_Harass.Qhit);
            harass.Add(Menubase.Pyke_Harass.Q);
            harass.Add(Menubase.Pyke_Harass.E);
            harass.Add(Menubase.Pyke_Harass.Etower);

            var Clear = new Menu("Clear", "Clear Settings");

            Clear.Add(Menubase.Pyke_Clear.Ec);

            var ks = new Menu("killsteal", "KillSteal Settings");

            ks.Add(Menubase.Pyke_KS.R);

            var misc = new Menu("misc", "Misc Settings");

            misc.Add(Menubase.Pyke_misc.draw);
            misc.Add(Menubase.Pyke_misc.escEW);

            var pred = new Menu("spred", "Spred");

            geral.Add(Combat);
            geral.Add(harass);
            geral.Add(Clear);
            geral.Add(ks);
            geral.Add(misc);
            geral.Add(pred);
            Prediction.Initialize(pred);
            geral.Attach();
        }
示例#11
0
        public static void CreateMenu()
        {
            _config = new Menu("easymid.diana", "Easy_Mid.Diana", true);
            var _q = new Menu("_qmenu", "[Q] - Crescent Strike Settings");

            _q.Add(Qcombo);
            _q.Add(Qharass);
            _q.Add(Qfarm);
            _q.Add(Qclear);
            _q.Add(qhit);
            _q.Add(Qks);

            var _w = new Menu("_wmenu", "[W] - Pale Cascade Settings");

            _w.Add(Wcombo);
            _w.Add(Wharass);
            _w.Add(Wclear);

            var _e = new Menu("_emenu", "[E] - Moonfall Settings");

            _e.Add(Ecombo);
            _e.Add(Eharass);
            _e.Add(Eint);

            var _r = new Menu("_rmenu", "[R] - Lunar Rush Settings");

            _r.Add(Rcombo);
            _r.Add(Rkill);
            _r.Add(rmode);
            _r.Add(Rturret);
            _r.Add(Rks);

            var _pred = new Menu("_pred", "[SPREDICTION]");

            Prediction.Initialize(_pred);

            _config.Add(_q);
            _config.Add(_w);
            _config.Add(_e);
            _config.Add(_r);
            _config.Add(_pred);
            _config.Attach();
        }
示例#12
0
        /// <summary>
        /// Sets the menu.
        /// </summary>
        public static void Initialize()
        {
            /// <summary>
            /// Sets the prediction menu.
            /// </summary>
            Prediction.Initialize(Variables.Menu);

            /// <summary>
            /// Sets the spells menu.
            /// </summary>
            Variables.SettingsMenu = new Menu("Spells", $"{Variables.MainMenuName}.settingsmenu");
            {
                Variables.QMenu = new Menu("Use Q to:", $"{Variables.MainMenuName}.qmenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Green);
                {
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.combo", "Combo")).SetValue(true);
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.farm", "LaneClear")).SetValue(true);
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.mana", "LaneClear: Mana >= x%"))
                    .SetValue(new Slider(50, 0, 99));
                }
                Variables.SettingsMenu.AddSubMenu(Variables.QMenu);

                Variables.WMenu = new Menu("Use W to:", $"{Variables.MainMenuName}.wmenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Purple);
                {
                    Variables.WMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.wspell.combo", "Combo")).SetValue(true);
                    Variables.WMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.wspell.farm", "LaneClear")).SetValue(true);
                    Variables.WMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.wspell.mana", "LaneClear: Mana >= x%"))
                    .SetValue(new Slider(50, 0, 99));
                }
                Variables.SettingsMenu.AddSubMenu(Variables.WMenu);

                Variables.EMenu = new Menu("Use E to:", $"{Variables.MainMenuName}.emenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Cyan);
                {
                    Variables.EMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.espell.combo", "Combo")).SetValue(true);
                    Variables.EMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.espell.farm", "LastHit")).SetValue(true);
                    Variables.EMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.espell.delay", "E Delay (ms)"))
                    .SetValue(new Slider(0, 0, 250));
                }
                Variables.SettingsMenu.AddSubMenu(Variables.EMenu);

                Variables.RMenu = new Menu("Use R to:", $"{Variables.MainMenuName}.rmenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Red);
                {
                    Variables.RMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.rspell.combo", "Combo")).SetValue(true);
                    Variables.RMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.rspell.enemies", "Combo: if facing Enemies >="))
                    .SetValue(new Slider(1, 1, 5));
                }
                Variables.SettingsMenu.AddSubMenu(Variables.RMenu);
            }
            Variables.Menu.AddSubMenu(Variables.SettingsMenu);

            /// <summary>
            /// Sets the miscellaneous menu.
            /// </summary>
            Variables.MiscMenu = new Menu("Miscellaneous", $"{Variables.MainMenuName}.miscmenu");
            {
                Variables.MiscMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.misc.poison", "E non Poisoned Minions")).SetValue(false);
                Variables.MiscMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.misc.aa", "AA in Combo")).SetValue(true);
                Variables.MiscMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.misc.tear", "Stack Tear")).SetValue(true);
                Variables.MiscMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.misc.tearmana", "Stack Tear: Mana >= x%"))
                .SetValue(new Slider(80, 1, 95));
            }
            Variables.Menu.AddSubMenu(Variables.MiscMenu);

            /// <summary>
            /// Sets the drawings menu.
            /// </summary>
            Variables.DrawingsMenu = new Menu("Drawings", $"{Variables.MainMenuName}.drawingsmenu");
            {
                Variables.DrawingsMenu
                .AddItem(new MenuItem($"{Variables.MainMenuName}.drawings.q", "Q Range"))
                .SetValue(false)
                .SetFontStyle(FontStyle.Regular, Color.Green);

                Variables.DrawingsMenu
                .AddItem(new MenuItem($"{Variables.MainMenuName}.drawings.w", "W Range"))
                .SetValue(false)
                .SetFontStyle(FontStyle.Regular, Color.Purple);

                Variables.DrawingsMenu
                .AddItem(new MenuItem($"{Variables.MainMenuName}.drawings.e", "E Range"))
                .SetValue(false)
                .SetFontStyle(FontStyle.Regular, Color.Cyan);

                Variables.DrawingsMenu
                .AddItem(new MenuItem($"{Variables.MainMenuName}.drawings.r", "R Range"))
                .SetValue(false)
                .SetFontStyle(FontStyle.Regular, Color.Red);
            }
            Variables.Menu.AddSubMenu(Variables.DrawingsMenu);
        }
示例#13
0
        /// <summary>
        /// Sets the menu.
        /// </summary>
        public static void Initialize()
        {
            /// <summary>
            /// Sets the prediction menu.
            /// </summary>
            Prediction.Initialize(Variables.Menu);

            /// <summary>
            /// Sets the spells menu.
            /// </summary>
            Variables.SettingsMenu = new Menu("Spells", $"{Variables.MainMenuName}.settingsmenu");
            {
                Variables.QMenu = new Menu("Use Q to:", $"{Variables.MainMenuName}.qmenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Green);
                {
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.combo", "Combo")).SetValue(true);
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.ks", "KillSteal")).SetValue(true);
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.farm", "LaneClear")).SetValue(true);
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.mana", "LaneClear: Mana >= x%"))
                    .SetValue(new Slider(50, 0, 99));
                }
                Variables.SettingsMenu.AddSubMenu(Variables.QMenu);

                Variables.WMenu = new Menu("Use W to:", $"{Variables.MainMenuName}.wmenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Purple);
                {
                    Variables.WMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.wspell.combo", "Combo")).SetValue(true);
                    Variables.WMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.wspell.ir", "Interrupt Enemy Channels")).SetValue(true);
                    Variables.WMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.wspell.gp", "Anti-Gapcloser")).SetValue(true);
                    {
                        Variables.WhiteListMenu = new Menu("Wall: Whitelist Menu", $"{Variables.MainMenuName}.wmenu.whitelistmenu");
                        {
                            foreach (var champ in HeroManager.Enemies)
                            {
                                Variables.WhiteListMenu
                                .AddItem(
                                    new MenuItem(
                                        $"{Variables.MainMenuName}.wspell.whitelist.{champ.ChampionName.ToLower()}",
                                        $"Use against: {champ.ChampionName}")
                                    .SetValue(true)
                                    );
                            }
                        }
                        Variables.WMenu.AddSubMenu(Variables.WhiteListMenu);
                    }
                }
                Variables.SettingsMenu.AddSubMenu(Variables.WMenu);

                Variables.EMenu = new Menu("Use E to:", $"{Variables.MainMenuName}.emenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Cyan);
                {
                    Variables.EMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.espell.combo", "Combo")).SetValue(true);
                    Variables.EMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.espell.ks", "KillSteal")).SetValue(true);
                }
                Variables.SettingsMenu.AddSubMenu(Variables.EMenu);

                Variables.RMenu = new Menu("Use R to:", $"{Variables.MainMenuName}.rmenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Red);
                {
                    Variables.RMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.rspell.combo", "Combo")).SetValue(true);
                    Variables.RMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.rspell.ks", "KillSteal")).SetValue(true);
                    Variables.RMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.rspell.farm", "LaneClear")).SetValue(true);
                }
                Variables.SettingsMenu.AddSubMenu(Variables.RMenu);
            }
            Variables.Menu.AddSubMenu(Variables.SettingsMenu);

            /// <summary>
            /// Sets the miscellaneous menu.
            /// </summary>
            Variables.MiscMenu = new Menu("Miscellaneous", $"{Variables.MainMenuName}.miscmenu");
            {
                Variables.MiscMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.misc.tear", "Stack Tear")).SetValue(true);
            }
            Variables.Menu.AddSubMenu(Variables.MiscMenu);

            /// <summary>
            /// Sets the drawings menu.
            /// </summary>
            Variables.DrawingsMenu = new Menu("Drawings", $"{Variables.MainMenuName}.drawingsmenu");
            {
                Variables.DrawingsMenu
                .AddItem(new MenuItem($"{Variables.MainMenuName}.drawings.q", "Q Range"))
                .SetValue(false)
                .SetFontStyle(FontStyle.Regular, Color.Green);

                Variables.DrawingsMenu
                .AddItem(new MenuItem($"{Variables.MainMenuName}.drawings.w", "W Range"))
                .SetValue(false)
                .SetFontStyle(FontStyle.Regular, Color.Purple);

                Variables.DrawingsMenu
                .AddItem(new MenuItem($"{Variables.MainMenuName}.drawings.e", "E Range"))
                .SetValue(false)
                .SetFontStyle(FontStyle.Regular, Color.Cyan);

                Variables.DrawingsMenu
                .AddItem(new MenuItem($"{Variables.MainMenuName}.drawings.r", "R Range"))
                .SetValue(false)
                .SetFontStyle(FontStyle.Regular, Color.Red);
            }
            Variables.Menu.AddSubMenu(Variables.DrawingsMenu);
        }
示例#14
0
        /// <summary>
        /// Sets the menu.
        /// </summary>
        public static void Initialize()
        {
            /// <summary>
            /// Sets the prediction menu.
            /// </summary>
            Prediction.Initialize(Variables.Menu);

            /// <summary>
            /// Sets the spells menu.
            /// </summary>
            Variables.SettingsMenu = new Menu("Spells", $"{Variables.MainMenuName}.settingsmenu");
            {
                Variables.QMenu = new Menu("Use Q to:", $"{Variables.MainMenuName}.qmenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Green);
                {
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.combo", "Combo")).SetValue(true);
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.farm", "FarmHelper")).SetValue(true);
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.ks", "KillSteal")).SetValue(true);
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.mana", "FarmHelper: Mana >= x%"))
                    .SetValue(new Slider(50, 0, 99));
                }
                Variables.SettingsMenu.AddSubMenu(Variables.QMenu);

                Variables.EMenu = new Menu("Use E to:", $"{Variables.MainMenuName}.emenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Cyan);
                {
                    Variables.EMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.espell.auto", "Logical")).SetValue(true);
                    Variables.EMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.espell.gp", "Anti-Gapcloser")).SetValue(true);
                    Variables.EMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.espell.ir", "Interrupt Enemy Channels")).SetValue(true);
                    Variables.EMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.espell.ks", "KillSteal")).SetValue(false);
                    {
                        Variables.WhiteListMenu = new Menu("Condemn: Whitelist Menu", $"{Variables.MainMenuName}.emenu.whitelistmenu");
                        {
                            foreach (var champ in HeroManager.Enemies)
                            {
                                Variables.WhiteListMenu
                                .AddItem(
                                    new MenuItem(
                                        $"{Variables.MainMenuName}.espell.whitelist.{champ.ChampionName.ToLower()}",
                                        $"Condemn Only: {champ.ChampionName}")
                                    .SetValue(true)
                                    );
                            }
                        }
                        Variables.EMenu.AddSubMenu(Variables.WhiteListMenu);
                    }
                }
                Variables.SettingsMenu.AddSubMenu(Variables.EMenu);
            }
            Variables.Menu.AddSubMenu(Variables.SettingsMenu);

            /// <summary>
            /// Sets the miscellaneous menu.
            /// </summary>
            Variables.MiscMenu = new Menu("Miscellaneous Menu", $"{Variables.MainMenuName}.miscmenu");
            {
                Variables.MiscMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.misc.stacks", "Enable Q if Target -> 2W Stacks")).SetValue(false);
                Variables.MiscMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.misc.resets", "Enable ExorResets (!May stutter!)")).SetValue(false);
                Variables.MiscMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.misc.stealth", "Don't AA when Stealthed")).SetValue(false);
            }
            Variables.SettingsMenu.AddSubMenu(Variables.MiscMenu);

            /// <summary>
            /// Sets the drawings menu.
            /// </summary>
            Variables.DrawingsMenu = new Menu("Drawings", $"{Variables.MainMenuName}.drawingsmenu");
            {
                Variables.DrawingsMenu
                .AddItem(new MenuItem($"{Variables.MainMenuName}.drawings.q", "Q Range"))
                .SetValue(false)
                .SetFontStyle(FontStyle.Regular, Color.Green);

                Variables.DrawingsMenu
                .AddItem(new MenuItem($"{Variables.MainMenuName}.drawings.e", "E Range"))
                .SetValue(false)
                .SetFontStyle(FontStyle.Regular, Color.Cyan);
            }
            Variables.Menu.AddSubMenu(Variables.DrawingsMenu);
        }
示例#15
0
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);

            superParent.Initialize();

            var orbwalker = new OrbwalkerModule();

            orbwalker.Load();

            var comboParent  = new OrbwalkingParent("Combo", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Combo);
            var laneParent   = new OrbwalkingParent("Lane", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var jungleParent = new OrbwalkingParent("Jungle", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var mixedParent  = new OrbwalkingParent("Mixed", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Mixed);
            var draw         = new Parent("Drawings");

            var reformedUtilityParent = new Parent("Reformed Utility");

            reformedUtilityParent.Add(new GragasSkinchanger());

            var qLogic = new QLogic();

            qLogic.Load();

            var qReady = new SpellMustBeReady(SpellSlot.Q);
            var wReady = new SpellMustBeReady(SpellSlot.W);
            var eReady = new SpellMustBeReady(SpellSlot.E);
            var rReady = new SpellMustBeReady(SpellSlot.R);

            comboParent.Add(new ChildBase[]
            {
                new QCombo().Guardian(qReady).Guardian(new SpellMustBeReady(SpellSlot.R)
                {
                    Negated = true
                }),
                new WCombo().Guardian(wReady),
                new ECombo().Guardian(eReady),
                new RCombo().Guardian(rReady)
            });

            laneParent.Add(new ChildBase[]
            {
                new LaneQ().Guardian(qReady),
                new LaneW().Guardian(wReady),
                new LaneE().Guardian(eReady)
            });

            mixedParent.Add(new ChildBase[]
            {
                new QMixed().Guardian(qReady)
            });

            jungleParent.Add(new ChildBase[]
            {
                new QJungle().Guardian(qReady),
                new WJungle().Guardian(wReady),
                new EJungle().Guardian(eReady)
            });

            draw.Add(new ChildBase[]
            {
                new DrawIndicator(),
                new DrawQ(),
                new DrawE(),
                new DrawR()
            });

            superParent.Add(new Base[]
            {
                reformedUtilityParent,
                orbwalker,
                comboParent,
                mixedParent,
                laneParent,
                jungleParent,
                draw
            });

            Prediction.Initialize(superParent.Menu);

            superParent.Load();

            reformedUtilityParent.Menu.Style = FontStyle.Bold;
            reformedUtilityParent.Menu.Color = Color.Cyan;

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;

            Chat.Print("<b><font color=\"#FFFFFF\">[</font></b><b><font color=\"#00e5e5\">Reformed AIO</font></b><b><font color=\"#FFFFFF\">]</font></b><b><font color=\"#FFFFFF\"> - Gragas!</font></b>");
        }
示例#16
0
        /// <summary>
        /// Sets the menu.
        /// </summary>
        public static void Initialize()
        {
            /// <summary>
            /// Sets the prediction menu.
            /// </summary>
            Prediction.Initialize(Variables.Menu);

            /// <summary>
            /// Sets the spells menu.
            /// </summary>
            Variables.SettingsMenu = new Menu("Spells", $"{Variables.MainMenuName}.settingsmenu");
            {
                Variables.QMenu = new Menu("Use Q to:", $"{Variables.MainMenuName}.qmenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Green);
                {
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.combo", "Combo")).SetValue(true);
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.immobile", "Harass Impaired Enemies")).SetValue(true);
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.ks", "KillSteal")).SetValue(true);
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.farm", "LaneClear")).SetValue(true);
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.mana", "LaneClear: Mana >= %"))
                    .SetValue(new Slider(50, 0, 99));
                }
                Variables.SettingsMenu.AddSubMenu(Variables.QMenu);

                Variables.WMenu = new Menu("Use W to:", $"{Variables.MainMenuName}.wmenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Purple);
                {
                    Variables.WMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.wspell.auto", "Logical")).SetValue(true);
                    Variables.WMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.wspell.mana", "Logical: Mana >= %"))
                    .SetValue(new Slider(50, 0, 99));
                }
                Variables.SettingsMenu.AddSubMenu(Variables.WMenu);

                Variables.EMenu = new Menu("Use E to:", $"{Variables.MainMenuName}.emenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Cyan);
                {
                    Variables.EMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.espell.combo", "Combo")).SetValue(true);
                    Variables.EMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.espell.jgc", "JungleClear")).SetValue(true);
                    Variables.EMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.espell.death", "Before Death")).SetValue(true);
                    Variables.EMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.espell.harass", "Minion->Harass")).SetValue(true);
                    Variables.EMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.espell.farm", "FarmHelper/LaneClear")).SetValue(true);
                    Variables.EMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.espell.mana", "FarmHelper/LaneClear: Mana >= %"))
                    .SetValue(new Slider(50, 0, 99));
                    {
                        Variables.WhiteListMenu = new Menu("Minion->Harass: Whitelist", $"{Variables.MainMenuName}.espell.whitelist");
                        {
                            foreach (var champ in HeroManager.Enemies)
                            {
                                Variables.WhiteListMenu
                                .AddItem(
                                    new MenuItem(
                                        $"{Variables.MainMenuName}.espell.whitelist.{champ.ChampionName.ToLower()}",
                                        $"Harass: {champ.ChampionName}")
                                    .SetValue(true));
                            }
                        }
                        Variables.EMenu.AddSubMenu(Variables.WhiteListMenu);
                    }
                }
                Variables.SettingsMenu.AddSubMenu(Variables.EMenu);

                Variables.RMenu = new Menu("Use R to:", $"{Variables.MainMenuName}.rmenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Red);
                {
                    Variables.RMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.rspell.lifesaver", "LifeSaver")).SetValue(true);
                }
                Variables.SettingsMenu.AddSubMenu(Variables.RMenu);
            }
            Variables.Menu.AddSubMenu(Variables.SettingsMenu);

            /// <summary>
            /// Sets the drawings menu.
            /// </summary>
            Variables.DrawingsMenu = new Menu("Drawings", $"{Variables.MainMenuName}.drawingsmenu");
            {
                Variables.DrawingsMenu
                .AddItem(new MenuItem($"{Variables.MainMenuName}.drawings.q", "Q Range"))
                .SetValue(false)
                .SetFontStyle(FontStyle.Regular, Color.Green);

                Variables.DrawingsMenu
                .AddItem(new MenuItem($"{Variables.MainMenuName}.drawings.e", "E Range"))
                .SetValue(false)
                .SetFontStyle(FontStyle.Regular, Color.Cyan);

                Variables.DrawingsMenu
                .AddItem(new MenuItem($"{Variables.MainMenuName}.drawings.edmg", "E Damage"))
                .SetValue(true)
                .SetFontStyle(FontStyle.Regular, Color.Orange);

                Variables.DrawingsMenu
                .AddItem(new MenuItem($"{Variables.MainMenuName}.drawings.r", "R Range"))
                .SetValue(false)
                .SetFontStyle(FontStyle.Regular, Color.Red);
            }
            Variables.Menu.AddSubMenu(Variables.DrawingsMenu);
        }
示例#17
0
        public static void Ezreal_Load()
        {
            Game.Print("SPrediction Ezreal");

            EzQmenu = new Menu("Qmenu", "Q Settings");
            EzWmenu = new Menu("Wmenu", "W Settings");
            EzEmenu = new Menu("Emenu", "E Settings");
            EzRmenu = new Menu("Rmenu", "R Settings");

            EzSpredictionmenu = new Menu("EzSpredictionmenu", "(Sprediction)");

            Prediction.Initialize(EzSpredictionmenu);

            var keys = new Menu("Keys", "Keys");

            keys.Add(EzKeysSetting.SemiRKey).Permashow();
            keys.Add(EzKeysSetting.FarmKey).Permashow();
            keys.Add(EzKeysSetting.HarassKey).Permashow();
            keys.Add(EzKeysSetting.Stacks).Permashow();
            keys.Add(EzKeysSetting.Flee).Permashow();

            EzQmenu.Add(QEzSettings.Qcombo);
            EzQmenu.Add(QEzSettings.QinAA);
            EzQmenu.Add(QEzSettings.Qharass);
            EzQmenu.Add(QEzSettings.HarassMana);
            EzQmenu.Add(QEzSettings.QClear);
            EzQmenu.Add(QEzSettings.ClearMana);

            EzWmenu.Add(WEzSettings.Wcombo);
            EzWmenu.Add(WEzSettings.WClear);
            EzWmenu.Add(WEzSettings.BeforeAA);

            EzEmenu.Add(EEzSettings.Ecombo);
            EzEmenu.Add(EEzSettings.TargetHeath);
            EzEmenu.Add(EEzSettings.TargetCount);

            EzRmenu.Add(REzSettings.Rcombo);
            EzRmenu.Add(REzSettings.MinR);
            EzRmenu.Add(REzSettings.MaxR);
            EzRmenu.Add(REzSettings.BaseUlt);

            EzrealMenu = new Menu("EzrealMenu", "Ezreal Menu", true);
            EzrealMenu.Add(keys);
            EzrealMenu.Add(EzQmenu);
            EzrealMenu.Add(EzWmenu);
            EzrealMenu.Add(EzEmenu);
            EzrealMenu.Add(EzRmenu);

            EzrealMenu.Add(EzSpredictionmenu);
            EzrealMenu.Add(DrawEzSettings.DrawQ);
            EzrealMenu.PermaShowText = "(Sprediction) Ezreal";
            EzrealMenu.Attach();

            Drawing.OnDraw += Drawing_OnDraw;


            Q = new Spell(SpellSlot.Q, 1150f);
            Q.SetSkillshot(0.3f, 60f, 2000f, true, EnsoulSharp.SDK.Prediction.SkillshotType.Line);
            W = new Spell(SpellSlot.W, 1150f);
            W.SetSkillshot(0.3f, 60f, 1200f, false, EnsoulSharp.SDK.Prediction.SkillshotType.Line);
            E = new Spell(SpellSlot.E, 475f)
            {
                Delay = 0.65f
            };
            R = new Spell(SpellSlot.R, 20000f);
            R.SetSkillshot(1.10f, 160f, 2000f, false, EnsoulSharp.SDK.Prediction.SkillshotType.Line);

            Game.OnUpdate      += Game_OnUpdate;
            Orbwalker.OnAction += Orbwalker_OnAction;

            Teleport.OnTeleport += Teleport_OnTeleport;
        }
示例#18
0
        internal static void Initialize()
        {
            // Initialize properties
            SavedValues = new Dictionary <string, Dictionary <string, List <Dictionary <string, object> > > >();
            Instance    = new SimpleControlContainer(ThemeManager.SpriteType.FormComplete, false, true, false)
            {
                IsVisible = false
            };
            Sprite = new Sprite(() => ThemeManager.CurrentTheme.Texture);
            // Control containers
            Instance.Add(AddonButtonContainer = new AddonContainer());
            // Empty controls
            Instance.Add(TitleBar = new EmptyControl(ThemeManager.SpriteType.FormHeader));
            // Buttons
            Instance.Add(ExitButton = new Button(Button.ButtonType.Exit));
            // Text types
            TitleBar.TextObjects.Add(TitleText = new Text("ELOBUDDY", new FontDescription
            {
                FaceName = "Gill Sans MT Pro Medium",
                Height   = 28,
                Quality  = FontQuality.Antialiased,
                Weight   = FontWeight.ExtraBold,
                Width    = 12,
            })
            {
                TextAlign       = Text.Align.Center,
                TextOrientation = Text.Orientation.Center,
                Color           = Color.FromArgb(255, 143, 122, 72),
                Padding         = new Vector2(0, 3)
            });

            // Simple event hooks
            ExitButton.OnActiveStateChanged += delegate
            {
                if (ExitButton.IsActive)
                {
                    IsVisible           = false;
                    ExitButton.IsActive = false;
                }
            };
            TitleBar.OnLeftMouseDown += delegate { MoveOffset = Position - Game.CursorPos2D; };
            TitleBar.OnLeftMouseUp   += delegate { MoveOffset = Vector2.Zero; };

            // Don't pass anything through the menu to the game if the mouse is inside of the menu
            Messages.OnMessage += delegate(Messages.WindowMessage args)
            {
                if (IsMouseInside)
                {
                    args.Process = false;
                }
            };

            // Center menu position
            Position = (new Vector2(Drawing.Width, Drawing.Height) - Instance.Size) / 2;

            // Setup save timer
            SaveTimer          = new Timer(60000);
            SaveTimer.Elapsed += OnSaveTimerElapsed;
            SaveTimer.Start();
            OnSaveTimerElapsed(null, null);

            // Listen to events
            ThemeManager.OnThemeChanged          += OnThemeChanged;
            Sprite.OnMenuDraw                    += OnMenuDraw;
            Messages.OnMessage                   += OnWndMessage;
            AppDomain.CurrentDomain.DomainUnload += OnUnload;
            AppDomain.CurrentDomain.ProcessExit  += OnUnload;

#if DEBUG
            var debugMenu = AddMenu("Debug", "debugging");
            debugMenu.AddGroupLabel("Menu outline (skeleton)");
            debugMenu.Add("drawOutline", new CheckBox("Draw outline", false)).CurrentValue = false;
            debugMenu.AddGroupLabel("Load Bootstrap");
            debugMenu.Add("targetselector", new CheckBox("TargetSelector", false)).CurrentValue = false;
            debugMenu.Add("orbwalker", new CheckBox("Orbwalker", false)).CurrentValue           = false;
            debugMenu.Add("prediction", new CheckBox("Prediction", false)).CurrentValue         = false;
            debugMenu.Add("damagelibrary", new CheckBox("DamageLibrary", false)).CurrentValue   = false;

            debugMenu["drawOutline"].Cast <CheckBox>().OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args)
            {
                ControlContainerBase.DrawOutline = args.NewValue;
            };

            debugMenu["targetselector"].Cast <CheckBox>().OnValueChange += delegate
            {
                TargetSelector.Initialize();
                Core.DelayAction(() => debugMenu.Remove("targetselector"), 25);
            };
            debugMenu["orbwalker"].Cast <CheckBox>().OnValueChange += delegate
            {
                Orbwalker.Initialize();
                Core.DelayAction(() => debugMenu.Remove("orbwalker"), 25);
            };
            debugMenu["prediction"].Cast <CheckBox>().OnValueChange += delegate
            {
                Prediction.Initialize();
                Core.DelayAction(() => debugMenu.Remove("prediction"), 25);
            };
            debugMenu["damagelibrary"].Cast <CheckBox>().OnValueChange += delegate
            {
                DamageLibrary.Initialize();
                Core.DelayAction(() => debugMenu.Remove("damagelibrary"), 25);
            };
#endif

            // Indicate that the menu has finished loading
            IsLoaded = true;
        }
示例#19
0
        /// <summary>
        /// Sets the menu.
        /// </summary>
        public static void Initialize()
        {
            /// <summary>
            /// Sets the prediction menu.
            /// </summary>
            Prediction.Initialize(Variables.Menu);

            /// <summary>
            /// Sets the spells menu.
            /// </summary>
            Variables.SettingsMenu = new Menu("Spells", $"{Variables.MainMenuName}.settingsmenu");
            {
                Variables.QMenu = new Menu("Use Q to:", $"{Variables.MainMenuName}.qmenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Green);
                {
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.combo", "Combo")).SetValue(true);
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.ks", "KillSteal")).SetValue(true);
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.harass", "AutoHarass")).SetValue(true);
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.mana", "AutoHarass: Energy >= x%"))
                    .SetValue(new Slider(50, 0, 99));
                    {
                        Variables.WhiteListMenu = new Menu("AutoHarass: Whitelist Menu", $"{Variables.MainMenuName}.qmenu.whitelistmenu");
                        {
                            foreach (var champ in HeroManager.Enemies)
                            {
                                Variables.WhiteListMenu
                                .AddItem(
                                    new MenuItem(
                                        $"{Variables.MainMenuName}.qspell.whitelist.{champ.ChampionName.ToLower()}",
                                        $"AutoHarass: {champ.ChampionName}")
                                    .SetValue(true)
                                    );
                            }
                        }
                        Variables.QMenu.AddSubMenu(Variables.WhiteListMenu);
                    }
                }
                Variables.SettingsMenu.AddSubMenu(Variables.QMenu);

                Variables.EMenu = new Menu("Use E to:", $"{Variables.MainMenuName}.emenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Cyan);
                {
                    Variables.EMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.espell.combo", "Combo")).SetValue(true);
                    Variables.EMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.espell.ks", "KillSteal")).SetValue(true);
                    Variables.EMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.espell.farm", "LaneClear")).SetValue(true);
                    Variables.EMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.espell.mana", "LaneClear: Energy >= x%"))
                    .SetValue(new Slider(50, 0, 99));
                }
                Variables.SettingsMenu.AddSubMenu(Variables.EMenu);

                Variables.RMenu = new Menu("Use R to:", $"{Variables.MainMenuName}.rmenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Red);
                {
                    Variables.RMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.rspell.lifesaver", "Lifesaver")).SetValue(true);
                }
                Variables.SettingsMenu.AddSubMenu(Variables.RMenu);
            }
            Variables.Menu.AddSubMenu(Variables.SettingsMenu);

            /// <summary>
            /// Sets the drawings menu.
            /// </summary>
            Variables.DrawingsMenu = new Menu("Drawings", $"{Variables.MainMenuName}.drawingsmenu");
            {
                Variables.DrawingsMenu
                .AddItem(new MenuItem($"{Variables.MainMenuName}.drawings.q", "Q Range"))
                .SetValue(false)
                .SetFontStyle(FontStyle.Regular, Color.Green);

                Variables.DrawingsMenu
                .AddItem(new MenuItem($"{Variables.MainMenuName}.drawings.w", "W Range"))
                .SetValue(false)
                .SetFontStyle(FontStyle.Regular, Color.Purple);

                Variables.DrawingsMenu
                .AddItem(new MenuItem($"{Variables.MainMenuName}.drawings.e", "E Range"))
                .SetValue(false)
                .SetFontStyle(FontStyle.Regular, Color.Cyan);
            }
            Variables.Menu.AddSubMenu(Variables.DrawingsMenu);
        }
示例#20
0
        /// <summary>
        /// Sets the menu.
        /// </summary>
        public static void Initialize()
        {
            /// <summary>
            /// Sets the prediction menu.
            /// </summary>
            Prediction.Initialize(Variables.Menu);

            /// <summary>
            /// Sets the spells menu.
            /// </summary>
            Variables.SettingsMenu = new Menu("Spells", $"{Variables.MainMenuName}.settingsmenu");
            {
                Variables.QMenu = new Menu("Use Q to:", $"{Variables.MainMenuName}.qmenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Green);
                {
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.combo", "Combo")).SetValue(true);
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.harass", "AutoHarass")).SetValue(true);
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.ks", "KillSteal")).SetValue(true);
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.farm", "LaneClear")).SetValue(true);
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.mana", "AutoHarass/LaneClear: Mana >= x%"))
                    .SetValue(new Slider(50, 0, 99));
                }
                Variables.SettingsMenu.AddSubMenu(Variables.QMenu);

                Variables.WMenu = new Menu("Use W to:", $"{Variables.MainMenuName}.wmenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Purple);
                {
                    Variables.WMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.wspell.combo", "Combo")).SetValue(true);
                    Variables.WMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.wspell.ks", "KillSteal")).SetValue(true);
                    Variables.WMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.wspell.gp", "Anti-Gapcloser")).SetValue(true);
                    Variables.WMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.wspell.farm", "LaneClear")).SetValue(true);
                    Variables.WMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.wspell.mana", "LaneClear: Mana >= x%"))
                    .SetValue(new Slider(50, 0, 99));
                }
                Variables.SettingsMenu.AddSubMenu(Variables.WMenu);

                Variables.EMenu = new Menu("Use E to:", $"{Variables.MainMenuName}.emenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Cyan);
                {
                    Variables.EMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.espell.combo", "Combo")).SetValue(true);
                    Variables.EMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.espell.ks", "KillSteal")).SetValue(true);
                    Variables.EMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.espell.farm", "LaneClear")).SetValue(true);
                    Variables.EMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.espell.mana", "LaneClear: Mana >= x%"))
                    .SetValue(new Slider(50, 0, 99));
                }
                Variables.SettingsMenu.AddSubMenu(Variables.EMenu);

                Variables.RMenu = new Menu("Use R to:", $"{Variables.MainMenuName}.rmenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Red);
                {
                    Variables.RMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.rspell.combo", "Combo")).SetValue(true);
                    Variables.RMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.rspell.farm", "LaneClear")).SetValue(true);
                }
                Variables.SettingsMenu.AddSubMenu(Variables.RMenu);
            }
            Variables.Menu.AddSubMenu(Variables.SettingsMenu);

            /// <summary>
            /// Sets the miscellaneous menu.
            /// </summary>
            Variables.MiscMenu = new Menu("Miscellaneous", $"{Variables.MainMenuName}.miscmenu");
            {
                Variables.MiscMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.misc.manager", "Keep Perfect Passive (3)")).SetValue(false);
                Variables.MiscMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.misc.tear", "Stack Tear")).SetValue(true);
                Variables.MiscMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.misc.tearmana", "KPP/Stack Tear: Mana > x%"))
                .SetValue(new Slider(80, 1, 95));
            }
            Variables.Menu.AddSubMenu(Variables.MiscMenu);

            /// <summary>
            /// Sets the drawings menu.
            /// </summary>
            Variables.DrawingsMenu = new Menu("Drawings", $"{Variables.MainMenuName}.drawingsmenu");
            {
                Variables.DrawingsMenu
                .AddItem(new MenuItem($"{Variables.MainMenuName}.drawings.q", "Q Range"))
                .SetValue(false)
                .SetFontStyle(FontStyle.Regular, Color.Green);

                Variables.DrawingsMenu
                .AddItem(new MenuItem($"{Variables.MainMenuName}.drawings.w", "W Range"))
                .SetValue(false)
                .SetFontStyle(FontStyle.Regular, Color.Purple);

                Variables.DrawingsMenu
                .AddItem(new MenuItem($"{Variables.MainMenuName}.drawings.e", "E Range"))
                .SetValue(false)
                .SetFontStyle(FontStyle.Regular, Color.Cyan);
            }
            Variables.Menu.AddSubMenu(Variables.DrawingsMenu);
        }
示例#21
0
        /// <summary>
        /// Sets the menu.
        /// </summary>
        public static void Initialize()
        {
            /// <summary>
            /// Sets the prediction menu.
            /// </summary>
            Prediction.Initialize(Variables.Menu);

            /// <summary>
            /// Sets the spells menu.
            /// </summary>
            Variables.SettingsMenu = new Menu("Spells", $"{Variables.MainMenuName}.settingsmenu");
            {
                Variables.QMenu = new Menu("Use Q to:", $"{Variables.MainMenuName}.qmenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Green);
                {
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.combo", "Combo")).SetValue(true);
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.harass", "Minion -> Harass")).SetValue(true);
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.ks", "KillSteal")).SetValue(true);
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.farm", "LaneClear")).SetValue(true);
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.mana", "Harass/LaneClear: Mana >= x%"))
                    .SetValue(new Slider(50, 0, 99));
                    {
                        Variables.WhiteListMenu = new Menu("Minion -> Harass: Whitelist", $"{Variables.MainMenuName}.qspell.whitelist");
                        {
                            foreach (var champ in HeroManager.Enemies)
                            {
                                Variables.WhiteListMenu
                                .AddItem(
                                    new MenuItem(
                                        $"{Variables.MainMenuName}.qspell.whitelist.{champ.ChampionName.ToLower()}",
                                        $"Harass: {champ.ChampionName}")
                                    .SetValue(true));
                            }
                        }
                        Variables.QMenu.AddSubMenu(Variables.WhiteListMenu);
                    }
                }
                Variables.SettingsMenu.AddSubMenu(Variables.QMenu);

                Variables.WMenu = new Menu("Use W to:", $"{Variables.MainMenuName}.wmenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Purple);
                {
                    Variables.WMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.wspell.combo", "Combo")).SetValue(true);
                    Variables.WMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.wspell.ks", "KillSteal")).SetValue(true);
                    Variables.WMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.wspell.farm", "LaneClear")).SetValue(true);
                    Variables.WMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.wspell.mana", "LaneClear: Mana >= x%"))
                    .SetValue(new Slider(50, 0, 99));
                }
                Variables.SettingsMenu.AddSubMenu(Variables.WMenu);

                Variables.EMenu = new Menu("Use E to:", $"{Variables.MainMenuName}.emenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Cyan);
                {
                    Variables.EMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.espell.auto", "Smart Logic")).SetValue(true);
                    Variables.EMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.espell.jcfarm", "JungleClear")).SetValue(true);
                    Variables.EMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.espell.mana", "JungleClear: Mana >= x%"))
                    .SetValue(new Slider(50, 0, 99));
                }
                Variables.SettingsMenu.AddSubMenu(Variables.EMenu);

                Variables.RMenu = new Menu("Use R to:", $"{Variables.MainMenuName}.rmenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Red);
                {
                    Variables.RMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.rspell.boolrsa", "Semi-Automatic R")).SetValue(false);
                    Variables.RMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.rspell.keyrsa", "Key:"))
                    .SetValue(
                        new KeyBind(
                            "T".ToCharArray()[0],
                            KeyBindType.Press));
                }
                Variables.SettingsMenu.AddSubMenu(Variables.RMenu);
            }
            Variables.Menu.AddSubMenu(Variables.SettingsMenu);

            /// <summary>
            /// Sets the drawings menu.
            /// </summary>
            Variables.DrawingsMenu = new Menu("Drawings", $"{Variables.MainMenuName}.drawingsmenu");
            {
                Variables.DrawingsMenu
                .AddItem(new MenuItem($"{Variables.MainMenuName}.drawings.q", "Q Range"))
                .SetValue(false)
                .SetFontStyle(FontStyle.Regular, Color.Green);

                Variables.DrawingsMenu
                .AddItem(new MenuItem($"{Variables.MainMenuName}.drawings.qe", "Q Extended Range"))
                .SetValue(false)
                .SetFontStyle(FontStyle.Regular, Color.LightGreen);

                Variables.DrawingsMenu
                .AddItem(new MenuItem($"{Variables.MainMenuName}.drawings.w", "W Range"))
                .SetValue(false)
                .SetFontStyle(FontStyle.Regular, Color.Purple);

                Variables.DrawingsMenu
                .AddItem(new MenuItem($"{Variables.MainMenuName}.drawings.e", "E Range"))
                .SetValue(false)
                .SetFontStyle(FontStyle.Regular, Color.Cyan);
            }
            Variables.Menu.AddSubMenu(Variables.DrawingsMenu);
        }
示例#22
0
        static void DatMenu()
        {
            menu = new Menu("t7" + CharName, "T7 " + CharName, true);
            menu.Add(new MenuSeparator("sep", "By Toyota7 v" + version));

            combo = new Menu("combo", "Combo");
            combo.Add(new MenuBool("CQ", "Use Q"));
            combo.Add(new MenuBool("CW", "Use W", false));
            combo.Add(new MenuBool("CWS", "Use W For Stacks", false));
            combo.Add(new MenuSlider("CWMIN", "Min Enemies For W", 2, 1, 5));
            combo.Add(new MenuBool("CE", "Use E"));
            combo.Add(new MenuBool("CEG", "Use E On Minions To Gapclose"));
            combo.Add(new MenuBool("CES", "Use E For Stacks"));
            combo.Add(new MenuBool("CEQ", "Use EQ On Multiple Targets", false));
            combo.Add(new MenuBool("CR", "Use R"));
            combo.Add(new MenuBool("CIGN", "Use Ignite"));
            menu.Add(combo);

            laneclear = new Menu("LANEC", "Laneclear");
            laneclear.Add(new MenuBool("LQ", "Use Q"));
            laneclear.Add(new MenuBool("LQCLOSE", "Only Use Close Range Q(Blade)"));
            //laneclear.Add(new MenuSlider("LQMIN", "Min Minions For Q Blade", 5, 1, 10));
            laneclear.Add(new MenuBool("LW", "Use W", false));
            laneclear.Add(new MenuSlider("LWMIN", "Min Minions For W", 5, 1, 10));
            laneclear.Add(new MenuBool("LE", "Use E", false));
            laneclear.Add(new MenuSlider("LEMIN", "Min Minions For E", 2, 1, 4));
            laneclear.Add(new MenuSlider("LMINMANA", "Min Mana % To Laneclear", 50, 5, 100));
            menu.Add(laneclear);

            draw = new Menu("draw", "Drawings");
            draw.Add(new MenuBool("dq", "Draw Q Range"));
            draw.Add(new MenuBool("dw", "Draw W Range"));
            draw.Add(new MenuBool("deraa", "Draw E/R Range"));
            draw.Add(new MenuBool("drdy", "Draw Only Ready Spells", false));
            draw.Add(new MenuBool("DRAWWAY", "Draw Target Waypoints", true));
            draw.Add(new MenuBool("DRAWDMG", "Draw Estimated Dmg on Enemies", true));
            menu.Add(draw);

            misc = new Menu("misc", "Misc");
            //misc.Add(new MenuSeparator("sep10", "Focusing Settings"));
            //misc.Add(new MenuList("FOCUS", "Focus On: ", new string[] { "Enemy ADC", "All Champs(TS)", "Custom Champion" }, 0));
            //misc.Add(new MenuList("CFOCUS", "Which Champion To Focus On? ", EnemyPlayerNames, 0));
            misc.Add(new MenuSeparator("sep12", "Other Settings"));
            Prediction.Initialize(misc, "SPRED");
            misc.Add(new MenuList("chit", "Min Prediction Hitchance", new string[] { "Low", "Medium", "High", "Very High" }, 1)).ValueChanged += (s, e) =>
            {
                hitchance = (HitChance)comb(misc, "chit") + 1;
            };
            misc.Add(new MenuBool("BW", "Block Dangerous Spells With W"));
            foreach (var target in GameObjects.EnemyHeroes)
            {
                if (target.Spellbook.GetSpell(SpellSlot.Q).SData.CastType == SpellDataCastType.Missile ||
                    target.Spellbook.GetSpell(SpellSlot.W).SData.CastType == SpellDataCastType.Missile ||
                    target.Spellbook.GetSpell(SpellSlot.E).SData.CastType == SpellDataCastType.Missile ||
                    target.Spellbook.GetSpell(SpellSlot.R).SData.CastType == SpellDataCastType.Missile)
                {
                    misc.Add(new MenuBool("B" + target.Name, "Block " + target.Name));
                }
            }
            misc.Add(new MenuBool("PS", "Always Proc Passive On Stunned Enemies", false));
            misc.Add(new MenuBool("QGAP", "Use Q(Ranged) On Gapclosers", false));
            misc.Add(new MenuBool("HQ", "Use Q(Ranged) To Harass"));
            misc.Add(new MenuBool("QKS", "Killsteal With Q"));
            misc.Add(new MenuSeparator("sep14", "Auto Potion"));
            misc.Add(new MenuBool("AUTOPOT", "Activate Auto Potion"));
            misc.Add(new MenuSlider("POTMIN", "Min Health % To Active Potion", 50, 1, 100));
            misc.Add(new MenuSeparator("sep15", "Auto Level Up"));
            misc.Add(new MenuBool("autolevel", "Activate Auto Level Up Spells"));


            misc.Add(new MenuList("skinID", "Skin Hack", new string[]
            {
                "Default", "Psy Ops"
            }))
            .ValueChanged += (s, e) => myhero.SetSkin(comb(misc, "skinID"));
            menu.Add(misc);

            menu.Attach();
        }
示例#23
0
        public static void DatMenu()
        {
            menu        = new Menu("veigarxd", "T7 Veigar:R", true);
            combo       = new Menu("combo", "Combo");
            harass      = new Menu("harass", "Harass");
            farm        = new Menu("farmm", "Farm");
            laneclear   = new Menu("lclear", "Laneclear");
            jungleclear = new Menu("jclear", "Jungleclear");
            lasthit     = new Menu("lasthit", "Lasthit");
            misc        = new Menu("misc", "Misc");
            draw        = new Menu("draww", "Drawings");
            pred        = new Menu("predi", "Prediction");

            menu.Add(new MenuSeparator("58274823", "By Toyota7 v2.1"));

            combo.Add(new MenuBool("CQ", "Use Q"));
            combo.Add(new MenuBool("CW", "Use W"));
            combo.Add(new MenuBool("CE", "Use E"));
            combo.Add(new MenuBool("CR", "Use R"));
            if (Ignite != null)
            {
                combo.Add(new MenuBool("IgniteC", "Use Ignite", false));
            }
            combo.Add(new MenuSeparator("8942938", "|"));
            combo.Add(new MenuList("CWMODE", "Select W Mode:", new string[] { "With Prediciton", "Without Prediction", "Only On Stunned Enemies" }, 0));
            combo.Add(new MenuList("CEMODE", "Select E Mode: ", new string[] { "Target On The Center", "Target On The Edge(stun)", "AOE" }, 0));
            combo.Add(new MenuSlider("CEAOE", "Min Champs For AOE Function", 2, 1, 5));
            combo.Add(new MenuBool("EIMMO", "Dont Use E On Immobile Enemies", false));
            menu.Add(combo);

            harass.Add(new MenuBool("HQ", "Use Q", false));
            harass.Add(new MenuList("HQMODE", "Select Q Mode", new string[] { "Spam", "Normal" }, 1));
            harass.Add(new MenuBool("HW", "Use W", false));
            harass.Add(new MenuList("HWMODE", "Select W Mode", new string[] { "With Prediciton", "Without Prediction(Not Recommended)", "Only On Stunned Enemies" }, 2));
            harass.Add(new MenuKeyBind("AUTOH", "Auto Harass ", Keys.H, KeyBindType.Toggle)).Permashow(true);
            harass.Add(new MenuSlider("HMIN", "Min Mana % To Harass", 40, 0, 100));
            menu.Add(harass);

            laneclear.Add(new MenuSeparator("89283563453", "Auto Q Stacking"));
            laneclear.Add(new MenuKeyBind("QSTACK", "Auto Stacking", Keys.J, KeyBindType.Toggle)).Permashow(true, null, SharpDX.Color.LightGreen);
            laneclear.Add(new MenuList("QSTACKMODE", "Select Mode", new string[] { "LastHit Only", "Spam Q" }, 0));
            laneclear.Add(new MenuBool("QSTACKDOUBLE", "Q Through Other Minions"));
            laneclear.Add(new MenuSeparator("4225390234", " "));
            laneclear.Add(new MenuSeparator("4214313453", "Laneclear Settings"));
            laneclear.Add(new MenuBool("LQ", "Use Q"));
            laneclear.Add(new MenuBool("LW", "Use W", false));
            laneclear.Add(new MenuSlider("LWMIN", "Min Minions For W", 2, 1, 6));
            //laneclear.Add(new MenuBool("AUTOL", new CheckBox("Auto Laneclear", false));
            laneclear.Add(new MenuSlider("LMIN", "Min Mana % To Laneclear/AutoStack", 50, 0, 100));
            menu.Add(laneclear);

            jungleclear.Add(new MenuBool("JQ", "Use Q"));
            jungleclear.Add(new MenuList("JQMODE", "Q Mode", new string[] { "All Monsters", "Big Monsters" }, 0));
            jungleclear.Add(new MenuBool("JW", "Use W", false));
            jungleclear.Add(new MenuSlider("JMIN", "Min Mana % To Jungleclear", 10, 0, 100));
            menu.Add(jungleclear);

            lasthit.Add(new MenuBool("LHQ", "Use Q"));
            lasthit.Add(new MenuBool("LHQD", "Q Through Other Minions"));
            menu.Add(lasthit);

            draw.Add(new MenuBool("nodraw", "Disable All Drawings", false));
            draw.Add(new MenuBool("drawQ", "Draw Q Range"));
            draw.Add(new MenuBool("drawW", "Draw W Range"));
            draw.Add(new MenuBool("drawE", "Draw E Range"));
            draw.Add(new MenuBool("drawR", "Draw R Range"));
            draw.Add(new MenuColor("dcolor", "Range Color", ColorBGRA.FromRgba(Color.Fuchsia.ToRgba())));
            draw.Add(new MenuSeparator("84978942", "|"));
            draw.Add(new MenuBool("drawk", "Draw Combo Damage On Enemies"));
            draw.Add(new MenuBool("DRAWTARGET", "Draw Target", false));
            draw.Add(new MenuBool("DRAWWAY", "Draw Target Waypoint"));
            draw.Add(new MenuBool("nodrawc", "Draw Only Ready Spells", false));
            draw.Add(new MenuBool("drawStacks", "Draw Auto Stack Status", false));
            menu.Add(draw);

            misc.Add(new MenuSeparator("5562522342", "Stealing"));
            misc.Add(new MenuBool("KSQ", "Killsteal with Q"));
            misc.Add(new MenuBool("KSW", "Killsteal with W", false));
            misc.Add(new MenuBool("KSR", "Killsteal with R", false));
            if (Ignite != null)
            {
                misc.Add(new MenuBool("autoign", "Auto Ignite If Killable"));
            }
            misc.Add(new MenuBool("KSJ", ">Try< To Steal Dragon/Baron/Rift With W"));
            misc.Add(new MenuSeparator("53434342", "AP"));
            misc.Add(new MenuBool("AUTOPOT", "Auto Potion"));
            misc.Add(new MenuSlider("POTMIN", "Min Health % To Activate Potion", 50, 1, 100));
            misc.Add(new MenuSeparator("5124142", "AntiGapcloser"));
            misc.Add(new MenuList("gapmode", "Use E On Gapcloser Mode:", new string[] { "Off", "Self", "Enemy(Pred)" }, 0));
            misc.Add(new MenuSeparator("5124144213412", "AutoLevelUp Spells"));
            misc.Add(new MenuBool("autolevel", "Activate Auto Level Up Spells"));
            misc.Add(new MenuList("LEVELMODE", "Select Sequence", new string[] { "Q>E>W", "Q>W>E" }, 1));
            menu.Add(misc);

            pred.Add(new MenuList("QPred", "Q Min Hitchance -> ", new string[] { "Low", "Medium", "High", "VeryHigh" }, 1)).ValueChanged += (s, e) =>
            {
                hitQ = (HitChance)comb(pred, "QPred") + 1;
            };;
            pred.Add(new MenuList("WPred", "W Min Hitchance -> ", new string[] { "Low", "Medium", "High", "VeryHigh" }, 1)).ValueChanged += (s, e) =>
            {
                hitW = (HitChance)comb(pred, "WPred") + 1;
            };;
            pred.Add(new MenuList("EPred", "E Min Hitchance -> ", new string[] { "Low", "Medium", "High", "VeryHigh" }, 1)).ValueChanged += (s, e) =>
            {
                hitE = (HitChance)comb(pred, "EPred") + 1;
            };;
            Prediction.Initialize(pred);
            menu.Add(pred);

            menu.Add(new MenuSlider("skinID", "Skin Hack", 9, 0, 31)).ValueChanged += (s, e) => myhero.SetSkin(slider(menu, "skinID"));

            menu.Attach();
        }
示例#24
0
        /// <summary>
        /// Sets the menu.
        /// </summary>
        public static void Initialize()
        {
            /// <summary>
            /// Sets the prediction menu.
            /// </summary>
            Prediction.Initialize(Variables.Menu);

            /// <summary>
            /// Sets the spells menu.
            /// </summary>
            Variables.SettingsMenu = new Menu("Spells", $"{Variables.MainMenuName}.settingsmenu");
            {
                Variables.QMenu = new Menu("Use Q to:", $"{Variables.MainMenuName}.qmenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Green);
                {
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.combo", "Combo")).SetValue(true);
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.ks", "KillSteal")).SetValue(true);
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.farm", "FarmHelper")).SetValue(true);
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.harass", "AutoHarass")).SetValue(true);
                    Variables.QMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.qspell.mana", "FarmHelper/AutoHarass: Mana >= x"))
                    .SetValue(new Slider(50, 10, 99));
                }
                Variables.SettingsMenu.AddSubMenu(Variables.QMenu);

                Variables.WMenu = new Menu("Use W to:", $"{Variables.MainMenuName}.wmenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Purple);
                {
                    Variables.WMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.wspell.combo", "Combo")).SetValue(true);
                    Variables.WMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.wspell.ks", "KillSteal")).SetValue(true);
                    Variables.WMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.wspell.harass", "AutoHarass")).SetValue(false);
                    Variables.WMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.wspell.mana", "AutoHarass: Mana >= x"))
                    .SetValue(new Slider(50, 10, 99));
                }
                Variables.SettingsMenu.AddSubMenu(Variables.WMenu);

                Variables.RMenu = new Menu("Use R to:", $"{Variables.MainMenuName}.rmenu")
                                  .SetFontStyle(FontStyle.Regular, Color.Red);
                {
                    Variables.RMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.rspell.combo", "Combo")).SetValue(true);
                    Variables.RMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.rspell.ks", "KillSteal")).SetValue(true);
                    {
                        Variables.WhiteListMenu = new Menu("Ultimate: Whitelist Menu", $"{Variables.MainMenuName}.rmenu.whitelistmenu");
                        {
                            foreach (var champ in HeroManager.Enemies)
                            {
                                Variables.WhiteListMenu
                                .AddItem(
                                    new MenuItem(
                                        $"{Variables.MainMenuName}.rspell.whitelist.{champ.ChampionName.ToLower()}",
                                        $"Use against: {champ.ChampionName}")
                                    .SetValue(true)
                                    );
                            }
                        }
                        Variables.RMenu.AddSubMenu(Variables.WhiteListMenu);
                    }
                }
                Variables.SettingsMenu.AddSubMenu(Variables.RMenu);
            }
            Variables.Menu.AddSubMenu(Variables.SettingsMenu);

            /// <summary>
            /// Sets the miscellaneous menu.
            /// </summary>
            Variables.MiscMenu = new Menu("Miscellaneous", $"{Variables.MainMenuName}.miscmenu");
            {
                Variables.MiscMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.misc.tear", "Stack Tear")).SetValue(true);
                Variables.MiscMenu.AddItem(new MenuItem($"{Variables.MainMenuName}.misc.tearmana", "Stack Tear: Mana > x%"))
                .SetValue(new Slider(80, 1, 95));
            }
            Variables.Menu.AddSubMenu(Variables.MiscMenu);

            /// <summary>
            /// Sets the drawings menu.
            /// </summary>
            Variables.DrawingsMenu = new Menu("Drawings", $"{Variables.MainMenuName}.drawingsmenu");
            {
                Variables.DrawingsMenu
                .AddItem(new MenuItem($"{Variables.MainMenuName}.drawings.q", "Q Range"))
                .SetValue(false)
                .SetFontStyle(FontStyle.Regular, Color.Green);

                Variables.DrawingsMenu
                .AddItem(new MenuItem($"{Variables.MainMenuName}.drawings.w", "W Range"))
                .SetValue(false)
                .SetFontStyle(FontStyle.Regular, Color.Purple);
            }
            Variables.Menu.AddSubMenu(Variables.DrawingsMenu);
        }