Пример #1
0
 public static void LastHitmenu()
 {
     LastHitMenu = YMenu.AddSubMenu("LastHit", "LastHit");
     LastHitMenu.Add("Q", new CheckBox("Use Q"));
     LastHitMenu.Add("Q3", new CheckBox("Use Q3"));
     LastHitMenu.Add("E", new CheckBox("Use E"));
 }
Пример #2
0
        public override void Lasthit()
        {
            var target = GetTarget(W);
            var minion = W.GetLasthitLaneMinion();

            if (LastHitMenu.GetCheckBoxValue(44))
            {
                if (HarassMenu.GetCheckBoxValue(HarassMenuID + "Q"))
                {
                    Q.TryCast(target);
                }
                if (HarassMenu.GetCheckBoxValue(HarassMenuID + "W"))
                {
                    WCast(HarassMenu, 53, target);
                }
                if (HarassMenu.GetCheckBoxValue(HarassMenuID + "E"))
                {
                    E.TryCast(target);
                }
            }
            else
            {
                if (LastHitMenu.GetCheckBoxValue(LastMenuID + "Q"))
                {
                    Q.TryCast(minion);
                }
                if (LastHitMenu.GetCheckBoxValue(LastMenuID + "E"))
                {
                    E.TryCast(minion);
                }
            }
        }
Пример #3
0
        private static void loadMenu()
        {
            menu = MainMenu.AddMenu("KhaZix", "Khazix");
            ComboMenu = menu.AddSubMenu("Combo", "Combo");
            ComboMenu.Add("QC", new CheckBox("Use Q",true));
            ComboMenu.Add("WC", new CheckBox("Use W",true));
            ComboMenu.Add("EC", new CheckBox("Use E",true));
            ComboMenu.Add("RC", new CheckBox("Use R", true));
            ComboMenu.AddSeparator(25);
            ComboMenu.Add("IC", new CheckBox("Use Items",true));
            ComboMenu.Add("ECG", new CheckBox("Use E Gapcloser", true));
            ComboMenu.Add("WCG", new CheckBox("Use E to Gapcloser for W", true));
            ComboMenu.Add("RCG", new CheckBox("Use R after long Gapcloses", true));

            HarrassMenu = menu.AddSubMenu("Harrass", "Harrass");
            HarrassMenu.Add("QH", new CheckBox("Use Q", true));
            HarrassMenu.Add("WH", new CheckBox("Use W", true));
            LastHitMenu = menu.AddSubMenu("LastHit", "LastHit");
            LastHitMenu.Add("QL", new CheckBox("Use Q", true));
            DrawingMenu = menu.AddSubMenu("Drawing", "Drawing");
            DrawingMenu.Add("DQ", new CheckBox("Draw Q", true));
            DrawingMenu.Add("DW", new CheckBox("Draw W", true));
            DrawingMenu.Add("DE", new CheckBox("Draw E", true));
            DoubleJumpMenu = menu.AddSubMenu("DoubleJump", "DoubleJump");
            DoubleJumpMenu.Add("DE", new CheckBox("Enabled"));
        //    DoubleJumpMenu.Add("SliderD",new Slider("Delay between jumps",250, 250, 500));
       //     DoubleJumpMenu.Add("DQ", new CheckBox("Wait for Q instead of AutoAttacks"));
       //     DoubleJumpMenu.Add("DC", new CheckBox("Jump to cursor(true)  for addon logic (false)"));
       //     DoubleJumpMenu.Add("DS", new CheckBox("Do Second Jump"));
       //     DoubleJumpMenu.Add("DCS", new CheckBox("SecondJump to cursor(true)  for addon logic (false)"));
        }
Пример #4
0
 public static void LastHitmenu()
 {
     LastHitMenu = YMenu.AddSubMenu("最后一击", "LastHit");
     LastHitMenu.Add("Q", new CheckBox("使用 Q"));
     LastHitMenu.Add("Q3", new CheckBox("使用Q第3下"));
     LastHitMenu.Add("E", new CheckBox("使用 E"));
 }
Пример #5
0
 static LastHit()
 {
     // Initialize the menu values
     LastHitMenu.AddGroupLabel("LastHit");
     _useQ = LastHitMenu.Add("lastQ", new CheckBox("Use Overload (Q Spell)"));
     _useW = LastHitMenu.Add("lastW", new CheckBox("Use Rune Prison (W Spell)"));
     _useE = LastHitMenu.Add("lastE", new CheckBox("Use Spell Flux (E Spell)"));
 }
Пример #6
0
 public static void LastHitmenu()
 {
     LastHitMenu = YMenu.AddSubMenu("尾兵", "LastHit");
     LastHitMenu.AddGroupLabel("尾兵");
     LastHitMenu.Add("Q", new CheckBox("使用 Q"));
     LastHitMenu.Add("Q3", new CheckBox("使用 Q3"));
     LastHitMenu.Add("E", new CheckBox("使用 E"));
 }
Пример #7
0
 static LastHit()
 {
     LastHitMenu.AddGroupLabel("LastHit");
     _useQ = LastHitMenu.Add("lastHitUseQ", new CheckBox("Use Q"));
     LastHitMenu.AddSeparator(10);
     _useW = LastHitMenu.Add("lastHitUseW", new CheckBox("Use W"));
     LastHitMenu.AddSeparator(10);
     _spellWeaving = LastHitMenu.Add("lastHitSpellWeaving", new CheckBox("Use SpellWeaving"));
 }
Пример #8
0
 /// <summary>
 /// Initializes the menu
 /// </summary>
 public override void InitializeMenu()
 {
     FirstMenuName = "Name of the addon";
     //There are a bunch of examples on how to create checkboxes and sliders really easy
     //Obs: You can use the MenuIds(Preset) or Ints as a uniqueID
     //ComboMenu
     ComboMenu.AddGroupLabel("-:Combo Spells:-");
     ComboMenu.CreateCheckBox("- Use Q", MenuIds.ComboUseQ);
     ComboMenu.CreateCheckBox("- Use W", MenuIds.ComboUseW);
     ComboMenu.CreateCheckBox("- Use E", MenuIds.ComboUseE);
     ComboMenu.CreateCheckBox("- Use R", 8);
     //HarassMenu
     HarassMenu.AddGroupLabel("-:Harass Spells:-");
     HarassMenu.CreateCheckBox("- Use Q", MenuIds.HarassUseQ);
     HarassMenu.CreateCheckBox("- Use W", MenuIds.HarassUseW);
     HarassMenu.CreateCheckBox("- Use E", MenuIds.HarassUseE);
     HarassMenu.CreateCheckBox("- Use R", MenuIds.HarassUseR);
     HarassMenu.AddGroupLabel("-:Harass Settings:-");
     HarassMenu.CreateSlider("It will use harass spells only if mana is greater than ({0}%)", MenuIds.HarassMana);
     HarassMenu.AddGroupLabel("-:AutoHarass Spells:-");
     HarassMenu.CreateCheckBox("- Use Q", MenuIds.AutoHarassUseQ);
     HarassMenu.CreateCheckBox("- Use W", MenuIds.AutoHarassUseW);
     HarassMenu.CreateCheckBox("- Use E", MenuIds.AutoHarassUseE);
     HarassMenu.CreateCheckBox("- Use R", MenuIds.AutoHarassUseR);
     HarassMenu.AddGroupLabel("-:AutoHarass Settings:-");
     HarassMenu.CreateSlider("It will use harass spells only if mana is greater than ({0}%)", MenuIds.AutoHarassMana);
     //LaneClearMenu
     LaneClearMenu.AddGroupLabel("-:Laneclear Spells:-");
     LaneClearMenu.CreateCheckBox("- Use Q", 9);
     LaneClearMenu.CreateCheckBox("- Use W", 10);
     LaneClearMenu.CreateCheckBox("- Use E", 11);
     LaneClearMenu.CreateCheckBox("- Use R", 12);
     LaneClearMenu.AddGroupLabel("-:Laneclear Settings:-");
     LaneClearMenu.CreateSlider("It will use laneclear spells only if mana is greater than ({0}%)", 30);
     //LastHitMenu
     LastHitMenu.AddGroupLabel("-:Lasthit Spells:-");
     LastHitMenu.CreateCheckBox("- Use Q", 13);
     LastHitMenu.CreateCheckBox("- Use W", 14);
     LastHitMenu.CreateCheckBox("- Use E", 15);
     LastHitMenu.CreateCheckBox("- Use R", 16);
     LastHitMenu.AddGroupLabel("-:Lasthit Settings:-");
     LastHitMenu.CreateSlider("It will use lasthit spells only if mana is greater than ({0}%)", 30);
     //FleeMenu
     FleeMenu.AddGroupLabel("-:Flee Spells:-");
     FleeMenu.CreateCheckBox("- Use Q", MenuIds.FleeUseQ);
     FleeMenu.CreateCheckBox("- Use W", MenuIds.FleeUseW);
     FleeMenu.CreateCheckBox("- Use E", MenuIds.FleeUseE);
     FleeMenu.CreateCheckBox("- Use R", MenuIds.FleeUseR);
     FleeMenu.AddGroupLabel("-:Flee Settings:-");
     FleeMenu.CreateSlider("It will use flee spells only if mana is greater than ({0}%)", 30);
     //MiscMenu
     MiscMenu.AddGroupLabel("-:Misc Spells:-");
     MiscMenu.CreateCheckBox("- Use X on gapclosers spells", MenuIds.MiscUseGapcloser);
     MiscMenu.CreateCheckBox("- Use X on interruptables spells", MenuIds.MiscUseInterrupt);
     MiscMenu.AddGroupLabel("-:Misc Settings:-");
     MiscMenu.CreateSlider("It will use misc spells only if mana is greater than ({0}%)", 30);
 }
Пример #9
0
                static LastHit()
                {
                    LastHitMenu.AddGroupLabel("LastHit");

                    _useQ = LastHitMenu.Add("useQ", new CheckBox("Use Q"));
                    LastHitMenu.AddSeparator(10);

                    _useQmana = LastHitMenu.Add("useQmana", new Slider("If Mana % > {0}", 0, 0, 100));
                }
Пример #10
0
        public static void Init()
        {
            MaiinMenu = MainMenu.AddMenu("RyzePro", "RyzePro");
            MaiinMenu.AddGroupLabel("Ryze Pro Loaded..");
            MaiinMenu.AddLabel("Rexy Tarafından kodlanmıştır");
            MaiinMenu.AddLabel("Eğer hata alırsanız lütfen discorddan yapımcıya bildirin");


            ComboMenu = MaiinMenu.AddSubMenu("Combo");
            ComboMenu.Add("combo.useQ", new CheckBox("Kullan Q"));
            ComboMenu.Add("combo.useW", new CheckBox("Kullan W"));
            ComboMenu.Add("combo.useE", new CheckBox("Kullan E"));
            ComboMenu.Add("combo.useR", new CheckBox("Hedefe giderken R Kullan"));
            ComboMenu.Add("combo.aa", new CheckBox("Komboda AA yapma"));
            ComboMenu.Add("combo.gapcloser", new CheckBox("Otomatik GapCloser Düşman"));

            HarassMenu = MaiinMenu.AddSubMenu("Harass");
            HarassMenu.Add("harass.useQ", new CheckBox("Kullan Q"));
            HarassMenu.Add("harass.useW", new CheckBox("Kullan W"));
            HarassMenu.Add("harass.useE", new CheckBox("Kullan E"));
            HarassMenu.Add("harass.mana", new Slider("Min % Mana", 15));

            LaneClearMenu = MaiinMenu.AddSubMenu("LaneClear");
            LaneClearMenu.Add("laneclear.useQ", new CheckBox("Kullan Q"));
            LaneClearMenu.Add("laneclear.useW", new CheckBox("Kullan W"));
            LaneClearMenu.Add("laneclear.useE", new CheckBox("Kullan E"));
            LaneClearMenu.Add("laneclear.useR", new CheckBox("Kullan R"));
            LaneClearMenu.Add("laneclear.mana", new Slider("Min % Mana", 15));

            JungleClearMenu = MaiinMenu.AddSubMenu("JungleClear");
            JungleClearMenu.Add("jungleclear.useQ", new CheckBox("Kullan Q"));
            JungleClearMenu.Add("jungleclear.useW", new CheckBox("Kullan W"));
            JungleClearMenu.Add("jungleclear.useE", new CheckBox("Kullan E"));
            JungleClearMenu.Add("jungleclear.useR", new CheckBox("Kullan R"));
            JungleClearMenu.Add("jungleclear.mana", new Slider("Min % Mana", 15));

            LastHitMenu = MaiinMenu.AddSubMenu("LastHit");
            LastHitMenu.Add("lasthit.useQ", new CheckBox("Kullan Q"));

            DrawMenu = MaiinMenu.AddSubMenu("Draw Settings");
            DrawMenu.Add("draw.no", new CheckBox("No Drawings"));
            DrawMenu.Add("draw.Q", new CheckBox("Göster Q Menzili"));
            DrawMenu.Add("draw.W", new CheckBox("Göster W Menzili"));
            DrawMenu.Add("draw.E", new CheckBox("Göster E Menzili"));

            HumanizerMenu = MaiinMenu.AddSubMenu("Humanizer");
            HumanizerMenu.Add("humanizer.active", new CheckBox("İnsancıl ayar Aktif", false));
            HumanizerMenu.Add("humanizer.mindelay", new Slider("En az Gecikme", 150, 0, 1000));
            HumanizerMenu.Add("humanizer.maxdelay", new Slider("En çok Gecikme", 250, 0, 1000));
        }
Пример #11
0
        public static void Init()
        {
            MaiinMenu = MainMenu.AddMenu("RyzePro", "RyzePro");
            MaiinMenu.AddGroupLabel("Ryze Pro Loaded..");
            MaiinMenu.AddLabel("Coded by Rexy");
            MaiinMenu.AddLabel("If you found a bug, Pls feedback on my thread");

            ComboMenu = MaiinMenu.AddSubMenu("Combo");
            ComboMenu.Add("combo.useQ", new CheckBox("Use Q"));
            ComboMenu.Add("combo.useW", new CheckBox("Use W"));
            ComboMenu.Add("combo.useE", new CheckBox("Use E"));
            ComboMenu.Add("combo.useR", new CheckBox("Use R when target rooted"));
            ComboMenu.Add("combo.aa", new CheckBox("Dont AA while combo"));
            ComboMenu.Add("combo.gapcloser", new CheckBox("Auto GapCloser Enemy"));

            HarassMenu = MaiinMenu.AddSubMenu("Harass");
            HarassMenu.Add("harass.useQ", new CheckBox("Use Q"));
            HarassMenu.Add("harass.useW", new CheckBox("Use W"));
            HarassMenu.Add("harass.useE", new CheckBox("Use E"));
            HarassMenu.Add("harass.mana", new Slider("Min % Mana", 15));

            LaneClearMenu = MaiinMenu.AddSubMenu("LaneClear");
            LaneClearMenu.Add("laneclear.useQ", new CheckBox("Use Q"));
            LaneClearMenu.Add("laneclear.useW", new CheckBox("Use W"));
            LaneClearMenu.Add("laneclear.useE", new CheckBox("Use E"));
            LaneClearMenu.Add("laneclear.useR", new CheckBox("Use R"));
            LaneClearMenu.Add("laneclear.mana", new Slider("Min % Mana", 15));

            JungleClearMenu = MaiinMenu.AddSubMenu("JungleClear");
            JungleClearMenu.Add("jungleclear.useQ", new CheckBox("Use Q"));
            JungleClearMenu.Add("jungleclear.useW", new CheckBox("Use W"));
            JungleClearMenu.Add("jungleclear.useE", new CheckBox("Use E"));
            JungleClearMenu.Add("jungleclear.useR", new CheckBox("Use R"));
            JungleClearMenu.Add("jungleclear.mana", new Slider("Min % Mana", 15));

            LastHitMenu = MaiinMenu.AddSubMenu("LastHit");
            LastHitMenu.Add("lasthit.useQ", new CheckBox("Use Q"));

            DrawMenu = MaiinMenu.AddSubMenu("Draw Settings");
            DrawMenu.Add("draw.no", new CheckBox("No Drawings"));
            DrawMenu.Add("draw.Q", new CheckBox("Draw Q range"));
            DrawMenu.Add("draw.W", new CheckBox("Draw W range"));
            DrawMenu.Add("draw.E", new CheckBox("Draw E range"));

            HumanizerMenu = MaiinMenu.AddSubMenu("Humanizer");
            HumanizerMenu.Add("humanizer.active", new CheckBox("Humanizer Active", false));
            HumanizerMenu.Add("humanizer.mindelay", new Slider("Min Delay", 150, 0, 1000));
            HumanizerMenu.Add("humanizer.maxdelay", new Slider("Max Delay", 250, 0, 1000));
        }
Пример #12
0
 static Other()
 {
     // Initialize the menu values
     LastHitMenu.AddGroupLabel("Misc Functions");
     _useQ   = OtherMenu.Add("miscQKS", new CheckBox("Use Overload (Q Spell) on KS"));
     _useWKS = OtherMenu.Add("miscWKS", new CheckBox("Use Rune Prison (W Spell) on KS"));
     _useEKS = OtherMenu.Add("miscEKS", new CheckBox("Use Spell Flux (E Spell) on KS"));
     _useW   = OtherMenu.Add("miscW", new CheckBox("Use Rune Prison (W Spell) on Gap"));
     _useR   = OtherMenu.Add("miscR", new CheckBox("Use Desperate Power (R Spell) on Gap"));
     _useM   = OtherMenu.Add("miscM", new Slider("Use Desperate Power (R Spell) for Flee if mana is higher than {0}(%)", 10, 1));
     _useS   = OtherMenu.Add("miscS", new CheckBox("Auto Stack Passive", false));
     _useS1  = OtherMenu.Add("miscS1", new CheckBox("Limit passive stacks", false));
     _useS2  = OtherMenu.Add("miscS2", new Slider("Maximium stacks", 2, 1, 5));
     _useS3  = OtherMenu.Add("miscS3", new Slider("Use Auto Stack Passive if mana is higher than {0}(%)", 10, 1));
 }
Пример #13
0
        public void AddMultipleCheckBox(Spell.SpellBase spell, List <MenuCheckBox> menus)
        {
            var spellSlot = spell.Slot.ToString()[spell.Slot.ToString().Length - 1];

            foreach (var m in menus)
            {
                var lenghtChampName = Player.Instance.ChampionName.Length;
                switch (m.Menuu.UniqueMenuId.Remove(0, 6 + lenghtChampName))
                {
                case ComboMenuID:
                    ComboMenu.CreateCheckBox("- Use " + spellSlot, ComboMenuID + spellSlot, m.DefaultValue);
                    break;

                case HarassMenuID:
                    HarassMenu.CreateCheckBox("- Use " + spellSlot, HarassMenuID + spellSlot, m.DefaultValue);
                    break;

                case AutoHarassMenuID:
                    AutoHarassMenu.CreateCheckBox("- Use " + spellSlot, AutoHarassMenuID + spellSlot, m.DefaultValue);
                    break;

                case LaneMenuID:
                    LaneClearMenu.CreateCheckBox("- Use " + spellSlot, LaneMenuID + spellSlot, m.DefaultValue);
                    break;

                case LastMenuID:
                    LastHitMenu.CreateCheckBox("- Use " + spellSlot, LastMenuID + spellSlot, m.DefaultValue);
                    break;

                case FleeMenuID:
                    FleeMenu.CreateCheckBox("- Use " + spellSlot, FleeMenuID + spellSlot, m.DefaultValue);
                    break;

                case KillstealMenuID:
                    KillStealMenu.CreateCheckBox("- Use " + spellSlot, KillstealMenuID + spellSlot, m.DefaultValue);
                    break;

                case DrawMenuID:
                    DrawMenu.CreateCheckBox("- Draw " + spellSlot, DrawMenuID + spellSlot, m.DefaultValue);
                    break;
                }
            }
        }
Пример #14
0
        private static void Game_OnTick(EventArgs args)
        {
            var orbMode    = Orbwalker.ActiveModesFlags;
            var playerMana = Player.Instance.ManaPercent;

            rRangeLevel.LevelRRange();
            Active.Defensive();
            Active.Defensive2();
            Active.Potions();

            if (orbMode.HasFlag(Orbwalker.ActiveModes.Combo))
            {
                Combo.Execute1();
            }

            if (orbMode.HasFlag(Orbwalker.ActiveModes.Combo) && (playerMana > ComboMenu.GetSliderValue("manaSlider")))
            {
                Combo.ExecuteR();
            }

            if (orbMode.HasFlag(Orbwalker.ActiveModes.Combo))
            {
                Combo.ExecuteItems();
            }

            if (orbMode.HasFlag(Orbwalker.ActiveModes.LastHit) &&
                (playerMana > LastHitMenu.GetSliderValue("manaSlider")))
            {
                LastHit.Execute();
            }

            if (orbMode.HasFlag(Orbwalker.ActiveModes.LaneClear) &&
                (playerMana > LaneClearMenu.GetSliderValue("manaSlider")))
            {
                LaneClear.Execute();
            }

            if (orbMode.HasFlag(Orbwalker.ActiveModes.Flee) && (playerMana > LastHitMenu.GetSliderValue("manaSlider")))
            {
                Flee.Execute();
            }
        }
Пример #15
0
        public override void Lasthit()
        {
            var target = GetTarget(W);
            var minion = W.GetLasthitLaneMinion();

            if (LastHitMenu.GetSliderValue(LastMenuID + "mana") >= Player.Instance.ManaPercent)
            {
                return;
            }
            if (LastHitMenu.GetCheckBoxValue(LastMenuID + "W"))
            {
                if (LastHitMenu.GetCheckBoxValue(51))
                {
                    W.TryCast(target);
                }
                else
                {
                    W.TryCast(minion);
                }
            }
        }
Пример #16
0
 public override void Lasthit()
 {
     var target = GetTarget(E);
     var minion = E.GetLasthitLaneMinion();
     if (LastHitMenu.GetSliderValue(LastMenuID + "mana") >= Player.Instance.ManaPercent) return;
     if (LastHitMenu.GetCheckBoxValue(53))
     {
         if (HarassMenu.GetCheckBoxValue(HarassMenuID + "Q")) Q.TryCast(target);
         if (HarassMenu.GetCheckBoxValue(HarassMenuID + "W")) W.TryCast(target);
         if (HarassMenu.GetCheckBoxValue(HarassMenuID + "E") &&
             HarassMenu.GetSliderValue(49) <= Player.Instance.HealthPercent)
         {
             E.TryCast(target);
         }
     }
     else
     {
         if (LastHitMenu.GetCheckBoxValue(LastMenuID + "Q")) Q.TryCast(minion);
         if (LastHitMenu.GetCheckBoxValue(LastMenuID + "W")) W.TryCast(minion);
     }
 }
Пример #17
0
        public override void Menu()
        {
            Q.CreateBool(ComboMenu);
            W.CreateBool(ComboMenu);
            E.CreateBool(ComboMenu);
            R.CreateBool(ComboMenu);

            Q.CreateBool(LaneClearMenu);
            LaneClearMenu.Add("qCount", new Slider("Only if Q will hit X", 3, 0, 9));
            E.CreateBool(LaneClearMenu);
            R.CreateBool(LaneClearMenu);
            LaneClearMenu.Add("rCount", new Slider("Only if R will hit X", 3, 0, 9));

            Q.CreateBool(JungleClearMenu);
            E.CreateBool(JungleClearMenu);

            Q.CreateBool(LastHitMenu);
            LastHitMenu.Add("qCount", new Slider("Only if Q will hit X", 3, 0, 9));
            E.CreateBool(LastHitMenu);

            Q.CreateBool(MixedMenu);
            E.CreateBool(MixedMenu);
        }
Пример #18
0
        public void InitMenu()
        {
            Menu = MainMenu.AddMenu("Super-神蛇女", GCharname);

            Menu.AddLabel("Version: 7.X 版本");
            Menu.AddSeparator();
            Menu.AddLabel("Super-神蛇女");

            DrawMenu = Menu.AddSubMenu("线圈 - " + "Super-神蛇女", GCharname + "线圈");
            DrawMenu.AddGroupLabel("线圈");
            DrawMenu.Add("drawReady", new CheckBox("显示无冷却技能线圈.", false));
            DrawMenu.Add("drawDisable", new CheckBox("关闭线圈"));
            DrawMenu.AddSeparator();
            //Q
            DrawMenu.Add("drawQ", new CheckBox("显示 Q"));
            DrawMenu.AddColorItem("colorQ");
            DrawMenu.AddWidthItem("widthQ");
            //W
            DrawMenu.Add("drawW", new CheckBox("显示 W"));
            DrawMenu.AddColorItem("colorW");
            DrawMenu.AddWidthItem("widthW");
            //E
            DrawMenu.Add("drawE", new CheckBox("显示 E"));
            DrawMenu.AddColorItem("colorE");
            DrawMenu.AddWidthItem("widthE");
            //R
            DrawMenu.Add("drawR", new CheckBox("显示 R"));
            DrawMenu.AddColorItem("colorR");
            DrawMenu.AddWidthItem("widthR");

            ComboMenu = Menu.AddSubMenu("连招 - " + "Super-神蛇女", GCharname + "连招");
            ComboMenu.AddGroupLabel("连招");
            ComboMenu.Add("comboQ", new CheckBox("使用 Q", true));
            ComboMenu.Add("comboW", new CheckBox("使用 W", true));
            ComboMenu.Add("comboE", new CheckBox("使用 E", true));
            ComboMenu.Add("comboR", new CheckBox("使用 R", true));
            ComboMenu.AddGroupLabel("连招杂项");
            ComboMenu.Add("castWifQnotLand", new CheckBox("Q没中则使用W", true));
            ComboMenu.Add("disableAA", new CheckBox("连招时屏蔽平A", false));
            ComboMenu.AddLabel("此选项会无视最少敌人数量使用才R的设置");
            ComboMenu.Add("flashCombo", new CheckBox("闪现R连招如果敌人可被击杀", false));
            ComboMenu.Add("rsMinEnemiesForR", new Slider("至少敌人数量面对使用R: ", 2, 0, 5));

            HarassMenu = Menu.AddSubMenu("骚扰 - " + "Super-神蛇女", GCharname + "骚扰");
            HarassMenu.AddGroupLabel("骚扰");
            HarassMenu.Add("hsQ", new CheckBox("使用 Q", true));
            HarassMenu.Add("hsW", new CheckBox("使用 W", true));
            HarassMenu.Add("hsE", new CheckBox("使用 E", true));
            HarassMenu.AddGroupLabel("骚扰杂项");
            HarassMenu.Add("disableAAHS", new CheckBox("骚扰时屏蔽平A", false));

            LaneClearMenu = Menu.AddSubMenu("清线 - " + "Super-神蛇女", GCharname + "清线");
            LaneClearMenu.AddGroupLabel("清线");
            LaneClearMenu.Add("lcQ", new CheckBox("使用 Q", true));
            LaneClearMenu.Add("lcW", new CheckBox("使用 W", true));
            LaneClearMenu.Add("lcE", new CheckBox("使用 E", true));
            LaneClearMenu.Add("lcKE", new CheckBox("可击杀才使用E", false));

            LastHitMenu = Menu.AddSubMenu("尾兵 - " + "Super-神蛇女", GCharname + "尾兵");
            LastHitMenu.AddGroupLabel("尾兵");
            LastHitMenu.Add("lhQ", new CheckBox("使用 Q", true));
            LastHitMenu.Add("lhW", new CheckBox("使用 W", true));
            LastHitMenu.Add("lhE", new CheckBox("尾兵E", true));

            JungleClearMenu = Menu.AddSubMenu("清野 - " + "Super-神蛇女", GCharname + "清野");
            JungleClearMenu.AddGroupLabel("清野");
            JungleClearMenu.Add("jcQ", new CheckBox("使用 Q", true));
            JungleClearMenu.Add("jcW", new CheckBox("使用 W", true));
            JungleClearMenu.Add("jcE", new CheckBox("使用 E", true));
            JungleClearMenu.Add("jcKE", new CheckBox("可击杀才使用E", false));


            MiscMenu = Menu.AddSubMenu("杂项 - " + "Super-神蛇女", GCharname + "杂项");
            MiscMenu.Add("skin", new Slider("换肤: ", 1, 1, 5));
            MiscMenu.Add("miscDelayE", new Slider("E 延迟: ", 150, 0, 500));
            MiscMenu.Add("ksOn", new CheckBox("尝试抢人头", true));
            MiscMenu.Add("miscAntiGapW", new CheckBox("使用W造成间距", true));
            MiscMenu.Add("miscAntiGapR", new CheckBox("使用R造成间距", true));
            MiscMenu.Add("miscAntiMissR", new CheckBox("屏蔽R如果空大", true));
            MiscMenu.Add("miscMinHpAntiGap", new Slider("最低血量进行R造成间距: ", 40, 0, 100));
            MiscMenu.Add("miscInterruptDangerous", new CheckBox("打断威胁的技能", true));
        }
Пример #19
0
 static LastHit()
 {
     LastHitMenu.AddGroupLabel("Malesef yok :/");
 }
Пример #20
0
            static LastHit()
            {
                LHMenu = Menu.AddSubMenu("Last Hit");

                LastHitMenu.Initialize();
            }
Пример #21
0
        /// <summary>
        /// Creates the Menu.
        /// </summary>
        public static void Create()
        {
            DefaultMenu = MainMenu.AddMenu("NidaleeBuddyEvolution", "NidaleeBuddyEvolution");
            DefaultMenu.AddGroupLabel("This addon is made by KarmaPanda and should not be redistributed in any way.");
            DefaultMenu.AddGroupLabel(
                "Any unauthorized redistribution without credits will result in severe consequences.");
            DefaultMenu.AddGroupLabel("Thank you for using this addon and have a fun time!");

            #region Combo

            ComboMenu = DefaultMenu.AddSubMenu("Combo", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("useQH", new CheckBox("Cast Q in Human Form"));
            ComboMenu.Add("useWH", new CheckBox("Cast W in Human Form"));
            ComboMenu.Add("useQC", new CheckBox("Cast Q in Cougar Form"));
            ComboMenu.Add("useWC", new CheckBox("Cast W in Cougar Form"));
            ComboMenu.Add("useEC", new CheckBox("Cast E in Cougar Form"));
            ComboMenu.Add("useR", new CheckBox("Cast R during Combo"));
            ComboMenu.AddLabel("Prediction Settings - Human Form");
            ComboMenu.Add("predQH", new Slider("Cast Q if HitChance % is x", 75));
            ComboMenu.Add("predWH", new Slider("Cast W if HitChance % is x", 75));
            ComboMenu.AddLabel("Prediction Settings - Cougar Form");
            ComboMenu.Add("predWC", new Slider("Cast W if HitChance % is x", 75));
            ComboMenu.Add("predEC", new Slider("Cast E if HitChance % is x", 75));

            #endregion

            #region Last Hit

            LastHitMenu = DefaultMenu.AddSubMenu("Last Hit", "Last Hit");
            LastHitMenu.AddGroupLabel("Last Hit Settings");
            LastHitMenu.Add("useQC", new CheckBox("Cast Q in Cougar Form on Unkillable Minion"));
            LastHitMenu.Add("useEC", new CheckBox("Cast E in Cougar Form on Unkillable Minion", false));
            LastHitMenu.Add("useR", new CheckBox("Cast R in Cougar Form if Out of Range"));

            #endregion

            #region Harass

            HarassMenu = DefaultMenu.AddSubMenu("Harass", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("useQH", new CheckBox("Cast Q in Human Form"));
            HarassMenu.Add("useR", new CheckBox("Cast R to force Human Form"));
            HarassMenu.AddLabel("Prediction Settings - Human Form");
            HarassMenu.Add("predQH", new Slider("Cast Q if HitChance % is x", 75));

            #endregion

            #region Kill Steal

            KillStealMenu = DefaultMenu.AddSubMenu("Kill Steal", "Kill Steal");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("useQH", new CheckBox("Cast Q to Kill Steal"));
            KillStealMenu.Add("predQH", new Slider("Cast Q if HitChance % is x", 75));
            KillStealMenu.Add("useIgnite", new CheckBox("Use Ignite", false));

            #endregion

            #region Lane Clear

            LaneClearMenu = DefaultMenu.AddSubMenu("Lane Clear", "Lane Clear");
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.Add("useQC", new CheckBox("Cast Q in Cougar Form"));
            LaneClearMenu.Add("useWC", new CheckBox("Cast W in Cougar Form"));
            LaneClearMenu.Add("useEC", new CheckBox("Cast E in Cougar Form"));
            LaneClearMenu.Add("useR", new CheckBox("Cast R during Lane Clear", false));
            LaneClearMenu.AddLabel("Farm Settings - Cougar Form");
            LaneClearMenu.Add("predWC", new Slider("Cast W if it hits x minions", 1, 1, 7));
            LaneClearMenu.Add("predEC", new Slider("Cast E if HitChance % is x", 75));

            #endregion

            #region Jungle Clear

            JungleClearMenu = DefaultMenu.AddSubMenu("Jungle Clear", "Jungle Clear");
            JungleClearMenu.AddGroupLabel("Jungle Clear Settings");
            JungleClearMenu.Add("useQH", new CheckBox("Cast Q in Human Form"));
            JungleClearMenu.Add("useQC", new CheckBox("Cast Q in Cougar Form"));
            JungleClearMenu.Add("useWC", new CheckBox("Cast W in Cougar Form"));
            JungleClearMenu.Add("useEC", new CheckBox("Cast E in Cougar Form"));
            JungleClearMenu.Add("useR", new CheckBox("Cast R during Jungle Clear"));
            JungleClearMenu.AddLabel("Prediction Settings");
            JungleClearMenu.Add("predQH", new Slider("Cast Q in Human Form if HitChance % is x", 75));
            JungleClearMenu.Add("predWC", new Slider("Cast W in Cougar Form if HitChance % is x", 75));
            JungleClearMenu.Add("predEC", new Slider("Cast E in Cougar Form if HitChance % is x", 75));

            #endregion

            #region Jungle Steal

            JungleStealMenu = DefaultMenu.AddSubMenu("Jungle Steal", "Jungle Steal");
            JungleStealMenu.AddGroupLabel("Jungle Steal Settings");
            JungleStealMenu.Add("useQH", new CheckBox("Cast Q to Steal Jungle"));
            JungleStealMenu.Add("predQH", new Slider("Cast Q if HitChance % is x", 75));
            JungleStealMenu.Add("useSmite", new CheckBox("Cast Smite to Steal Jungle"));
            JungleStealMenu.Add("toggleK", new KeyBind("Toggle Smite", true, KeyBind.BindTypes.PressToggle, 'M'));
            JungleStealMenu.AddGroupLabel("Jungle Camp Toggle");
            switch (Game.MapId)
            {
            case GameMapId.SummonersRift:
                JungleStealMenu.AddLabel("Epics");
                JungleStealMenu.Add("SRU_Baron", new CheckBox("Baron"));
                JungleStealMenu.Add("SRU_Dragon", new CheckBox("Dragon"));
                JungleStealMenu.AddLabel("Buffs");
                JungleStealMenu.Add("SRU_Blue", new CheckBox("Blue"));
                JungleStealMenu.Add("SRU_Red", new CheckBox("Red"));
                JungleStealMenu.AddLabel("Small Camps");
                JungleStealMenu.Add("SRU_Gromp", new CheckBox("Gromp", false));
                JungleStealMenu.Add("SRU_Murkwolf", new CheckBox("Murkwolf", false));
                JungleStealMenu.Add("SRU_Krug", new CheckBox("Krug", false));
                JungleStealMenu.Add("SRU_Razorbeak", new CheckBox("Razerbeak", false));
                JungleStealMenu.Add("Sru_Crab", new CheckBox("Skuttles", false));
                break;

            case GameMapId.TwistedTreeline:
                JungleStealMenu.AddLabel("Epics");
                JungleStealMenu.Add("TT_Spiderboss8.1", new CheckBox("Vilemaw"));
                JungleStealMenu.AddLabel("Camps");
                JungleStealMenu.Add("TT_NWraith1.1", new CheckBox("Wraith"));
                JungleStealMenu.Add("TT_NWraith4.1", new CheckBox("Wraith"));
                JungleStealMenu.Add("TT_NGolem2.1", new CheckBox("Golem"));
                JungleStealMenu.Add("TT_NGolem5.1", new CheckBox("Golem"));
                JungleStealMenu.Add("TT_NWolf3.1", new CheckBox("Wolf"));
                JungleStealMenu.Add("TT_NWolf6.1", new CheckBox("Wolf"));
                break;
            }

            #endregion

            #region Drawing

            DrawingMenu = DefaultMenu.AddSubMenu("Drawing", "Drawing");
            DrawingMenu.AddGroupLabel("Drawing Settings");
            DrawingMenu.Add("drawQH", new CheckBox("Draw Javelin Range"));
            DrawingMenu.Add("drawPred", new CheckBox("Draw Javelin Prediction"));
            DrawingMenu.AddLabel("DamageIndicator");
            DrawingMenu.Add("draw.Damage", new CheckBox("Draw Damage"));
            DrawingMenu.Add("draw.Q", new CheckBox("Calculate Q Damage"));
            DrawingMenu.Add("draw.W", new CheckBox("Calculate W Damage"));
            DrawingMenu.Add("draw.E", new CheckBox("Calculate E Damage"));
            DrawingMenu.Add("draw.R", new CheckBox("Calculate R Damage", false));
            DrawingMenu.AddLabel("Color Settings for Damage Indicator");
            DrawingMenu.Add("draw_Alpha", new Slider("Alpha: ", 255, 0, 255));
            DrawingMenu.Add("draw_Red", new Slider("Red: ", 255, 0, 255));
            DrawingMenu.Add("draw_Green", new Slider("Green: ", 0, 0, 255));
            DrawingMenu.Add("draw_Blue", new Slider("Blue: ", 0, 0, 255));

            #endregion

            #region Misc

            MiscMenu = DefaultMenu.AddSubMenu("Misc Menu", "Misc Menu");
            MiscMenu.AddGroupLabel("Auto Heal Settings");
            MiscMenu.Add("autoHeal", new CheckBox("Auto Heal Allies and Me"));
            MiscMenu.Add("autoHealPercent", new Slider("Auto Heal Percent", 50));

            foreach (var a in EntityManager.Heroes.Allies.OrderBy(a => a.BaseSkinName))
            {
                MiscMenu.Add("autoHeal_" + a.BaseSkinName, new CheckBox("Auto Heal " + a.BaseSkinName));
            }

            MiscMenu.AddGroupLabel("Spell Settings");
            MiscMenu.AddLabel("Only choose one of them below.");
            MiscMenu.Add("useQC_AfterAttack", new CheckBox("Cast Q in Cougar Form After Attack"));
            MiscMenu.Add("useQC_BeforeAttack", new CheckBox("Cast Q in Cougar Form Before Attack", false));
            MiscMenu.Add("useQC_OnUpdate", new CheckBox("Cast Q in Cougar Form on Update", false));
            MiscMenu.AddGroupLabel("ManaManager");
            MiscMenu.Add("manaQ", new Slider("Use Q in Human Form only if Mana Percent is >= x", 25));
            MiscMenu.Add("manaW", new Slider("Use W in Human Form only if Mana Percent is >= x", 25));
            MiscMenu.Add("manaE", new Slider("Use E in Human Form only if Mana Percent is >= x", 25));
            MiscMenu.Add("disableMM", new CheckBox("Disable ManaManager in Combo Mode"));

            #endregion
        }
Пример #22
0
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Kassadin")
            {
                return;
            }
            Bootstrap.Init(null);
            Q = new Spell.Targeted(SpellSlot.Q, 650);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Skillshot(SpellSlot.E, 400, SkillShotType.Cone, 500, int.MaxValue, 10);
            R = new Spell.Skillshot(SpellSlot.R, 700, SkillShotType.Circular, 500, int.MaxValue, 150);
            _abilitySequence = new[] { 1, 2, 3, 1, 1, 4, 1, 3, 1, 3, 4, 3, 3, 2, 2, 4, 2, 2 };
            if (HasSpell("summonerdot"))
            {
                Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            }
            var flashSlot = Kassawin.GetSpellSlotFromName("summonerflash");

            Flash = new Spell.Skillshot(flashSlot, 32767, SkillShotType.Linear);

            KassaMenu = MainMenu.AddMenu("BloodimirKassadin", "bloodimirkassa");
            KassaMenu.AddGroupLabel("Bloodimir Kassadin v1.0.0.1");
            KassaMenu.AddSeparator();
            KassaMenu.AddLabel("Bloodimir Kassadin v1.0.0.1");

            ComboMenu = KassaMenu.AddSubMenu("Combo", "sbtw");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecomboq", new CheckBox("Use Q"));
            ComboMenu.Add("usecomboe", new CheckBox("Use E"));
            ComboMenu.Add("usecombow", new CheckBox("Use W"));
            ComboMenu.Add("usecombor", new CheckBox("Use R"));
            ComboMenu.Add("useignite", new CheckBox("Use Ignite"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("rslider", new Slider("Maximum enemy to R", 2, 0, 5));

            HarassMenu = KassaMenu.AddSubMenu("HarassMenu", "Harass");
            HarassMenu.Add("useQHarass", new CheckBox("Use Q"));
            HarassMenu.Add("useEHarass", new CheckBox("Use E"));

            LaneJungleClear = KassaMenu.AddSubMenu("Lane Jungle Clear", "lanejungleclear");
            LaneJungleClear.AddGroupLabel("Lane Jungle Clear Settings");
            LaneJungleClear.Add("LCQ", new CheckBox("Use Q"));
            LaneJungleClear.Add("LCE", new CheckBox("Use E"));
            LaneJungleClear.Add("LCR", new CheckBox("Use R"));

            LastHitMenu = KassaMenu.AddSubMenu("Last Hit", "lasthit");
            LastHitMenu.AddGroupLabel("Last Hit Settings");
            LastHitMenu.Add("LHQ", new CheckBox("Use Q"));
            LastHitMenu.Add("LHW", new CheckBox("Use W"));

            DrawMenu = KassaMenu.AddSubMenu("Drawings", "drawings");
            DrawMenu.AddGroupLabel("Drawings");
            DrawMenu.AddSeparator();
            DrawMenu.Add("drawq", new CheckBox("Draw Q"));
            DrawMenu.Add("drawe", new CheckBox("Draw E"));
            DrawMenu.Add("drawr", new CheckBox("Draw R"));

            MiscMenu = KassaMenu.AddSubMenu("Misc Menu", "miscmenu");
            MiscMenu.AddGroupLabel("KS");
            MiscMenu.AddSeparator();
            MiscMenu.Add("ksq", new CheckBox("KS using Q"));
            MiscMenu.Add("int", new CheckBox("TRY to Interrupt Channeled Spells"));
            MiscMenu.Add("gape", new CheckBox("Anti Gapcloser E"));
            MiscMenu.Add("lvlup", new CheckBox("Auto Level Up Spells"));
            MiscMenu.Add("resetaa", new CheckBox("Auto Reset AA with W"));


            FleeMenu = KassaMenu.AddSubMenu("Flee", "Flee");
            FleeMenu.Add("fleer", new CheckBox("Use R to Mouse Pos"));

            SkinMenu = KassaMenu.AddSubMenu("Skin Changer", "skin");
            SkinMenu.AddGroupLabel("Choose the desired skin");

            var skinchange = SkinMenu.Add("sID", new Slider("Skin", 5, 0, 5));
            var sid        = new[] { "Default", "Festival", "Deep One", "Pre-Void", "Harbinger", "Cosmic Reaver" };

            skinchange.DisplayName    = sid[skinchange.CurrentValue];
            skinchange.OnValueChange +=
                delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = sid[changeArgs.NewValue];
            };
            Game.OnUpdate                    += Game_OnTick;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapCloser;
            Interrupter.OnInterruptableSpell += Interruptererer;
            Orbwalker.OnPostAttack           += Reset;
            Drawing.OnDraw                   += OnDraw;
        }
Пример #23
0
        private static void OnLoaded(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Evelynn")
            {
                return;
            }
            Bootstrap.Init(null);
            Q = new Spell.Active(SpellSlot.Q, 475);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Targeted(SpellSlot.E, 225);
            R = new Spell.Skillshot(SpellSlot.R, 900, SkillShotType.Circular, 250, 1200, 150);

            EveMenu = MainMenu.AddMenu("BloodimirEve", "bloodimireve");
            EveMenu.AddGroupLabel("Bloodimir.Evelynn");
            EveMenu.AddSeparator();
            EveMenu.AddLabel("Bloodimir Evelynn V1.0.1.0");

            ComboMenu = EveMenu.AddSubMenu("Combo", "sbtw");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecomboq", new CheckBox("Use Q"));
            ComboMenu.Add("usecombow", new CheckBox("Use W"));
            ComboMenu.Add("usecomboe", new CheckBox("Use E"));
            ComboMenu.Add("usecombor", new CheckBox("Use R"));
            ComboMenu.Add("useignite", new CheckBox("Use Ignite"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("rslider", new Slider("Minimum people for R", 1, 0, 5));

            DrawMenu = EveMenu.AddSubMenu("Drawings", "drawings");
            DrawMenu.AddGroupLabel("Drawings");
            DrawMenu.AddSeparator();
            DrawMenu.Add("drawq", new CheckBox("Draw Q"));
            DrawMenu.Add("drawr", new CheckBox("Draw R"));
            DrawMenu.Add("drawe", new CheckBox("Draw R"));

            LaneJungleClear = EveMenu.AddSubMenu("Lane Jungle Clear", "lanejungleclear");
            LaneJungleClear.AddGroupLabel("Lane Jungle Clear Settings");
            LaneJungleClear.Add("LCE", new CheckBox("Use E"));
            LaneJungleClear.Add("LCQ", new CheckBox("Use Q"));

            LastHitMenu = EveMenu.AddSubMenu("Last Hit", "lasthit");
            LastHitMenu.AddGroupLabel("Last Hit Settings");
            LastHitMenu.Add("LHQ", new CheckBox("Use Q"));

            MiscMenu = EveMenu.AddSubMenu("Misc Menu", "miscmenu");
            MiscMenu.AddGroupLabel("KS");
            MiscMenu.AddSeparator();
            MiscMenu.Add("kse", new CheckBox("KS using E"));
            MiscMenu.AddSeparator();
            MiscMenu.Add("ksq", new CheckBox("KS using Q"));
            MiscMenu.Add("asw", new CheckBox("Auto/Smart W"));

            SkinMenu = EveMenu.AddSubMenu("Skin Changer", "skin");
            SkinMenu.AddGroupLabel("Choose the desired skin");

            var skinchange = SkinMenu.Add("sID", new Slider("Skin", 2, 0, 4));
            var sid        = new[] { "Default", "Shadow", "Masquerade", "Tango", "Safecracker" };

            skinchange.DisplayName    = sid[skinchange.CurrentValue];
            skinchange.OnValueChange +=
                delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = sid[changeArgs.NewValue];
            };

            Game.OnUpdate  += Tick;
            Drawing.OnDraw += OnDraw;
        }
Пример #24
0
        protected override void CreateMenu()
        {
            try
            {
                #region Mainmenu
                Menu = MainMenu.AddMenu("UB" + player.Hero, "UBAddons.MainMenu" + player.Hero, "UB" + player.Hero + " - UBAddons - by U.Boruto");
                Menu.AddGroupLabel("General Setting");
                Menu.CreatSlotHitChance(SpellSlot.Q);
                #endregion

                #region Combo
                ComboMenu = Menu.AddSubMenu("Combo", "UBAddons.ComboMenu" + player.Hero, "Settings your combo below");
                {
                    ComboMenu.CreatSlotCheckBox(SpellSlot.Q);
                    ComboMenu.CreatSlotCheckBox(SpellSlot.W);
                    ComboMenu.CreatSlotCheckBox(SpellSlot.E);
                    ComboMenu.CreatSlotComboBox(SpellSlot.E, 0, "Spam E", "Hold it On");
                }
                #endregion

                #region Harass
                HarassMenu = Menu.AddSubMenu("Harass", "UBAddons.HarassMenu" + player.Hero, "Settings your harass below");
                {
                    HarassMenu.CreatSlotCheckBox(SpellSlot.Q);
                    HarassMenu.CreatSlotCheckBox(SpellSlot.W);
                    HarassMenu.CreatSlotCheckBox(SpellSlot.E);
                    HarassMenu.CreatSlotComboBox(SpellSlot.E, 0, "Spam E", "Hold it On");
                    HarassMenu.CreatManaLimit();
                    HarassMenu.CreatHarassKeyBind();
                }
                #endregion

                #region LaneClear
                LaneClearMenu = Menu.AddSubMenu("LaneClear", "UBAddons.LaneClear" + player.Hero, "Settings your laneclear below");
                {
                    LaneClearMenu.CreatLaneClearOpening();
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.Q, null, false);
                    LaneClearMenu.CreatSlotHitSlider(SpellSlot.Q, 5, 1, 10);
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.E, null, false);
                    LaneClearMenu.CreatSlotComboBox(SpellSlot.E, 0, "Spam E", "Hold it On");
                    LaneClearMenu.CreatSlotHitSlider(SpellSlot.E, 5, 1, 10);
                    LaneClearMenu.CreatManaLimit();
                }
                #endregion

                #region JungleClear
                JungleClearMenu = Menu.AddSubMenu("JungleClear", "UBAddons.JungleClear" + player.Hero, "Settings your jungleclear below");
                {
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.Q);
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.E);
                    JungleClearMenu.CreatSlotComboBox(SpellSlot.E, 0, "Spam E", "Hold it On");
                    JungleClearMenu.CreatManaLimit();
                }
                #endregion

                #region LastHit
                LastHitMenu = Menu.AddSubMenu("Lasthit", "UBAddons.Lasthit" + player.Hero, "UB" + player.Hero + " - Settings your unkillable minion below");
                {
                    LastHitMenu.CreatLasthitOpening();
                    LastHitMenu.CreatSlotCheckBox(SpellSlot.Q);
                    LastHitMenu.CreatSlotCheckBox(SpellSlot.E);
                    LastHitMenu.CreatManaLimit();
                }
                #endregion

                #region Misc
                MiscMenu = Menu.AddSubMenu("Misc", "UBAddons.Misc" + player.Hero, "Settings your misc below");
                {
                    MiscMenu.AddGroupLabel("Anti Gapcloser settings");
                    MiscMenu.CreatMiscGapCloser();
                    MiscMenu.CreatSlotCheckBox(SpellSlot.W, "GapCloser");
                    MiscMenu.AddGroupLabel("Killsteal settings");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "KillSteal");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.E, "KillSteal");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.R, "KillSteal");
                }
                #endregion

                #region Drawings
                DrawMenu = Menu.AddSubMenu("Drawings", "UBAddons.Drawings" + player.Hero, "Settings your drawings below");
                {
                    DrawMenu.CreatDrawingOpening();
                    DrawMenu.CreatColorPicker(SpellSlot.Q);
                    DrawMenu.CreatColorPicker(SpellSlot.W);
                    DrawMenu.CreatColorPicker(SpellSlot.E);
                    DrawMenu.CreatColorPicker(SpellSlot.Unknown);
                }
                #endregion

                DamageIndicator.Initalize(MenuValue.Drawings.ColorDmg);
            }
            catch (Exception exception)
            {
                Debug.Print(exception.ToString(), Console_Message.Error);
            }
        }
Пример #25
0
        public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Ryze"))
            {
                return;
            }
            Chat.Print("Ryze7 Loaded!", Color.Orange);
            Bootstrap.Init(null);
            Q = new Spell.Skillshot(SpellSlot.Q, 900, SkillShotType.Linear, 250, 1500, 50);
            Q.AllowedCollisionCount = 0;
            W         = new Spell.Targeted(SpellSlot.W, 600);
            E         = new Spell.Targeted(SpellSlot.E, 600);
            R         = new Spell.Active(SpellSlot.R);
            Ignite    = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            Seraph    = new Item(3040);
            Tahoma16B = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 15, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            menu      = MainMenu.AddMenu("Ryze7", "Ryze");
            ComboMenu = menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.Add("ComboQ", new CheckBox("Spell [Q]"));
            ComboMenu.Add("ComboW", new CheckBox("Spell [W]"));
            ComboMenu.Add("ComboE", new CheckBox("Spell [E]"));
            ComboMenu.Add("ComboR", new CheckBox("Spell [R]"));
            ComboMenu.Add("Human", new Slider("Humanizer Delay", 1, 0, 1000));

            HarassMenu = menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.Add("HQ", new CheckBox("Spell [Q]"));
            HarassMenu.Add("HW", new CheckBox("Spell [W]"));
            HarassMenu.Add("HE", new CheckBox("Spell [E]"));
            HarassMenu.Add("HarassMana", new Slider("Min Mana For Harass", 50, 0, 100));

            LastHitMenu = menu.AddSubMenu("LastHit Settings", "LastHit");
            LastHitMenu.Add("LHQ", new CheckBox("Spell [Q]"));
            LastHitMenu.Add("LHW", new CheckBox("Spell [W]", false));
            LastHitMenu.Add("LHE", new CheckBox("Spell [E]", false));
            LastHitMenu.Add("LastHitMana", new Slider("Min Mana For LastHit", 50, 0, 100));

            ClearMenu = menu.AddSubMenu("LaneClear Settings", "LaneClear");
            ClearMenu.Add("LCQ", new CheckBox("Spell [Q]"));
            ClearMenu.Add("LCW", new CheckBox("Spell [W]"));
            ClearMenu.Add("LCE", new CheckBox("Spell [E]"));
            ClearMenu.Add("LCR", new CheckBox("Spell [R]", false));
            ClearMenu.Add("LaneClearMana", new Slider("Min Mana For LaneClear", 50, 0, 100));

            JungleMenu = menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleMenu.Add("JQ", new CheckBox("Spell [Q]"));
            JungleMenu.Add("JW", new CheckBox("Spell [W]"));
            JungleMenu.Add("JE", new CheckBox("Spell [E]"));
            JungleMenu.Add("JR", new CheckBox("Spell [R]", false));
            JungleMenu.Add("JungleClearMana", new Slider("Min Mana For JungleClear", 30, 0, 100));

            KsMenu = menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KsMenu.AddGroupLabel("KillSteal Setting");
            KsMenu.Add("KsQ", new CheckBox("Spell [Q]"));
            KsMenu.Add("KsW", new CheckBox("Spell [W]"));
            KsMenu.Add("KsE", new CheckBox("Spell [E]"));
            KsMenu.Add("KsIgnite", new CheckBox("Use [Ignite] KillSteal"));

            Misc = menu.AddSubMenu("Misc Settings", "Misc");
            Misc.AddGroupLabel("AntiGap Setting");
            Misc.Add("gapw", new CheckBox("AntiGap [W]"));
            Misc.AddGroupLabel("Seraph Settings");
            Misc.Add("dts", new CheckBox("Use Seraph"));
            Misc.Add("Hp", new Slider("HP For Seraph", 30, 0, 100));
            Misc.AddGroupLabel("Skin Changer");
            Misc.Add("checkSkin", new CheckBox("Use Skin Changer"));
            Misc.Add("skin.Id", new ComboBox("Skin Mode", 3, "Default", "1", "2", "3", "4", "5", "6", "7", "8"));

            Autos = menu.AddSubMenu("Stacks Settings", "Stacks");
            Autos.Add("AutoStack", new KeyBind("Auto Stack", false, KeyBind.BindTypes.PressToggle, 'T'));
            Autos.Add("MaxStack", new Slider("Keep Max Stacks", 2, 1, 5));
            Autos.Add("StackMana", new Slider("Min Mana AutoStack", 70, 0, 100));
            Autos.Add("DrawSt", new CheckBox("Draw Stacks"));

            Draws = menu.AddSubMenu("Drawings Settings", "Draw");
            Draws.AddSeparator(10);
            Draws.AddGroupLabel("Drawings Setting");
            Draws.Add("DrawQ", new CheckBox("Q Range"));
            Draws.Add("DrawW", new CheckBox("W / E Range"));

            Drawing.OnDraw        += Drawing_OnDraw;
            Game.OnTick           += Game_OnTick;
            Gapcloser.OnGapcloser += AntiGapCloser;
        }
Пример #26
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Kassadin"))
            {
                return;
            }
            Chat.Print("Doctor's Kassadin Loaded!", Color.Orange);
            Bootstrap.Init(null);
            Q = new Spell.Targeted(SpellSlot.Q, 650);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Skillshot(SpellSlot.E, 600, SkillShotType.Cone, 500, int.MaxValue, 10);
            E.AllowedCollisionCount = int.MaxValue;
            R = new Spell.Skillshot(SpellSlot.R, 700, SkillShotType.Circular, 500, int.MaxValue, 150);
            R.AllowedCollisionCount = int.MaxValue;
            Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            thm    = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 15, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Seraph = new Item(3040);
            Menu   = MainMenu.AddMenu("Kassadin", "Kassadin");
            Menu.AddGroupLabel(" Doctor7 ");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q] Combo"));
            ComboMenu.Add("ComboW", new CheckBox("Use [W] Combo"));
            ComboMenu.Add("ComboE", new CheckBox("Use [E] Combo"));
            ComboMenu.AddGroupLabel("Ultimate Settings");
            ComboMenu.Add("ComboR", new CheckBox("Use [R] Combo"));
            ComboMenu.Add("CTurret", new KeyBind("Dont Use [R] UnderTurret", false, KeyBind.BindTypes.PressToggle, 'T'));
            ComboMenu.Add("CMinR", new Slider("Limit Enemies Around Use [R]", 2, 1, 5));
            ComboMenu.Add("Cihp", new Slider("MyHP Use [R] >", 20));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass"));
            HarassMenu.Add("HarassW", new CheckBox("Use [W] Harass"));
            HarassMenu.Add("HarassE", new CheckBox("Use [E] Harass"));
            HarassMenu.Add("ManaHR", new Slider("Mana For Harass", 40));
            HarassMenu.AddGroupLabel("Ultimate Settings");
            HarassMenu.Add("HarassR", new CheckBox("Use [R] Harass"));
            HarassMenu.Add("StackRH", new Slider("Use [R] Stacks Limit Harass", 5, 1, 5));
            HarassMenu.Add("MinR", new Slider("Limit Enemies Around Use [R]", 3, 1, 5));
            HarassMenu.Add("ihp", new Slider("MyHP Use [R] >", 30));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.Add("QLC", new CheckBox("Use [Q] LaneClear", false));
            LaneClearMenu.Add("WLC", new CheckBox("Use [W] LaneClear"));
            LaneClearMenu.Add("ELC", new CheckBox("Use [E] LaneClear", false));
            LaneClearMenu.Add("MinELC", new Slider("Min Hit Minions Use [E]", 2, 1, 3));
            LaneClearMenu.Add("RLC", new CheckBox("Use [R] LaneClear", false));
            LaneClearMenu.Add("StackRL", new Slider("Use [R] Stacks Limit LaneClear", 1, 1, 5));
            LaneClearMenu.Add("ManaLC", new Slider("Mana For LaneClear", 50));

            LastHitMenu = Menu.AddSubMenu("LastHit Settings", "LastHit");
            LastHitMenu.AddGroupLabel("LastHit Settings");
            LastHitMenu.Add("QLH", new CheckBox("Use [Q] LastHit"));
            LastHitMenu.Add("WLH", new CheckBox("Use [W] LastHit"));
            LastHitMenu.Add("ManaLH", new Slider("Mana For LaneClear", 50));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("QJungle", new CheckBox("Use [Q] JungleClear"));
            JungleClearMenu.Add("WJungle", new CheckBox("Use [W] JungleClear"));
            JungleClearMenu.Add("EJungle", new CheckBox("Use [E] JungleClear"));
            JungleClearMenu.Add("RJungle", new CheckBox("Use [R] JungleClear"));
            JungleClearMenu.Add("StackRJ", new Slider("Use [R] Stacks Limit LaneClear", 3, 1, 5));
            JungleClearMenu.Add("ManaJC", new Slider("Mana For JungleClear", 30));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KsR", new CheckBox("Use [R] KillSteal", false));
            KillStealMenu.Add("KsE", new CheckBox("Use [E] KillSteal"));
            KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal"));
            KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal"));

            Misc = Menu.AddSubMenu("Misc Settings", "Misc");
            Misc.AddGroupLabel("Skin Settings");
            Misc.Add("checkSkin", new CheckBox("Use Skin Changer", false));
            Misc.Add("skin.Id", new ComboBox("Skin Mode", 5, "Default", "1", "2", "3", "4", "5"));
            Misc.AddGroupLabel("Drawing Settings");
            Misc.Add("DrawR", new CheckBox("R Range", false));
            Misc.Add("DrawQ", new CheckBox("Q Range"));
            Misc.Add("DrawE", new CheckBox("E Range", false));
            Misc.Add("DrawTR", new CheckBox("DrawText Status [R]"));
            Misc.AddGroupLabel("Interrupt Settings");
            Misc.Add("inter", new CheckBox("Use [Q] Interupt"));
            Misc.Add("AntiGap", new CheckBox("Use [E] Anti Gapcloser"));
            Misc.AddGroupLabel("Seraph Settings");
            Misc.Add("dts", new CheckBox("Use Seraph"));
            Misc.Add("Hp", new Slider("HP For Seraph", 30, 0, 100));

            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnUpdate  += Game_OnUpdate;
            Interrupter.OnInterruptableSpell += Interupt;
            Orbwalker.OnPostAttack           += ResetAttack;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapcloser;
        }
Пример #27
0
        public static void Initialize()
        {
            // Addon Menu
            MagicianRyzeMenu = MainMenu.AddMenu("MagicianRyze", "MagicianRyze");
            MagicianRyzeMenu.AddGroupLabel("Magician Ryze");

            // Combo Menu
            ComboMenu = MagicianRyzeMenu.AddSubMenu("Combo Features", "ComboFeatures");
            ComboMenu.AddGroupLabel("Combo Features");
            ComboMenu.Add("Ucombo", new Slider("Counter Combo - My Personal Settings", 1, 1, 2));
            ComboMenu.AddSeparator(1);
            ComboMenu.AddLabel("Independent boxes for Spells:");
            ComboMenu.Add("Qcombo", new CheckBox("Use Q"));
            ComboMenu.Add("Wcombo", new CheckBox("Use W"));
            ComboMenu.Add("Ecombo", new CheckBox("Use E"));
            ComboMenu.Add("Rcombo", new CheckBox("Use R"));
            ComboMenu.Add("Dcombo", new CheckBox("Only R if Target Rooted"));
            ComboMenu.AddSeparator(1);
            ComboMenu.Add("Scombo", new Slider("Passive stacks to Ult", 4, 1, 4));

            // Harass Menu
            HarassMenu = MagicianRyzeMenu.AddSubMenu("Harass Features", "HarassFeatures");
            HarassMenu.AddGroupLabel("Harass Features");
            HarassMenu.AddLabel("Independent boxes for Spells:");
            HarassMenu.Add("Qharass", new CheckBox("Use Q"));
            HarassMenu.AddSeparator(1);
            HarassMenu.Add("Mharass", new Slider("Mana Limiter at Mana %", 25));

            // Jungle Menu
            JungleMenu = MagicianRyzeMenu.AddSubMenu("Jungle Features", "JungleFeatures");
            JungleMenu.AddGroupLabel("Jungle Features");
            JungleMenu.AddLabel("Independent boxes for Spells:");
            JungleMenu.Add("Qjungle", new CheckBox("Use Q"));
            JungleMenu.Add("Wjungle", new CheckBox("Use W"));
            JungleMenu.Add("Ejungle", new CheckBox("Use E"));
            JungleMenu.AddSeparator(1);
            JungleMenu.Add("Mjungle", new Slider("Mana Limiter at Mana %", 25));

            // LaneClear Menu
            LaneClearMenu = MagicianRyzeMenu.AddSubMenu("Lane Clear Features", "LaneClearFeatures");
            LaneClearMenu.AddGroupLabel("Lane Clear Features");
            LaneClearMenu.AddLabel("Independent boxes for Spells:");
            LaneClearMenu.Add("Qlanec", new CheckBox("Use Q"));
            LaneClearMenu.Add("Wlanec", new CheckBox("Use W", false));
            LaneClearMenu.Add("Elanec", new CheckBox("Use E", false));
            LaneClearMenu.AddSeparator(1);
            LaneClearMenu.Add("Mlanec", new Slider("Mana Limiter at Mana %", 25));
            LaneClearMenu.AddSeparator(1);
            LaneClearMenu.Add("Planec", new CheckBox("Charge Passive in Lane Clear"));
            LaneClearMenu.AddSeparator(1);
            LaneClearMenu.AddLabel("Late Game Lane Clear Mode - QWE minions to Mana %");
            LaneClearMenu.Add("Ulategame", new CheckBox("Late Game Mode", false));
            LaneClearMenu.AddSeparator(1);
            LaneClearMenu.AddLabel("Late Game Mode Activators");
            LaneClearMenu.Add("Llategame", new Slider("Activate Late Game at Level", 14, 1, 18));
            LaneClearMenu.Add("Mlategame", new Slider("Mana Limiter at Mana %", 15));

            // LastHit Menu
            LastHitMenu = MagicianRyzeMenu.AddSubMenu("Last Hit Features", "LastHitFeatures");
            LastHitMenu.AddGroupLabel("Last Hit Features");
            LastHitMenu.AddLabel("Independent boxes for Spells:");
            LastHitMenu.Add("Qlasthit", new CheckBox("Use Q"));
            LastHitMenu.Add("Wlasthit", new CheckBox("Use W", false));
            LastHitMenu.Add("Elasthit", new CheckBox("Use E", false));
            LastHitMenu.AddSeparator(1);
            LastHitMenu.Add("Mlasthit", new Slider("Mana Limiter at Mana %", 25));

            // Kill Steal Menu
            KillStealMenu = MagicianRyzeMenu.AddSubMenu("KS Features", "KSFeatures");
            KillStealMenu.AddGroupLabel("Kill Steal Features");
            KillStealMenu.Add("Uks", new CheckBox("KS Mode"));
            KillStealMenu.AddSeparator(1);
            KillStealMenu.AddLabel("Independent boxes for Spells:");
            KillStealMenu.Add("Qks", new CheckBox("Use Q in KS"));
            KillStealMenu.Add("Wks", new CheckBox("Use W in KS"));
            KillStealMenu.Add("Eks", new CheckBox("Use E in KS"));

            // Drawing Menu
            DrawingMenu = MagicianRyzeMenu.AddSubMenu("Drawing Features", "DrawingFeatures");
            DrawingMenu.AddGroupLabel("Drawing Features");
            DrawingMenu.Add("Udraw", new CheckBox("Draw Mode"));
            DrawingMenu.AddSeparator(1);
            DrawingMenu.AddLabel("Independent boxes for Spells:");
            DrawingMenu.Add("Qdraw", new CheckBox("Draw Q"));
            DrawingMenu.Add("WEdraw", new CheckBox("Draw W & E"));
            DrawingMenu.AddSeparator(1);
            DrawingMenu.AddLabel("Skin Designer");
            DrawingMenu.Add("Udesign", new CheckBox("Draw Skin Design"));
            DrawingMenu.Add("Sdesign", new Slider("Skin Designer: ", 9, 0, 9));

            // Setting Menu
            SettingMenu = MagicianRyzeMenu.AddSubMenu("Settings", "Settings");
            SettingMenu.AddGroupLabel("Settings");
            SettingMenu.AddLabel("Automatic Leveler");
            SettingMenu.Add("Ulevel", new CheckBox("Auto Leveler"));
            SettingMenu.AddSeparator(1);
            SettingMenu.AddLabel("Automatic Tear Stacker");
            SettingMenu.Add("Ustack", new CheckBox("Stack Mode"));
            SettingMenu.AddSeparator(1);
            SettingMenu.AddLabel("Ultimate Mode - If Ult is active, spam QWE");
            SettingMenu.Add("Uultimate", new CheckBox("Ultimate Mode", false));
            SettingMenu.AddSeparator(1);
            SettingMenu.AddLabel("Interrupter");
            SettingMenu.Add("Uinterrupt", new CheckBox("Interrupt Mode"));
            SettingMenu.Add("Winterrupt", new CheckBox("Use W to interrupt"));
            SettingMenu.AddLabel("Gap Closer");
            SettingMenu.Add("Ugapc", new CheckBox("Gap Closer Mode"));
            SettingMenu.Add("Wgapc", new CheckBox("Use W to gapclose"));
        }
Пример #28
0
        public override void InitializeMenu()
        {
            AddMultipleCheckBox(Q,
                                new List <MenuCheckBox>
            {
                new MenuCheckBox(ComboMenu),
                new MenuCheckBox(HarassMenu, false),
                new MenuCheckBox(LaneClearMenu, false),
                new MenuCheckBox(JungleClearMenu),
                new MenuCheckBox(DrawMenu)
            });
            AddMultipleCheckBox(W,
                                new List <MenuCheckBox>
            {
                new MenuCheckBox(ComboMenu),
                new MenuCheckBox(HarassMenu),
                new MenuCheckBox(AutoHarassMenu, false),
                new MenuCheckBox(LaneClearMenu),
                new MenuCheckBox(JungleClearMenu),
                new MenuCheckBox(LastHitMenu),
                new MenuCheckBox(FleeMenu),
                new MenuCheckBox(KillStealMenu),
                new MenuCheckBox(DrawMenu)
            });
            AddMultipleCheckBox(E,
                                new List <MenuCheckBox>
            {
                new MenuCheckBox(DrawMenu, false)
            });
            AddMultipleCheckBox(R,
                                new List <MenuCheckBox>
            {
                new MenuCheckBox(ComboMenu),
                new MenuCheckBox(FleeMenu, false),
                new MenuCheckBox(KillStealMenu),
                new MenuCheckBox(DrawMenu, false)
            });

            ComboMenu.CreateSlider("Use R if the target leave {1} range", 48, 400, 100, 2000);
            ComboMenu.AddSeparator();
            ComboMenu.AddGroupLabel("Mode Switcher");
            ComboMenu.AddLabel("Burst Mode = R -> W -> Q");
            ComboMenu.AddLabel("Normal Mode = Q -> W -> (??) R");
            ComboMenu.CreateKeybind("Change mode by key", 49, 'T').OnValueChange += ModeSwitch;

            LaneClearMenu.CreateCheckBox("Prioritize Harass over Mode", 50, false);

            LastHitMenu.CreateCheckBox("Prioritize Harass over Mode", 51, false);

            FleeMenu.CreateSlider("Use R if enemy is near {1} range", 52, 1200, 100, 2000);

            MiscMenu.AddSeparator();
            MiscMenu.AddGroupLabel("AntiGapcloser - Interrupter settings:");
            MiscMenu.CreateCheckBox("Use AntiGapcloser", MenuIds.MiscUseGapcloser);
            MiscMenu.CreateCheckBox("Use W", 53);
            MiscMenu.CreateCheckBox("Use R", 54);

            MiscMenu.AddSeparator();
            MiscMenu.CreateCheckBox("Use Interrupter", MenuIds.MiscUseInterrupt);
            MiscMenu.CreateCheckBox("Use R", 55);

            MiscMenu.AddSeparator();
            MiscMenu.CreateCheckBox("AutoSpells on CC", 56);
            MiscMenu.CreateCheckBox("AutoSpells on Events", 57);
            MiscMenu.CreateCheckBox("Use Auto W", 58);
            MiscMenu.CreateCheckBox("Use W on Stunned Enemies", 59);
            MiscMenu.CreateCheckBox("Use W on Snared Enemies", 60);
            MiscMenu.CreateCheckBox("Use W on Feared Enemies", 61);
            MiscMenu.CreateCheckBox("Use W on Taunted Enemy", 62);
            MiscMenu.CreateCheckBox("Use W on Suppressed Enemy", 63);
            MiscMenu.CreateCheckBox("Use W on Charmed Enemies", 64);
            MiscMenu.CreateCheckBox("Use Auto R", 65);
            MiscMenu.CreateCheckBox("Use R on Stunned Enemies", 66, false);
            MiscMenu.CreateCheckBox("Use R on Snared Enemies", 67, false);
            MiscMenu.CreateCheckBox("Use R on Feared Enemies", 68, false);
            MiscMenu.CreateCheckBox("Use R on Taunted Enemy", 69, false);
            MiscMenu.CreateCheckBox("Use R on Suppressed Enemy", 70, false);
            MiscMenu.CreateCheckBox("Use R on Charmed Enemies", 71, false);
        }
Пример #29
0
        public static void LoadMenu()
        {
            var startMenu = MainMenu.AddMenu(MenuName, MenuName.ToLower());

            var notStart = new SimpleNotification("Mario`s Gangplank Loaded", "Mario`s Gangplank sucessfully loaded.");

            Notifications.Show(notStart, 2500);

            #region Combo
            ComboMenu = startMenu.AddSubMenu(":-Combo Menu-:");
            ComboMenu.AddGroupLabel("-:Combo Spells:-");
            ComboMenu.Add("qCombo", new CheckBox("• Use Q."));
            ComboMenu.Add("eCombo", new CheckBox("• Use E."));
            ComboMenu.AddLabel("If the target is close to you");
            ComboMenu.Add("eComboRangeClose", new Slider("How close to put the barrel(0 on the player)", 150, 50, 600));
            ComboMenu.AddLabel("If the target is far from you");
            ComboMenu.Add("eComboRangeFar", new Slider("How close to put the barrel(0 on the player)", 350, 300, 800));
            ComboMenu.Add("rCombo", new CheckBox("• Use R."));
            ComboMenu.Add("rComboCount", new Slider("Minimun enemies to use R.(0 = Off)", 2, 0, 5));
            #endregion Combo

            #region Harass
            HarassMenu = startMenu.AddSubMenu(":-Harass Menu-:");
            HarassMenu.AddGroupLabel("-:Harass Spells:-");
            HarassMenu.Add("qHarass", new CheckBox("• Use Q."));
            HarassMenu.Add("eHarass", new CheckBox("• Use E.", false));
            HarassMenu.AddGroupLabel("-:Harass Settings:-");
            HarassMenu.Add("manaHarass", new Slider("Mana must be greater than ({0}) to use harass spells.", 30));
            HarassMenu.AddGroupLabel("-:AutoHarass Spells:-");
            HarassMenu.Add("qAutoHarass", new CheckBox("• Use Q."));
            HarassMenu.Add("eAutoHarass", new CheckBox("• Use E."));
            HarassMenu.AddGroupLabel("-:AutoHarass Settings:-");
            var keyAutoHarass = HarassMenu.Add("keyAutoHarass",
                                               new KeyBind("KeyBind to change on/off AutoHarass", false, KeyBind.BindTypes.PressToggle, 'T'));
            keyAutoHarass.OnValueChange += delegate
            {
                var notHarassOn  = new SimpleNotification("AutoHarass Mode Change", "AutoHarass is now On. ");
                var notHarassOff = new SimpleNotification("AutoHarass Mode Change", "AutoHarass is now Off. ");

                Notifications.Show(keyAutoHarass.CurrentValue ? notHarassOn : notHarassOff, 1000);
            };
            HarassMenu.Add("manaAutoHarass", new Slider("Mana must be greater than ({0}) to use auto harass spells.", 45));
            #endregion Harass

            #region LaneClear
            LaneClearMenu = startMenu.AddSubMenu(":-LaneClear Menu-:");
            LaneClearMenu.AddGroupLabel("-:LaneClear Spells:-");
            LaneClearMenu.Add("qLane", new CheckBox("• Use Q on Barrel."));
            LaneClearMenu.Add("qLaneLast", new CheckBox("• Use Q to last hit."));
            LaneClearMenu.Add("eLane", new CheckBox("• Use E."));
            LaneClearMenu.Add("eKeep", new Slider("• Keep ({0}) barrels.", 1, 0, 4));
            LaneClearMenu.AddGroupLabel("-:LaneClear Settings:-");
            LaneClearMenu.Add("qLaneCount", new Slider("How many minions must be in range of the barrel.", 2, 0, 6));
            LaneClearMenu.Add("eLaneCount", new Slider("Minimun minions to place E.", 3, 0, 6));
            LaneClearMenu.Add("manaLane", new Slider("Mana must be greater than ({0}) to use laneclear spells", 30));
            #endregion LaneClear

            #region JungleClear
            JungleClearMenu = startMenu.AddSubMenu(":-JungleClear Menu-:");
            JungleClearMenu.AddGroupLabel("-:JungleClear Spells:-");
            JungleClearMenu.Add("qJungle", new CheckBox("• Use Q Barrel."));
            JungleClearMenu.Add("qJungleLast", new CheckBox("• Use Q to kill the minion."));
            JungleClearMenu.Add("eJungle", new CheckBox("• Use E."));
            JungleClearMenu.AddGroupLabel("-:JungleClear Settings:-");
            JungleClearMenu.Add("manaJungle", new Slider("Mana must be greater than ({0}) to use jungleclear spells.", 30));
            #endregion JungleClear

            #region Lasthit
            LastHitMenu = startMenu.AddSubMenu(":-LastHit Menu-:");
            LastHitMenu.AddGroupLabel("-:LastHit Spells:-");
            LastHitMenu.Add("qLast", new CheckBox("• Use Q."));
            LastHitMenu.AddGroupLabel("-:LastHit Settings:-");
            LastHitMenu.Add("manaLast", new Slider("Mana must be greater than ({0}) to use lasthit spells.", 30));
            #endregion Lasthit

            #region Settings
            SettingsMenu = startMenu.AddSubMenu(":-Settings Menu-:");
            SettingsMenu.AddGroupLabel("-:Q KS Settings:-");
            SettingsMenu.Add("qKS", new CheckBox("• Use Q to ks."));
            SettingsMenu.AddGroupLabel("-:R Settings:-");
            SettingsMenu.Add("rKS", new CheckBox("• Use R to ks."));
            SettingsMenu.Add("rKSOverkill", new Slider("R KS overkill, it will only ult if target health is greater than [{0}]", 150, 50, 400));
            SettingsMenu.Add("rToSaveAlly", new CheckBox("• Use R to save ally."));
            SettingsMenu.Add("rToSaveAllyPercent", new Slider("• Ally health to save him msut be less than ({0}).", 15));
            SettingsMenu.AddGroupLabel("-:W Settings:-");
            SettingsMenu.Add("wUsePercent", new Slider("• Use W if health is lower than ({0}).", 20));
            SettingsMenu.AddSeparator(1);
            SettingsMenu.Add("wBuffStun", new CheckBox("• Stun"));
            SettingsMenu.Add("wBuffSlow", new CheckBox("• Slow", false));
            SettingsMenu.Add("wBuffBlind", new CheckBox("• Blind"));
            SettingsMenu.Add("wBuffSupression", new CheckBox("• Supression"));
            SettingsMenu.Add("wBuffSnare", new CheckBox("• Snare"));
            SettingsMenu.Add("wBuffTaunt", new CheckBox("• Taunt"));
            SettingsMenu.AddGroupLabel("-:Settings:-");
            LastHitMenu.Add("manaSettings", new Slider("Mana must be greater than ({0}) to use any spell in this menu.", 30));
            #endregion Settings

            #region Drawings
            DrawingsMenu = startMenu.AddSubMenu(":-Drawings Menu-:");
            DrawingsMenu.Add("readyDraw", new CheckBox("• Draw Spell`s range only if they are ready."));
            DrawingsMenu.Add("damageDraw", new CheckBox("• Draw damage indicator."));
            DrawingsMenu.Add("perDraw", new CheckBox("• Draw damage indicator percent."));
            DrawingsMenu.Add("statDraw", new CheckBox("• Draw damage indicator statistics"));
            DrawingsMenu.AddGroupLabel("-:Spells:-");
            DrawingsMenu.Add("qDraw", new CheckBox("• Draw Q."));
            DrawingsMenu.Add("wDraw", new CheckBox("• Draw W."));
            DrawingsMenu.Add("eDraw", new CheckBox("• Draw E."));
            DrawingsMenu.Add("barrelDraw", new CheckBox("• Draw Barrels."));
            #endregion Drawings
        }
Пример #30
0
 public static void Initialize()
 {
     LastHitMenu = MainMenu.AddSubMenu("Last Hit", "LastHit");
     LastHitMenu.AddGroupLabel("Last Hit Options");
     _q = LastHitMenu.Add("LastHit.Q", new CheckBox("Use Q"));
 }