Exemplo n.º 1
0
Arquivo: Azir.cs Projeto: jitart/adc
        static Azir()
        {
            try
            {
                Q = new Spell.Skillshot(SpellSlot.Q, 1000, SkillShotType.Linear, 250, 1000, 65)
                {
                    AllowedCollisionCount = int.MaxValue
                };
                W = new Spell.Skillshot(SpellSlot.W, 525, SkillShotType.Circular);
                E = new Spell.Skillshot(SpellSlot.E, 1100, SkillShotType.Linear, 250, 1200, 80)
                {
                    AllowedCollisionCount = int.MaxValue
                };
                R = new Spell.Skillshot(SpellSlot.R, 350, SkillShotType.Linear, 500, 1000, 220)
                {
                    AllowedCollisionCount = int.MaxValue
                };

                if (Player.Spells.FirstOrDefault(o => o.SData.Name.Contains("SummonerFlash")) != null)
                {
                    Flash = new Spell.Skillshot(user.GetSpellSlotFromName("SummonerFlash"), 450, SkillShotType.Circular);
                }

                SpellList.Add(Q);
                SpellList.Add(W);
                SpellList.Add(E);
                SpellList.Add(R);

                Menuini         = MainMenu.AddMenu("KappAzir", "KappAzir");
                AutoMenu        = Menuini.AddSubMenu("Auto Settings");
                JumperMenu      = Menuini.AddSubMenu("Jumper Settings");
                ComboMenu       = Menuini.AddSubMenu("Combo Settings");
                HarassMenu      = Menuini.AddSubMenu("Harass Settings");
                LaneClearMenu   = Menuini.AddSubMenu("LaneClear Settings");
                JungleClearMenu = Menuini.AddSubMenu("JungleClear Settings");
                KillStealMenu   = Menuini.AddSubMenu("KillSteal Settings");
                DrawMenu        = Menuini.AddSubMenu("Drawings Settings");
                ColorMenu       = Menuini.AddSubMenu("ColorPicker");

                foreach (var spell in SpellList.Where(s => s != E))
                {
                    Menuini.Add(spell.Slot + "hit", new ComboBox(spell.Slot + " HitChance", 0, "High", "Medium", "Low"));
                    Menuini.AddSeparator(0);
                }

                AutoMenu.AddGroupLabel("Settings");
                AutoMenu.Add("gap", new CheckBox("Anti-GapCloser"));
                AutoMenu.Add("int", new CheckBox("Interrupter"));
                AutoMenu.Add("Danger", new ComboBox("Interrupter DangerLevel", 1, "High", "Medium", "Low"));
                AutoMenu.AddGroupLabel("Turret Settings");
                AutoMenu.Add("tower", new CheckBox("Create Turrets"));
                AutoMenu.Add("Tenemy", new Slider("Create Turret If [{0}] Enemies Near", 3, 1, 6));
                if (EntityManager.Heroes.Enemies.Any(e => e.Hero == Champion.Rengar))
                {
                    AutoMenu.Add("rengar", new CheckBox("Anti-Rengar Leap"));
                }

                JumperMenu.Add("jump", new KeyBind("WEQ Flee Key", false, KeyBind.BindTypes.HoldActive, 'A'));
                JumperMenu.Add("normal", new KeyBind("Normal Insec Key", false, KeyBind.BindTypes.HoldActive, 'S'));
                JumperMenu.Add("new", new KeyBind("New Insec Key", false, KeyBind.BindTypes.HoldActive, 'Z'));
                JumperMenu.Add("flash", new CheckBox("Use Flash for Possible AoE"));
                JumperMenu.Add("delay", new Slider("Delay EQ", 200, 0, 500));
                JumperMenu.Add("range", new Slider("Check for soldiers Range", 800, 0, 1000));

                ComboMenu.AddGroupLabel("Combo Settings");
                ComboMenu.AddGroupLabel("Q Settings");
                ComboMenu.Add("Q", new CheckBox("Use Q"));
                ComboMenu.Add("WQ", new CheckBox("Use W > Q"));
                ComboMenu.Add("Qaoe", new CheckBox("Use Q Aoe", false));
                ComboMenu.Add("QS", new Slider("Soldiers To Use Q", 1, 1, 3));
                ComboMenu.AddSeparator(0);
                ComboMenu.AddGroupLabel("W Settings");
                ComboMenu.Add("W", new CheckBox("Use W"));
                ComboMenu.Add("Wsave", new CheckBox("Save 1 W Stack", false));
                ComboMenu.Add("WS", new Slider("Soldier Limit To Create", 3, 1, 3));
                ComboMenu.AddSeparator(0);
                ComboMenu.AddGroupLabel("E Settings");
                ComboMenu.Add("E", new CheckBox("Use E"));
                ComboMenu.Add("Ekill", new CheckBox("E Killable Enemy Only"));
                ComboMenu.Add("Edive", new CheckBox("E Dive Turrets", false));
                ComboMenu.Add("EHP", new Slider("Only E if my HP is more than [{0}%]", 50));
                ComboMenu.Add("Esafe", new Slider("Dont E Into [{0}] Enemies", 3, 1, 6));
                ComboMenu.AddSeparator(0);
                ComboMenu.AddGroupLabel("R Settings");
                ComboMenu.Add("R", new CheckBox("Use R"));
                ComboMenu.Add("Rkill", new CheckBox("R Finisher"));
                ComboMenu.Add("insec", new CheckBox("Try to insec in Combo"));
                ComboMenu.Add("Raoe", new Slider("R AoE Hit [{0}] Enemies", 3, 1, 6));
                ComboMenu.Add("Rsave", new CheckBox("R Save Self"));
                ComboMenu.Add("RHP", new Slider("Push Enemy If my health is less than [{0}%]", 35));

                HarassMenu.AddGroupLabel("Harass Settings");
                HarassMenu.Add("toggle", new KeyBind("Auto Harass Key", false, KeyBind.BindTypes.PressToggle, 'H'));
                HarassMenu.AddSeparator(0);
                HarassMenu.AddGroupLabel("Q Settings");
                HarassMenu.Add("Q", new CheckBox("Use Q"));
                HarassMenu.Add("WQ", new CheckBox("Use W > Q"));
                HarassMenu.Add("QS", new Slider("Soldiers To Use Q", 1, 1, 3));
                HarassMenu.Add(Q.Slot + "mana", new Slider("Stop using Q if Mana < [{0}%]", 65));
                HarassMenu.AddSeparator(0);
                HarassMenu.AddGroupLabel("W Settings");
                HarassMenu.Add("W", new CheckBox("Use W"));
                HarassMenu.Add("Wsave", new CheckBox("Save 1 W Stack"));
                HarassMenu.Add("WS", new Slider("Soldier Limit To Create", 3, 1, 3));
                HarassMenu.Add(W.Slot + "mana", new Slider("Stop using W if Mana < [{0}%]", 65));
                HarassMenu.AddSeparator(0);
                HarassMenu.AddGroupLabel("E Settings");
                HarassMenu.Add("E", new CheckBox("Use E"));
                HarassMenu.Add("Edive", new CheckBox("E Dive Turrets", false));
                HarassMenu.Add("EHP", new Slider("Only E if my HP is more than [{0}%]", 50));
                HarassMenu.Add("Esafe", new Slider("Dont E Into [{0}] Enemies", 3, 1, 6));
                HarassMenu.Add(E.Slot + "mana", new Slider("Stop using E if Mana < [{0}%]", 65));

                LaneClearMenu.AddGroupLabel("LaneClear Settings");
                LaneClearMenu.Add("Q", new CheckBox("Use Q"));
                LaneClearMenu.Add(Q.Slot + "mana", new Slider("Stop using Q if Mana < [{0}%]", 65));
                LaneClearMenu.Add("W", new CheckBox("Use W"));
                LaneClearMenu.Add("Wsave", new CheckBox("Save 1 W Stack"));
                LaneClearMenu.Add(W.Slot + "mana", new Slider("Stop using W if Mana < [{0}%]", 65));

                JungleClearMenu.AddGroupLabel("JungleClear Settings");
                JungleClearMenu.Add("Q", new CheckBox("Use Q"));
                JungleClearMenu.Add(Q.Slot + "mana", new Slider("Stop using Q if Mana < [{0}%]", 65));
                JungleClearMenu.Add("W", new CheckBox("Use W"));
                JungleClearMenu.Add("Wsave", new CheckBox("Save 1 W Stack"));
                JungleClearMenu.Add(W.Slot + "mana", new Slider("Stop using W if Mana < [{0}%]", 65));

                KillStealMenu.AddGroupLabel("Stealer Settings");
                foreach (var spell in SpellList.Where(s => s != W && s != E))
                {
                    KillStealMenu.Add(spell.Slot + "ks", new CheckBox("KillSteal " + spell.Slot));
                    KillStealMenu.Add(spell.Slot + "js", new CheckBox("JungleSteal " + spell.Slot));
                }

                DrawMenu.Add("damage", new CheckBox("Draw Combo Damage"));
                DrawMenu.AddLabel("Draws = ComboDamage / Enemy Current Health");
                DrawMenu.AddSeparator(1);
                foreach (var spell in SpellList)
                {
                    DrawMenu.Add(spell.Slot.ToString(), new CheckBox(spell.Slot + " Range"));
                    ColorMenu.Add(spell.Slot.ToString(), new ColorPicker(spell.Slot + " Color", System.Drawing.Color.Chartreuse));
                }

                DrawMenu.Add("insec", new CheckBox("Draw Insec Helpers"));

                Obj_AI_Base.OnProcessSpellCast   += Obj_AI_Base_OnProcessSpellCast;
                Gapcloser.OnGapcloser            += Gapcloser_OnGapcloser;
                Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
                GameObject.OnCreate   += GameObject_OnCreate;
                Orbwalker.OnPreAttack += Orbwalker_OnPreAttack;
            }
            catch (Exception e)
            {
                Common.Logger.Error(e.ToString());
            }
        }
Exemplo n.º 2
0
        public static void Execute()
        {
            Menuini         = MainMenu.AddMenu("KappAzir", "KappAzir");
            Auto            = Menuini.AddSubMenu("Auto Settings");
            JumperMenu      = Menuini.AddSubMenu("Jumper Settings");
            ComboMenu       = Menuini.AddSubMenu("Combo Settings");
            HarassMenu      = Menuini.AddSubMenu("Harass Settings");
            LaneClearMenu   = Menuini.AddSubMenu("LaneClear Settings");
            JungleClearMenu = Menuini.AddSubMenu("JungleClear Settings");
            KillstealMenu   = Menuini.AddSubMenu("KillSteal Settings");
            DrawMenu        = Menuini.AddSubMenu("Drawings Settings");
            ColorMenu       = Menuini.AddSubMenu("ColorPicker");

            Auto.AddGroupLabel("Ayarlar");
            Auto.Add("gap", new CheckBox("Anti-GapCloser"));
            Auto.Add("int", new CheckBox("Interrupter"));
            Auto.Add("danger", new ComboBox("Interrupter DangerLevel", 1, "High", "Medium", "Low"));
            Auto.AddGroupLabel("Kule ayarları");
            Auto.Add("tower", new CheckBox("Kule kur"));
            Auto.Add("Tenemy", new Slider("Kule kurmak için yakındaki düşman sayısı", 3, 1, 6));
            Auto.AddGroupLabel("Anti GapCloser Büyüleri");
            foreach (var spell in
                     from spell in Gapcloser.GapCloserList
                     from enemy in EntityManager.Heroes.Enemies.Where(enemy => spell.ChampName == enemy.ChampionName)
                     select spell)
            {
                Auto.Add(spell.SpellName, new CheckBox(spell.ChampName + " " + spell.SpellSlot));
            }

            if (EntityManager.Heroes.Enemies.Any(e => e.Hero == Champion.Rengar))
            {
                Auto.Add("rengar", new CheckBox("Rengar Sıçraması"));
            }

            JumperMenu.Add("jump", new KeyBind("WEQ Kaçma tuşu", false, KeyBind.BindTypes.HoldActive, 'A'));
            JumperMenu.Add("normal", new KeyBind("Normal Insec Tuşu", false, KeyBind.BindTypes.HoldActive, 'S'));
            JumperMenu.Add("new", new KeyBind("Yeni Insec Tuşu", false, KeyBind.BindTypes.HoldActive, 'Z'));
            JumperMenu.Add("flash", new CheckBox("Pasif Flash kombosu kullan"));
            JumperMenu.Add("delay", new Slider("Gecikme EQ", 200, 0, 500));
            JumperMenu.Add("range", new Slider("Asker menzilini kontrol et", 800, 0, 1000));

            ComboMenu.AddGroupLabel("Combo Ayarları");
            ComboMenu.Add("key", new KeyBind("Combo Tuşu", false, KeyBind.BindTypes.HoldActive, 32));
            ComboMenu.AddSeparator(0);
            ComboMenu.AddGroupLabel("Q Ayarları");
            ComboMenu.Add("Q", new CheckBox("Kullan Q"));
            ComboMenu.Add("WQ", new CheckBox("Kullan W > Q"));
            ComboMenu.Add("Qaoe", new CheckBox("Kullan Q Aoe", false));
            ComboMenu.Add("QS", new Slider("Askerlerle Q Kullan", 1, 1, 3));
            ComboMenu.AddSeparator(0);
            ComboMenu.AddGroupLabel("W Ayarları");
            ComboMenu.Add("W", new CheckBox("Kullan W"));
            ComboMenu.Add("Wsave", new CheckBox("1 yük sakla", false));
            ComboMenu.Add("WS", new Slider("Asker yaratma limitleyici", 3, 1, 3));
            ComboMenu.AddSeparator(0);
            ComboMenu.AddGroupLabel("E Ayarları");
            ComboMenu.Add("E", new CheckBox("Kullan E"));
            ComboMenu.Add("Ekill", new CheckBox("E Sadece hedef ölecekse"));
            ComboMenu.Add("Edive", new CheckBox("E Kuleye dalış", false));
            ComboMenu.Add("EHP", new Slider("Sadece benim canım şu kadar veya fazlaysa [{0}%]", 50));
            ComboMenu.Add("Esafe", new Slider("Şu kadar düşmanın arasına atlama E ile", 3, 1, 6));
            ComboMenu.AddSeparator(0);
            ComboMenu.AddGroupLabel("R Ayarları");
            ComboMenu.Add("R", new CheckBox("Kullan R"));
            ComboMenu.Add("Rkill", new CheckBox("R Bitirici"));
            ComboMenu.Add("insec", new CheckBox("İnsec kombosunda kullanmaya çalış"));
            ComboMenu.Add("Raoe", new Slider("R AoE Çarpacağı düşman sayısı", 3, 1, 6));
            ComboMenu.Add("Rsave", new CheckBox("R yi Sakla güvenliğim için"));
            ComboMenu.Add("RHP", new Slider("Hedefi itmek için benim kalan canım [{0}%]", 35));

            HarassMenu.AddGroupLabel("Dürtme Ayarları");
            HarassMenu.Add("key", new KeyBind("Dürtme tuşu", false, KeyBind.BindTypes.HoldActive, 'C'));
            HarassMenu.Add("toggle", new KeyBind("Otomatik dürtme", false, KeyBind.BindTypes.PressToggle, 'H'));
            HarassMenu.AddSeparator(0);
            HarassMenu.AddGroupLabel("Q Ayarları");
            HarassMenu.Add("Q", new CheckBox("Kullan Q"));
            HarassMenu.Add("WQ", new CheckBox("Kullan W > Q"));
            HarassMenu.Add("QS", new Slider("Askerler Q kullansın", 1, 1, 3));
            HarassMenu.Add("Qmana", new Slider("Q kullanması için gereken manam < [{0}%]", 65));
            HarassMenu.AddSeparator(0);
            HarassMenu.AddGroupLabel("W Ayarları");
            HarassMenu.Add("W", new CheckBox("Kullan W"));
            HarassMenu.Add("Wsave", new CheckBox("1 yük sakla"));
            HarassMenu.Add("WS", new Slider("Asker çıkarma limitleyici", 3, 1, 3));
            HarassMenu.Add("Wmana", new Slider("W kullanmayı durdur şu kadar mana varsa < [{0}%]", 65));
            HarassMenu.AddSeparator(0);
            HarassMenu.AddGroupLabel("E Ayarları");
            HarassMenu.Add("E", new CheckBox("Kullan E"));
            HarassMenu.Add("Edive", new CheckBox("E ile Kuleye dal", false));
            HarassMenu.Add("EHP", new Slider("Sadece benim canım şu kadar veya fazlaysa [{0}%]", 50));
            HarassMenu.Add("Esafe", new Slider("Şu kadar düşman arasına E KUllanma", 3, 1, 6));
            HarassMenu.Add("Emana", new Slider("E kullanmak için manam şundan çok [{0}%]", 65));

            LaneClearMenu.AddGroupLabel("Lanetemizleme Ayarları");
            LaneClearMenu.Add("key", new KeyBind("Lanetemizleme Tuşu", false, KeyBind.BindTypes.HoldActive, 'V'));
            LaneClearMenu.Add("Q", new CheckBox("Kullan Q"));
            LaneClearMenu.Add("Qmana", new Slider("Q kullanmayı durdur manam şundan azsa < [{0}%]", 65));
            LaneClearMenu.Add("W", new CheckBox("Kullan W"));
            LaneClearMenu.Add("Wsave", new CheckBox("1 yük sakla"));
            LaneClearMenu.Add("Wmana", new Slider("W için gereken manam  [{0}%]", 65));

            JungleClearMenu.AddGroupLabel("Ormantemizleme Kullan");
            JungleClearMenu.Add("key", new KeyBind("Ormantemizleme Tuşu", false, KeyBind.BindTypes.HoldActive, 'V'));
            JungleClearMenu.Add("Q", new CheckBox("Kullan Q"));
            JungleClearMenu.Add("Qmana", new Slider("Q kullanmak için gerekli mana  [{0}%]", 65));
            JungleClearMenu.Add("W", new CheckBox("Kullan W"));
            JungleClearMenu.Add("Wsave", new CheckBox("1 yük sakla"));
            JungleClearMenu.Add("Wmana", new Slider("W kullanmak için en az mana < [{0}%]", 65));

            KillstealMenu.AddGroupLabel("Killçalma ayarları");
            KillstealMenu.Add("Q", new CheckBox("Kullan Q"));
            KillstealMenu.Add("E", new CheckBox("Kullan E"));
            KillstealMenu.Add("R", new CheckBox("Kullan R"));

            foreach (var spell in Azir.SpellList)
            {
                DrawMenu.Add(spell.Slot.ToString(), new CheckBox(spell.Slot + " Range"));
                ColorMenu.Add(spell.Slot.ToString(), new ColorPicker(spell.Slot + " Color", System.Drawing.Color.Chartreuse));
            }

            DrawMenu.Add("insec", new CheckBox("Insec yardımcısını göster"));
        }
Exemplo n.º 3
0
        public static void Execute()
        {
            Menuini         = MainMenu.AddMenu("Kapp沙皇", "KappAzir");
            Auto            = Menuini.AddSubMenu("自动");
            JumperMenu      = Menuini.AddSubMenu("漂移");
            ComboMenu       = Menuini.AddSubMenu("连招");
            HarassMenu      = Menuini.AddSubMenu("骚扰");
            LaneClearMenu   = Menuini.AddSubMenu("清线");
            JungleClearMenu = Menuini.AddSubMenu("清野");
            KillstealMenu   = Menuini.AddSubMenu("抢头");
            DrawMenu        = Menuini.AddSubMenu("线圈");
            ColorMenu       = Menuini.AddSubMenu("颜色");

            Auto.AddGroupLabel("设置");
            Auto.Add("gap", new CheckBox("防突进"));
            Auto.Add("int", new CheckBox("技能打断"));
            Auto.Add("danger", new ComboBox("技能危险等级打断", 1, "高", "中", "低"));
            Auto.AddGroupLabel("防御塔设置");
            Auto.Add("tower", new CheckBox("召唤防御塔"));
            Auto.Add("Tenemy", new Slider("召唤防御塔当有 [{0}] 敌人", 3, 1, 6));
            Auto.AddGroupLabel("自动防突进技能");
            foreach (var spell in
                     from spell in Gapcloser.GapCloserList
                     from enemy in EntityManager.Heroes.Enemies.Where(enemy => spell.ChampName == enemy.ChampionName)
                     select spell)
            {
                Auto.Add(spell.SpellName, new CheckBox(spell.ChampName + " " + spell.SpellSlot));
            }

            if (EntityManager.Heroes.Enemies.Any(e => e.Hero == Champion.Rengar))
            {
                Auto.Add("rengar", new CheckBox("狮子狗跳跃"));
            }

            JumperMenu.Add("jump", new KeyBind("WEQ 逃跑按键", false, KeyBind.BindTypes.HoldActive, 'A'));
            JumperMenu.Add("normal", new KeyBind("正常漂移推按键", false, KeyBind.BindTypes.HoldActive, 'S'));
            JumperMenu.Add("new", new KeyBind("新漂移推", false, KeyBind.BindTypes.HoldActive, 'Z'));
            JumperMenu.Add("flash", new CheckBox("尝试使用闪现进行大范围伤害"));
            JumperMenu.Add("delay", new Slider("延迟 EQ", 200, 0, 500));
            JumperMenu.Add("range", new Slider("检查士兵距离", 800, 0, 1000));

            ComboMenu.AddGroupLabel("连招设置");
            ComboMenu.Add("key", new KeyBind("连招按键", false, KeyBind.BindTypes.HoldActive, 32));
            ComboMenu.AddSeparator(0);
            ComboMenu.AddGroupLabel("Q 设置");
            ComboMenu.Add("Q", new CheckBox("使用 Q"));
            ComboMenu.Add("WQ", new CheckBox("使用 W > Q"));
            ComboMenu.Add("Qaoe", new CheckBox("使用 Q 范围伤害", false));
            ComboMenu.Add("QS", new Slider("士兵数量使用Q", 1, 1, 3));
            ComboMenu.AddSeparator(0);
            ComboMenu.AddGroupLabel("W 设置");
            ComboMenu.Add("W", new CheckBox("使用 W"));
            ComboMenu.Add("Wsave", new CheckBox("保留 1 个 W 层数", false));
            ComboMenu.Add("WS", new Slider("限制召唤几名士兵", 3, 1, 3));
            ComboMenu.AddSeparator(0);
            ComboMenu.AddGroupLabel("E 设置");
            ComboMenu.Add("E", new CheckBox("使用 E"));
            ComboMenu.Add("Ekill", new CheckBox("E 只用于可击杀敌人"));
            ComboMenu.Add("Edive", new CheckBox("E 越塔", false));
            ComboMenu.Add("EHP", new Slider("只使用 E 当我的血量高于 [{0}%]", 50));
            ComboMenu.Add("Esafe", new Slider("不 E 进 [{0}] 个敌人", 3, 1, 6));
            ComboMenu.AddSeparator(0);
            ComboMenu.AddGroupLabel("R 设置");
            ComboMenu.Add("R", new CheckBox("使用 R"));
            ComboMenu.Add("Rkill", new CheckBox("R 尾头"));
            ComboMenu.Add("insec", new CheckBox("连招尝试进行漂移推"));
            ComboMenu.Add("Raoe", new Slider("R 范围伤害 [{0}] 名敌人", 3, 1, 6));
            ComboMenu.Add("Rsave", new CheckBox("R 自救"));
            ComboMenu.Add("RHP", new Slider("推开敌人当我的血量低于 [{0}%]", 35));

            HarassMenu.AddGroupLabel("骚扰设置");
            HarassMenu.Add("key", new KeyBind("骚扰按键", false, KeyBind.BindTypes.HoldActive, 'C'));
            HarassMenu.Add("toggle", new KeyBind("自动骚扰开关按键", false, KeyBind.BindTypes.PressToggle, 'H'));
            HarassMenu.AddSeparator(0);
            HarassMenu.AddGroupLabel("Q 设置");
            HarassMenu.Add("Q", new CheckBox("使用 Q"));
            HarassMenu.Add("WQ", new CheckBox("使用 W > Q"));
            HarassMenu.Add("QS", new Slider("士兵数量使用Q", 1, 1, 3));
            HarassMenu.Add("Qmana", new Slider("蓝量Q限制 < [{0}%]", 65));
            HarassMenu.AddSeparator(0);
            HarassMenu.AddGroupLabel("W 设置");
            HarassMenu.Add("W", new CheckBox("使用 W"));
            HarassMenu.Add("Wsave", new CheckBox("保留 1 个 W 层数"));
            HarassMenu.Add("WS", new Slider("限制召唤几名士兵", 3, 1, 3));
            HarassMenu.Add("Wmana", new Slider("蓝量W限制 < [{0}%]", 65));
            HarassMenu.AddSeparator(0);
            HarassMenu.AddGroupLabel("E 设置");
            HarassMenu.Add("E", new CheckBox("使用 E"));
            HarassMenu.Add("Edive", new CheckBox("E Dive Turrets", false));
            HarassMenu.Add("EHP", new Slider("只使用 E 当我的血量高于 [{0}%]", 50));
            HarassMenu.Add("Esafe", new Slider("不 E 进 [{0}] 个敌人", 3, 1, 6));
            HarassMenu.Add("Emana", new Slider("蓝量E限制 < [{0}%]", 65));

            LaneClearMenu.AddGroupLabel("清线设置");
            LaneClearMenu.Add("key", new KeyBind("清线按键", false, KeyBind.BindTypes.HoldActive, 'V'));
            LaneClearMenu.Add("Q", new CheckBox("使用 Q"));
            LaneClearMenu.Add("Qmana", new Slider("蓝量Q限制 < [{0}%]", 65));
            LaneClearMenu.Add("W", new CheckBox("使用 W"));
            LaneClearMenu.Add("Wsave", new CheckBox("保留 1 个 W 层数"));
            LaneClearMenu.Add("Wmana", new Slider("蓝量W限制 < [{0}%]", 65));

            JungleClearMenu.AddGroupLabel("清野设置");
            JungleClearMenu.Add("key", new KeyBind("清野按键", false, KeyBind.BindTypes.HoldActive, 'V'));
            JungleClearMenu.Add("Q", new CheckBox("使用 Q"));
            JungleClearMenu.Add("Qmana", new Slider("蓝量Q限制 < [{0}%]", 65));
            JungleClearMenu.Add("W", new CheckBox("使用 W"));
            JungleClearMenu.Add("Wsave", new CheckBox("保留 1 个 W 层数"));
            JungleClearMenu.Add("Wmana", new Slider("蓝量W限制 < [{0}%]", 65));

            KillstealMenu.AddGroupLabel("抢头设置");
            KillstealMenu.Add("Q", new CheckBox("使用 Q"));
            KillstealMenu.Add("E", new CheckBox("使用 E"));
            KillstealMenu.Add("R", new CheckBox("使用 R"));

            foreach (var spell in Azir.SpellList)
            {
                DrawMenu.Add(spell.Slot.ToString(), new CheckBox(spell.Slot + " Range"));
                ColorMenu.Add(spell.Slot.ToString(), new ColorPicker(spell.Slot + " Color", System.Drawing.Color.Chartreuse));
            }

            DrawMenu.Add("insec", new CheckBox("显示漂移推助手"));
        }
Exemplo n.º 4
0
        public static void Execute()
        {
            Menuini         = MainMenu.AddMenu("KappAzir", "KappAzir");
            Auto            = Menuini.AddSubMenu("Auto Settings");
            JumperMenu      = Menuini.AddSubMenu("Jumper Settings");
            ComboMenu       = Menuini.AddSubMenu("Combo Settings");
            HarassMenu      = Menuini.AddSubMenu("Harass Settings");
            LaneClearMenu   = Menuini.AddSubMenu("LaneClear Settings");
            JungleClearMenu = Menuini.AddSubMenu("JungleClear Settings");
            KillstealMenu   = Menuini.AddSubMenu("KillSteal Settings");
            DrawMenu        = Menuini.AddSubMenu("Drawings Settings");
            ColorMenu       = Menuini.AddSubMenu("ColorPicker");

            Auto.AddGroupLabel("Settings");
            Auto.Add("gap", new CheckBox("Anti-GapCloser"));
            Auto.Add("int", new CheckBox("Interrupter"));
            Auto.Add("danger", new ComboBox("Interrupter DangerLevel", 1, "High", "Medium", "Low"));
            Auto.AddGroupLabel("Turret Settings");
            Auto.Add("tower", new CheckBox("Create Turrets"));
            Auto.Add("Tenemy", new Slider("Create Turret If [{0}] Enemies Near", 3, 1, 6));
            Auto.AddGroupLabel("Anti GapCloser Spells");
            foreach (var spell in
                     from spell in Gapcloser.GapCloserList
                     from enemy in EntityManager.Heroes.Enemies.Where(enemy => spell.ChampName == enemy.ChampionName)
                     select spell)
            {
                Auto.Add(spell.SpellName, new CheckBox(spell.ChampName + " " + spell.SpellSlot));
            }

            if (EntityManager.Heroes.Enemies.Any(e => e.Hero == Champion.Rengar))
            {
                Auto.Add("rengar", new CheckBox("Rengar Leap"));
            }

            JumperMenu.Add("jump", new KeyBind("WEQ Flee Key", false, KeyBind.BindTypes.HoldActive, 'A'));
            JumperMenu.Add("normal", new KeyBind("Normal Insec Key", false, KeyBind.BindTypes.HoldActive, 'S'));
            JumperMenu.Add("new", new KeyBind("New Insec Key", false, KeyBind.BindTypes.HoldActive, 'Z'));
            JumperMenu.Add("flash", new CheckBox("Use Flash for Possible AoE"));
            JumperMenu.Add("delay", new Slider("Delay EQ", 200, 0, 500));
            JumperMenu.Add("range", new Slider("Check for soldiers Range", 800, 0, 1000));

            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("key", new KeyBind("Combo Key", false, KeyBind.BindTypes.HoldActive, 32));
            ComboMenu.AddSeparator(0);
            ComboMenu.AddGroupLabel("Q Settings");
            ComboMenu.Add("Q", new CheckBox("Use Q"));
            ComboMenu.Add("WQ", new CheckBox("Use W > Q"));
            ComboMenu.Add("Qaoe", new CheckBox("Use Q Aoe", false));
            ComboMenu.Add("QS", new Slider("Soldiers To Use Q", 1, 1, 3));
            ComboMenu.AddSeparator(0);
            ComboMenu.AddGroupLabel("W Settings");
            ComboMenu.Add("W", new CheckBox("Use W"));
            ComboMenu.Add("Wsave", new CheckBox("Save 1 W Stack", false));
            ComboMenu.Add("WS", new Slider("Soldier Limit To Create", 3, 1, 3));
            ComboMenu.AddSeparator(0);
            ComboMenu.AddGroupLabel("E Settings");
            ComboMenu.Add("E", new CheckBox("Use E"));
            ComboMenu.Add("Ekill", new CheckBox("E Killable Enemy Only"));
            ComboMenu.Add("Edive", new CheckBox("E Dive Turrets", false));
            ComboMenu.Add("EHP", new Slider("Only E if my HP is more than [{0}%]", 50));
            ComboMenu.Add("Esafe", new Slider("Dont E Into [{0}] Enemies", 3, 1, 6));
            ComboMenu.AddSeparator(0);
            ComboMenu.AddGroupLabel("R Settings");
            ComboMenu.Add("R", new CheckBox("Use R"));
            ComboMenu.Add("Rkill", new CheckBox("R Finisher"));
            ComboMenu.Add("insec", new CheckBox("Try to insec in Combo"));
            ComboMenu.Add("Raoe", new Slider("R AoE Hit [{0}] Enemies", 3, 1, 6));
            ComboMenu.Add("Rsave", new CheckBox("R Save Self"));
            ComboMenu.Add("RHP", new Slider("Push Enemy If my health is less than [{0}%]", 35));

            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("key", new KeyBind("Harass Key", false, KeyBind.BindTypes.HoldActive, 'C'));
            HarassMenu.Add("toggle", new KeyBind("Auto Harass Key", false, KeyBind.BindTypes.PressToggle, 'H'));
            HarassMenu.AddSeparator(0);
            HarassMenu.AddGroupLabel("Q Settings");
            HarassMenu.Add("Q", new CheckBox("Use Q"));
            HarassMenu.Add("WQ", new CheckBox("Use W > Q"));
            HarassMenu.Add("QS", new Slider("Soldiers To Use Q", 1, 1, 3));
            HarassMenu.Add("Qmana", new Slider("Stop using Q if Mana < [{0}%]", 65));
            HarassMenu.AddSeparator(0);
            HarassMenu.AddGroupLabel("W Settings");
            HarassMenu.Add("W", new CheckBox("Use W"));
            HarassMenu.Add("Wsave", new CheckBox("Save 1 W Stack"));
            HarassMenu.Add("WS", new Slider("Soldier Limit To Create", 3, 1, 3));
            HarassMenu.Add("Wmana", new Slider("Stop using W if Mana < [{0}%]", 65));
            HarassMenu.AddSeparator(0);
            HarassMenu.AddGroupLabel("E Settings");
            HarassMenu.Add("E", new CheckBox("Use E"));
            HarassMenu.Add("Edive", new CheckBox("E Dive Turrets", false));
            HarassMenu.Add("EHP", new Slider("Only E if my HP is more than [{0}%]", 50));
            HarassMenu.Add("Esafe", new Slider("Dont E Into [{0}] Enemies", 3, 1, 6));
            HarassMenu.Add("Emana", new Slider("Stop using E if Mana < [{0}%]", 65));

            LaneClearMenu.AddGroupLabel("LaneClear Settings");
            LaneClearMenu.Add("key", new KeyBind("LaneClear Key", false, KeyBind.BindTypes.HoldActive, 'V'));
            LaneClearMenu.Add("Q", new CheckBox("Use Q"));
            LaneClearMenu.Add("Qmana", new Slider("Stop using Q if Mana < [{0}%]", 65));
            LaneClearMenu.Add("W", new CheckBox("Use W"));
            LaneClearMenu.Add("Wsave", new CheckBox("Save 1 W Stack"));
            LaneClearMenu.Add("Wmana", new Slider("Stop using W if Mana < [{0}%]", 65));

            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("key", new KeyBind("JungleClear Key", false, KeyBind.BindTypes.HoldActive, 'V'));
            JungleClearMenu.Add("Q", new CheckBox("Use Q"));
            JungleClearMenu.Add("Qmana", new Slider("Stop using Q if Mana < [{0}%]", 65));
            JungleClearMenu.Add("W", new CheckBox("Use W"));
            JungleClearMenu.Add("Wsave", new CheckBox("Save 1 W Stack"));
            JungleClearMenu.Add("Wmana", new Slider("Stop using W if Mana < [{0}%]", 65));

            KillstealMenu.AddGroupLabel("KillSteal Settings");
            KillstealMenu.Add("Q", new CheckBox("Use Q"));
            KillstealMenu.Add("E", new CheckBox("Use E"));
            KillstealMenu.Add("R", new CheckBox("Use R"));

            foreach (var spell in Azir.SpellList)
            {
                DrawMenu.Add(spell.Slot.ToString(), new CheckBox(spell.Slot + " Range"));
                ColorMenu.Add(spell.Slot.ToString(), new ColorPicker(spell.Slot + " Color", System.Drawing.Color.Chartreuse));
            }

            DrawMenu.Add("insec", new CheckBox("Draw Insec Helpers"));
        }