コード例 #1
0
ファイル: Alistar.cs プロジェクト: WujuSan/Elobuddy-1
        public override void InitMenu()
        {
            var feature = new Feature
            {
                NameFeature = "Draw",
                MenuValueStyleList = new List<ValueAbstract>
                {
                    new ValueCheckbox(false, "disable", "Disable"),
                    new ValueCheckbox(true, "dmgIndicator", "Show Damage Indicator"),
                    new ValueCheckbox(true, "draw.q", "Draw Q"),
                    new ValueCheckbox(true, "draw.w", "Draw W"),
                    new ValueCheckbox(true, "draw.e", "Draw E")
                }
            };

            feature.ToMenu();
            Features.Add(feature);

            feature = new Feature
            {
                NameFeature = "Combo",
                MenuValueStyleList = new List<ValueAbstract>
                {
                    new ValueCheckbox(true,  "combo.r", "Combo R"),
                    new ValueCheckbox(true,  "combo.r.health%", "Health% to ult"),
                    new ValueCheckbox(true,  "combo.r.minenemies", "Min Enemies to ult")
                }
            };

            feature.ToMenu();
            Features.Add(feature);

            feature = new Feature
            {
                NameFeature = "Misc",
                MenuValueStyleList = new List<ValueAbstract>
                {
                    new ValueKeybind(false, "misc.insec", "Insec", KeyBind.BindTypes.HoldActive),
                    new ValueSlider(200, -200, 0, "misc.W/Q Delay", "W/Q Delay"),
                    new ValueCheckbox(true,  "misc.heal", "Use E"),
                    new ValueCheckbox(true,  "misc.heal.myself", "Heal myself"),
                    new ValueSlider(99, 1, 50, "misc.heal.health%", "Heal when ally health% <="),
                    new ValueSlider(99, 1, 30, "misc.heal.mana%", "Heal when mana% >="),
                    new ValueSlider(100, 0 , 40, "misc.gapcloser", "W/Q on enemy gapcloser"),
                    new ValueSlider(100, 0 , 40, "misc.interrupter", "Interrupt enemy spells")
                }
            };

            feature.ToMenu();
            Features.Add(feature);
        }
コード例 #2
0
        public SkinController(int QuantityOfSkins)
        {
            var feature = new Feature
            {
                NameFeature = "Skin Changer",
                MenuValueStyleList = new List<ValueAbstract>
                {
                    new ValueCheckbox(true, "skin.enable", "Enable Skin Changer"),
                    new ValueSlider(QuantityOfSkins, 0, 0, "skin.id", "Skin chooser")
                }
            };

            feature.ToMenu();
            this.feature = feature;

            Game.OnTick += OnTick;
        }
コード例 #3
0
ファイル: MasterYi.cs プロジェクト: himrengod/Elobuddy-1
        public override void InitMenu()
        {
            var feature = new Feature
            {
                NameFeature = "Draw",
                MenuValueStyleList = new List<ValueAbstract>
                {
                    new ValueCheckbox(false, "disable", "Disable"),
                    new ValueCheckbox(true, "dmgIndicator", "Show Damage Indicator"),
                    new ValueCheckbox(true, "draw.q", "Draw Q")
                }
            };

            feature.ToMenu();
            Features.Add(feature);

            feature = new Feature
            {
                NameFeature = "Combo",
                MenuValueStyleList = new List<ValueAbstract>
                {
                    new ValueCheckbox(true,  "combo.q", "Combo Q"),
                    new ValueCheckbox(true, "combo.q.smartq", "SmartQ"),
                    new ValueCheckbox(true, "combo.q.saveqtododgespells", "Save Q to dodge spells"),
                    new ValueCheckbox(true, "combo.waareset", "Use W AA Reset"),
                    new ValueCheckbox(true,  "combo.e", "Combo E"),
                    new ValueCheckbox(true,  "combo.r", "Combo R")
                }
            };

            feature.ToMenu();
            Features.Add(feature);

            feature = new Feature
            {
                NameFeature = "Harass",
                MenuValueStyleList = new List<ValueAbstract>
                {
                    new ValueCheckbox(true,  "harass.q", "Harass Q"),
                    new ValueCheckbox(false, "harass.w", "Use W AA Reset"),
                    new ValueCheckbox(true,  "harass.e", "Harass E")
                }
            };

            feature.ToMenu();
            Features.Add(feature);

            feature = new Feature
            {
                NameFeature = "Lane Clear",
                MenuValueStyleList = new List<ValueAbstract>
                {
                    new ValueCheckbox(true,  "laneclear.q", "Lane Clear Q"),
                    new ValueCheckbox(true,  "laneclear.q.jimwd", "Just Q if minion will die"),
                    new ValueSlider(4, 1, 3, "laneclear.q.minminions", "Min minions to Q"),
                    new ValueSlider(100, 1, 30, "laneclear.mana%", "Lane Clear MinMana%")
                }
            };

            feature.ToMenu();
            Features.Add(feature);

            feature = new Feature
            {
                NameFeature = "Jungle Clear",
                MenuValueStyleList = new List<ValueAbstract>
                {
                    new ValueCheckbox(true,  "jungleclear.q", "Jungle Clear Q"),
                    new ValueCheckbox(true,  "jungleclear.e", "Jungle Clear E"),
                    new ValueSlider(100, 1, 30, "jungleclear.mana%", "Jungle Clear MinMana%")
                }
            };

            feature.ToMenu();
            Features.Add(feature);

            feature = new Feature
            {
                NameFeature = "Smite Usage",
                MenuValueStyleList = new List<ValueAbstract>
                {
                    new ValueCheckbox(true, "smiteusage.usesmite", "Use smite"),
                    new ValueCheckbox(true, "smiteusage.red", "Red"),
                    new ValueCheckbox(true, "smiteusage.blue", "Blue"),
                    new ValueCheckbox(true, "smiteusage.wolf", "Wolf"),
                    new ValueCheckbox(true, "smiteusage.gromp", "Gromp"),
                    new ValueCheckbox(true, "smiteusage.raptor", "Raptor"),
                    new ValueCheckbox(true, "smiteusage.krug", "Krug")
                }
            };

            feature.ToMenu();
            Features.Add(feature);

            feature = new Feature
            {
                NameFeature = "Misc",
                MenuValueStyleList = new List<ValueAbstract>
                {
                    new ValueCheckbox(true,  "misc.ks", "KS"),
                    new ValueCheckbox(true, "misc.gapcloser", "Q on enemy gapcloser"),
                    new ValueCheckbox(true, "misc.autoignite", "Auto Ignire")
                }
            };

            feature.ToMenu();
            Features.Add(feature);

            EOMenu = Globals.MENU.AddSubMenu("Q/W Evade Options", "Q/W Evade Options");

            foreach (AIHeroClient hero in EntityManager.Heroes.Enemies)
            {
                EOMenu.AddGroupLabel(hero.BaseSkinName);
                {
                    foreach (SpellDataInst spell in hero.Spellbook.Spells)
                    {
                        if (DodgeSpells.Any(el => el == spell.SData.Name))
                        {
                            EOMenu.Add(spell.Name, new Slider(hero.BaseSkinName + " : " + spell.Slot.ToString() + " : " + spell.Name, 3, 0, 3));
                            MenuSpells.Add(spell.Name);
                        }
                    }
                }

                EOMenu.AddSeparator();
            }
        }
コード例 #4
0
ファイル: Tristana.cs プロジェクト: himrengod/Elobuddy-1
        public override void InitMenu()
        {
            var feature = new Feature
            {
                NameFeature = "Draw",
                MenuValueStyleList = new List<ValueAbstract>
                {
                    new ValueCheckbox(false, "disable", "Disable"),
                    new ValueCheckbox(true, "dmgIndicator", "Show Damage Indicator"),
                    new ValueCheckbox(true, "draw.w", "Draw W"),
                    new ValueCheckbox(true, "draw.e", "Draw E"),
                    new ValueCheckbox(true, "draw.r", "Draw R")
                }
            };

            feature.ToMenu();
            Features.Add(feature);

            feature = new Feature
            {
                NameFeature = "Combo",
                MenuValueStyleList = new List<ValueAbstract>
                {
                    new ValueCheckbox(true,  "combo.q", "Combo Q"),
                    new ValueCheckbox(true,  "combo.w", "Combo W"),
                    new ValueCheckbox(true,  "combo.e", "Combo E"),
                    new ValueCheckbox(true,  "combo.r", "Combo R")
                }
            };

            feature.ToMenu();
            Features.Add(feature);

            feature = new Feature
            {
                NameFeature = "ComboMisc",
                MenuValueStyleList = new List<ValueAbstract>
                {
                    new ValueCheckbox(false,  "combo.misc.qifE", "Only use Q if Cast E"),
                    new ValueCheckbox(false,  "combo.misc.forceAA", "Force AA on E casted target"),
                    new ValueSlider(200, 0 , 50, "combo.misc.rCorrection", "Damage Correction of R")
                }
            };

            

            feature.ToMenu();
            Features.Add(feature);

            feature = new Feature
            {
                NameFeature = "Harass",
                MenuValueStyleList = new List<ValueAbstract>
                {
                    new ValueCheckbox(true,  "harass.q", "Harass Q"),
                    new ValueCheckbox(true,  "harass.e", "Harass E")
                }
            };

            feature.ToMenu();
            Features.Add(feature);

            feature = new Feature
            {
                NameFeature = "Lane Clear",
                MenuValueStyleList = new List<ValueAbstract>
                {
                    new ValueCheckbox(true,  "laneclear.q", "Lane Clear Q"),
                    new ValueCheckbox(false, "laneclear.w", "Lane Clear W"),
                    new ValueCheckbox(true,  "laneclear.e", "Lane Clear E")
                }
            };

            feature.ToMenu();
            Features.Add(feature);

            feature = new Feature
            {
                NameFeature = "Jungle Clear",
                MenuValueStyleList = new List<ValueAbstract>
                {
                    new ValueCheckbox(true,  "jungleclear.q", "Jungle Clear Q"),
                    new ValueCheckbox(true, "jungleclear.w", "Jungle Clear W"),
                    new ValueCheckbox(true,  "jungleclear.e", "Jungle Clear E")
                }
            };

            feature.ToMenu();
            Features.Add(feature);

            feature = new Feature
            {
                NameFeature = "Misc",
                MenuValueStyleList = new List<ValueAbstract>
                {
                    new ValueCheckbox(true,  "misc.antiGapR", "R on gap closers"),
                    new ValueSlider(100, 0 , 40, "misc.antiGapR.antigap", "Minimum HP % to cast R")
                }
            };

            feature.ToMenu();
            Features.Add(feature);
        }
コード例 #5
0
ファイル: Xerath.cs プロジェクト: himrengod/Elobuddy-1
        public override void InitMenu()
        {
            var feature = new Feature
            {
                NameFeature = "Draw",
                MenuValueStyleList = new List<ValueAbstract>
                {
                    new ValueCheckbox(false, "disable", "Disable"),
                    new ValueCheckbox(true, "dmgIndicator", "Show Damage Indicator"),
                    new ValueCheckbox(false, "draw.q", "Draw Q"),
                    new ValueCheckbox(false, "draw.qEx", "Draw Q Extended"),
                    new ValueCheckbox(false, "draw.w", "Draw W"),
                    new ValueCheckbox(false, "draw.e", "Draw E"),
                    new ValueCheckbox(false, "draw.r", "Draw R")
                }
            };

            feature.ToMenu();
            Features.Add(feature);

            feature = new Feature
            {
                NameFeature = "Combo",
                MenuValueStyleList = new List<ValueAbstract>
                {
                    new ValueCheckbox(true,  "combo.q", "Combo Q"),
                    new ValueCheckbox(true,  "combo.w", "Combo W"),
                    new ValueCheckbox(true,  "combo.e", "Combo E"),
                    new ValueCheckbox(true,  "combo.r", "Combo R")
                }
            };

            feature.ToMenu();
            Features.Add(feature);

            feature = new Feature
            {
                NameFeature = "Harass",
                MenuValueStyleList = new List<ValueAbstract>
                {
                    new ValueSlider(100, 0 , 50, "harass.mana", "Minimum mana %"),
                    new ValueCheckbox(true,  "harass.q", "Harass Q"),
                    new ValueCheckbox(true,  "harass.w", "Harass W"),
                    new ValueCheckbox(true,  "harass.e", "Harass E")
                }
            };

            feature.ToMenu();
            Features.Add(feature);

            feature = new Feature
            {
                NameFeature = "Lane Clear",
                MenuValueStyleList = new List<ValueAbstract>
                {
                    new ValueSlider(100, 0 , 50, "laneclear.mana", "Minimum mana %"),
                    new ValueCheckbox(true,  "laneclear.q", "Lane Clear Q"),
                    new ValueCheckbox(true,  "laneclear.w", "Lane Clear W"),
                    new ValueCheckbox(false, "laneclear.e", "Lane Clear E")
                }
            };

            feature.ToMenu();
            Features.Add(feature);

            feature = new Feature
            {
                NameFeature = "Jungle Clear",
                MenuValueStyleList = new List<ValueAbstract>
                {
                    new ValueSlider(100, 0 , 50, "jungleclear.mana", "Minimum mana %"),
                    new ValueCheckbox(true,  "jungleclear.q", "Jungle Clear Q"),
                    new ValueCheckbox(true, "jungleclear.w", "Jungle Clear W"),
                    new ValueCheckbox(true,  "jungleclear.e", "Jungle Clear E")
                }
            };

            feature.ToMenu();
            Features.Add(feature);

            feature = new Feature
            {
                NameFeature = "Misc",
                MenuValueStyleList = new List<ValueAbstract>
                {
                    new ValueKeybind(false, "misc.tapToUlt", "Tap to Cast Utl"),
                    new ValueCheckbox(true,  "misc.antiGapE", "E on gap closers"),
                    new ValueSlider(100, 0 , 40, "misc.antiGapE.antigap", "Anti-Gap Minimum HP % to cast E")
                }
            };

            feature.ToMenu();
            Features.Add(feature);
        }