Exemplo n.º 1
0
        private static void LoadMenu()
        {
            JinxMenu   = MainMenu.AddMenu("Sebby Jinx", "jinx");
            SpellsMenu = JinxMenu.AddSubMenu("Spells Menu", "spells");
            SpellsMenu.AddLabel("Q Settings");
            SpellsMenu.Add("autoQ", new CheckBox("Auto Q"));
            SpellsMenu.Add("Qharass", new CheckBox("Harass Q"));
            SpellsMenu.Add("farmQout", new CheckBox("Q farm out range AA"));
            SpellsMenu.Add("farmQ", new CheckBox("Farm Q"));
            SpellsMenu.Add("Mana", new Slider("LaneClear Q Mana", 80, 30));
            SpellsMenu.AddLabel("W Settings");
            SpellsMenu.Add("autoW", new CheckBox("Combo W"));
            SpellsMenu.AddLabel("Harass W");
            foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.Team != Player.Team))
            {
                SpellsMenu.Add("wharass" + enemy.ChampionName, new CheckBox(enemy.BaseSkinName));
            }

            SpellsMenu.AddLabel("E Settings");
            SpellsMenu.Add("comboE", new CheckBox("Auto E in Combo BETA"));
            SpellsMenu.Add("autoE", new CheckBox("E on CC"));
            SpellsMenu.Add("AGC", new CheckBox("AntiGapcloserE"));
            SpellsMenu.Add("opsE", new CheckBox("OnProcessSpellCastE"));
            SpellsMenu.Add("tel", new CheckBox("Auto E teleport"));
            SpellsMenu.AddLabel("R Settings");
            SpellsMenu.Add("autoR", new CheckBox("Auto R"));
            SpellsMenu.Add("useR",
                           new KeyBind("Semi-manual cast R key", false, KeyBind.BindTypes.HoldActive, "T".ToCharArray()[0]));
            SpellsMenu.Add("hitchanceR", new Slider("Hit Chance R", 0, 0, 2));
            SpellsMenu.Add("Rturret", new CheckBox("Don't R under turret"));
            SpellsMenu.AddLabel("Misc Settings");
            SpellsMenu.Add("manaDisable", new CheckBox("Disable mana manager in combo"));

            JungleStealMenu = JinxMenu.AddSubMenu("Jungle Steal", "JungleSteal");
            JungleStealMenu.AddLabel("Jungle Steal Settings");
            JungleStealMenu.Add("Rjungle", new CheckBox("R Jungle stealer"));
            JungleStealMenu.Add("Rdragon", new CheckBox("Dragon"));
            JungleStealMenu.Add("Rbaron", new CheckBox("Baron"));

            DrawingsMenu = JinxMenu.AddSubMenu("Drawings", "drawingsmenu");
            DrawingsMenu.AddGroupLabel("Drawings Settings");
            DrawingsMenu.AddSeparator();
            DrawingsMenu.Add("qRange", new CheckBox("Q range", false));
            DrawingsMenu.Add("wRange", new CheckBox("W range", false));
            DrawingsMenu.Add("eRange", new CheckBox("E range", false));
            DrawingsMenu.Add("rRange", new CheckBox("R range", false));
            DrawingsMenu.Add("noti", new CheckBox("Show notification", false));
            DrawingsMenu.Add("semi", new CheckBox("Semi-manual R target", false));
            DrawingsMenu.Add("onlyRdy", new CheckBox("Draw only ready spells"));

            PredictionMenu = JinxMenu.AddSubMenu("Prediction", "prediction");
            PredictionMenu.AddSeparator();
            PredictionMenu.Add("Wpred", new Slider("W Hitchance", 50));
            PredictionMenu.Add("Epred", new Slider("E Hitchance", 50));
            PredictionMenu.Add("Rpred", new Slider("R Hitchance", 50));
        }
Exemplo n.º 2
0
        public static void AddSmiteMenu(Menu root)
        {
            root.AddGroupLabel("AutoSmite Settings");
            root.AddSeparator();


            root.Add("active", new CheckBox("Enabled"));
            root.Add("activekey", new KeyBind("Enabled (Hold Key)", true, KeyBind.BindTypes.PressToggle));
            //if (SupportedChampions.Contains(ObjectManager.Player.ChampionName))
            //    RootMenu.Add("disable", new CheckBox("Enabled Champions skill usage (" + ObjectManager.Player.ChampionName + ")", true));
            root.AddSeparator();


            MobsMenu = root.AddSubMenu("Monsters", "Monsters");
            MobsMenu.AddGroupLabel("Monster Settings");
            MobsMenu.AddSeparator();
            MobsMenu.Add("killsmite", new CheckBox("KS Enemy with Smite"));
            MobsMenu.AddSeparator();

            if (Game.MapId == GameMapId.TwistedTreeline)
            {
                MobsMenu.Add("TT_Spiderboss", new CheckBox("Vilemaw Enabled"));
                MobsMenu.Add("TT_NGolem", new CheckBox("Golem Enabled"));
                MobsMenu.Add("TT_NWolf", new CheckBox("Wolf Enabled"));
                MobsMenu.Add("TT_NWraith", new CheckBox("Wraith Enabled"));
            }
            else
            {
                MobsMenu.Add("SRU_Baron", new CheckBox("Baron Enabled"));
                MobsMenu.Add("SRU_RiftHerald", new CheckBox("RiftHerald Enabled"));
                MobsMenu.Add("SRU_Blue", new CheckBox("Blue Enabled"));
                MobsMenu.Add("SRU_Red", new CheckBox("Red Enabled"));
                MobsMenu.Add("SRU_Gromp", new CheckBox("Gromp Enabled"));
                MobsMenu.Add("SRU_Murkwolf", new CheckBox("Murkwolf Enabled"));
                MobsMenu.Add("SRU_Krug", new CheckBox("Krug Enabled"));
                MobsMenu.Add("SRU_Razorbeak", new CheckBox("Razorbeak Enabled"));
                MobsMenu.Add("Sru_Crab", new CheckBox("Crab Enabled"));
                MobsMenu.Add("SRU_Dragon_Elder", new CheckBox("Dragon Elder Enabled"));
                MobsMenu.Add("SRU_Dragon_Air", new CheckBox("Dragon Air Enabled"));
                MobsMenu.Add("SRU_Dragon_Earth", new CheckBox("Dragon Earth Enabled"));
                MobsMenu.Add("SRU_Dragon_Fire", new CheckBox("Dragon Fire Enabled"));
                MobsMenu.Add("SRU_Dragon_Water", new CheckBox("Dragon Water Enabled"));
            }

            DrawingsMenu = root.AddSubMenu("Drawing", "drawing");
            DrawingsMenu.AddGroupLabel("Drawing Settings");
            DrawingsMenu.AddSeparator();
            DrawingsMenu.Add("draw", new CheckBox("Enabled"));
            DrawingsMenu.AddSeparator(10);
            DrawingsMenu.Add("smite", new CheckBox("Draw Smite Range"));
            DrawingsMenu.Add("drawTxt", new CheckBox("Draw Text"));
            DrawingsMenu.Add("killable", new CheckBox("Draw Circle on Killable Monster"));
        }
Exemplo n.º 3
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Leona"))
            {
                return;
            }
            Chat.Print("The Horizon Leona - Loaded,");
            Chat.Print("For best experience left-click target.");

            _Q = new Spell.Active(SpellSlot.Q, 175);
            _W = new Spell.Active(SpellSlot.W, 275);
            _E = new Spell.Skillshot(SpellSlot.E, 750, SkillShotType.Linear, 250, 2000, 70);
            _E.AllowedCollisionCount = int.MaxValue;
            _R = new Spell.Skillshot(SpellSlot.R, 1200, SkillShotType.Circular, castDelay: 250, spellWidth: 200);
            _R.AllowedCollisionCount = int.MaxValue;
            _Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);

            StartMenu     = MainMenu.AddMenu("The Horizon Leona", "The Horizon Leona");
            ComboMenu     = StartMenu.AddSubMenu("Combo", "Combo");
            DrawingsMenu  = StartMenu.AddSubMenu("Drawings", "Drawings");
            ActivatorMenu = StartMenu.AddSubMenu("Activator", "Activator");


            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddLabel("Tick for enable/disable spells in Combo");
            ComboMenu.Add("UseQ", new CheckBox("Use [Q]"));
            ComboMenu.Add("UseW", new CheckBox("Use [W]"));
            ComboMenu.Add("UseE", new CheckBox("Use [E]"));
            ComboMenu.Add("UseR", new CheckBox("Use [R]"));

            DrawingsMenu.AddGroupLabel("Drawing Settings");
            DrawingsMenu.AddLabel("Tick for enable/disable Draw Spell Range");
            DrawingsMenu.Add("DQ", new CheckBox("- Draw [Q] range"));
            DrawingsMenu.AddSeparator(0);
            DrawingsMenu.Add("DW", new CheckBox("- Draw [W] range"));
            DrawingsMenu.AddSeparator(0);
            DrawingsMenu.Add("DE", new CheckBox("- Draw [E] range"));
            DrawingsMenu.AddSeparator(0);
            DrawingsMenu.Add("DR", new CheckBox("- Draw [R] range"));


            ActivatorMenu.AddGroupLabel("Activator Settings");
            ActivatorMenu.AddLabel("Use Summoner Spell");
            ActivatorMenu.Add("IGNI", new CheckBox("- Use Ignite if enemy is killable"));
            ActivatorMenu.AddSeparator(0);
            ActivatorMenu.AddSeparator(1);



            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;
        }
Exemplo n.º 4
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo mode settings for Graves addon");

            ComboMenu.AddLabel("End of the Line	(Q) settings :");
            ComboMenu.Add("Plugins.Graves.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Smoke Screen (W) settings :");
            ComboMenu.Add("Plugins.Graves.ComboMenu.UseW", new CheckBox("Use W"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Quickdraw (E) settings :");
            ComboMenu.Add("Plugins.Graves.ComboMenu.UseE", new CheckBox("Use E"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Collateral Damage (R) settings :");
            ComboMenu.Add("Plugins.Graves.ComboMenu.UseR", new CheckBox("Use R"));
            ComboMenu.Add("Plugins.Graves.ComboMenu.RMinEnemiesHit", new Slider("Use R only if will hit {0} enemies", 0, 0, 5));
            ComboMenu.AddLabel("If set to 0 this setting will be ignored.");
            ComboMenu.Add("Plugins.Graves.ComboMenu.RKeybind", new KeyBind("R keybind", false, KeyBind.BindTypes.HoldActive, 'T'));

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass mode settings for Graves addon");

            HarassMenu.AddLabel("End of the Line (Q) settings :");
            HarassMenu.Add("Plugins.Graves.HarassMenu.UseQ", new CheckBox("Use Q", false));
            HarassMenu.Add("Plugins.Graves.HarassMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 80, 1));

            LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear");
            LaneClearMenu.AddGroupLabel("Lane clear settings for Graves addon");

            LaneClearMenu.AddLabel("Basic settings :");
            LaneClearMenu.Add("Plugins.Graves.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby"));
            var scanRange = LaneClearMenu.Add("Plugins.Graves.LaneClearMenu.ScanRange", new Slider("Range to scan for enemies", 1500, 300, 2500));

            scanRange.OnValueChange += (a, b) =>
            {
                _changingRangeScan = true;
                Core.DelayAction(() =>
                {
                    if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside)
                    {
                        _changingRangeScan = false;
                    }
                }, 2000);
            };
            LaneClearMenu.Add("Plugins.Graves.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("End of the Line (Q) settings :");
            LaneClearMenu.Add("Plugins.Graves.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane Clear"));
            LaneClearMenu.Add("Plugins.Graves.LaneClearMenu.MinMinionsHitQ", new Slider("Min minions hit to use Q", 3, 1, 8));
            LaneClearMenu.AddSeparator(5);
            LaneClearMenu.Add("Plugins.Graves.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear"));
            LaneClearMenu.Add("Plugins.Graves.LaneClearMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1));

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc settings for Graves addon");
            MiscMenu.AddLabel("Basic settings :");
            MiscMenu.Add("Plugins.Graves.MiscMenu.EnableKillsteal", new CheckBox("Enable Killsteal"));
            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("Quickdraw (E) settings :");
            MiscMenu.Add("Plugins.Graves.MiscMenu.EMode", new ComboBox("E mode", 0, "Auto", "Cursor Pos"));
            MiscMenu.Add("Plugins.Graves.MiscMenu.EUsageMode", new ComboBox("E usage", 1, "Always", "After autoattack only"));

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawings settings for Graves addon");

            DrawingsMenu.AddLabel("Basic settings :");
            DrawingsMenu.Add("Plugins.Graves.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("End of the Line (Q) settings :");
            DrawingsMenu.Add("Plugins.Graves.DrawingsMenu.DrawQ", new CheckBox("Draw Q range"));
            DrawingsMenu.Add("Plugins.Graves.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Collateral Damage (R) settings :");
            DrawingsMenu.Add("Plugins.Graves.DrawingsMenu.DrawR", new CheckBox("Draw R range"));
            DrawingsMenu.Add("Plugins.Graves.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };

            DrawingsMenu.AddLabel("Damage indicator settings :");
            DrawingsMenu.Add("Plugins.Graves.DrawingsMenu.DrawDamageIndicator", new CheckBox("Draw damage indicator")).OnValueChange += (a, b) =>
            {
                if (b.NewValue)
                {
                    DamageIndicator.DamageDelegate = HandleDamageIndicator;
                }
                else if (!b.NewValue)
                {
                    DamageIndicator.DamageDelegate = null;
                }
            };
            DrawingsMenu.Add("Plugins.Graves.DrawingsMenu.DamageIndicatorColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[2].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
        }
Exemplo n.º 5
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo mode settings for Urgot addon");

            ComboMenu.AddLabel("Acid Hunter (Q) settings :");
            ComboMenu.Add("Plugins.Urgot.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Terror Capacitor (W) settings :");
            ComboMenu.Add("Plugins.Urgot.ComboMenu.UseW", new CheckBox("Use W"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Noxian Corrosive Charge (E) settings :");
            ComboMenu.Add("Plugins.Urgot.ComboMenu.UseE", new CheckBox("Use E"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Hyper-Kinetic Position Reverser (R) settings :");
            ComboMenu.Add("Plugins.Urgot.ComboMenu.UseR", new CheckBox("Use R"));
            ComboMenu.Add("Plugins.Urgot.ComboMenu.UseRToSwapPosUnderTower", new CheckBox("Try to swap enemy pos under tower"));
            ComboMenu.AddSeparator(5);

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass mode settings for Urgot addon");

            HarassMenu.AddLabel("Acid Hunter (Q) settings :");
            HarassMenu.Add("Plugins.Urgot.HarassMenu.UseQ", new CheckBox("Use Q"));
            HarassMenu.Add("Plugins.Urgot.HarassMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 40, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("Noxian Corrosive Charge (E) settings :");
            HarassMenu.Add("Plugins.Urgot.HarassMenu.UseE", new CheckBox("Use E"));
            HarassMenu.Add("Plugins.Urgot.HarassMenu.MinManaE", new Slider("Min mana percentage ({0}%) to use E", 40, 1));
            HarassMenu.AddSeparator(5);

            LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear");
            LaneClearMenu.AddGroupLabel("Lane clear settings for Urgot addon");

            LaneClearMenu.AddLabel("Basic settings :");
            LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby"));
            var scanRange = LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.ScanRange", new Slider("Range to scan for enemies", 1500, 300, 2500));

            scanRange.OnValueChange += (a, b) =>
            {
                _changingRangeScan = true;
                Core.DelayAction(() =>
                {
                    if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside)
                    {
                        _changingRangeScan = false;
                    }
                }, 2000);
            };
            LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Acid Hunter (Q) settings :");
            LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane Clear"));
            LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear"));
            LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Noxian Corrosive Charge (E) settings :");
            LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.UseEInLaneClear", new CheckBox("Use E in Lane Clear"));
            LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.UseEInJungleClear", new CheckBox("Use E in Jungle Clear"));
            LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.MinManaE", new Slider("Min mana percentage ({0}%) to use E", 50, 1));

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc settings for Urgot addon");
            MiscMenu.AddLabel("Basic settings :");
            MiscMenu.Add("Plugins.Urgot.MiscMenu.EnableKillsteal", new CheckBox("Enable Killsteal"));
            MiscMenu.AddSeparator(2);
            MiscMenu.Add("Plugins.Urgot.MiscMenu.EnableTearStacker", new CheckBox("Enable Tear Stacker"));
            MiscMenu.Add("Plugins.Urgot.MiscMenu.TearStackerMinMana", new Slider("Tear Stacker => Min mana percentage : {0}%", 75));
            MiscMenu.Add("Plugins.Urgot.MiscMenu.EnableTearStacker", new CheckBox("Enable Tear Stacker")).OnValueChange +=
                (a, b) =>
            {
                TearStacker.Enabled = b.NewValue;
            };

            MiscMenu.Add("Plugins.Urgot.MiscMenu.StackOnlyInFountain", new CheckBox("Stack only in fountain", false)).OnValueChange +=
                (a, b) =>
            {
                TearStacker.OnlyInFountain = b.NewValue;
            };

            MiscMenu.Add("Plugins.Urgot.MiscMenu.TearStackerMinMana", new Slider("Tear Stacker => Min mana percentage : {0}%", 75)).OnValueChange +=
                (a, b) =>
            {
                TearStacker.MinimumManaPercent = b.NewValue;
            };

            TearStacker.Enabled            = Settings.Misc.EnableTearStacker;
            TearStacker.OnlyInFountain     = Settings.Misc.StackOnlyInFountain;
            TearStacker.MinimumManaPercent = Settings.Misc.TearStackerMinMana;

            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("Acid Hunter (Q) settings :");
            MiscMenu.Add("Plugins.Urgot.MiscMenu.AutoHarass",
                         new KeyBind("Auto harass", true, KeyBind.BindTypes.PressToggle, 'T'));
            MiscMenu.AddLabel("Enables Auto harass on enemies with E debuff in Lane Clear and Harass mode !");
            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("Terror Capacitor (W) settings :");
            MiscMenu.Add("Plugins.Urgot.MiscMenu.WMinDamage", new Slider("Auto W if incoming damage will deal more than {0}% of my hp", 10, 1));
            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("Hyper-Kinetic Position Reverser (R) settings :");
            MiscMenu.Add("Plugins.Urgot.MiscMenu.UseRAgainstGapclosers", new CheckBox("Use R against gapclosers"));
            MiscMenu.Add("Plugins.Urgot.MiscMenu.UseRToInterrupt", new CheckBox("Use R to interrupt dangerous spells"));

            MenuManager.BuildAntiGapcloserMenu();
            MenuManager.BuildInterrupterMenu();

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawings settings for Urgot addon");

            DrawingsMenu.AddLabel("Basic settings :");
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Acid Hunter (Q) settings :");
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawQ", new CheckBox("Draw Q range"));
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Noxian Corrosive Charge (E) settings :");
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawE", new CheckBox("Draw E range"));
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawEColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Hyper-Kinetic Position Reverser (R) settings :");
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawR", new CheckBox("Draw R range", false));
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[2].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Other settings :");
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawInfo", new CheckBox("Draw Infos")).OnValueChange += (a, b) =>
            {
                if (b.NewValue)
                {
                    DamageIndicator.DamageDelegate = HandleDamageIndicator;
                }
                else if (!b.NewValue)
                {
                    DamageIndicator.DamageDelegate = null;
                }
            };
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.InfoColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[3].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddLabel("Draws damage indicator");
        }
Exemplo n.º 6
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo mode settings for Kog'Maw addon");

            ComboMenu.AddLabel("Caustic Spittle (Q) settings :");
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Bio-Arcane Barrage (W) settings :");
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseW", new CheckBox("Use W"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Void Ooze (E) settings :");
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseE", new CheckBox("Use E"));
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseEVsGapclosers", new CheckBox("Use E against gapclosers"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Living Artillery (R) settings :");
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseR", new CheckBox("Use R"));
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseROnlyToKs", new CheckBox("Use R only to kill steal"));
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.RAllowedStacks",
                          new Slider("Allowed stacks amount to use", 2, 0, 10));
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.RMaxHealth", new Slider("Max enemy health percent to cast R", 25));
            ComboMenu.AddSeparator(2);
            ComboMenu.AddLabel(
                "Maximum health percent to cast R on target. If use R only to kill steal is selected this opction will\nbe ignored.");
            ComboMenu.AddSeparator(5);

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass mode settings for Kog'Maw addon");

            HarassMenu.AddLabel("Caustic Spittle (Q) settings :");
            HarassMenu.Add("Plugins.KogMaw.HarassMenu.UseQ", new CheckBox("Use Q"));
            HarassMenu.Add("Plugins.KogMaw.HarassMenu.MinManaToUseQ",
                           new Slider("Min mana percentage ({0}%) to use Q", 80, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("Bio-Arcane Barrage (W) settings :");
            HarassMenu.Add("Plugins.KogMaw.HarassMenu.UseW", new CheckBox("Use W"));
            HarassMenu.Add("Plugins.KogMaw.HarassMenu.MinManaToUseW", new Slider("Min mana percentage ({0}%) to use W", 40, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("Living Artillery (R) settings :");
            HarassMenu.Add("Plugins.KogMaw.HarassMenu.UseR", new CheckBox("Use R"));
            HarassMenu.Add("Plugins.KogMaw.HarassMenu.RAllowedStacks", new Slider("Allowed stacks amount to use", 2, 0, 10));

            HarassMenu.AddLabel("Use R on :");
            foreach (var aiHeroClient in EntityManager.Heroes.Enemies)
            {
                HarassMenu.Add("Plugins.KogMaw.HarassMenu.UseR." + aiHeroClient.Hero, new CheckBox(aiHeroClient.Hero.ToString()));
            }

            MenuManager.BuildAntiGapcloserMenu();

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawings settings for Kog'Maw addon");

            DrawingsMenu.AddLabel("Basic settings :");
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawSpellRangesWhenReady",
                             new CheckBox("Draw spell ranges only when they are ready"));
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawInfos",
                             new CheckBox("Draw infos"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Caustic Spittle (Q) settings :");
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawQ", new CheckBox("Draw Q", false));
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Bio-Arcane Barrage (W) settings :");
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawW", new CheckBox("Draw W"));
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawWColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Void Ooze (E) settings :");
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawE", new CheckBox("Draw E", false));
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawEColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[2].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Living Artillery (R) settings :");
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawR", new CheckBox("Draw R"));
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[3].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);
        }
Exemplo n.º 7
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo mode settings for Draven addon");

            ComboMenu.AddLabel("Spinning Axe (Q) settings :");
            ComboMenu.Add("Plugins.Draven.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.Add("Plugins.Draven.ComboMenu.MaxAxesAmount", new Slider("Maximum axes amount", 2, 1, 3));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Blood Rush (W) settings :");
            ComboMenu.Add("Plugins.Draven.ComboMenu.UseW", new CheckBox("Use W"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Stand Aside (E) settings :");
            ComboMenu.Add("Plugins.Draven.ComboMenu.UseE", new CheckBox("Use E"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Whirling Death (R) settings :");
            ComboMenu.Add("Plugins.Draven.ComboMenu.UseR", new CheckBox("Use R"));
            ComboMenu.Add("Plugins.Draven.ComboMenu.RKeybind",
                          new KeyBind("R keybind", false, KeyBind.BindTypes.HoldActive, 'T'));
            ComboMenu.AddLabel("Fires R on best target in range when keybind is active.");
            ComboMenu.AddSeparator(5);
            var keybindRange = ComboMenu.Add("Plugins.Draven.ComboMenu.RRangeKeybind",
                                             new Slider("Maximum range to enemy to cast R while keybind is active", 1100, 300, 2500));

            keybindRange.OnValueChange += (a, b) =>
            {
                _changingkeybindRange = true;
                Core.DelayAction(() =>
                {
                    if (!keybindRange.IsLeftMouseDown && !keybindRange.IsMouseInside)
                    {
                        _changingkeybindRange = false;
                    }
                }, 2000);
            };

            AxeSettingsMenu = MenuManager.Menu.AddSubMenu("Axe Settings");
            AxeSettingsMenu.AddGroupLabel("Axe settings for Draven addon");
            AxeSettingsMenu.AddLabel("Basic settings :");
            AxeSettingsMenu.Add("Plugins.Draven.AxeSettingsMenu.CatchAxes", new CheckBox("Catch Axes"));
            AxeSettingsMenu.Add("Plugins.Draven.AxeSettingsMenu.UseWToCatch", new CheckBox("Cast W if axe is uncatchable"));
            AxeSettingsMenu.AddSeparator(5);

            AxeSettingsMenu.AddLabel("Catching settings :");
            var axeMode = AxeSettingsMenu.Add("Plugins.Draven.AxeSettingsMenu.CatchAxesMode",
                                              new ComboBox("Catch mode", 0, "Default", "Brutal", "Yorik"));

            AxeSettingsMenu.AddSeparator(2);
            AxeSettingsMenu.AddLabel("Default mode only tries to catch axe if distance to from player to axe is less than 250.\nBrutal catches all axes within range of desired catch radius.\n" +
                                     "Yorik mode catches axes around player insead of catching axes inside circle around your mouse");
            AxeSettingsMenu.AddSeparator(5);

            AxeSettingsMenu.Add("Plugins.Draven.AxeSettingsMenu.AxeCatchRange", new Slider("Axe Catch Range", 450, 200, 1000));
            AxeSettingsMenu.AddSeparator(2);

            var label = AxeSettingsMenu.Add("YorikMode",
                                            new Label(
                                                "This sets the range around your player within you will catch the axe.\nDon't set this too high."));

            label.IsVisible = axeMode.CurrentValue == 2;

            axeMode.OnValueChange += (sender, args) =>
            {
                label.IsVisible = args.NewValue == 2;
            };

            AxeSettingsMenu.AddSeparator();

            AxeSettingsMenu.AddLabel("Additional settings :");
            AxeSettingsMenu.Add("Plugins.Draven.AxeSettingsMenu.CatchAxesUnderTower",
                                new CheckBox("Catch Axes that are under enemy tower", false));
            AxeSettingsMenu.Add("Plugins.Draven.AxeSettingsMenu.CatchAxesNearEnemies",
                                new CheckBox("Catch Axes that are near enemies", false));

            LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear");
            LaneClearMenu.AddGroupLabel("Lane clear settings for Draven addon");

            LaneClearMenu.AddLabel("Basic settings :");
            LaneClearMenu.Add("Plugins.Draven.LaneClearMenu.EnableLCIfNoEn",
                              new CheckBox("Enable lane clear only if no enemies nearby"));
            var scanRange = LaneClearMenu.Add("Plugins.Draven.LaneClearMenu.ScanRange",
                                              new Slider("Range to scan for enemies", 1500, 300, 2500));

            scanRange.OnValueChange += (a, b) =>
            {
                _changingRangeScan = true;
                Core.DelayAction(() =>
                {
                    if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside)
                    {
                        _changingRangeScan = false;
                    }
                }, 2000);
            };
            LaneClearMenu.Add("Plugins.Draven.LaneClearMenu.AllowedEnemies",
                              new Slider("Allowed enemies amount", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Spinning Axe (Q) settings :");
            LaneClearMenu.Add("Plugins.Draven.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane Clear"));
            LaneClearMenu.Add("Plugins.Draven.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear"));
            LaneClearMenu.Add("Plugins.Draven.LaneClearMenu.MinManaQ",
                              new Slider("Min mana percentage ({0}%) to use Q", 50, 1));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Blood Rush (W) settings :");
            LaneClearMenu.Add("Plugins.Draven.LaneClearMenu.UseWInLaneClear", new CheckBox("Use Q in Lane Clear"));
            LaneClearMenu.Add("Plugins.Draven.LaneClearMenu.UseWInJungleClear", new CheckBox("Use Q in Jungle Clear"));
            LaneClearMenu.Add("Plugins.Draven.LaneClearMenu.MinManaW",
                              new Slider("Min mana percentage ({0}%) to use W", 75, 1));

            MenuManager.BuildAntiGapcloserMenu();
            MenuManager.BuildInterrupterMenu();

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc settings for Draven addon");
            MiscMenu.AddLabel("Basic settings :");
            MiscMenu.Add("Plugins.Draven.MiscMenu.EnableInterrupter", new CheckBox("Enable Interrupter"));
            MiscMenu.Add("Plugins.Draven.MiscMenu.EnableAntiGapcloser", new CheckBox("Enable Anti-Gapcloser"));

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawings settings for Draven addon");

            DrawingsMenu.AddLabel("Basic settings :");
            DrawingsMenu.Add("Plugins.Draven.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Spinning Axe (Q) drawing settings :");
            DrawingsMenu.Add("Plugins.Draven.DrawingsMenu.DrawAxes", new CheckBox("Draw Axes"));
            DrawingsMenu.AddSeparator(1);
            DrawingsMenu.Add("Plugins.Draven.DrawingsMenu.DrawAxesTimer", new CheckBox("Draw Axes timer"));
            DrawingsMenu.Add("Plugins.Draven.DrawingsMenu.DrawAxesCatchRange", new CheckBox("Draw Axe's catch range"));
            DrawingsMenu.Add("Plugins.Draven.DrawingsMenu.DrawAxesCatchRangeColor",
                             new CheckBox("Change Color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Stand Aside (E) drawing settings :");
            DrawingsMenu.Add("Plugins.Draven.DrawingsMenu.DrawE", new CheckBox("Draw E range"));
            DrawingsMenu.Add("Plugins.Draven.DrawingsMenu.DrawEColor",
                             new CheckBox("Change Color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
        }
Exemplo n.º 8
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo mode settings for Caitlyn addon");

            ComboMenu.AddLabel("Piltover Peacemaker	(Q) settings :");
            ComboMenu.Add("Plugins.Caitlyn.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Yordle Snap Trap (W) settings :");
            ComboMenu.Add("Plugins.Caitlyn.ComboMenu.UseW", new CheckBox("Use W"));
            ComboMenu.Add("Plugins.Caitlyn.ComboMenu.UseWOnImmobile", new CheckBox("Use W on immobile"));
            ComboMenu.Add("Plugins.Caitlyn.ComboMenu.WHitChancePercent", new Slider("W hitchance percent : {0}", 85));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("90 Caliber Net (E) settings :");
            ComboMenu.Add("Plugins.Caitlyn.ComboMenu.UseE", new CheckBox("Use E"));
            ComboMenu.Add("Plugins.Caitlyn.ComboMenu.EHitChancePercent", new Slider("E hitchance percent : {0}", 65));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Ace in the Hole (R) settings :");
            ComboMenu.Add("Plugins.Caitlyn.ComboMenu.UseR", new CheckBox("Use R", false));

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass mode settings for Caitlyn addon");

            HarassMenu.AddLabel("Piltover Peacemaker (Q) settings :");
            HarassMenu.Add("Plugins.Caitlyn.HarassMenu.UseQ", new CheckBox("Use Q", false));
            HarassMenu.Add("Plugins.Caitlyn.HarassMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 75, 1));

            LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear");
            LaneClearMenu.AddGroupLabel("Lane clear settings for Caitlyn addon");

            LaneClearMenu.AddLabel("Basic settings :");
            LaneClearMenu.Add("Plugins.Caitlyn.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby", false));
            var scanRange = LaneClearMenu.Add("Plugins.Caitlyn.LaneClearMenu.ScanRange", new Slider("Range to scan for enemies", 1500, 300, 2500));

            scanRange.OnValueChange += (a, b) =>
            {
                _changingRangeScan = true;
                Core.DelayAction(() =>
                {
                    if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside)
                    {
                        _changingRangeScan = false;
                    }
                }, 2000);
            };
            LaneClearMenu.Add("Plugins.Caitlyn.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Piltover Peacemaker (Q) settings :");
            LaneClearMenu.Add("Plugins.Caitlyn.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane clear"));
            LaneClearMenu.Add("Plugins.Caitlyn.LaneClearMenu.MinMinionsKilledForQ", new Slider("Min minions killed to use Q", 3, 1, 6));
            LaneClearMenu.AddSeparator(5);
            LaneClearMenu.Add("Plugins.Caitlyn.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle clear"));
            LaneClearMenu.Add("Plugins.Caitlyn.LaneClearMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1));

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc settings for Caitlyn addon");
            MiscMenu.AddLabel("Basic settings :");
            MiscMenu.Add("Plugins.Caitlyn.MiscMenu.EnableKillsteal", new CheckBox("Enable Killsteal"));
            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("Yordle Snap Trap (W) settings :");
            MiscMenu.Add("Plugins.Caitlyn.MiscMenu.WAgainstGapclosers", new CheckBox("Use W against gapclosers"));

            MiscMenu.AddLabel("90 Caliber Net (E) settings :");
            MiscMenu.Add("Plugins.Caitlyn.MiscMenu.EAgainstGapclosers", new CheckBox("Use E against gapclosers"));

            MenuManager.BuildAntiGapcloserMenu();

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawings settings for Caitlyn addon");

            DrawingsMenu.AddLabel("Basic settings :");
            DrawingsMenu.Add("Plugins.Caitlyn.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Piltover Peacemaker (Q) settings :");
            DrawingsMenu.Add("Plugins.Caitlyn.DrawingsMenu.DrawQ", new CheckBox("Draw Q range"));
            DrawingsMenu.Add("Plugins.Caitlyn.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("90 Caliber Net (E) settings :");
            DrawingsMenu.Add("Plugins.Caitlyn.DrawingsMenu.DrawE", new CheckBox("Draw E range", false));
            DrawingsMenu.Add("Plugins.Caitlyn.DrawingsMenu.DrawEColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Ace in the Hole (R) settings :");
            DrawingsMenu.Add("Plugins.Caitlyn.DrawingsMenu.DrawR", new CheckBox("Draw R range", false));
            DrawingsMenu.Add("Plugins.Caitlyn.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[2].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };

            DrawingsMenu.AddLabel("Damage indicator settings :");
            DrawingsMenu.Add("Plugins.Caitlyn.DrawingsMenu.DrawDamageIndicator", new CheckBox("Draw damage indicator")).OnValueChange += (a, b) =>
            {
                if (b.NewValue)
                {
                    DamageIndicator.DamageDelegate = HandleDamageIndicator;
                }
                else if (!b.NewValue)
                {
                    DamageIndicator.DamageDelegate = null;
                }
            };
            DrawingsMenu.Add("Plugins.Caitlyn.DrawingsMenu.DamageIndicatorColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[3].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
        }
Exemplo n.º 9
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("库奇 连招 设置");

            ComboMenu.AddLabel("Q设置 :");
            ComboMenu.Add("Plugins.Corki.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("E设置 :");
            ComboMenu.Add("Plugins.Corki.ComboMenu.UseE", new CheckBox("Use E"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("W设置 :");
            ComboMenu.Add("Plugins.Corki.ComboMenu.UseW", new CheckBox("Use W", false));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("R设置 :");
            ComboMenu.Add("Plugins.Corki.ComboMenu.UseR", new CheckBox("Use R"));
            ComboMenu.Add("Plugins.Corki.ComboMenu.MinStacksForR", new Slider("最小成数使用R", 1, 1, 7));
            ComboMenu.AddSeparator(1);
            ComboMenu.Add("Plugins.Corki.ComboMenu.RAllowCollision", new CheckBox("允许R的敌人", false));
            ComboMenu.AddLabel("允许R的敌人 适用于敌人的小兵.");

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("库奇 骚扰 设置");

            HarassMenu.AddLabel("Q设置 :");
            HarassMenu.Add("Plugins.Corki.HarassMenu.UseQ", new CheckBox("Use Q"));
            HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseQ", new Slider("最小蓝 百分比 ({0}%) 使用Q", 50, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("E设置 :");
            HarassMenu.Add("Plugins.Corki.HarassMenu.UseE", new CheckBox("Use E"));
            HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseE", new Slider("最小蓝 百分比 ({0}%) 使用E", 50, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("R设置 :");
            HarassMenu.Add("Plugins.Corki.HarassMenu.UseR", new CheckBox("Use R"));
            HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseR", new Slider("最小蓝 百分比 ({0}%) 使用R", 50, 1));
            HarassMenu.Add("Plugins.Corki.HarassMenu.MinStacksToUseR", new Slider("Minimum stacks to use R", 3, 1, 7));
            HarassMenu.AddSeparator(1);
            HarassMenu.Add("Plugins.Corki.HarassMenu.RAllowCollision", new CheckBox("允许R的敌人"));
            HarassMenu.AddLabel("允许R的敌人 适用于敌人的小兵.");

            LaneClearMenu = MenuManager.Menu.AddSubMenu("Lane clear");
            LaneClearMenu.AddGroupLabel("库奇 清线 设置");

            LaneClearMenu.AddLabel("基本设置 :");
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.EnableLCIfNoEn", new CheckBox("只有附近没有敌人才能启用清线"));
            var scanRange = LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.ScanRange", new Slider("扫描敌人范围", 1500, 300, 2500));

            scanRange.OnValueChange += (a, b) =>
            {
                _changingRangeScan = true;
                Core.DelayAction(() =>
                {
                    if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside)
                    {
                        _changingRangeScan = false;
                    }
                }, 2000);
            };
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.AllowedEnemies", new Slider("敌人数量", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Phosphorus Bomb (Q) settings :");
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseQ", new CheckBox("Use Q"));
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinMinionsKilledToUseQ", new Slider("最少杀死使用Q", 2, 1, 6));
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseQ", new Slider("最小蓝 百分比 ({0}%) 使用Q", 50, 1));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Gatling Gun (E) settings :");
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseE", new CheckBox("Use E", false));
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseE", new Slider("最小蓝 百分比 ({0}%) 使用E", 50, 1));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Missile Barrage (R) settings :");
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseR", new CheckBox("Use R"));
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseR", new Slider("最小蓝 百分比 ({0}%) 使用R", 50, 1));
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinStacksToUseR", new Slider("最小成数使用R", 6, 1, 7));
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinMinionsHitToUseR", new Slider("最少R到小兵", 3, 1, 4));

            JungleClearMenu = MenuManager.Menu.AddSubMenu("Jungle clear");
            JungleClearMenu.AddGroupLabel("库奇 打野 设置");

            JungleClearMenu.AddLabel("Q设置 :");
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseQ", new CheckBox("Use Q"));
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseQ", new Slider("最小蓝 百分比 ({0}%) 使用Q", 50, 1));
            JungleClearMenu.AddSeparator(5);

            JungleClearMenu.AddLabel("Gatling Gun (E) settings :");
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseE", new CheckBox("Use E", false));
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseE", new Slider("最小蓝 百分比 ({0}%) 使用E", 50, 1));
            JungleClearMenu.AddSeparator(5);

            JungleClearMenu.AddLabel("Missile Barrage (R) settings :");
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseR", new CheckBox("Use R"));
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseR", new Slider("最小蓝 百分比 ({0}%) 使用R", 50, 1));
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinStacksToUseR", new Slider("最小成数使用R", 5, 1, 7));
            JungleClearMenu.AddSeparator(1);
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.RAllowCollision", new CheckBox("允许R的敌人"));
            JungleClearMenu.AddLabel("允许R的敌人也适用于敌人 小兵 野怪.");

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("库奇 其他 设置");
            MiscMenu.AddLabel("自动 骚扰 设置: ");
            MiscMenu.Add("Plugins.Corki.MiscMenu.AutoHarassEnabled",
                         new KeyBind("自动骚扰热键", true, KeyBind.BindTypes.PressToggle, 'T'));
            MiscMenu.Add("Plugins.Corki.MiscMenu.UseBigBomb", new CheckBox("适用大炸弹", false));
            MiscMenu.Add("Plugins.Corki.MiscMenu.MinStacksToUseR", new Slider("最小成数使用R", 3, 1, 7));
            MiscMenu.AddSeparator(5);
            MiscMenu.AddLabel("自动骚扰开启 : ");

            foreach (var enemy in EntityManager.Heroes.Enemies)
            {
                MiscMenu.Add("Plugins.Corki.MiscMenu.AutoHarassEnabled." + enemy.Hero, new CheckBox(enemy.Hero.ToString()));
            }

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawings settings for Corki addon");

            DrawingsMenu.AddLabel("Basic settings :");
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawSpellRangesWhenReady",
                             new CheckBox("Draw spell ranges only when they are ready"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Phosphorus Bomb (Q) drawing settings :");
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawQ", new CheckBox("Draw Q range"));
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Valkyrie (W) drawing settings :");
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawW", new CheckBox("Draw W range", false));
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawWColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Missile Barrage (R) drawing settings :");
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawR", new CheckBox("Draw R range"));
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[2].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Damage indicator drawing settings :");
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawDamageIndicator",
                             new CheckBox("Draw damage indicator on enemy HP bars"));
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawDamageIndicatorColor",
                             new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[3].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
        }
Exemplo n.º 10
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo mode settings for Ezreal addon");

            ComboMenu.AddLabel("Mystic Shot	(Q) settings :");
            ComboMenu.Add("Plugins.Ezreal.ComboMenu.UseQ", new CheckBox("Kullan Q"));
            ComboMenu.Add("Plugins.Ezreal.ComboMenu.UseQOnImmobile", new CheckBox("Kacamayan dusmanlara kullan"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Essence Flux (W) settings :");
            ComboMenu.Add("Plugins.Ezreal.ComboMenu.UseW", new CheckBox("Kullan W"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Arcane Shift (E) settings :");
            ComboMenu.Add("Plugins.Ezreal.ComboMenu.UseE", new CheckBox("Kullan E"));
            ComboMenu.AddSeparator(2);
            ComboMenu.Add("Plugins.Ezreal.ComboMenu.WEComboKeybind", new KeyBind("W => E combo", false, KeyBind.BindTypes.HoldActive, 'T'));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Trueshot Barrage (R) settings :");
            ComboMenu.Add("Plugins.Ezreal.ComboMenu.UseR", new CheckBox("Kullan R"));
            ComboMenu.Add("Plugins.Ezreal.ComboMenu.UseRToKillsteal", new CheckBox("Sadece kesiliceklere R kullan"));
            ComboMenu.Add("Plugins.Ezreal.ComboMenu.RMinEnemiesHit", new Slider("R kullanınca carpicak {0} dusman sayisi", 3, 1, 5));
            ComboMenu.Add("Plugins.Ezreal.ComboMenu.RKeybind", new KeyBind("R keybind", false, KeyBind.BindTypes.HoldActive, 'T'));

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass mode settings for Ezreal addon");

            HarassMenu.AddLabel("Mystic Shot (Q) settings :");
            HarassMenu.Add("Plugins.Ezreal.HarassMenu.UseQ",
                           new KeyBind("Enable auto harass", false, KeyBind.BindTypes.PressToggle, 'A')).OnValueChange
                +=
                    (sender, args) =>
                {
                AutoHarassItem.Value = args.NewValue;
                };

            HarassMenu.AddLabel("Essence Flux (W) settings :");
            HarassMenu.Add("Plugins.Ezreal.HarassMenu.UseW",
                           new KeyBind("Enable auto harass", false, KeyBind.BindTypes.PressToggle, 'H')).OnValueChange
                +=
                    (sender, args) =>
                {
                AutoHarassItem2.Value = args.NewValue;
                };
            HarassMenu.Add("Plugins.Ezreal.HarassMenu.MinManaQ", new Slider("Gereken en az mana ({0}%) otomatik durtme icin", 30, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("Auto harass enabled for :");
            foreach (var enemy in EntityManager.Heroes.Enemies)
            {
                HarassMenu.Add("Plugins.Ezreal.HarassMenu.UseQ." + enemy.Hero, new CheckBox(enemy.ChampionName == "MonkeyKing" ? "Wukong" : enemy.ChampionName));
            }

            LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear");
            LaneClearMenu.AddGroupLabel("Lane clear settings for Ezreal addon");

            LaneClearMenu.AddLabel("Basic settings :");
            LaneClearMenu.Add("Plugins.Ezreal.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Yakinda dusman yoksa koridor temizle", false));
            var scanRange = LaneClearMenu.Add("Plugins.Ezreal.LaneClearMenu.ScanRange", new Slider("Dusman uzakligi", 1500, 300, 2500));

            scanRange.OnValueChange += (a, b) =>
            {
                _changingRangeScan = true;
                Core.DelayAction(() =>
                {
                    if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside)
                    {
                        _changingRangeScan = false;
                    }
                }, 2000);
            };
            LaneClearMenu.Add("Plugins.Ezreal.LaneClearMenu.AllowedEnemies", new Slider("Izin verilen dusman sayisi", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("End of the Line (Q) settings :");
            LaneClearMenu.Add("Plugins.Ezreal.LaneClearMenu.UseQInLaneClear", new CheckBox("Koridor temizlemede Q kullan"));
            LaneClearMenu.Add("Plugins.Ezreal.LaneClearMenu.LaneClearQMode", new ComboBox("Koridorda Q modu : ", 0, "Son vurus", "Ittirme"));
            LaneClearMenu.AddSeparator(5);
            LaneClearMenu.Add("Plugins.Ezreal.LaneClearMenu.UseQInJungleClear", new CheckBox("Orman temizlemede Q kullan"));
            LaneClearMenu.Add("Plugins.Ezreal.LaneClearMenu.MinManaQ", new Slider("En az mana ({0}%) Q kullanmak icin", 50, 1));

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc settings for Ezreal addon");
            MiscMenu.AddLabel("Basic settings :");
            MiscMenu.Add("Plugins.Ezreal.MiscMenu.EnableKillsteal", new CheckBox("Oldurme sekli aktif"));
            MiscMenu.AddSeparator(2);
            MiscMenu.Add("Plugins.Ezreal.MiscMenu.KeepPassiveStacks", new CheckBox("Mumkunse pasif birikmis olarak tut"));
            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("Essence Flux (W) settings :");
            MiscMenu.Add("Plugins.Ezreal.MiscMenu.WToPushTowers", new CheckBox("Kule itmek icin W kullan"));
            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("Arcane Shift (E) settings :");
            MiscMenu.Add("Plugins.Ezreal.MiscMenu.EAntiMelee", new CheckBox("Kavgada sampiyonlara E kullan"));
            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("Trueshot Barrage (R) settings :");
            MiscMenu.Add("Plugins.Ezreal.MiscMenu.MaxRRangeKillsteal", new Slider("R ile en fazla oldurme uzakligi", 8000, 0, 20000));
            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("Tear Stacker settings :");
            MiscMenu.Add("Plugins.Ezreal.MiscMenu.EnableTearStacker", new CheckBox("Gosyasi kasma etkin")).OnValueChange +=
                (a, b) =>
            {
                TearStacker.Enabled = b.NewValue;
            };

            MiscMenu.Add("Plugins.Ezreal.MiscMenu.StackOnlyInFountain", new CheckBox("Stack only in fountain", false)).OnValueChange +=
                (a, b) =>
            {
                TearStacker.OnlyInFountain = b.NewValue;
            };

            MiscMenu.Add("Plugins.Ezreal.MiscMenu.MinimalManaPercentTearStacker", new Slider("Gereken en az mana ({0}%) gozyasi kasmak icin", 50)).OnValueChange +=
                (a, b) =>
            {
                TearStacker.MinimumManaPercent = b.NewValue;
            };

            MiscMenu.AddSeparator(5);

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawings settings for Ezreal addon");

            DrawingsMenu.AddLabel("Basic settings :");
            DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Hazir olan buyulerin saldiri menzilini ciz"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Mystic Shot (Q) settings :");
            DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DrawQ", new CheckBox("Goster Q menzili"));
            DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DrawQColor", new CheckBox("Renk Sec", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Essence Flux (W) settings :");
            DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DrawW", new CheckBox("Goster W menzili", false));
            DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DrawWColor", new CheckBox("Renk Sec", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };

            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Arcane Shift (E) settings :");
            DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DrawE", new CheckBox("Goster E menzili", false));
            DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DrawEColor", new CheckBox("Renk Sec", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[2].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };

            DrawingsMenu.AddLabel("Damage indicator settings :");
            DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DrawDamageIndicator", new CheckBox("Verilebilicek hasari goster")).OnValueChange += (a, b) =>
            {
                if (b.NewValue)
                {
                    DamageIndicator.DamageDelegate = HandleDamageIndicator;
                }
                else if (!b.NewValue)
                {
                    DamageIndicator.DamageDelegate = null;
                }
            };
            DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DamageIndicatorColor", new CheckBox("Renk Sec", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[3].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };

            TearStacker.Enabled            = Settings.Misc.EnableTearStacker;
            TearStacker.OnlyInFountain     = Settings.Misc.StackOnlyInFountain;
            TearStacker.MinimumManaPercent = Settings.Misc.MinimalManaPercentTearStacker;

            AutoHarassItem  = MenuManager.PermaShow.AddItem("Ezreal.AutoHarass", new BoolItem("Auto harass with Q", Settings.Harass.UseQ));
            AutoHarassItem2 = MenuManager.PermaShow.AddItem("Ezreal.AutoHarassW", new BoolItem("Auto harass with W", Settings.Harass.UseW));
        }
Exemplo n.º 11
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo mode settings for Corki addon");

            ComboMenu.AddLabel("Phosphorus Bomb (Q) settings :");
            ComboMenu.Add("Plugins.Corki.ComboMenu.UseQ", new CheckBox("Kullan Q"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Gatling Gun (E) settings :");
            ComboMenu.Add("Plugins.Corki.ComboMenu.UseE", new CheckBox("Kullan E"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Valkyrie (W) settings :");
            ComboMenu.Add("Plugins.Corki.ComboMenu.UseW", new CheckBox("Kullan W", false));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Missile Barrage (R) settings :");
            ComboMenu.Add("Plugins.Corki.ComboMenu.UseR", new CheckBox("Kullan R"));
            ComboMenu.Add("Plugins.Corki.ComboMenu.MinStacksForR", new Slider("R kullanmak icin en az R sayisi", 1, 1, 7));
            ComboMenu.AddSeparator(1);
            ComboMenu.Add("Plugins.Corki.ComboMenu.RAllowCollision", new CheckBox("Minyonlara carpmaya izin ver", false));
            ComboMenu.AddLabel("Allow collision on minions if damage will be applied on enemy champion.");

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass mode settings for Corki addon");

            HarassMenu.AddLabel("Phosphorus Bomb (Q) settings :");
            HarassMenu.Add("Plugins.Corki.HarassMenu.UseQ", new CheckBox("Kullan Q"));
            HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseQ", new Slider("En az mana ({0}%) Q icin", 50, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("Gatling Gun (E) settings :");
            HarassMenu.Add("Plugins.Corki.HarassMenu.UseE", new CheckBox("Kullan E"));
            HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseE", new Slider("En az mana ({0}%) E icin", 50, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("Missile Barrage (R) settings :");
            HarassMenu.Add("Plugins.Corki.HarassMenu.UseR", new CheckBox("Kullan R"));
            HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseR", new Slider("En az mana ({0}%) R icin", 50, 1));
            HarassMenu.Add("Plugins.Corki.HarassMenu.MinStacksToUseR", new Slider("En az stack R icin", 3, 1, 7));
            HarassMenu.AddSeparator(1);
            HarassMenu.Add("Plugins.Corki.HarassMenu.RAllowCollision", new CheckBox("Minyonlara carpmasina izin ver"));
            HarassMenu.AddLabel("Allow collision on minions if damage will be applied on enemy champion.");

            LaneClearMenu = MenuManager.Menu.AddSubMenu("Lane clear");
            LaneClearMenu.AddGroupLabel("Lane clear mode settings for Corki addon");

            LaneClearMenu.AddLabel("Basic settings :");
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Yakinda dusman yoksa koridor temizle"));
            var scanRange = LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.ScanRange", new Slider("Dusman uzakligi", 1500, 300, 2500));

            scanRange.OnValueChange += (a, b) =>
            {
                _changingRangeScan = true;
                Core.DelayAction(() =>
                {
                    if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside)
                    {
                        _changingRangeScan = false;
                    }
                }, 2000);
            };
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.AllowedEnemies", new Slider("Izin verilen dusman miktarı", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Phosphorus Bomb (Q) settings :");
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseQ", new CheckBox("Kullan Q"));
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinMinionsKilledToUseQ", new Slider("Q ile kesilicek en az minyon sayisi", 2, 1, 6));
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseQ", new Slider("En az mana ({0}%) Q icin", 50, 1));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Gatling Gun (E) settings :");
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseE", new CheckBox("Kullan E", false));
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseE", new Slider("En az mana ({0}%) E icin", 50, 1));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Missile Barrage (R) settings :");
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseR", new CheckBox("Kullan R"));
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseR", new Slider("En az mana ({0}%) R icin", 50, 1));
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinStacksToUseR", new Slider("R kullanmak icin en az kac R olsun", 6, 1, 7));
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinMinionsHitToUseR", new Slider("R en az kac minyona carpsin", 3, 1, 4));

            JungleClearMenu = MenuManager.Menu.AddSubMenu("Jungle clear");
            JungleClearMenu.AddGroupLabel("Jungle clear mode settings for Corki addon");

            JungleClearMenu.AddLabel("Phosphorus Bomb (Q) settings :");
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseQ", new CheckBox("Kullan Q"));
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1));
            JungleClearMenu.AddSeparator(5);

            JungleClearMenu.AddLabel("Gatling Gun (E) settings :");
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseE", new CheckBox("Kullan E", false));
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseE", new Slider("Min mana percentage ({0}%) to use E", 50, 1));
            JungleClearMenu.AddSeparator(5);

            JungleClearMenu.AddLabel("Missile Barrage (R) settings :");
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseR", new CheckBox("Kullan R"));
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseR", new Slider("En az mana ({0}%) R icin", 50, 1));
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinStacksToUseR", new Slider("R kullanmak icin en az kac R olsun", 5, 1, 7));
            JungleClearMenu.AddSeparator(1);
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.RAllowCollision", new CheckBox("Minyonlara carpmasina izin ver"));
            JungleClearMenu.AddLabel("Allow collision on minions if damage will be applied on other minions.");

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc settings for Corki addon");
            MiscMenu.AddLabel("Auto harass settings : ");
            MiscMenu.Add("Plugins.Corki.MiscMenu.AutoHarassEnabled",
                         new KeyBind("Enable auto harass", true, KeyBind.BindTypes.PressToggle, 'T'));
            MiscMenu.Add("Plugins.Corki.MiscMenu.UseBigBomb", new CheckBox("Kullan buyuk bomba", false));
            MiscMenu.Add("Plugins.Corki.MiscMenu.MinStacksToUseR", new Slider("R kullanmak icin en az kac R olsun", 3, 1, 7));
            MiscMenu.AddSeparator(5);
            MiscMenu.AddLabel("Auto harass enabled for : ");

            foreach (var enemy in EntityManager.Heroes.Enemies)
            {
                MiscMenu.Add("Plugins.Corki.MiscMenu.AutoHarassEnabled." + enemy.Hero, new CheckBox(enemy.Hero.ToString()));
            }

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawings settings for Corki addon");

            DrawingsMenu.AddLabel("Basic settings :");
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawSpellRangesWhenReady",
                             new CheckBox("Draw spell ranges only when they are ready"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Phosphorus Bomb (Q) drawing settings :");
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawQ", new CheckBox("Goster Q Mesafesi"));
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawQColor", new CheckBox("Rengi Sec", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Valkyrie (W) drawing settings :");
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawW", new CheckBox("Goster W Mesafesi", false));
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawWColor", new CheckBox("Rengi Sec", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Missile Barrage (R) drawing settings :");
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawR", new CheckBox("Goster R Mesafesi"));
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawRColor", new CheckBox("Rengi Sec", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[2].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Damage indicator drawing settings :");
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawDamageIndicator",
                             new CheckBox("Dusman caninda verilicek hasari goster"));
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawDamageIndicatorColor",
                             new CheckBox("Rengi Sec", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[3].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
        }
Exemplo n.º 12
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo mode settings for Jinx addon");

            ComboMenu.AddLabel("Switcheroo! (Q) settings :");
            ComboMenu.Add("Plugins.Jinx.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Zap! (W) settings :");
            ComboMenu.Add("Plugins.Jinx.ComboMenu.UseW", new CheckBox("Use W"));
            ComboMenu.Add("Plugins.Jinx.ComboMenu.WMinDistanceToTarget", new Slider("Minimum distance to target to cast", 800, 0, 1500));
            ComboMenu.AddLabel("Cast W only if distance from player to target i higher than desired value.");
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Flame Chompers! (E) settings :");
            ComboMenu.Add("Plugins.Jinx.ComboMenu.UseE", new CheckBox("Use E"));
            ComboMenu.Add("Plugins.Jinx.ComboMenu.AutoE", new CheckBox("Automated E usage on certain spells"));
            ComboMenu.AddLabel("Automated E usage fires traps on enemy champions that are Teleporting or are in Zhonyas.\nIt also searchs for spells with long cast time " +
                               "like Caitlyn's R or Malzahar's R");
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Super Mega Death Rocket! (R) settings :");
            ComboMenu.Add("Plugins.Jinx.ComboMenu.UseR", new CheckBox("Use R"));
            ComboMenu.Add("Plugins.Jinx.ComboMenu.RKeybind", new KeyBind("R keybind", false, KeyBind.BindTypes.HoldActive, 'T'));
            ComboMenu.AddLabel("Fires R on best target in range when keybind is active.");
            ComboMenu.AddSeparator(5);
            var keybindRange = ComboMenu.Add("Plugins.Jinx.ComboMenu.RRangeKeybind", new Slider("Maximum range to enemy to cast R while keybind is active", 1100, 300, 5000));

            keybindRange.OnValueChange += (a, b) =>
            {
                _changingkeybindRange = true;
                Core.DelayAction(() =>
                {
                    if (!keybindRange.IsLeftMouseDown && !keybindRange.IsMouseInside)
                    {
                        _changingkeybindRange = false;
                    }
                }, 2000);
            };

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass mode settings for Jinx addon");

            HarassMenu.AddLabel("Switcheroo! (Q) settings :");
            HarassMenu.Add("Plugins.Jinx.HarassMenu.UseQ", new CheckBox("Use Q", false));
            HarassMenu.Add("Plugins.Jinx.HarassMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 80, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("Zap! (W) settings :");
            HarassMenu.Add("Plugins.Jinx.HarassMenu.UseW", new CheckBox("Auto harass with W"));
            HarassMenu.AddLabel("Enables auto harass on enemy champions.");
            HarassMenu.Add("Plugins.Jinx.HarassMenu.MinManaW", new Slider("Min mana percentage ({0}%) to use W", 50, 1));
            HarassMenu.AddSeparator(5);
            HarassMenu.AddLabel("W harass enabled for :");
            foreach (var enemy in EntityManager.Heroes.Enemies)
            {
                HarassMenu.Add("Plugins.Jinx.HarassMenu.UseW." + enemy.Hero, new CheckBox(enemy.ChampionName == "MonkeyKing" ? "Wukong" : enemy.ChampionName));
            }

            LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear");
            LaneClearMenu.AddGroupLabel("Lane clear settings for Jinx addon");

            LaneClearMenu.AddLabel("Basic settings :");
            LaneClearMenu.Add("Plugins.Jinx.LaneClearMenu.EnableLCIfNoEn",
                              new CheckBox("Enable lane clear only if no enemies nearby"));
            var scanRange = LaneClearMenu.Add("Plugins.Jinx.LaneClearMenu.ScanRange",
                                              new Slider("Range to scan for enemies", 1500, 300, 2500));

            scanRange.OnValueChange += (a, b) =>
            {
                _changingRangeScan = true;
                Core.DelayAction(() =>
                {
                    if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside)
                    {
                        _changingRangeScan = false;
                    }
                }, 2000);
            };
            LaneClearMenu.Add("Plugins.Jinx.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Switcheroo! (Q) settings :");
            LaneClearMenu.Add("Plugins.Jinx.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane Clear"));
            LaneClearMenu.Add("Plugins.Jinx.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear"));
            LaneClearMenu.Add("Plugins.Jinx.LaneClearMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1));

            MenuManager.BuildAntiGapcloserMenu();
            MenuManager.BuildInterrupterMenu();

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc settings for Jinx addon");
            MiscMenu.AddLabel("Basic settings :");
            MiscMenu.Add("Plugins.Jinx.MiscMenu.EnableInterrupter", new CheckBox("Cast E against interruptible spells", false));
            MiscMenu.Add("Plugins.Jinx.MiscMenu.EnableAntiGapcloser", new CheckBox("Cast E against gapclosers"));
            MiscMenu.Add("Plugins.Jinx.MiscMenu.WKillsteal", new CheckBox("Cast W to killsteal"));
            MiscMenu.Add("Plugins.Jinx.MiscMenu.RKillsteal", new CheckBox("Cast R to killsteal"));
            MiscMenu.Add("Plugins.Jinx.MiscMenu.RKillstealMaxRange", new Slider("Maximum range to enemy to cast R for killsteal", 8000, 0, 20000));

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawings settings for Jinx addon");

            DrawingsMenu.AddLabel("Basic settings :");
            DrawingsMenu.Add("Plugins.Jinx.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Switcheroo! (Q) drawing settings :");
            DrawingsMenu.Add("Plugins.Jinx.DrawingsMenu.DrawRocketsRange", new CheckBox("Draw Q rockets range"));
            DrawingsMenu.Add("Plugins.Jinx.DrawingsMenu.DrawRocketsRangeColor", new CheckBox("Change Color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Zap! (W) drawing settings :");
            DrawingsMenu.Add("Plugins.Jinx.DrawingsMenu.DrawW", new CheckBox("Draw W range"));
            DrawingsMenu.Add("Plugins.Jinx.DrawingsMenu.DrawWColor", new CheckBox("Change Color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);
        }
Exemplo n.º 13
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("大嘴 连招 设置");

            ComboMenu.AddLabel("Q 设置 :");
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("W 设置 :");
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseW", new CheckBox("Use W"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("E 设置 :");
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseE", new CheckBox("Use E"));
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseEVsGapclosers", new CheckBox("使用E反突进"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("R 设置 :");
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseR", new CheckBox("Use R"));
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseROnlyToKs", new CheckBox("仅抢人头使用R"));
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.RHitChancePercent",
                          new Slider("R 命中率 : {0}", 60));
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.RAllowedStacks",
                          new Slider("允许使用的数量", 2, 0, 10));
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.RMaxHealth", new Slider("使用R对敌人最低血量百分比", 60));
            ComboMenu.AddSeparator(2);
            ComboMenu.AddLabel(
                "使用R对目标最低血量百分比. 如果仅对抢人头使用R 该选项将被忽略.");
            ComboMenu.AddSeparator(5);

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("大嘴 骚扰 设置");

            HarassMenu.AddLabel("Q 设置 :");
            HarassMenu.Add("Plugins.KogMaw.HarassMenu.UseQ", new CheckBox("Use Q"));
            HarassMenu.Add("Plugins.KogMaw.HarassMenu.MinManaToUseQ",
                           new Slider("最小蓝 百分比 ({0}%) 使用Q", 80, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("W 设置 :");
            HarassMenu.Add("Plugins.KogMaw.HarassMenu.UseW", new CheckBox("Use W"));
            HarassMenu.Add("Plugins.KogMaw.HarassMenu.MinManaToUseW", new Slider("最小蓝 百分比 ({0}%) 使用W", 40, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("R 设置 :");
            HarassMenu.Add("Plugins.KogMaw.HarassMenu.UseR", new CheckBox("Use R"));
            HarassMenu.Add("Plugins.KogMaw.HarassMenu.RAllowedStacks", new Slider("允许使用的数量", 2, 0, 10));

            HarassMenu.AddLabel("小妹妹汉化 !");
            foreach (var aiHeroClient in EntityManager.Heroes.Enemies)
            {
                HarassMenu.Add("Plugins.KogMaw.HarassMenu.UseR." + aiHeroClient.Hero, new CheckBox(aiHeroClient.Hero.ToString()));
            }

            FarmingMenu = MenuManager.Menu.AddSubMenu("Farm");
            FarmingMenu.AddGroupLabel("大嘴 发育 设置");

            FarmingMenu.AddLabel("Q 设置  :");
            FarmingMenu.Add("Plugins.KogMaw.FarmingMenu.UseQOnUnkillableMinion", new CheckBox("使用Q对杀不死的小兵"));

            MenuManager.BuildAntiGapcloserMenu();

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("大嘴 线圈 设置");

            DrawingsMenu.AddLabel("基本设置 :");
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawSpellRangesWhenReady",
                             new CheckBox("只在技能准备好的时候画出线圈"));
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawInfos",
                             new CheckBox("画出信息"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Q 设置 :");
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawQ", new CheckBox("Q线圈", false));
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("W 设置 :");
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawW", new CheckBox("W线圈"));
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawWColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("E 设置 :");
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawE", new CheckBox("E线圈", false));
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawEColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[2].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("R 设置 :");
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawR", new CheckBox("R线圈"));
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[3].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);
        }
Exemplo n.º 14
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo mode settings for Corki addon");

            ComboMenu.AddLabel("Phosphorus Bomb (Q) settings :");
            ComboMenu.Add("Plugins.Corki.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Gatling Gun (E) settings :");
            ComboMenu.Add("Plugins.Corki.ComboMenu.UseE", new CheckBox("Use E"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Valkyrie (W) settings :");
            ComboMenu.Add("Plugins.Corki.ComboMenu.UseW", new CheckBox("Use W", false));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Missile Barrage (R) settings :");
            ComboMenu.Add("Plugins.Corki.ComboMenu.UseR", new CheckBox("Use R"));
            ComboMenu.Add("Plugins.Corki.ComboMenu.MinStacksForR", new Slider("Minimum stacks to use R", 0, 0, 7));
            ComboMenu.AddSeparator(1);
            ComboMenu.Add("Plugins.Corki.ComboMenu.RAllowCollision", new CheckBox("Allow collision on minions", false));
            ComboMenu.AddLabel("Allow collision on minions if damage will be applied on enemy champion.");

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass mode settings for Corki addon");

            HarassMenu.AddLabel("Phosphorus Bomb (Q) settings :");
            HarassMenu.Add("Plugins.Corki.HarassMenu.UseQ", new CheckBox("Use Q"));
            HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("Gatling Gun (E) settings :");
            HarassMenu.Add("Plugins.Corki.HarassMenu.UseE", new CheckBox("Use E"));
            HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseE", new Slider("Min mana percentage ({0}%) to use E", 50, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("Missile Barrage (R) settings :");
            HarassMenu.Add("Plugins.Corki.HarassMenu.UseR", new CheckBox("Use R"));
            HarassMenu.Add("Plugins.Corki.HarassMenu.MinManaToUseR", new Slider("Min mana percentage ({0}%) to use R", 50, 1));
            HarassMenu.Add("Plugins.Corki.HarassMenu.MinStacksToUseR", new Slider("Minimum stacks to use R", 3, 0, 7));
            HarassMenu.AddSeparator(1);
            HarassMenu.Add("Plugins.Corki.HarassMenu.RAllowCollision", new CheckBox("Allow collision on minions"));
            HarassMenu.AddLabel("Allow collision on minions if damage will be applied on enemy champion.");

            LaneClearMenu = MenuManager.Menu.AddSubMenu("Lane clear");
            LaneClearMenu.AddGroupLabel("Lane clear mode settings for Corki addon");

            LaneClearMenu.AddLabel("Basic settings :");
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby"));
            var scanRange = LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.ScanRange", new Slider("Range to scan for enemies", 1500, 300, 2500));

            scanRange.OnValueChange += (a, b) =>
            {
                _changingRangeScan = true;
                Core.DelayAction(() =>
                {
                    if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside)
                    {
                        _changingRangeScan = false;
                    }
                }, 2000);
            };
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Phosphorus Bomb (Q) settings :");
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseQ", new CheckBox("Use Q"));
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinMinionsKilledToUseQ", new Slider("Min minions killed to use Q", 2, 1, 6));
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Gatling Gun (E) settings :");
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseE", new CheckBox("Use E", false));
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseE", new Slider("Min mana percentage ({0}%) to use E", 50, 1));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Missile Barrage (R) settings :");
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.UseR", new CheckBox("Use R"));
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinManaToUseR", new Slider("Min mana percentage ({0}%) to use R", 50, 1));
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.MinStacksToUseR", new Slider("Minimum stacks to use R", 6, 0, 7));
            LaneClearMenu.AddSeparator(1);
            LaneClearMenu.Add("Plugins.Corki.LaneClearMenu.RAllowCollision", new CheckBox("Allow collision on minions"));
            LaneClearMenu.AddLabel("Allow collision on minions if damage will be applied on other minions.");

            JungleClearMenu = MenuManager.Menu.AddSubMenu("Jungle clear");
            JungleClearMenu.AddGroupLabel("Jungle clear mode settings for Corki addon");

            JungleClearMenu.AddLabel("Phosphorus Bomb (Q) settings :");
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseQ", new CheckBox("Use Q"));
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1));
            JungleClearMenu.AddSeparator(5);

            JungleClearMenu.AddLabel("Gatling Gun (E) settings :");
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseE", new CheckBox("Use E", false));
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseE", new Slider("Min mana percentage ({0}%) to use E", 50, 1));
            JungleClearMenu.AddSeparator(5);

            JungleClearMenu.AddLabel("Missile Barrage (R) settings :");
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.UseR", new CheckBox("Use R"));
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinManaToUseR", new Slider("Min mana percentage ({0}%) to use R", 50, 1));
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.MinStacksToUseR", new Slider("Minimum stacks to use R", 5, 0, 7));
            JungleClearMenu.AddSeparator(1);
            JungleClearMenu.Add("Plugins.Corki.JungleClearMenu.RAllowCollision", new CheckBox("Allow collision on minions"));
            JungleClearMenu.AddLabel("Allow collision on minions if damage will be applied on other minions.");

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc settings for Corki addon");
            MiscMenu.AddLabel("Auto harass settings : ");
            MiscMenu.Add("Plugins.Corki.MiscMenu.AutoHarassEnabled",
                         new KeyBind("Enable auto harass", true, KeyBind.BindTypes.PressToggle, 'T'));
            MiscMenu.Add("Plugins.Corki.MiscMenu.UseBigBomb", new CheckBox("Use big bomb", false));
            MiscMenu.Add("Plugins.Corki.MiscMenu.MinStacksToUseR", new Slider("Minimum stacks to use R", 3, 0, 7));
            MiscMenu.AddSeparator(5);
            MiscMenu.AddLabel("Auto harass enabled for : ");

            foreach (var enemy in EntityManager.Heroes.Enemies)
            {
                MiscMenu.Add("Plugins.Corki.MiscMenu.AutoHarassEnabled." + enemy.Hero, new CheckBox(enemy.Hero.ToString()));
            }

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawings settings for Corki addon");

            DrawingsMenu.AddLabel("Basic settings :");
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawSpellRangesWhenReady",
                             new CheckBox("Draw spell ranges only when they are ready"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Phosphorus Bomb (Q) drawing settings :");
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawQ", new CheckBox("Draw Q range"));
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Valkyrie (W) drawing settings :");
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawW", new CheckBox("Draw W range", false));
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawWColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Missile Barrage (R) drawing settings :");
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawR", new CheckBox("Draw R range"));
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[2].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Damage indicator drawing settings :");
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawDamageIndicator",
                             new CheckBox("Draw damage indicator on enemy HP bars"));
            DrawingsMenu.Add("Plugins.Corki.DrawingsMenu.DrawDamageIndicatorColor",
                             new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[3].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
        }
Exemplo n.º 15
0
        public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Evelynn"))
            {
                return;
            }
            Chat.Print("Bloody Evelynn - Loaded", System.Drawing.Color.Crimson);


            _Q      = new Spell.Active(SpellSlot.Q, 500);
            _W      = new Spell.Active(SpellSlot.W);
            _E      = new Spell.Targeted(SpellSlot.E, 225);
            _R      = new Spell.Skillshot(SpellSlot.R, 625, SkillShotType.Circular, 250, int.MaxValue, 300);
            _Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);


            StartMenu     = MainMenu.AddMenu("Bloody Evelynn", "Bloody Evelynn");
            ComboMenu     = StartMenu.AddSubMenu("Combo Settings", "Combo Settings");
            HarrasMenu    = StartMenu.AddSubMenu("Harras Settings", "Harras Settings");
            AHarrasM      = StartMenu.AddSubMenu("AutoHarras Settings", "AutoHarras Settings");
            LastHitM      = StartMenu.AddSubMenu("Last Hit Settings", "Last Hit Settings");
            LCMenu        = StartMenu.AddSubMenu("Clear Settings", "Clear Settings");
            FlyMenu       = StartMenu.AddSubMenu("Flee Settings", "Flee Settings");
            KSMenu        = StartMenu.AddSubMenu("KillSteal Settings", "KillSteal Settings");
            ActivatorMenu = StartMenu.AddSubMenu("Activator Settings", "Activator Settings");
            DrawingsMenu  = StartMenu.AddSubMenu("Drawing Settings", "Drawing Settings");

            StartMenu.AddGroupLabel("Evelynn - Bloody Shadow");
            StartMenu.AddSeparator(2);
            StartMenu.AddGroupLabel("Made By");
            StartMenu.AddLabel("- Horizon");
            StartMenu.AddLabel("- Radi");

            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("Combos", new ComboBox("Combo Logic", 0, "Q->E->R", "E->Q->R", "R->Q->E", "E->R->Q", "Q->R->E"));
            ComboMenu.AddSeparator(0);

            ComboMenu.AddLabel("Q Spell Settings");
            ComboMenu.Add("UseQ", new CheckBox("Use [Q]"));


            ComboMenu.AddSeparator(0);
            ComboMenu.AddLabel("W Spell Settings");
            ComboMenu.Add("UseW", new CheckBox("Use [W] in Combo"));
            ComboMenu.Add("WRange", new Slider("Minimum range for W", 525, 1, 800));
            ComboMenu.Add("Wn", new Slider("Minimum enemy in range for W", 1, 0, 5));

            ComboMenu.AddSeparator(0);
            ComboMenu.AddLabel("E Spell Settings");
            ComboMenu.Add("UseE", new CheckBox("Use [E] "));


            ComboMenu.AddSeparator(0);
            ComboMenu.AddLabel("R Spell Settings");
            ComboMenu.Add("UseR", new CheckBox("Use [R] in Combo"));
            ComboMenu.Add("Rn", new Slider("Minimum enemy for R", 1, 0, 5));
            ComboMenu.AddSeparator(0);

            HarrasMenu.AddGroupLabel("Harras Settings");
            HarrasMenu.AddLabel("Q Spell Settings");
            HarrasMenu.Add("UseQH", new CheckBox("Use [Q] for harras"));

            HarrasMenu.AddSeparator(0);
            HarrasMenu.AddLabel("E Spell Settings");
            HarrasMenu.Add("UseEH", new CheckBox("Use [E] for harras"));

            AHarrasM.AddGroupLabel("AutoHarras Settings");
            AHarrasM.AddLabel("Q Spell Settings");
            AHarrasM.Add("AHQ", new CheckBox("Use AutoHarras", false));
            AHarrasM.Add("QAO", new CheckBox("Use [Q] for AutoHarras"));
            AHarrasM.Add("AHQM", new Slider("Minimum mana percentage for use[Q] in AutoHarras(%{ 0})", 65, 1));

            LastHitM.AddGroupLabel("Last Hit Settings");
            LastHitM.AddLabel("Q Spell Settings");
            LastHitM.Add("Qlh", new CheckBox("Use Q to Last hit"));
            LastHitM.Add("manalh", new Slider("Minimum mana percentage for use [Q] in Last Hit(%{ 0})", 40, 1));

            KSMenu.AddGroupLabel("KillSteal Settings");
            KSMenu.AddLabel("Q Spell Settings");
            KSMenu.Add("KSQ", new CheckBox(" - KillSteal with Q"));
            KSMenu.AddSeparator(0);
            KSMenu.AddLabel("E Spell Settings");
            KSMenu.Add("KSE", new CheckBox(" - KillSteal with E"));
            KSMenu.AddSeparator(0);
            KSMenu.AddLabel("R Spell Settings");
            KSMenu.Add("KSR", new CheckBox(" - KillSteal with R", false));

            LCMenu.AddGroupLabel("LaneClear Settings");
            LCMenu.Add("LCQ", new CheckBox("Use [Q] for Lane Clear"));
            LCMenu.Add("LCQM", new Slider("Minimum mana percentage for use [Q] in Lane Clear (%{0})", 30, 1));
            LCMenu.AddSeparator(1);
            LCMenu.Add("LCW", new CheckBox("Use [E] for Lane Clear"));
            LCMenu.Add("LCWM", new Slider("Minimum mana percentage for use [E] in Lane Clear (%{0})", 30, 1));
            LCMenu.AddSeparator(2);
            LCMenu.Add("JGCQ", new CheckBox("Use [Q] for Jungle clear"));
            LCMenu.Add("JGCQM", new Slider("Minimum mana percentage for use [Q] in Jungle Clear (%{0})", 30, 1));
            LCMenu.Add("JGCW", new CheckBox("Use [E] for Jungle clear"));
            LCMenu.Add("JGCWM", new Slider("Minimum mana percentage for use [E] in Jungle Clear (%{0})", 30, 1));

            FlyMenu.AddGroupLabel("Flee Settings");
            FlyMenu.AddLabel("Tick for enable/disable skill usage in flee");
            FlyMenu.AddSeparator(0);
            FlyMenu.AddLabel("Q Spell Settings");
            FlyMenu.Add("UseQf", new CheckBox("Use Q to Flee"));

            ActivatorMenu.AddGroupLabel("Activator Settings");
            ActivatorMenu.AddLabel("Use Summoner Spell");
            ActivatorMenu.Add("IGNI", new CheckBox("- Use Ignite if enemy is killable"));

            DrawingsMenu.AddGroupLabel("Drawing Settings");
            DrawingsMenu.AddLabel("Tick for enable/disable Draw");
            DrawingsMenu.Add("DQ", new CheckBox("- Draw [Q] range"));
            DrawingsMenu.AddSeparator(0);
            DrawingsMenu.Add("DE", new CheckBox("- Draw [E] range"));
            DrawingsMenu.AddSeparator(0);
            DrawingsMenu.Add("DR", new CheckBox("- Draw [R] range"));
            DrawingsMenu.AddSeparator(0);
            DrawingsMenu.Add("DRpred", new CheckBox("- Draw Ultimate prediction"));

            Game.OnUpdate  += Game_OnUpdate;
            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;
        }
Exemplo n.º 16
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo mode settings for Tristana addon");

            ComboMenu.AddLabel("Rapid Fire (Q) settings :");
            ComboMenu.Add("Plugins.Tristana.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Rocket Jump (W) settings :");
            ComboMenu.Add("Plugins.Tristana.ComboMenu.UseW", new CheckBox("Use W", false));
            ComboMenu.AddLabel("Only if W - E - R combo will kill an enemy");
            ComboMenu.AddSeparator(2);
            ComboMenu.Add("Plugins.Tristana.ComboMenu.UseWVsGapclosers", new CheckBox("Use W against gapclosers"));
            Keybind = ComboMenu.Add("Plugins.Tristana.ComboMenu.DoubleWKeybind",
                                    new KeyBind("Perform double W combo", false, KeyBind.BindTypes.HoldActive, 'A'));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Explosive Charge (E) settings :");
            ComboMenu.Add("Plugins.Tristana.ComboMenu.UseE", new CheckBox("Use E"));
            ComboMenu.Add("Plugins.Tristana.ComboMenu.FocusE", new CheckBox("Focus target with E first"));
            ComboMenu.AddSeparator(2);

            ComboMenu.AddLabel("Champion's whitelist :");
            foreach (var enemy in EntityManager.Heroes.Enemies)
            {
                ComboMenu.Add("Plugins.Tristana.ComboMenu.UseEOn." + enemy.Hero, new CheckBox(enemy.Hero == Champion.MonkeyKing ? "Wukong" : enemy.ChampionName));
            }

            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Buster Shot	(R) settings :");
            ComboMenu.Add("Plugins.Tristana.ComboMenu.UseR", new CheckBox("Use R to killsteal"));
            ComboMenu.Add("Plugins.Tristana.ComboMenu.UseRVsMelees", new CheckBox("Use R against melees"));
            ComboMenu.Add("Plugins.Tristana.ComboMenu.UseRVsInterruptible", new CheckBox("Use R to interrupt"));
            ComboMenu.Add("Plugins.Tristana.ComboMenu.UseRVsGapclosers", new CheckBox("Use R against gapclosers"));
            ComboMenu.AddSeparator(5);

            LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear");
            LaneClearMenu.AddGroupLabel("Lane clear settings for Tristana addon");

            LaneClearMenu.AddLabel("Basic settings :");
            LaneClearMenu.Add("Plugins.Tristana.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby"));
            var scanRange = LaneClearMenu.Add("Plugins.Tristana.LaneClearMenu.ScanRange", new Slider("Range to scan for enemies", 1500, 300, 2500));

            scanRange.OnValueChange += (a, b) =>
            {
                _changingRangeScan = true;
                Core.DelayAction(() =>
                {
                    if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside)
                    {
                        _changingRangeScan = false;
                    }
                }, 2000);
            };
            LaneClearMenu.Add("Plugins.Tristana.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Rapid Fire (Q) settings :");
            LaneClearMenu.Add("Plugins.Tristana.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane Clear"));
            LaneClearMenu.Add("Plugins.Tristana.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear"));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Explosive Charge (E) settings :");
            LaneClearMenu.Add("Plugins.Tristana.LaneClearMenu.UseEInLaneClear", new CheckBox("Use E in Lane Clear"));
            LaneClearMenu.Add("Plugins.Tristana.LaneClearMenu.UseEInJungleClear", new CheckBox("Use E in Jungle Clear"));
            LaneClearMenu.Add("Plugins.Tristana.LaneClearMenu.UseEOnTowers", new CheckBox("Use E on Towers"));
            LaneClearMenu.Add("Plugins.Tristana.LaneClearMenu.MinManaE", new Slider("Min mana percentage ({0}%) to use E", 80, 1));

            MenuManager.BuildAntiGapcloserMenu();
            MenuManager.BuildInterrupterMenu();

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawings settings for Tristana addon");

            DrawingsMenu.AddLabel("Basic settings :");
            DrawingsMenu.Add("Plugins.Tristana.DrawingsMenu.DrawSpellRangesWhenReady",
                             new CheckBox("Draw spell ranges only when they are ready"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Rocket Jump (W) settings :");
            DrawingsMenu.Add("Plugins.Tristana.DrawingsMenu.DrawW", new CheckBox("Draw W range"));
            DrawingsMenu.Add("Plugins.Tristana.DrawingsMenu.DrawWColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.Add("Plugins.Tristana.DrawingsMenu.DrawInfo", new CheckBox("Draw Infos")).OnValueChange += (a, b) =>
            {
                if (b.NewValue)
                {
                    DamageIndicator.DamageDelegate = HandleDamageIndicator;
                }
                else if (!b.NewValue)
                {
                    DamageIndicator.DamageDelegate = null;
                }
            };
            DrawingsMenu.Add("Plugins.Tristana.DrawingsMenu.InfoColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddLabel("Draws damage indicator and buff duration");
        }
Exemplo n.º 17
0
        public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Diana"))
            {
                return;
            }

            Chat.Print("Diana - Bloody Lunari Loaded!");     /*Color.Crimson);*/
            Chat.Print("By Horizon & Radi");                 /*Color.OrangeRed);*/
            Chat.Print("Good luck and have fun, summoner."); /*Color.DarkViolet);*/

            _Q      = new Spell.Skillshot(SpellSlot.Q, 900, SkillShotType.Circular, 250, 1400, 50);
            _W      = new Spell.Active(SpellSlot.W, 200);
            _E      = new Spell.Active(SpellSlot.E, 450);
            _R      = new Spell.Targeted(SpellSlot.R, 825);
            _Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);

            StartMenu     = MainMenu.AddMenu("Diana", "Diana");
            ComboMenu     = StartMenu.AddSubMenu("Combo Settings", "Combo Settings");
            HarrasMenu    = StartMenu.AddSubMenu("Harras Settings", "Harras Settings");
            AHarrasM      = StartMenu.AddSubMenu("AutoHarras Settings", "AutoHarras Settings");
            LastHitM      = StartMenu.AddSubMenu("Last Hit Settings", "Last Hit Settings");
            LCMenu        = StartMenu.AddSubMenu("LaneClear Settings", "LaneClear Settings");
            KSMenu        = StartMenu.AddSubMenu("KillSteall Settings", "KillSteall Settings");
            AntiSpellMenu = StartMenu.AddSubMenu("AntiSpell Settings", "AntiSpell Settings");
            ActivatorMenu = StartMenu.AddSubMenu("Activator Settings", "Activator Settings");
            DrawingsMenu  = StartMenu.AddSubMenu("Drawings Settings", "Drawings Settings");

            StartMenu.AddGroupLabel("Diana - Bloody Lunari");
            StartMenu.AddSeparator(2);
            StartMenu.AddGroupLabel("Made By");
            StartMenu.AddLabel("- Horizon");
            StartMenu.AddLabel("- Radi");

            ComboMenu.AddGroupLabel("Combo Settings");

            ComboMenu.AddLabel("Q Spell Settings");
            ComboMenu.Add("UseQ", new CheckBox("Use [Q]"));

            ComboMenu.AddSeparator(0);
            ComboMenu.AddLabel("W Spell Settings");
            ComboMenu.Add("UseW", new CheckBox("Use [W]"));

            ComboMenu.AddSeparator(0);
            ComboMenu.AddLabel("E Spell Settings");
            ComboMenu.Add("UseE", new CheckBox("Use [E] (when enemy out of AA range)"));

            ComboMenu.AddSeparator(0);
            ComboMenu.AddLabel("R Spell Settings");
            ComboMenu.Add("UseR", new CheckBox("Use [R] on Combo"));

            ComboMenu.AddSeparator(0);
            ComboMenu.AddLabel("R Spell Settings - tick only one option");
            ComboMenu.Add("RONLY", new CheckBox("Use [R] (only when target got Q mark)"));
            ComboMenu.Add("RNO", new CheckBox("Use [R] (always) ", false));

            HarrasMenu.AddGroupLabel("Harras Settings");

            HarrasMenu.AddLabel("Q Spell Settings");
            HarrasMenu.Add("UseQH", new CheckBox("Use [Q] for Harras"));

            HarrasMenu.AddSeparator(0);
            HarrasMenu.AddLabel("W Spell Settings");
            HarrasMenu.Add("UseWH", new CheckBox("Use [W] for Harras"));

            HarrasMenu.AddSeparator(0);
            HarrasMenu.AddLabel("E Spell Settings");
            HarrasMenu.Add("UseEH", new CheckBox("Use [E] for Harras"));

            AHarrasM.AddGroupLabel("Auto Harras Settings");

            AHarrasM.Add("AHQ", new CheckBox("Use Auto Harras"));

            AHarrasM.AddLabel("Q Spell Settings");
            AHarrasM.Add("QAO", new CheckBox("Use [Q] for Auto Harras"));

            AHarrasM.AddSeparator(0);
            AHarrasM.AddLabel("Mana settings");
            AHarrasM.Add("AHQM", new Slider("Minimum mana percentage for use [Q] in Auto Harras (%{0})", 50, 1));

            LastHitM.AddGroupLabel("Last Hit Settings");

            LastHitM.AddLabel("Q Spell Settings");
            LastHitM.Add("Qlh", new CheckBox("Use Q to Last Hit"));

            LastHitM.AddSeparator(0);
            LastHitM.AddLabel("W Spell Settings");
            LastHitM.Add("Elh", new CheckBox("Use W to Last Hit"));

            LastHitM.AddSeparator(0);
            LastHitM.AddLabel("Mana settings");
            LastHitM.Add("manalh", new Slider("Minimum mana percentage for use [Q] [W] in Auto Harras (%{0})", 50, 1));

            LCMenu.AddGroupLabel("Lane Clear Settings");

            LCMenu.Add("LCQ", new CheckBox("Use [Q] for Lane Clear"));
            LCMenu.Add("LCQM", new Slider("Minimum mana percentage for use [Q] in Lane Clear (%{0})", 50, 1));
            LCMenu.AddSeparator(1);
            LCMenu.Add("LCW", new CheckBox("Use [W] for Lane Clear"));
            LCMenu.Add("LCWM", new Slider("Minimum mana percentage for use [W] in Lane Clear (%{0})", 50, 1));
            LCMenu.AddSeparator(2);
            LCMenu.Add("JGCQ", new CheckBox("Use [Q] for Jungle clear"));
            LCMenu.Add("JGCQM", new Slider("Minimum mana percentage for use [Q] in Jungle Clear (%{0})", 50, 1));
            LCMenu.Add("JGCW", new CheckBox("Use [W] for Jungle clear"));
            LCMenu.Add("JGCWM", new Slider("Minimum mana percentage for use [W] in Jungle Clear (%{0})", 50, 1));

            KSMenu.AddGroupLabel("KillSteal Settings");

            KSMenu.AddLabel("Q Spell Settings");
            KSMenu.Add("KSQ", new CheckBox(" - KillSteal with Q"));

            KSMenu.AddSeparator(0);
            KSMenu.AddLabel("W Spell Settings");
            KSMenu.Add("KSW", new CheckBox(" - KillSteal with W"));

            KSMenu.AddSeparator(0);
            KSMenu.AddLabel("R Spell Settings");
            KSMenu.Add("KSR", new CheckBox(" - KillSteal with R"));

            AntiSpellMenu.AddGroupLabel("Anti Spell Settings");

            AntiSpellMenu.AddLabel("Use shield when playing against Morgana or Lux");

            AntiSpellMenu.Add("ASLux", new CheckBox("- Anti Lux Passive"));
            AntiSpellMenu.AddSeparator(0);
            AntiSpellMenu.Add("ASMorgana", new CheckBox("- Anti Morgana"));
            AntiSpellMenu.AddLabel("Mana settings");
            AntiSpellMenu.Add("ASPM", new Slider("Minimum mana percentage for Shield (%{0})", 80, 1));

            ActivatorMenu.AddGroupLabel("Activator Settings");
            ActivatorMenu.AddLabel("Use Summoner Spell");
            ActivatorMenu.Add("IGNI", new CheckBox("- Use Ignite if enemy is killable"));

            DrawingsMenu.AddGroupLabel("Drawing Settings");
            DrawingsMenu.AddLabel("Tick for enable/disable spell drawings");
            DrawingsMenu.Add("DQ", new CheckBox("- Draw [Q] range"));
            DrawingsMenu.AddSeparator(0);
            DrawingsMenu.Add("DW", new CheckBox("- Draw [W] range"));
            DrawingsMenu.AddSeparator(0);
            DrawingsMenu.Add("DE", new CheckBox("- Draw [E] range"));
            DrawingsMenu.AddSeparator(0);
            DrawingsMenu.Add("DR", new CheckBox("- Draw [R] range"));


            Game.OnUpdate  += Game_OnUpdate;
            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;
        }
Exemplo n.º 18
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo mode settings for Kog'Maw addon");

            ComboMenu.AddLabel("Caustic Spittle (Q) settings :");
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseQ", new CheckBox("Kullan Q"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Bio-Arcane Barrage (W) settings :");
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseW", new CheckBox("Kullan W"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Void Ooze (E) settings :");
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseE", new CheckBox("Kullan E"));
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseEVsGapclosers", new CheckBox("Atilma yapanlara E kullan"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Living Artillery (R) settings :");
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseR", new CheckBox("Kullan R"));
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.UseROnlyToKs", new CheckBox("Kullan R sadece oldururken"));
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.RHitChancePercent",
                          new Slider("R hitchance percent : {0}", 60));
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.RAllowedStacks",
                          new Slider("Allowed stacks amount to use", 2, 0, 10));
            ComboMenu.Add("Plugins.KogMaw.ComboMenu.RMaxHealth", new Slider("R icin en dusuk dusman saglik yuzdesi", 60));
            ComboMenu.AddSeparator(2);
            ComboMenu.AddLabel(
                "Minimum health percent to cast R on target. If use R only to kill steal is selected this opction will\nbe ignored.");
            ComboMenu.AddSeparator(5);

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass mode settings for Kog'Maw addon");

            HarassMenu.AddLabel("Caustic Spittle (Q) settings :");
            HarassMenu.Add("Plugins.KogMaw.HarassMenu.UseQ", new CheckBox("Kullan Q"));
            HarassMenu.Add("Plugins.KogMaw.HarassMenu.MinManaToUseQ",
                           new Slider("Min mana percentage ({0}%) to use Q", 80, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("Bio-Arcane Barrage (W) settings :");
            HarassMenu.Add("Plugins.KogMaw.HarassMenu.UseW", new CheckBox("Kullan W"));
            HarassMenu.Add("Plugins.KogMaw.HarassMenu.MinManaToUseW", new Slider("Gereken en az mana ({0}%) W kullanmak icin", 40, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("Living Artillery (R) settings :");
            HarassMenu.Add("Plugins.KogMaw.HarassMenu.UseR", new CheckBox("Kullan R"));
            HarassMenu.Add("Plugins.KogMaw.HarassMenu.RAllowedStacks", new Slider("Kac yuke kadar izin verilsin", 2, 0, 10));

            HarassMenu.AddLabel("Use R on :");
            foreach (var aiHeroClient in EntityManager.Heroes.Enemies)
            {
                HarassMenu.Add("Plugins.KogMaw.HarassMenu.UseR." + aiHeroClient.Hero, new CheckBox(aiHeroClient.Hero.ToString()));
            }

            FarmingMenu = MenuManager.Menu.AddSubMenu("Farm");
            FarmingMenu.AddGroupLabel("Farm settings for Kog'Maw addon");

            FarmingMenu.AddLabel("Caustic Spittle (Q) settings :");
            FarmingMenu.Add("Plugins.KogMaw.FarmingMenu.UseQOnUnkillableMinion", new CheckBox("Oldurulemiyecek minyonlara Q kullan"));

            MenuManager.BuildAntiGapcloserMenu();

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawings settings for Kog'Maw addon");

            DrawingsMenu.AddLabel("Basic settings :");
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawSpellRangesWhenReady",
                             new CheckBox("Draw spell ranges only when they are ready"));
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawInfos",
                             new CheckBox("Draw infos"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Caustic Spittle (Q) settings :");
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawQ", new CheckBox("Goster Q", false));
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawQColor", new CheckBox("Renk Sec", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Bio-Arcane Barrage (W) settings :");
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawW", new CheckBox("Goster W"));
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawWColor", new CheckBox("Renk Sec", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Void Ooze (E) settings :");
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawE", new CheckBox("Goster E", false));
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawEColor", new CheckBox("Renk sec", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[2].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Living Artillery (R) settings :");
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawR", new CheckBox("Goster R"));
            DrawingsMenu.Add("Plugins.KogMaw.DrawingsMenu.DrawRColor", new CheckBox("Renk Sec", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[3].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);
        }
Exemplo n.º 19
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo mode settings for Miss Fortune addon");

            ComboMenu.AddLabel("Double Up (Q) settings :");
            ComboMenu.Add("Plugins.MissFortune.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Strut (W) settings :");
            ComboMenu.Add("Plugins.MissFortune.ComboMenu.UseW", new CheckBox("Use W"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Make It Rain (E) settings :");
            ComboMenu.Add("Plugins.MissFortune.ComboMenu.UseE", new CheckBox("Use E"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Bullet Time (R) settings :");
            ComboMenu.Add("Plugins.MissFortune.ComboMenu.UseR", new CheckBox("Use R"));
            ComboMenu.Add("Plugins.MissFortune.ComboMenu.RWhenXEnemies", new Slider("Use R when can hit {0} or more enemies", 5, 1, 5));
            ComboMenu.AddSeparator(2);

            ComboMenu.Add("Plugins.MissFortune.ComboMenu.RBlockMovement", new CheckBox("Block movement when casting R"));
            ComboMenu.Add("Plugins.MissFortune.ComboMenu.SemiAutoRKeybind",
                          new KeyBind("Semi-Auto R", false, KeyBind.BindTypes.HoldActive, 'T'));

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass mode settings for Miss Fortune addon");

            HarassMenu.AddLabel("Double Up (Q) settings :");
            HarassMenu.Add("Plugins.MissFortune.HarassMenu.UseQ", new CheckBox("Use Q on killable minion if Q2 will hit champion"));
            HarassMenu.Add("Plugins.MissFortune.HarassMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q on killable minion", 50, 1));
            HarassMenu.Add("Plugins.MissFortune.HarassMenu.UseQUnkillable", new CheckBox("Use Q on unkillable minion if Q2 will hit champion"));
            HarassMenu.Add("Plugins.MissFortune.HarassMenu.MinManaQUnkillable", new Slider("Min mana percentage ({0}%) to use Q on unkillable minion", 75, 1));

            LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear");
            LaneClearMenu.AddGroupLabel("Lane clear settings for Miss Fortune addon");

            LaneClearMenu.AddLabel("Basic settings :");
            LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby"));
            var scanRange = LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.ScanRange", new Slider("Range to scan for enemies", 1500, 300, 2500));

            scanRange.OnValueChange += (a, b) =>
            {
                _changingRangeScan = true;
                Core.DelayAction(() =>
                {
                    if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside)
                    {
                        _changingRangeScan = false;
                    }
                }, 2000);
            };
            LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Double Up (Q) settings :");
            LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane clear", false));
            LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle clear"));
            LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Strut (W) settings :");
            LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.UseWInLaneClear", new CheckBox("Use W in Lane clear", false));
            LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.UseWInJungleClear", new CheckBox("Use W in Jungle clear"));
            LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.MinManaW", new Slider("Min mana percentage ({0}%) to use W", 50, 1));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Make It Rain (E) settings :");
            LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.UseEInLaneClear", new CheckBox("Use E in Lane clear", false));
            LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.UseEInJungleClear", new CheckBox("Use E in Jungle clear", false));
            LaneClearMenu.Add("Plugins.MissFortune.LaneClearMenu.MinManaE", new Slider("Min mana percentage ({0}%) to use E", 50, 1));


            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc settings for Miss Fortune addon");
            MiscMenu.AddLabel("Basic settings :");
            MiscMenu.Add("Plugins.MissFortune.MiscMenu.EnableKillsteal", new CheckBox("Enable Killsteal"));
            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("Double Up (Q) settings :");
            MiscMenu.Add("Plugins.MissFortune.MiscMenu.BounceQFromMinions", new CheckBox("Cast Q on killable minions if can hit enemy"));
            MiscMenu.Add("Plugins.MissFortune.MiscMenu.AutoHarassQ", new CheckBox("Auto harass with Q")).OnValueChange
                +=
                    (sender, args) =>
                {
                AutoHarassItem.Value = args.NewValue;
                };
            MiscMenu.Add("Plugins.MissFortune.MiscMenu.AutoHarassQMinMana", new Slider("Min mana percentage ({0}%) for auto harass", 50, 1));

            if (EntityManager.Heroes.Enemies.Any())
            {
                MiscMenu.AddLabel("Enable auto harras for : ");

                EntityManager.Heroes.Enemies.ForEach(x => MiscMenu.Add("Plugins.MissFortune.MiscMenu.AutoHarassEnabled." + x.ChampionName, new CheckBox(x.ChampionName == "MonkeyKing" ? "Wukong" : x.ChampionName)));
            }

            MiscMenu.AddLabel("Make It Rain (E) settings :");
            MiscMenu.Add("Plugins.MissFortune.MiscMenu.EVsGapclosers", new CheckBox("Cast E against gapclosers"));

            MenuManager.BuildAntiGapcloserMenu();

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawings settings for Miss Fortune addon");

            DrawingsMenu.AddLabel("Basic settings :");
            DrawingsMenu.Add("Plugins.MissFortune.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Double Up (Q) settings :");
            DrawingsMenu.Add("Plugins.MissFortune.DrawingsMenu.DrawQ", new CheckBox("Draw Q range", false));
            DrawingsMenu.Add("Plugins.MissFortune.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Make It Rain (E) settings :");
            DrawingsMenu.Add("Plugins.MissFortune.DrawingsMenu.DrawE", new CheckBox("Draw E range"));
            DrawingsMenu.Add("Plugins.MissFortune.DrawingsMenu.DrawEColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Bullet Time (R) settings :");
            DrawingsMenu.Add("Plugins.MissFortune.DrawingsMenu.DrawR", new CheckBox("Draw R range"));
            DrawingsMenu.Add("Plugins.MissFortune.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[2].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };

            DrawingsMenu.AddLabel("Damage indicator settings :");
            DrawingsMenu.Add("Plugins.MissFortune.DrawingsMenu.DrawDamageIndicator", new CheckBox("Draw damage indicator")).OnValueChange += (a, b) =>
            {
                if (b.NewValue)
                {
                    DamageIndicator.DamageDelegate = HandleDamageIndicator;
                }
                else if (!b.NewValue)
                {
                    DamageIndicator.DamageDelegate = null;
                }
            };
            DrawingsMenu.Add("Plugins.MissFortune.DrawingsMenu.DamageIndicatorColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[3].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };

            AutoHarassItem = MenuManager.PermaShow.AddItem("MissFortune.AutoHarass",
                                                           new BoolItem("Auto harass with Q", Settings.Misc.AutoHarassQ));
        }
Exemplo n.º 20
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo mode settings for Urgot addon");

            ComboMenu.AddLabel("Acid Hunter (Q) settings :");
            ComboMenu.Add("Plugins.Urgot.ComboMenu.UseQ", new CheckBox("Kullan Q"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Terror Capacitor (W) settings :");
            ComboMenu.Add("Plugins.Urgot.ComboMenu.UseW", new CheckBox("Kullan W"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Noxian Corrosive Charge (E) settings :");
            ComboMenu.Add("Plugins.Urgot.ComboMenu.UseE", new CheckBox("Kullan E"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Hyper-Kinetic Position Reverser (R) settings :");
            ComboMenu.Add("Plugins.Urgot.ComboMenu.UseR", new CheckBox("Kullan R"));
            ComboMenu.Add("Plugins.Urgot.ComboMenu.UseRToSwapPosUnderTower", new CheckBox("Dusmani kule altına almaya calis"));
            ComboMenu.AddSeparator(5);

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass mode settings for Urgot addon");

            HarassMenu.AddLabel("Acid Hunter (Q) settings :");
            HarassMenu.Add("Plugins.Urgot.HarassMenu.UseQ", new CheckBox("Kullan Q"));
            HarassMenu.Add("Plugins.Urgot.HarassMenu.MinManaQ", new Slider("Gereken en az mana ({0}%) to use Q", 40, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("Noxian Corrosive Charge (E) settings :");
            HarassMenu.Add("Plugins.Urgot.HarassMenu.UseE", new CheckBox("Kullan E"));
            HarassMenu.Add("Plugins.Urgot.HarassMenu.MinManaE", new Slider("Gereken en az mana ({0}%) to use E", 40, 1));
            HarassMenu.AddSeparator(5);

            LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear");
            LaneClearMenu.AddGroupLabel("Lane clear settings for Urgot addon");

            LaneClearMenu.AddLabel("Basic settings :");
            LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Dusman yoksa koridor temizleme aktif"));
            var scanRange = LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.ScanRange", new Slider("Dusman uzakligi", 1500, 300, 2500));

            scanRange.OnValueChange += (a, b) =>
            {
                _changingRangeScan = true;
                Core.DelayAction(() =>
                {
                    if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside)
                    {
                        _changingRangeScan = false;
                    }
                }, 2000);
            };
            LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.AllowedEnemies", new Slider("Izin verilen dusman sayisi", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Acid Hunter (Q) settings :");
            LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.UseQInLaneClear", new CheckBox("Koridor temizlemede Q kullan"));
            LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.UseQInJungleClear", new CheckBox("Orman temizlemede Q kullan"));
            LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.MinManaQ", new Slider("Gereken en az mana ({0}%) to use Q", 50, 1));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Noxian Corrosive Charge (E) settings :");
            LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.UseEInLaneClear", new CheckBox("Koridor temizlemede E kullan"));
            LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.UseEInJungleClear", new CheckBox("Orman temizlemede E kullan"));
            LaneClearMenu.Add("Plugins.Urgot.LaneClearMenu.MinManaE", new Slider("Gereken en az mana ({0}%) to use E", 50, 1));

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc settings for Urgot addon");
            MiscMenu.AddLabel("Basic settings :");
            MiscMenu.Add("Plugins.Urgot.MiscMenu.EnableKillsteal", new CheckBox("Aktif oldurme sekli"));
            MiscMenu.AddSeparator(2);
            MiscMenu.Add("Plugins.Urgot.MiscMenu.EnableTearStacker", new CheckBox("Aktif gosyasi kasma"));
            MiscMenu.Add("Plugins.Urgot.MiscMenu.TearStackerMinMana", new Slider("Gozyasi kasma => en az mana : {0}%", 75));
            MiscMenu.Add("Plugins.Urgot.MiscMenu.EnableTearStacker", new CheckBox("Aktif gosyasi kasma")).OnValueChange +=
                (a, b) =>
            {
                TearStacker.Enabled = b.NewValue;
            };

            MiscMenu.Add("Plugins.Urgot.MiscMenu.StackOnlyInFountain", new CheckBox("Stack only in fountain", false)).OnValueChange +=
                (a, b) =>
            {
                TearStacker.OnlyInFountain = b.NewValue;
            };

            MiscMenu.Add("Plugins.Urgot.MiscMenu.TearStackerMinMana", new Slider("Gozyasi kasma => en az mana : {0}%", 75)).OnValueChange +=
                (a, b) =>
            {
                TearStacker.MinimumManaPercent = b.NewValue;
            };

            TearStacker.Enabled            = Settings.Misc.EnableTearStacker;
            TearStacker.OnlyInFountain     = Settings.Misc.StackOnlyInFountain;
            TearStacker.MinimumManaPercent = Settings.Misc.TearStackerMinMana;

            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("Acid Hunter (Q) settings :");
            MiscMenu.Add("Plugins.Urgot.MiscMenu.AutoHarass",
                         new KeyBind("Auto harass", true, KeyBind.BindTypes.PressToggle, 'T'));
            MiscMenu.AddLabel("Enables Auto harass on enemies with E debuff in Lane Clear and Harass mode !");
            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("Terror Capacitor (W) settings :");
            MiscMenu.Add("Plugins.Urgot.MiscMenu.WMinDamage", new Slider("Auto W if incoming damage will deal more than {0}% of my hp", 10, 1));
            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("Hyper-Kinetic Position Reverser (R) settings :");
            MiscMenu.Add("Plugins.Urgot.MiscMenu.UseRAgainstGapclosers", new CheckBox("Atilma yapan sampiyonlara R kullan"));
            MiscMenu.Add("Plugins.Urgot.MiscMenu.UseRToInterrupt", new CheckBox("Tehlikeli buyuleri engellemede R kullan"));

            MenuManager.BuildAntiGapcloserMenu();
            MenuManager.BuildInterrupterMenu();

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawings settings for Urgot addon");

            DrawingsMenu.AddLabel("Basic settings :");
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Sadece hazir olan buyulerin mezilini goster"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Acid Hunter (Q) settings :");
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawQ", new CheckBox("Goster Q menzili"));
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawQColor", new CheckBox("Renk Sec", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Noxian Corrosive Charge (E) settings :");
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawE", new CheckBox("Goster E menzili"));
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawEColor", new CheckBox("Renk Sec", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Hyper-Kinetic Position Reverser (R) settings :");
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawR", new CheckBox("Goster R menzili", false));
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawRColor", new CheckBox("Renk Sec", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[2].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Other settings :");
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.DrawInfo", new CheckBox("Goster bilgi")).OnValueChange += (a, b) =>
            {
                if (b.NewValue)
                {
                    DamageIndicator.DamageDelegate = HandleDamageIndicator;
                }
                else if (!b.NewValue)
                {
                    DamageIndicator.DamageDelegate = null;
                }
            };
            DrawingsMenu.Add("Plugins.Urgot.DrawingsMenu.InfoColor", new CheckBox("Renk Sec", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[3].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddLabel("Draws damage indicator");
        }
Exemplo n.º 21
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("寒冰 连招 设置");

            ComboMenu.AddLabel("Q设置 :");
            ComboMenu.Add("Plugins.Ashe.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("W设置 :");
            ComboMenu.Add("Plugins.Ashe.ComboMenu.UseW", new CheckBox("Use W"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("E设置 :");
            ComboMenu.Add("Plugins.Ashe.ComboMenu.UseE", new CheckBox("Use E"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("R设置 :");
            ComboMenu.Add("Plugins.Ashe.ComboMenu.UseR", new CheckBox("Use R"));
            ComboMenu.Add("Plugins.Ashe.ComboMenu.RMinimumRange", new Slider("R最小射程", 350, 100, 700));
            ComboMenu.Add("Plugins.Ashe.ComboMenu.RMaximumRange", new Slider("R最大射程", 2500, 700, 3000));
            ComboMenu.AddSeparator(5);

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("寒冰 骚扰 设置");

            HarassMenu.AddLabel("W设置 :");
            HarassMenu.Add("Plugins.Ashe.HarassMenu.UseW", new CheckBox("Use W"));
            HarassMenu.Add("Plugins.Ashe.HarassMenu.MinManaForW", new Slider("最小蓝 百分比 ({0}%) 使用W", 60, 1));
            HarassMenu.AddSeparator(5);

            LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear");
            LaneClearMenu.AddGroupLabel("寒冰 清线 设置");

            LaneClearMenu.AddLabel("基本设置 :");
            LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.EnableLCIfNoEn", new CheckBox("只有附近没有敌人才能启用清线"));
            var scanRange = LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.ScanRange", new Slider("扫描敌人范围", 1500, 300, 2500));

            scanRange.OnValueChange += (a, b) =>
            {
                _changingRangeScan = true;
                Core.DelayAction(() =>
                {
                    if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside)
                    {
                        _changingRangeScan = false;
                    }
                }, 2000);
            };
            LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.AllowedEnemies", new Slider("敌人数量", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Q设置 :");
            LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane Clear"));
            LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear"));
            LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.MinManaQ", new Slider("最小蓝 百分比 ({0}%) 使用Q", 50, 1));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("W设置 :");
            LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.UseWInLaneClear", new CheckBox("Use W in Lane Clear"));
            LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.UseWInJungleClear", new CheckBox("Use W in Jungle Clear"));
            LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.MinManaW", new Slider("最小蓝 百分比 ({0}%) 使用W", 80, 1));

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("寒冰 其他 设置");
            MiscMenu.Add("Plugins.Ashe.MiscMenu.MaxInterrupterRange",
                         new Slider("R中断技能释放最大范围", 1500, 0, 2500));

            MenuManager.BuildAntiGapcloserMenu();
            MenuManager.BuildInterrupterMenu();

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawing settings for Ashe addon");

            DrawingsMenu.AddLabel("Basic settings :");
            DrawingsMenu.Add("Plugins.Ashe.DrawingsMenu.DrawSpellRangesWhenReady",
                             new CheckBox("Draw spell ranges only when they are ready"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.Add("Plugins.Ashe.DrawingsMenu.DrawW", new CheckBox("Draw W range"));
            DrawingsMenu.Add("Plugins.Ashe.DrawingsMenu.DrawWColor",
                             new CheckBox("Change Color", false)).OnValueChange += (a, b) => {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };

            DrawingsMenu.Add("Plugins.Ashe.DrawingsMenu.DrawR", new CheckBox("Draw R range"));
            DrawingsMenu.Add("Plugins.Ashe.DrawingsMenu.DrawRColor",
                             new CheckBox("Change Color", false)).OnValueChange += (a, b) => {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
        }
Exemplo n.º 22
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo mode settings for Ezreal addon");

            ComboMenu.AddLabel("Mystic Shot	(Q) settings :");
            ComboMenu.Add("Plugins.Ezreal.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.Add("Plugins.Ezreal.ComboMenu.UseQOnImmobile", new CheckBox("Cast on immobile enemies"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Essence Flux (W) settings :");
            ComboMenu.Add("Plugins.Ezreal.ComboMenu.UseW", new CheckBox("Use W"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Arcane Shift (E) settings :");
            ComboMenu.Add("Plugins.Ezreal.ComboMenu.UseE", new CheckBox("Use E"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Trueshot Barrage (R) settings :");
            ComboMenu.Add("Plugins.Ezreal.ComboMenu.UseR", new CheckBox("Use R"));
            ComboMenu.Add("Plugins.Ezreal.ComboMenu.UseRToKillsteal", new CheckBox("Use R only to killsteal"));
            ComboMenu.Add("Plugins.Ezreal.ComboMenu.RMinEnemiesHit", new Slider("Use R if will hit {0} or more enemies", 3, 1, 5));
            ComboMenu.Add("Plugins.Ezreal.ComboMenu.RKeybind", new KeyBind("R keybind", false, KeyBind.BindTypes.HoldActive, 'T'));

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass mode settings for Ezreal addon");

            HarassMenu.AddLabel("Mystic Shot (Q) settings :");
            HarassMenu.Add("Plugins.Ezreal.HarassMenu.UseQ",
                           new KeyBind("Enable auto harass", false, KeyBind.BindTypes.PressToggle, 'A')).OnValueChange
                +=
                    (sender, args) =>
                {
                AutoHarassItem.Value = args.NewValue;
                };

            HarassMenu.AddLabel("Essence Flux (W) settings :");
            HarassMenu.Add("Plugins.Ezreal.HarassMenu.UseW",
                           new KeyBind("Enable auto harass", false, KeyBind.BindTypes.PressToggle, 'H')).OnValueChange
                +=
                    (sender, args) =>
                {
                AutoHarassItem2.Value = args.NewValue;
                };
            HarassMenu.Add("Plugins.Ezreal.HarassMenu.MinManaQ", new Slider("Min mana percentage ({0}%) for auto harass", 30, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("Auto harass enabled for :");
            foreach (var enemy in EntityManager.Heroes.Enemies)
            {
                HarassMenu.Add("Plugins.Ezreal.HarassMenu.UseQ." + enemy.Hero, new CheckBox(enemy.ChampionName == "MonkeyKing" ? "Wukong" : enemy.ChampionName));
            }

            LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear");
            LaneClearMenu.AddGroupLabel("Lane clear settings for Ezreal addon");

            LaneClearMenu.AddLabel("Basic settings :");
            LaneClearMenu.Add("Plugins.Ezreal.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby", false));
            var scanRange = LaneClearMenu.Add("Plugins.Ezreal.LaneClearMenu.ScanRange", new Slider("Range to scan for enemies", 1500, 300, 2500));

            scanRange.OnValueChange += (a, b) =>
            {
                _changingRangeScan = true;
                Core.DelayAction(() =>
                {
                    if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside)
                    {
                        _changingRangeScan = false;
                    }
                }, 2000);
            };
            LaneClearMenu.Add("Plugins.Ezreal.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("End of the Line (Q) settings :");
            LaneClearMenu.Add("Plugins.Ezreal.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q to lasthit minions"));
            LaneClearMenu.AddSeparator(5);
            LaneClearMenu.Add("Plugins.Ezreal.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear"));
            LaneClearMenu.Add("Plugins.Ezreal.LaneClearMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1));

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc settings for Ezreal addon");
            MiscMenu.AddLabel("Basic settings :");
            MiscMenu.Add("Plugins.Ezreal.MiscMenu.EnableKillsteal", new CheckBox("Enable Killsteal"));
            MiscMenu.AddSeparator(2);
            MiscMenu.Add("Plugins.Ezreal.MiscMenu.KeepPassiveStacks", new CheckBox("Keep passive stacks if possible"));
            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("Essence Flux (W) settings :");
            MiscMenu.Add("Plugins.Ezreal.MiscMenu.WToPushTowers", new CheckBox("Use W on allies to push towers"));
            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("Arcane Shift (E) settings :");
            MiscMenu.Add("Plugins.Ezreal.MiscMenu.EAntiMelee", new CheckBox("Use E against melee champions"));
            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("Trueshot Barrage (R) settings :");
            MiscMenu.Add("Plugins.Ezreal.MiscMenu.MaxRRangeKillsteal", new Slider("Max R range to enemy for killsteal", 8000, 0, 20000));
            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("Tear Stacker settings :");
            MiscMenu.Add("Plugins.Ezreal.MiscMenu.EnableTearStacker", new CheckBox("Enable Tear stacker")).OnValueChange +=
                (a, b) =>
            {
                TearStacker.Enabled = b.NewValue;
            };

            MiscMenu.Add("Plugins.Ezreal.MiscMenu.StackOnlyInFountain", new CheckBox("Stack only in fountain")).OnValueChange +=
                (a, b) =>
            {
                TearStacker.OnlyInFountain = b.NewValue;
            };

            MiscMenu.Add("Plugins.Ezreal.MiscMenu.MinimalManaPercentTearStacker", new Slider("Min mana percentage ({0}%) to use to stack tear", 50)).OnValueChange +=
                (a, b) =>
            {
                TearStacker.MinimumManaPercent = b.NewValue;
            };

            MiscMenu.AddSeparator(5);

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawings settings for Ezreal addon");

            DrawingsMenu.AddLabel("Basic settings :");
            DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Mystic Shot (Q) settings :");
            DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DrawQ", new CheckBox("Draw Q range"));
            DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Essence Flux (W) settings :");
            DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DrawW", new CheckBox("Draw W range", false));
            DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DrawWColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };

            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Arcane Shift (E) settings :");
            DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DrawE", new CheckBox("Draw E range", false));
            DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DrawEColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[2].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };

            DrawingsMenu.AddLabel("Damage indicator settings :");
            DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DrawDamageIndicator", new CheckBox("Draw damage indicator")).OnValueChange += (a, b) =>
            {
                if (b.NewValue)
                {
                    DamageIndicator.DamageDelegate = HandleDamageIndicator;
                }
                else if (!b.NewValue)
                {
                    DamageIndicator.DamageDelegate = null;
                }
            };
            DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DamageIndicatorColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[3].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };

            TearStacker.Enabled            = Settings.Misc.EnableTearStacker;
            TearStacker.OnlyInFountain     = Settings.Misc.StackOnlyInFountain;
            TearStacker.MinimumManaPercent = Settings.Misc.MinimalManaPercentTearStacker;

            AutoHarassItem  = MenuManager.PermaShow.AddItem("Ezreal.AutoHarass", new BoolItem("Auto harass with Q", Settings.Harass.UseQ));
            AutoHarassItem2 = MenuManager.PermaShow.AddItem("Ezreal.AutoHarassW", new BoolItem("Auto harass with W", Settings.Harass.UseW));
        }
Exemplo n.º 23
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("老鼠 连招 设置");

            ComboMenu.AddLabel("Q 设置 :");
            ComboMenu.Add("Plugins.Twitch.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.Add("Plugins.Twitch.ComboMenu.UseQAfterKill", new CheckBox("击杀后使用Q"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("W 设置 :");
            ComboMenu.Add("Plugins.Twitch.ComboMenu.UseW", new CheckBox("Use W"));
            ComboMenu.Add("Plugins.Twitch.ComboMenu.BlockWIfRIsActive", new CheckBox("有大招的时候不使用W"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("E 设置 :");
            ComboMenu.Add("Plugins.Twitch.ComboMenu.UseE", new CheckBox("Use E"));
            var mode = ComboMenu.Add("Plugins.Twitch.ComboMenu.UseEIfDmg", new ComboBox("E 使用模式", 0, "百分比", "最大层", "仅击杀的时候"));

            ComboMenu.AddSeparator(10);
            ComboMenu.AddLabel("百分比 : 在敌人的当前生命的百分比使用E.\n最大层 : 敌人达到最大层伤害才使用E.\n仅击杀的时候 : " +
                               "能杀死敌人的时候才使用E.");
            ComboMenu.AddSeparator(10);

            var percentage = ComboMenu.Add("Plugins.Twitch.ComboMenu.EAtStacks",
                                           new Slider("Use E if will deal ({0}%) percentage of enemy hp.", 30));

            switch (mode.CurrentValue)
            {
            case 0:
                percentage.DisplayName = "使用E在 ({0}%) 敌人的HP百分比.";
                percentage.MinValue    = 0;
                percentage.MaxValue    = 100;
                break;

            case 1:
                percentage.DisplayName = "Use E at {0} stacks.";
                percentage.MinValue    = 1;
                percentage.MaxValue    = 6;
                break;

            case 2:
                percentage.IsVisible = false;
                break;
            }
            mode.OnValueChange += (a, b) =>
            {
                switch (b.NewValue)
                {
                case 0:
                    percentage.DisplayName = "使用E在 ({0}%) 敌人的HP百分比.";
                    percentage.MinValue    = 0;
                    percentage.MaxValue    = 100;
                    percentage.IsVisible   = true;
                    break;

                case 1:
                    percentage.DisplayName = "使用E在 {0} 层.";
                    percentage.MinValue    = 1;
                    percentage.MaxValue    = 6;
                    percentage.IsVisible   = true;
                    break;

                case 2:
                    percentage.IsVisible = false;
                    break;
                }
            };
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("R 设置 :");
            ComboMenu.Add("Plugins.Twitch.ComboMenu.UseR", new CheckBox("Use R"));
            ComboMenu.Add("Plugins.Twitch.ComboMenu.RIfEnemiesHit", new Slider("当{0} 人的时候使用R", 3, 1, 5));
            ComboMenu.AddSeparator(5);
            ComboMenu.Add("Plugins.Twitch.ComboMenu.RifTargetOutOfRange", new CheckBox("如果目标超出普攻范围使用R", false));
            ComboMenu.AddLabel("如果目标能杀死使用R, 但他不在普攻范围内, R不会在接下来的2秒.");

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("老鼠 自动骚扰 设置");

            HarassMenu.AddLabel("W 设置 :");
            HarassMenu.Add("Plugins.Twitch.HarassMenu.UseW", new CheckBox("Use W", false));
            HarassMenu.Add("Plugins.Twitch.HarassMenu.WMinMana", new Slider("最小蓝 百分比 ({0}%) 使用W", 80, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("E 设置 :");
            HarassMenu.Add("Plugins.Twitch.HarassMenu.UseE", new CheckBox("Use E", false));
            HarassMenu.Add("Plugins.Twitch.HarassMenu.TwoEnemiesMin", new CheckBox("只在击中2个或更多敌人", false));
            HarassMenu.Add("Plugins.Twitch.HarassMenu.EMinMana", new Slider("最小蓝 百分比 ({0}%) 使用E", 80, 1));
            HarassMenu.Add("Plugins.Twitch.HarassMenu.EMinStacks", new Slider("最小层数使用E", 6, 1, 6));

            LaneClearMenu = MenuManager.Menu.AddSubMenu("Lane clear");
            LaneClearMenu.AddGroupLabel("老鼠 清线 设置");

            LaneClearMenu.AddLabel("基本设置 :");
            LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.EnableLCIfNoEn", new CheckBox("只有附近没有敌人才能启用清线"));
            var scanRange = LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.ScanRange", new Slider("扫描敌人范围", 1500, 300, 2500));

            scanRange.OnValueChange += (a, b) =>
            {
                _changingRangeScan = true;
                Core.DelayAction(() =>
                {
                    if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside)
                    {
                        _changingRangeScan = false;
                    }
                }, 2000);
            };
            LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.AllowedEnemies", new Slider("敌人数量", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("W 设置 :");
            LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.UseW", new CheckBox("Use W", false));
            LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.WMinMana", new Slider("最小蓝 百分比 ({0}%) 使用W", 80, 1));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Contaminate (E) settings :");
            LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.UseE", new CheckBox("Use E", false));
            LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.EMinMana", new Slider("最小蓝 百分比 ({0}%) 使用E", 80, 1));
            LaneClearMenu.Add("Plugins.Twitch.LaneClearMenu.EMinMinionsHit", new Slider("最少小兵的时候使用E", 4, 1, 7));

            JungleClearMenu = MenuManager.Menu.AddSubMenu("Jungle clear");
            JungleClearMenu.AddGroupLabel("老鼠 打野 设置");

            JungleClearMenu.AddLabel("W 设置 :");
            JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.UseW", new CheckBox("Use W", false));
            JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.WMinMana", new Slider("最小蓝 百分比 ({0}%) 使用W", 80, 1));
            JungleClearMenu.AddSeparator(5);

            JungleClearMenu.AddLabel("E 设置 :");
            JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.UseE", new CheckBox("Use E"));
            JungleClearMenu.Add("Plugins.Twitch.JungleClearMenu.EMinMana", new Slider("最小蓝 百分比 ({0}%) 使用W", 30, 1));
            JungleClearMenu.AddLabel("使用E仅在能杀死大野怪和buff");

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("老鼠 杂项 设置");

            MiscMenu.AddLabel("基本设置 :");
            MiscMenu.Add("Plugins.Twitch.MiscMenu.StealthRecall", new CheckBox("隐身回城-回城的时候使用Q"));

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("老鼠 线圈 设置");

            DrawingsMenu.AddLabel("杂项 设置 :");
            DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawSpellRangesWhenReady",
                             new CheckBox("只在技能准备好的时候画出线圈"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("W 设置 :");
            DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawW", new CheckBox("Draw W range", false));
            DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawWColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("E 设置 :");
            DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawE", new CheckBox("Draw E range"));
            DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawEColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("R 设置 :");
            DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawR", new CheckBox("Draw R range"));
            DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[2].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("损坏指示图设置 :");
            DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawDamageIndicator",
                             new CheckBox("绘制敌人血条的损伤指示器", false)).OnValueChange += (a, b) =>
            {
                if (b.NewValue)
                {
                    DamageIndicator.DamageDelegate = HandleDamageIndicator;
                }
                else if (!b.NewValue)
                {
                    DamageIndicator.DamageDelegate = null;
                }
            };
            DrawingsMenu.Add("Plugins.Twitch.DrawingsMenu.DrawDamageIndicatorColor",
                             new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[3].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
        }
Exemplo n.º 24
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("EZ 连招 设置");

            ComboMenu.AddLabel("Q设置 :");
            ComboMenu.Add("Plugins.Ezreal.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.Add("Plugins.Ezreal.ComboMenu.UseQOnImmobile", new CheckBox("自动Q不动的敌人"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("W设置 :");
            ComboMenu.Add("Plugins.Ezreal.ComboMenu.UseW", new CheckBox("Use W"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("E设置 :");
            ComboMenu.Add("Plugins.Ezreal.ComboMenu.UseE", new CheckBox("Use E"));
            ComboMenu.AddSeparator(2);
            ComboMenu.Add("Plugins.Ezreal.ComboMenu.WEComboKeybind", new KeyBind("W => E 连招", false, KeyBind.BindTypes.HoldActive, 'T'));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("R设置 :");
            ComboMenu.Add("Plugins.Ezreal.ComboMenu.UseR", new CheckBox("Use R"));
            ComboMenu.Add("Plugins.Ezreal.ComboMenu.UseRToKillsteal", new CheckBox("仅在能杀死的时候使用R"));
            ComboMenu.Add("Plugins.Ezreal.ComboMenu.RMinEnemiesHit", new Slider("能打中 {0} 人的时候使用R", 3, 1, 5));
            ComboMenu.Add("Plugins.Ezreal.ComboMenu.RKeybind", new KeyBind("手动R 热键", false, KeyBind.BindTypes.HoldActive, 'T'));

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("EZ 骚扰 设置");

            HarassMenu.AddLabel("Q设置 :");
            HarassMenu.Add("Plugins.Ezreal.HarassMenu.UseQ",
                           new KeyBind("自动骚扰热键", false, KeyBind.BindTypes.PressToggle, 'A')).OnValueChange
                +=
                    (sender, args) =>
                {
                AutoHarassItem.Value = args.NewValue;
                };

            HarassMenu.AddLabel("W设置 :");
            HarassMenu.Add("Plugins.Ezreal.HarassMenu.UseW",
                           new KeyBind("Enable auto harass", false, KeyBind.BindTypes.PressToggle, 'H')).OnValueChange
                +=
                    (sender, args) =>
                {
                AutoHarassItem2.Value = args.NewValue;
                };
            HarassMenu.Add("Plugins.Ezreal.HarassMenu.MinManaQ", new Slider("最小蓝 百分比 ({0}%) 自动骚扰", 30, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("自动骚扰开启");
            foreach (var enemy in EntityManager.Heroes.Enemies)
            {
                HarassMenu.Add("Plugins.Ezreal.HarassMenu.UseQ." + enemy.Hero, new CheckBox(enemy.ChampionName == "MonkeyKing" ? "Wukong" : enemy.ChampionName));
            }

            LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear");
            LaneClearMenu.AddGroupLabel("EZ 清线 设置");

            LaneClearMenu.AddLabel("基本设置 :");
            LaneClearMenu.Add("Plugins.Ezreal.LaneClearMenu.EnableLCIfNoEn", new CheckBox("只有附近没有敌人才能启用清线", false));
            var scanRange = LaneClearMenu.Add("Plugins.Ezreal.LaneClearMenu.ScanRange", new Slider("扫描敌人范围", 1500, 300, 2500));

            scanRange.OnValueChange += (a, b) =>
            {
                _changingRangeScan = true;
                Core.DelayAction(() =>
                {
                    if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside)
                    {
                        _changingRangeScan = false;
                    }
                }, 2000);
            };
            LaneClearMenu.Add("Plugins.Ezreal.LaneClearMenu.AllowedEnemies", new Slider("敌人数量", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Q设置 :");
            LaneClearMenu.Add("Plugins.Ezreal.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane Clear"));
            LaneClearMenu.Add("Plugins.Ezreal.LaneClearMenu.LaneClearQMode", new ComboBox("Q 清线模式: ", 0, "只补能杀死的", "推线模式"));
            LaneClearMenu.AddSeparator(5);
            LaneClearMenu.Add("Plugins.Ezreal.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear"));
            LaneClearMenu.Add("Plugins.Ezreal.LaneClearMenu.MinManaQ", new Slider("最小蓝 百分比 ({0}%) 使用Q", 50, 1));

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("EZ 其他 设置");
            MiscMenu.AddLabel("基本设置 :");
            MiscMenu.Add("Plugins.Ezreal.MiscMenu.EnableKillsteal", new CheckBox("Enable Killsteal"));
            MiscMenu.AddSeparator(2);
            MiscMenu.Add("Plugins.Ezreal.MiscMenu.KeepPassiveStacks", new CheckBox("如果可以 保持被动成数"));
            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("W设置 :");
            MiscMenu.Add("Plugins.Ezreal.MiscMenu.WToPushTowers", new CheckBox("W队友推塔"));
            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("E设置 :");
            MiscMenu.Add("Plugins.Ezreal.MiscMenu.EAntiMelee", new CheckBox("使用E反突进"));
            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("R设置 :");
            MiscMenu.Add("Plugins.Ezreal.MiscMenu.MaxRRangeKillsteal", new Slider("使用R击杀敌人的范围", 8000, 0, 20000));
            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("Tear Stacker settings :");
            MiscMenu.Add("Plugins.Ezreal.MiscMenu.EnableTearStacker", new CheckBox("自动叠眼泪")).OnValueChange +=
                (a, b) =>
            {
                TearStacker.Enabled = b.NewValue;
            };

            MiscMenu.Add("Plugins.Ezreal.MiscMenu.StackOnlyInFountain", new CheckBox("只有在泉水叠眼泪", false)).OnValueChange +=
                (a, b) =>
            {
                TearStacker.OnlyInFountain = b.NewValue;
            };

            MiscMenu.Add("Plugins.Ezreal.MiscMenu.MinimalManaPercentTearStacker", new Slider("最小蓝 百分比 ({0}%) 自动叠眼泪", 50)).OnValueChange +=
                (a, b) =>
            {
                TearStacker.MinimumManaPercent = b.NewValue;
            };

            MiscMenu.AddSeparator(5);

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawings settings for Ezreal addon");

            DrawingsMenu.AddLabel("Basic settings :");
            DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Mystic Shot (Q) settings :");
            DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DrawQ", new CheckBox("Draw Q range"));
            DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Essence Flux (W) settings :");
            DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DrawW", new CheckBox("Draw W range", false));
            DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DrawWColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };

            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Arcane Shift (E) settings :");
            DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DrawE", new CheckBox("Draw E range", false));
            DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DrawEColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[2].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };

            DrawingsMenu.AddLabel("Damage indicator settings :");
            DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DrawDamageIndicator", new CheckBox("Draw damage indicator")).OnValueChange += (a, b) =>
            {
                if (b.NewValue)
                {
                    DamageIndicator.DamageDelegate = HandleDamageIndicator;
                }
                else if (!b.NewValue)
                {
                    DamageIndicator.DamageDelegate = null;
                }
            };
            DrawingsMenu.Add("Plugins.Ezreal.DrawingsMenu.DamageIndicatorColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[3].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };

            TearStacker.Enabled            = Settings.Misc.EnableTearStacker;
            TearStacker.OnlyInFountain     = Settings.Misc.StackOnlyInFountain;
            TearStacker.MinimumManaPercent = Settings.Misc.MinimalManaPercentTearStacker;

            AutoHarassItem  = MenuManager.PermaShow.AddItem("Ezreal.AutoHarass", new BoolItem("Auto harass with Q", Settings.Harass.UseQ));
            AutoHarassItem2 = MenuManager.PermaShow.AddItem("Ezreal.AutoHarassW", new BoolItem("Auto harass with W", Settings.Harass.UseW));
        }
Exemplo n.º 25
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo mode settings for Ashe addon");

            ComboMenu.AddLabel("Ranger's Focus (Q) settings :");
            ComboMenu.Add("Plugins.Ashe.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Volley (W) settings :");
            ComboMenu.Add("Plugins.Ashe.ComboMenu.UseW", new CheckBox("Use W"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Hawkshot (E) settings :");
            ComboMenu.Add("Plugins.Ashe.ComboMenu.UseE", new CheckBox("Use E"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Enchanted Crystal Arrow (R) settings :");
            ComboMenu.Add("Plugins.Ashe.ComboMenu.UseR", new CheckBox("Use R"));
            ComboMenu.Add("Plugins.Ashe.ComboMenu.RMinimumRange", new Slider("R minimum range to cast", 350, 100, 700));
            ComboMenu.Add("Plugins.Ashe.ComboMenu.RMaximumRange", new Slider("R maximum range to cast", 2500, 700, 3000));
            ComboMenu.AddSeparator(5);

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass mode settings for Ashe addon");

            HarassMenu.AddLabel("Volley (W) settings :");
            HarassMenu.Add("Plugins.Ashe.HarassMenu.UseW", new CheckBox("Use W"));
            HarassMenu.Add("Plugins.Ashe.HarassMenu.MinManaForW", new Slider("Min mana percentage ({0}%) to use W", 60, 1));
            HarassMenu.AddSeparator(5);

            LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear");
            LaneClearMenu.AddGroupLabel("Lane clear settings for Ashe addon");

            LaneClearMenu.AddLabel("Basic settings :");
            LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby"));
            var scanRange = LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.ScanRange", new Slider("Range to scan for enemies", 1500, 300, 2500));

            scanRange.OnValueChange += (a, b) =>
            {
                _changingRangeScan = true;
                Core.DelayAction(() =>
                {
                    if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside)
                    {
                        _changingRangeScan = false;
                    }
                }, 2000);
            };
            LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Ranger's Focus (Q) settings :");
            LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane Clear"));
            LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear"));
            LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Volley (W) settings :");
            LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.UseWInLaneClear", new CheckBox("Use W in Lane Clear"));
            LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.UseWInJungleClear", new CheckBox("Use W in Jungle Clear"));
            LaneClearMenu.Add("Plugins.Ashe.LaneClearMenu.MinManaW", new Slider("Min mana percentage ({0}%) to use W", 80, 1));

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc settings for Ashe addon");
            MiscMenu.Add("Plugins.Ashe.MiscMenu.MaxInterrupterRange",
                         new Slider("Max range to cast R against interruptible spell", 1500, 0, 2500));

            MenuManager.BuildAntiGapcloserMenu();
            MenuManager.BuildInterrupterMenu();

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawing settings for Ashe addon");

            DrawingsMenu.AddLabel("Basic settings :");
            DrawingsMenu.Add("Plugins.Ashe.DrawingsMenu.DrawSpellRangesWhenReady",
                             new CheckBox("Draw spell ranges only when they are ready"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.Add("Plugins.Ashe.DrawingsMenu.DrawW", new CheckBox("Draw W range"));
            DrawingsMenu.Add("Plugins.Ashe.DrawingsMenu.DrawWColor",
                             new CheckBox("Change Color", false)).OnValueChange += (a, b) => {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };

            DrawingsMenu.Add("Plugins.Ashe.DrawingsMenu.DrawR", new CheckBox("Draw R range"));
            DrawingsMenu.Add("Plugins.Ashe.DrawingsMenu.DrawRColor",
                             new CheckBox("Change Color", false)).OnValueChange += (a, b) => {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
        }
Exemplo n.º 26
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo mode settings for Varus addon");

            ComboMenu.AddLabel("Piercing Arrow (Q) settings :");
            ComboMenu.Add("Plugins.Varus.ComboMenu.UseQ", new CheckBox("Use Q"));
            var qrange = ComboMenu.Add("Plugins.Varus.ComboMenu.QMinDistanceToTarget", new Slider("Minimum distance to target to use Q", 500, 0, 1250));

            qrange.OnValueChange += (a, b) =>
            {
                _changingRangeQ = true;
                Core.DelayAction(() =>
                {
                    if (!qrange.IsLeftMouseDown && !qrange.IsMouseInside)
                    {
                        _changingRangeQ = false;
                    }
                }, 2000);
            };
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Hail of Arrows (E) settings :");
            ComboMenu.Add("Plugins.Varus.ComboMenu.UseE", new CheckBox("Use E"));
            ComboMenu.Add("Plugins.Varus.ComboMenu.UseEToProc", new CheckBox("Use E only to proc 3rd W stack", false));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Chain of Corruption (R) settings :");
            ComboMenu.Add("Plugins.Varus.ComboMenu.UseR", new CheckBox("Use R", false));
            ComboMenu.Add("Plugins.Varus.ComboMenu.RKeybind", new KeyBind("Manual R keybind", false, KeyBind.BindTypes.HoldActive, 'W'));

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass mode settings for Varus addon");

            HarassMenu.AddLabel("Piercing Arrow (Q) settings :");
            HarassMenu.Add("Plugins.Varus.HarassMenu.AutoHarass",
                           new KeyBind("Enable AutoHarass with Q", false, KeyBind.BindTypes.PressToggle, 'T')).OnValueChange +=
                (sender, args) =>
            {
                AutoHarass.Value = args.NewValue;
            };
            HarassMenu.Add("Plugins.Varus.HarassMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1));
            HarassMenu.AddSeparator(2);

            if (EntityManager.Heroes.Enemies.Any())
            {
                HarassMenu.AddLabel("Enable auto harras for : ");

                EntityManager.Heroes.Enemies.ForEach(x => HarassMenu.Add("Plugins.Varus.HarassMenu.AutoHarassEnabled." + x.ChampionName, new CheckBox(x.ChampionName == "MonkeyKing" ? "Wukong" : x.ChampionName)));
            }

            LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear");
            LaneClearMenu.AddGroupLabel("Lane clear settings for Varus addon");

            LaneClearMenu.AddLabel("Basic settings :");
            LaneClearMenu.Add("Plugins.Varus.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby"));
            var scanRange = LaneClearMenu.Add("Plugins.Varus.LaneClearMenu.ScanRange", new Slider("Range to scan for enemies", 1500, 300, 2500));

            scanRange.OnValueChange += (a, b) =>
            {
                _changingRangeScan = true;
                Core.DelayAction(() =>
                {
                    if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside)
                    {
                        _changingRangeScan = false;
                    }
                }, 2000);
            };
            LaneClearMenu.Add("Plugins.Varus.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Lane clear settings :");
            LaneClearMenu.Add("Plugins.Varus.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane clear", false));
            LaneClearMenu.Add("Plugins.Varus.LaneClearMenu.MinMinionsHitQ", new Slider("Min minions hit to use Q", 3, 1, 6));
            LaneClearMenu.Add("Plugins.Varus.LaneClearMenu.UseEInLaneClear", new CheckBox("Use E in Lane clear", false));
            LaneClearMenu.Add("Plugins.Varus.LaneClearMenu.MinMinionsHitE", new Slider("Min minions hit to use E", 3, 1, 6));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Jungle clear settings :");
            LaneClearMenu.Add("Plugins.Varus.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle clear", false));
            LaneClearMenu.Add("Plugins.Varus.LaneClearMenu.UseEInJungleClear", new CheckBox("Use E in Jungle clear"));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Mana settings :");
            LaneClearMenu.Add("Plugins.Varus.LaneClearMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1));
            LaneClearMenu.Add("Plugins.Varus.LaneClearMenu.MinManaE", new Slider("Min mana percentage ({0}%) to use E", 50, 1));

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc settings for Varus addon");
            MiscMenu.AddLabel("Basic settings :");
            MiscMenu.Add("Plugins.Varus.MiscMenu.EnableKillsteal", new CheckBox("Enable Killsteal"));

            MenuManager.BuildAntiGapcloserMenu();

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawings settings for Varus addon");

            DrawingsMenu.AddLabel("Basic settings :");
            DrawingsMenu.Add("Plugins.Varus.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Piercing Arrow (Q) settings :");
            DrawingsMenu.Add("Plugins.Varus.DrawingsMenu.DrawQ", new CheckBox("Draw Q range"));
            DrawingsMenu.Add("Plugins.Varus.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Hail of Arrows (E) settings :");
            DrawingsMenu.Add("Plugins.Varus.DrawingsMenu.DrawE", new CheckBox("Draw E range", false));
            DrawingsMenu.Add("Plugins.Varus.DrawingsMenu.DrawEColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Chain of Corruption (R) settings :");
            DrawingsMenu.Add("Plugins.Varus.DrawingsMenu.DrawR", new CheckBox("Draw R range", false));
            DrawingsMenu.Add("Plugins.Varus.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[2].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };

            DrawingsMenu.AddLabel("Damage indicator settings :");
            DrawingsMenu.Add("Plugins.Varus.DrawingsMenu.DrawDamageIndicator", new CheckBox("Draw damage indicator")).OnValueChange += (a, b) =>
            {
                if (b.NewValue)
                {
                    DamageIndicator.DamageDelegate = HandleDamageIndicator;
                }
                else if (!b.NewValue)
                {
                    DamageIndicator.DamageDelegate = null;
                }
            };
            DrawingsMenu.Add("Plugins.Varus.DrawingsMenu.DamageIndicatorColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[3].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };

            AutoHarass = MenuManager.PermaShow.AddItem("Varus.AutoHarass",
                                                       new BoolItem("Enable auto harass with Q", Settings.Harass.AutoHarassWithQ));
        }
Exemplo n.º 27
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo mode settings for Jhin addon");

            ComboMenu.AddLabel("Dancing Grenade (Q) settings :");
            ComboMenu.Add("Plugins.Jhin.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Deadly Flourish (W) settings :");
            ComboMenu.Add("Plugins.Jhin.ComboMenu.UseW", new CheckBox("Use W"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Captive Audience (E) settings :");
            ComboMenu.Add("Plugins.Jhin.ComboMenu.UseE", new CheckBox("Use E"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Curtain Call (R) settings :");
            ComboMenu.Add("Plugins.Jhin.ComboMenu.UseR", new CheckBox("Use R"));
            ComboMenu.Add("Plugins.Jhin.ComboMenu.EnableFowPrediction", new CheckBox("Enable FoW prediction"));
            ComboMenu.Add("Plugins.Jhin.ComboMenu.RDelay", new Slider("Delay between shots", 0, 0, 2500));
            ComboMenu.Add("Plugins.Jhin.ComboMenu.RMode", new ComboBox("R mode", 0, "In Combo mode", "KeyBind", "Automatic"));
            ComboMenu.Add("Plugins.Jhin.ComboMenu.RKeybind", new KeyBind("R keybind", false, KeyBind.BindTypes.HoldActive, 'T'));
            ComboMenu.AddSeparator(5);

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass mode settings for Jhin addon");

            HarassMenu.AddLabel("Dancing Grenade (Q) settings :");
            HarassMenu.Add("Plugins.Jhin.HarassMenu.UseQ", new CheckBox("Use Q", false));
            HarassMenu.Add("Plugins.Jhin.HarassMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 80, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("Deadly Flourish (W) settings :");
            HarassMenu.Add("Plugins.Jhin.HarassMenu.UseW", new CheckBox("Use W"));
            HarassMenu.Add("Plugins.Jhin.HarassMenu.MinManaW", new Slider("Min mana percentage ({0}%) to use W", 80, 1));
            HarassMenu.AddSeparator(5);

            LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear");
            LaneClearMenu.AddGroupLabel("Lane clear settings for Jhin addon");

            LaneClearMenu.AddLabel("Basic settings :");
            LaneClearMenu.Add("Plugins.Jhin.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby"));
            var scanRange = LaneClearMenu.Add("Plugins.Jhin.LaneClearMenu.ScanRange", new Slider("Range to scan for enemies", 1500, 300, 2500));

            scanRange.OnValueChange += (a, b) =>
            {
                _changingRangeScan = true;
                Core.DelayAction(() =>
                {
                    if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside)
                    {
                        _changingRangeScan = false;
                    }
                }, 2000);
            };
            LaneClearMenu.Add("Plugins.Jhin.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Dancing Grenade (Q) settings :");
            LaneClearMenu.Add("Plugins.Jhin.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane Clear", false));
            LaneClearMenu.Add("Plugins.Jhin.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear"));
            LaneClearMenu.Add("Plugins.Jhin.LaneClearMenu.MinManaQ", new Slider("Minimum mana percentage ({0}%) to use Q", 50, 1));
            LaneClearMenu.Add("Plugins.Jhin.LaneClearMenu.MinMinionsKilledFromQ", new Slider("Minimum minions killed to use Q", 3, 1, 4));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Deadly Flourish (W) settings :");
            LaneClearMenu.Add("Plugins.Jhin.LaneClearMenu.UseWInLaneClear", new CheckBox("Use w in Lane Clear"));
            LaneClearMenu.Add("Plugins.Jhin.LaneClearMenu.UseWInJungleClear", new CheckBox("Use W in Jungle Clear"));
            LaneClearMenu.Add("Plugins.Jhin.LaneClearMenu.MinManaW", new Slider("Min mana percentage ({0}%) to use W", 50, 1));

            MenuManager.BuildAntiGapcloserMenu();

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc settings for Jhin addon");
            MiscMenu.AddLabel("Basic settings :");
            MiscMenu.Add("Plugins.Jhin.MiscMenu.EnableKillsteal", new CheckBox("Enable Killsteal"));
            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("Deadly Flourish (W) settings :");
            MiscMenu.Add("Plugins.Jhin.MiscMenu.WFowPrediction", new CheckBox("Use FoW prediction"));
            MiscMenu.Add("Plugins.Jhin.MiscMenu.WAntiGapcloser", new CheckBox("Cast against gapclosers"));
            MiscMenu.AddSeparator(5);
            MiscMenu.AddLabel("Captive Audience (E) settings :");
            MiscMenu.Add("Plugins.Jhin.MiscMenu.EAntiGapcloser", new CheckBox("Cast against gapclosers"));

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawings settings for Jhin addon");

            DrawingsMenu.AddLabel("Basic settings :");
            DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.DrawSpellRangesWhenReady",
                             new CheckBox("Draw spell ranges only when they are ready"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Dancing Grenade (Q) settings :");
            DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.DrawQ", new CheckBox("Draw Q range"));
            DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Deadly Flourish (W) settings :");
            DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.DrawW", new CheckBox("Draw W range"));
            DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.DrawWColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Captive Audience (E) settings :");
            DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.DrawE", new CheckBox("Draw E range"));
            DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.DrawEColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[2].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Curtain Call (R) settings :");
            DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.DrawR", new CheckBox("Draw R range"));
            DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[3].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.DrawInfo", new CheckBox("Draw Infos")).OnValueChange += (a, b) =>
            {
                if (b.NewValue)
                {
                    DamageIndicator.DamageDelegate = HandleDamageIndicator;
                }
                else if (!b.NewValue)
                {
                    DamageIndicator.DamageDelegate = null;
                }
            };
            DrawingsMenu.Add("Plugins.Jhin.DrawingsMenu.InfoColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[4].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddLabel("Draws damage indicator and minions killable from Q");
        }
Exemplo n.º 28
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("金克丝 连招 设置");

            ComboMenu.AddLabel("Q 设置 :");
            ComboMenu.Add("Plugins.Jinx.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("W 设置 :");
            ComboMenu.Add("Plugins.Jinx.ComboMenu.UseW", new CheckBox("Use W"));
            ComboMenu.Add("Plugins.Jinx.ComboMenu.WMinDistanceToTarget", new Slider("对目标最小距离", 800, 0, 1500));
            ComboMenu.AddLabel("使用W仅从玩家到目标的距离高于期望值");
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("E 设置 :");
            ComboMenu.Add("Plugins.Jinx.ComboMenu.UseE", new CheckBox("Use E"));
            ComboMenu.Add("Plugins.Jinx.ComboMenu.AutoE", new CheckBox("自动使用E打断技能"));
            ComboMenu.AddLabel("自动使用E 对敌人的传送 中亚.\n他也在寻找打断释放时间长的技能 像女警的R 和马尔扎哈的R");
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("R 设置 :");
            ComboMenu.Add("Plugins.Jinx.ComboMenu.UseR", new CheckBox("Use R"));
            ComboMenu.Add("Plugins.Jinx.ComboMenu.RKeybind", new KeyBind("R 热键绑定", false, KeyBind.BindTypes.HoldActive, 'T'));
            ComboMenu.AddLabel("R的热键释放最好的目标是活跃范围内.");
            ComboMenu.AddSeparator(5);
            var keybindRange = ComboMenu.Add("Plugins.Jinx.ComboMenu.RRangeKeybind", new Slider("热键绑定的R 最大射程", 1100, 300, 5000));

            keybindRange.OnValueChange += (a, b) =>
            {
                _changingkeybindRange = true;
                Core.DelayAction(() =>
                {
                    if (!keybindRange.IsLeftMouseDown && !keybindRange.IsMouseInside)
                    {
                        _changingkeybindRange = false;
                    }
                }, 2000);
            };

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("金克丝 自动骚扰 设置");

            HarassMenu.AddLabel("Q 设置 :");
            HarassMenu.Add("Plugins.Jinx.HarassMenu.UseQ", new CheckBox("Use Q", false));
            HarassMenu.Add("Plugins.Jinx.HarassMenu.MinManaQ", new Slider("最小蓝 百分比 ({0}%) 使用Q", 80, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("W 设置 :");
            HarassMenu.Add("Plugins.Jinx.HarassMenu.UseW", new CheckBox("W自动骚扰"));
            HarassMenu.AddLabel("能自动W攻击敌人.");
            HarassMenu.Add("Plugins.Jinx.HarassMenu.MinManaW", new Slider("最小蓝 百分比 ({0}%) 使用W", 50, 1));
            HarassMenu.AddSeparator(5);
            HarassMenu.AddLabel("W 骚扰启用");
            foreach (var enemy in EntityManager.Heroes.Enemies)
            {
                HarassMenu.Add("Plugins.Jinx.HarassMenu.UseW." + enemy.Hero, new CheckBox(enemy.ChampionName == "MonkeyKing" ? "Wukong" : enemy.ChampionName));
            }

            LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear");
            LaneClearMenu.AddGroupLabel("金克丝 清线 设置");

            LaneClearMenu.AddLabel("基本设置 :");
            LaneClearMenu.Add("Plugins.Jinx.LaneClearMenu.EnableLCIfNoEn",
                              new CheckBox("只有附近没有敌人才能启用清线"));
            var scanRange = LaneClearMenu.Add("Plugins.Jinx.LaneClearMenu.ScanRange",
                                              new Slider("扫描敌人范围", 1500, 300, 2500));

            scanRange.OnValueChange += (a, b) =>
            {
                _changingRangeScan = true;
                Core.DelayAction(() =>
                {
                    if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside)
                    {
                        _changingRangeScan = false;
                    }
                }, 2000);
            };
            LaneClearMenu.Add("Plugins.Jinx.LaneClearMenu.AllowedEnemies", new Slider("敌人数量", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Switcheroo! (Q) settings :");
            LaneClearMenu.Add("Plugins.Jinx.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane Clear"));
            LaneClearMenu.Add("Plugins.Jinx.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear"));
            LaneClearMenu.Add("Plugins.Jinx.LaneClearMenu.MinManaQ", new Slider("最小蓝 百分比 ({0}%) 使用Q", 50, 1));

            MenuManager.BuildAntiGapcloserMenu();
            MenuManager.BuildInterrupterMenu();

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("金克丝其他设置");
            MiscMenu.AddLabel("基本设置:");
            MiscMenu.Add("Plugins.Jinx.MiscMenu.EnableInterrupter", new CheckBox("使用E对可中断的技能", false));
            MiscMenu.Add("Plugins.Jinx.MiscMenu.EnableAntiGapcloser", new CheckBox("使用E反突进"));
            MiscMenu.Add("Plugins.Jinx.MiscMenu.WKillsteal", new CheckBox("使用W抢人头"));
            MiscMenu.Add("Plugins.Jinx.MiscMenu.RKillsteal", new CheckBox("使用R抢人头"));
            MiscMenu.Add("Plugins.Jinx.MiscMenu.RKillstealMaxRange", new Slider("使用R抢人头对敌人的最大范围", 8000, 0, 20000));

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawings settings for Jinx addon");

            DrawingsMenu.AddLabel("Basic settings :");
            DrawingsMenu.Add("Plugins.Jinx.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Switcheroo! (Q) drawing settings :");
            DrawingsMenu.Add("Plugins.Jinx.DrawingsMenu.DrawRocketsRange", new CheckBox("Draw Q rockets range"));
            DrawingsMenu.Add("Plugins.Jinx.DrawingsMenu.DrawRocketsRangeColor", new CheckBox("Change Color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Zap! (W) drawing settings :");
            DrawingsMenu.Add("Plugins.Jinx.DrawingsMenu.DrawW", new CheckBox("Draw W range"));
            DrawingsMenu.Add("Plugins.Jinx.DrawingsMenu.DrawWColor", new CheckBox("Change Color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);
        }
Exemplo n.º 29
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo mode settings for Lucian addon");

            ComboMenu.AddLabel("Piercing Light (Q) settings :");
            ComboMenu.Add("Plugins.Lucian.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.Add("Plugins.Lucian.ComboMenu.ExtendQOnMinions", new CheckBox("Try to extend Q on minions"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Ardent Blaze (W) settings :");
            ComboMenu.Add("Plugins.Lucian.ComboMenu.UseW", new CheckBox("Use W"));
            ComboMenu.Add("Plugins.Lucian.ComboMenu.IgnoreCollisionW", new CheckBox("Ignore collision"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Relentless Pursuit (E) settings :");
            ComboMenu.Add("Plugins.Lucian.ComboMenu.UseE", new CheckBox("Use E"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("The Culling (R) settings :");
            ComboMenu.Add("Plugins.Lucian.ComboMenu.UseR", new CheckBox("Use R"));
            ComboMenu.Add("Plugins.Lucian.ComboMenu.RKeybind", new KeyBind("R keybind", false, KeyBind.BindTypes.HoldActive, 'T'));
            ComboMenu.AddSeparator(5);

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass mode settings for Lucian addon");

            HarassMenu.AddLabel("Piercing Light (Q) settings :");
            HarassMenu.Add("Plugins.Lucian.HarassMenu.UseQ", new KeyBind("Enable auto harass", false, KeyBind.BindTypes.PressToggle, 'A')).OnValueChange +=
                (a, b) =>
            {
                if (AutoHarassBoolItemData != null)
                {
                    AutoHarassBoolItemData.Value = b.NewValue;
                }
            };
            HarassMenu.Add("Plugins.Lucian.HarassMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 80, 1));
            HarassMenu.AddSeparator(5);

            HarassMenu.AddLabel("Auto harass enabled for :");
            foreach (var enemy in EntityManager.Heroes.Enemies)
            {
                HarassMenu.Add("Plugins.Lucian.HarassMenu.UseQ." + enemy.Hero, new CheckBox(enemy.ChampionName == "MonkeyKing" ? "Wukong" : enemy.ChampionName));
            }

            LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear");
            LaneClearMenu.AddGroupLabel("Lane clear settings for Lucian addon");

            LaneClearMenu.AddLabel("Basic settings :");
            LaneClearMenu.Add("Plugins.Lucian.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby"));
            var scanRange = LaneClearMenu.Add("Plugins.Lucian.LaneClearMenu.ScanRange", new Slider("Range to scan for enemies", 1500, 300, 2500));

            scanRange.OnValueChange += (a, b) =>
            {
                _changingRangeScan = true;
                Core.DelayAction(() =>
                {
                    if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside)
                    {
                        _changingRangeScan = false;
                    }
                }, 2000);
            };
            LaneClearMenu.Add("Plugins.Lucian.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Piercing Light (Q) settings :");
            LaneClearMenu.Add("Plugins.Lucian.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane Clear"));
            LaneClearMenu.Add("Plugins.Lucian.LaneClearMenu.MinMinionsHitQ", new Slider("Min minions hit to use Q", 3, 1, 8));
            LaneClearMenu.AddSeparator(5);
            LaneClearMenu.Add("Plugins.Lucian.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle Clear"));
            LaneClearMenu.Add("Plugins.Lucian.LaneClearMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1));

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc settings for Lucian addon");
            MiscMenu.AddLabel("Basic settings :");
            MiscMenu.Add("Plugins.Lucian.MiscMenu.EnableKillsteal", new CheckBox("Enable Killsteal"));
            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("Relentless Pursuit (E) settings :");
            MiscMenu.Add("Plugins.Lucian.MiscMenu.EMode", new ComboBox("E mode", 0, "Auto", "Cursor Pos"));
            MiscMenu.Add("Plugins.Lucian.MiscMenu.EUsageMode", new ComboBox("E usage", 0, "Always", "After autoattack only"));

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawings settings for Lucian addon");

            DrawingsMenu.AddLabel("Basic settings :");
            DrawingsMenu.Add("Plugins.Lucian.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Piercing Light (Q) settings :");
            DrawingsMenu.Add("Plugins.Lucian.DrawingsMenu.DrawQ", new CheckBox("Draw Q range"));
            DrawingsMenu.Add("Plugins.Lucian.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("The Culling (R) settings :");
            DrawingsMenu.Add("Plugins.Lucian.DrawingsMenu.DrawR", new CheckBox("Draw R range"));
            DrawingsMenu.Add("Plugins.Lucian.DrawingsMenu.DrawRColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.Add("Plugins.Lucian.DrawingsMenu.DrawInfo", new CheckBox("Draw Infos")).OnValueChange += (a, b) =>
            {
                if (b.NewValue)
                {
                    DamageIndicator.DamageDelegate = HandleDamageIndicator;
                }
                else if (!b.NewValue)
                {
                    DamageIndicator.DamageDelegate = null;
                }
            };
            DrawingsMenu.Add("Plugins.Lucian.DrawingsMenu.InfoColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[2].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddLabel("Draws damage indicator");

            AutoHarassBoolItemData = PermaShow.AddItem("Auto harass", new BoolItemData("Enable Auto harass", Settings.Harass.UseQ, 14));
        }
Exemplo n.º 30
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo mode settings for Quinn addon");

            ComboMenu.AddLabel("Blinding Assault (Q) settings :");
            ComboMenu.Add("Plugins.Quinn.ComboMenu.UseQ", new CheckBox("Use Q"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Heightened Senses (W) settings :");
            ComboMenu.Add("Plugins.Quinn.ComboMenu.UseW", new CheckBox("Use W"));
            ComboMenu.AddSeparator(5);

            ComboMenu.AddLabel("Vault (E) settings :");
            ComboMenu.Add("Plugins.Quinn.ComboMenu.UseE", new CheckBox("Use E"));

            HarassMenu = MenuManager.Menu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass mode settings for Quinn addon");

            HarassMenu.AddLabel("Blinding Assault (Q) settings :");
            HarassMenu.Add("Plugins.Quinn.HarassMenu.UseQ", new CheckBox("Use Q", false));
            HarassMenu.Add("Plugins.Quinn.HarassMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 75, 1));

            LaneClearMenu = MenuManager.Menu.AddSubMenu("Clear");
            LaneClearMenu.AddGroupLabel("Lane clear settings for Quinn addon");

            LaneClearMenu.AddLabel("Basic settings :");
            LaneClearMenu.Add("Plugins.Quinn.LaneClearMenu.EnableLCIfNoEn", new CheckBox("Enable lane clear only if no enemies nearby", false));
            var scanRange = LaneClearMenu.Add("Plugins.Quinn.LaneClearMenu.ScanRange", new Slider("Range to scan for enemies", 1500, 300, 2500));

            scanRange.OnValueChange += (a, b) =>
            {
                _changingRangeScan = true;
                Core.DelayAction(() =>
                {
                    if (!scanRange.IsLeftMouseDown && !scanRange.IsMouseInside)
                    {
                        _changingRangeScan = false;
                    }
                }, 2000);
            };
            LaneClearMenu.Add("Plugins.Quinn.LaneClearMenu.AllowedEnemies", new Slider("Allowed enemies amount", 1, 0, 5));
            LaneClearMenu.AddSeparator(5);

            LaneClearMenu.AddLabel("Blinding Assault (Q) settings :");
            LaneClearMenu.Add("Plugins.Quinn.LaneClearMenu.UseQInLaneClear", new CheckBox("Use Q in Lane clear"));
            LaneClearMenu.Add("Plugins.Quinn.LaneClearMenu.MinMinionsKilledForQ", new Slider("Min minions hit to use Q", 3, 1, 6));
            LaneClearMenu.AddSeparator(5);
            LaneClearMenu.Add("Plugins.Quinn.LaneClearMenu.UseQInJungleClear", new CheckBox("Use Q in Jungle clear"));
            LaneClearMenu.Add("Plugins.Quinn.LaneClearMenu.MinManaQ", new Slider("Min mana percentage ({0}%) to use Q", 50, 1));

            MiscMenu = MenuManager.Menu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc settings for Quinn addon");
            MiscMenu.AddLabel("Basic settings :");
            MiscMenu.Add("Plugins.Quinn.MiscMenu.EnableKillsteal", new CheckBox("Enable Killsteal"));
            MiscMenu.AddSeparator(5);

            MiscMenu.AddLabel("Vault (E) settings :");
            MiscMenu.Add("Plugins.Quinn.MiscMenu.EAgainstGapclosers", new CheckBox("Use E against gapclosers"));
            MiscMenu.Add("Plugins.Quinn.MiscMenu.EAgainstInterruptible", new CheckBox("Use E to interrupt"));

            MenuManager.BuildAntiGapcloserMenu();
            MenuManager.BuildInterrupterMenu();

            DrawingsMenu = MenuManager.Menu.AddSubMenu("Drawings");
            DrawingsMenu.AddGroupLabel("Drawings settings for Quinn addon");

            DrawingsMenu.AddLabel("Basic settings :");
            DrawingsMenu.Add("Plugins.Quinn.DrawingsMenu.DrawSpellRangesWhenReady", new CheckBox("Draw spell ranges only when they are ready"));
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Blinding Assault (Q) settings :");
            DrawingsMenu.Add("Plugins.Quinn.DrawingsMenu.DrawQ", new CheckBox("Draw Q range", false));
            DrawingsMenu.Add("Plugins.Quinn.DrawingsMenu.DrawQColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[0].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
            DrawingsMenu.AddSeparator(5);

            DrawingsMenu.AddLabel("Vault (E) settings :");
            DrawingsMenu.Add("Plugins.Quinn.DrawingsMenu.DrawE", new CheckBox("Draw E range"));
            DrawingsMenu.Add("Plugins.Quinn.DrawingsMenu.DrawEColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[1].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };

            DrawingsMenu.AddLabel("Damage indicator settings :");
            DrawingsMenu.Add("Plugins.Quinn.DrawingsMenu.DrawDamageIndicator", new CheckBox("Draw damage indicator")).OnValueChange += (a, b) =>
            {
                if (b.NewValue)
                {
                    DamageIndicator.DamageDelegate = HandleDamageIndicator;
                }
                else if (!b.NewValue)
                {
                    DamageIndicator.DamageDelegate = null;
                }
            };
            DrawingsMenu.Add("Plugins.Quinn.DrawingsMenu.DamageIndicatorColor", new CheckBox("Change color", false)).OnValueChange += (a, b) =>
            {
                if (!b.NewValue)
                {
                    return;
                }

                ColorPicker[2].Initialize(Color.Aquamarine);
                a.CurrentValue = false;
            };
        }