コード例 #1
0
        static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Syndra")
            {
                return;
            }
            Config = MainMenu.AddMenu("ParaSyndra", "parasyndra");
            Config.AddGroupLabel("ParaSyndra [1.0.1.4] Turkce Ceviri TekinTR");
            Auto = Config.AddSubMenu("Otomatik");
            Auto.AddGroupLabel("Uzerinde Ulti kullan:");
            foreach (var enemy in EntityManager.Heroes.Enemies)
            {
                Timers.Add(enemy.NetworkId, new Timer(0f, 0f, enemy.Path));
                Auto.Add(enemy.ChampionName, new CheckBox(enemy.ChampionName));
            }
            Auto.AddSeparator();
            Auto.AddGroupLabel("Otomatik Durtme:");
            Auto.Add("autoq", new CheckBox("Otomatik Q"));
            Auto.Add("automana", new Slider("Otomatik Q - Gereken enaz mana", 50));
            Auto.Add("autoei", new CheckBox("Otomatik QE - Dusman Q menzilinde ise", false));
            Auto.Add("autoeo", new CheckBox("Otomatik QE - Dusman Q menzilinin disinda ise", false));
            AASettings = Config.AddSubMenu("Saldiri");
            AASettings.Add("readyaa", new CheckBox("Hazir olan buyuleri kontrol etmeyi kapat"));
            AASettings.Add("disaa", new Slider("Seviyeyi arttirmayi kapat", 11, 1, 18));
            AASettings.Add("minaa", new Slider("AA ile olucekse oldurme aktif x aa sayisi", 3, 1, 6));
            Obj_AI_Base.OnNewPath     += Obj_AI_Base_OnNewPath;
            Obj_AI_Base.OnBasicAttack += Obj_AI_Base_OnBasicAttack;
            GameObject.OnCreate       += GameObject_OnCreate;
            GameObject.OnDelete       += GameObject_OnDelete;
            Game.OnUpdate             += Game_OnUpdate;

            Auto["autoq"].Cast <CheckBox>().OnValueChange         += AutoQ;
            Auto["autoei"].Cast <CheckBox>().OnValueChange        += AutoEI;
            Auto["autoeo"].Cast <CheckBox>().OnValueChange        += AutoEO;
            Auto["automana"].Cast <Slider>().OnValueChange        += AutoMana;
            AASettings["disaa"].Cast <Slider>().OnValueChange     += DisAA;
            AASettings["readyaa"].Cast <CheckBox>().OnValueChange += ReadyAA;
            AASettings["minaa"].Cast <Slider>().OnValueChange     += MinAA;

            automana = Auto["automana"].Cast <Slider>().CurrentValue;
            disaa    = AASettings["disaa"].Cast <Slider>().CurrentValue;
            minaa    = AASettings["minaa"].Cast <Slider>().CurrentValue;
            autoei   = Auto["autoei"].Cast <CheckBox>().CurrentValue;
            autoeo   = Auto["autoeo"].Cast <CheckBox>().CurrentValue;
            autoq    = Auto["autoq"].Cast <CheckBox>().CurrentValue;
            readyaa  = AASettings["readyaa"].Cast <CheckBox>().CurrentValue;
        }
コード例 #2
0
        static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Syndra")
            {
                return;
            }
            Config = MainMenu.AddMenu("ParaSyndra", "parasyndra");
            Config.AddGroupLabel("ParaSyndra [1.0.1.4]");
            Auto = Config.AddSubMenu("Automatic");
            Auto.AddGroupLabel("Ulti ON:");
            foreach (var enemy in EntityManager.Heroes.Enemies)
            {
                Timers.Add(enemy.NetworkId, new Timer(0f, 0f, enemy.Path));
                Auto.Add(enemy.ChampionName, new CheckBox(enemy.ChampionName));
            }
            Auto.AddSeparator();
            Auto.AddGroupLabel("AUTO Harras:");
            Auto.Add("autoq", new CheckBox("Auto Q"));
            Auto.Add("automana", new Slider("Auto Q - Minimum Mana Percent", 50));
            Auto.Add("autoei", new CheckBox("Auto QE - Enemy In Q Range", false));
            Auto.Add("autoeo", new CheckBox("Auto QE - Enemy Out Of Q Range", false));
            AASettings = Config.AddSubMenu("Attack");
            AASettings.Add("readyaa", new CheckBox("Disable if spells ready"));
            AASettings.Add("disaa", new Slider("Disable at level", 11, 1, 18));
            AASettings.Add("minaa", new Slider("Enable if killable with x aa", 3, 1, 6));
            Obj_AI_Base.OnNewPath     += Obj_AI_Base_OnNewPath;
            Obj_AI_Base.OnBasicAttack += Obj_AI_Base_OnBasicAttack;
            GameObject.OnCreate       += GameObject_OnCreate;
            GameObject.OnDelete       += GameObject_OnDelete;
            Game.OnUpdate             += Game_OnUpdate;

            Auto["autoq"].Cast <CheckBox>().OnValueChange         += AutoQ;
            Auto["autoei"].Cast <CheckBox>().OnValueChange        += AutoEI;
            Auto["autoeo"].Cast <CheckBox>().OnValueChange        += AutoEO;
            Auto["automana"].Cast <Slider>().OnValueChange        += AutoMana;
            AASettings["disaa"].Cast <Slider>().OnValueChange     += DisAA;
            AASettings["readyaa"].Cast <CheckBox>().OnValueChange += ReadyAA;
            AASettings["minaa"].Cast <Slider>().OnValueChange     += MinAA;

            automana = Auto["automana"].Cast <Slider>().CurrentValue;
            disaa    = AASettings["disaa"].Cast <Slider>().CurrentValue;
            minaa    = AASettings["minaa"].Cast <Slider>().CurrentValue;
            autoei   = Auto["autoei"].Cast <CheckBox>().CurrentValue;
            autoeo   = Auto["autoeo"].Cast <CheckBox>().CurrentValue;
            autoq    = Auto["autoq"].Cast <CheckBox>().CurrentValue;
            readyaa  = AASettings["readyaa"].Cast <CheckBox>().CurrentValue;
        }
コード例 #3
0
ファイル: Ezreal.cs プロジェクト: MBalack/Balles
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Ezreal"))
            {
                return;
            }
            Chat.Print("Doctor's Ezreal Loaded!", Color.Orange);
            Q = new Spell.Skillshot(SpellSlot.Q, 1150, SkillShotType.Linear, 250, 2000, 60);
            W = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Linear, 250, 1550, 80);
            W.AllowedCollisionCount = int.MaxValue;
            E = new Spell.Skillshot(SpellSlot.E, 475, SkillShotType.Linear, 250, 2000, 100);
            R = new Spell.Skillshot(SpellSlot.R, 5000, SkillShotType.Linear, 1000, 2000, 160);
            R.AllowedCollisionCount = int.MaxValue;
            Botrk = new Item(ItemId.Blade_of_the_Ruined_King);
            Bil   = new Item(3144, 475f);
            Thm   = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 32, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Thn = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 15, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Ignite    = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            Menu      = MainMenu.AddMenu("Doctor's Ezreal", "Ezreal");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q] Combo"));
            ComboMenu.Add("comboMode", new ComboBox("Q Mode:", 0, "Fast [Q]", "[Q] After AA"));
            ComboMenu.Add("ComboW", new CheckBox("Use [W] Combo"));
            ComboMenu.Add("WMode", new ComboBox("W Mode:", 0, "Fast [W]", "[W] After AA"));
            ComboMenu.AddGroupLabel("Ultimate Settings");
            ComboMenu.Add("ComboR", new CheckBox("Use [R] AoE"));
            ComboMenu.Add("MinR", new Slider("Use [R] AoE if hit x Enemies", 2, 1, 5));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass"));
            HarassMenu.Add("ManaQ", new Slider("Mana Harass [Q]", 40));
            HarassMenu.AddSeparator();
            HarassMenu.Add("HarassW", new CheckBox("Use [W] Harass", false));
            HarassMenu.Add("ManaW", new Slider("Mana Harass [W]", 40));
            HarassMenu.AddSeparator();
            HarassMenu.AddGroupLabel("Harass On");
            foreach (var target in EntityManager.Heroes.Enemies)
            {
                HarassMenu.Add("haras" + target.ChampionName, new CheckBox("" + target.ChampionName));
            }

            Auto = Menu.AddSubMenu("Auto Harass Settings", "Auto Harass");
            Auto.AddGroupLabel("Auto Harass Settings");
            Auto.Add("Key", new KeyBind("Auto Harass", false, KeyBind.BindTypes.PressToggle, 'T'));
            Auto.Add("AutoQ", new CheckBox("Use [Q]"));
            Auto.Add("AutomanaQ", new Slider("Min Mana Auto [Q]", 60));
            Auto.AddSeparator();
            Auto.Add("AutoW", new CheckBox("Use [W]", false));
            Auto.Add("AutomanaW", new Slider("Min Mana Auto [W]", 60));
            Auto.AddSeparator();
            Auto.AddGroupLabel("Auto Harass On");
            foreach (var target in EntityManager.Heroes.Enemies)
            {
                Auto.Add("harass" + target.ChampionName, new CheckBox("" + target.ChampionName));
            }

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("LastHit Settings");
            LaneClearMenu.Add("QLH", new CheckBox("Use [Q] LastHit"));
            LaneClearMenu.Add("LHMode", new ComboBox("LastHit Mode:", 0, "Always [Q]", "[Q] If Orb Cant Killable"));
            LaneClearMenu.Add("LhMana", new Slider("Mana Lasthit", 50));
            LaneClearMenu.AddSeparator();
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.Add("QLC", new CheckBox("Use [Q] LaneClear"));
            LaneClearMenu.Add("LCMode", new ComboBox("LaneClear Mode:", 0, "Always [Q]", "[Q] If Orb Cant Killable"));
            LaneClearMenu.Add("ManaLC", new Slider("Mana LaneClear", 50));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("QJungle", new CheckBox("Use [Q] JungleClear"));
            JungleClearMenu.Add("MnJungle", new Slider("Mana JungleClear", 20));

            Misc = Menu.AddSubMenu("Misc Settings", "Misc");
            Misc.AddGroupLabel("AntiGap Settings");
            Misc.Add("AntiGap", new CheckBox("Use [E] AntiGapcloser", false));
            Misc.AddGroupLabel("Ultimate On CC Settings");
            Misc.Add("Rstun", new CheckBox("Use [R] Enemies Immobile"));
            Misc.AddGroupLabel("Auto Stacks Settings");
            Misc.Add("Stack", new CheckBox("Auto Stacks In Shop"));
            Misc.Add("Stackk", new CheckBox("Auto Stacks If Enemies Around = 0", false));
            Misc.Add("Stackkm", new Slider("Min Mana Auto Stack", 80));

            Items = Menu.AddSubMenu("Items Settings", "Items");
            Items.AddGroupLabel("Items Settings");
            Items.Add("BOTRK", new CheckBox("Use [Botrk]"));
            Items.Add("ihp", new Slider("My HP Use BOTRK <=", 50));
            Items.Add("ihpp", new Slider("Enemy HP Use BOTRK <=", 50));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal"));
            KillStealMenu.Add("KsW", new CheckBox("Use [W] KillSteal"));
            KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal"));
            KillStealMenu.AddSeparator();
            KillStealMenu.AddGroupLabel("Ultimate Settings");
            KillStealMenu.Add("KsR", new CheckBox("Use [R] KillSteal"));
            KillStealMenu.Add("RKb", new KeyBind("[R] KillSteal Semi Manual Key", false, KeyBind.BindTypes.HoldActive, 'R'));

            Drawings = Menu.AddSubMenu("Draw Settings", "Draw");
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("DrawQ", new CheckBox("[Q] Range"));
            Drawings.Add("DrawW", new CheckBox("[W] Range", false));
            Drawings.Add("DrawE", new CheckBox("[E] Range", false));
            Drawings.Add("Notifications", new CheckBox("Alerter Can Killable [R]"));
            Drawings.Add("DrawAT", new CheckBox("Draw Auto Harass"));

            Drawing.OnDraw               += Drawing_OnDraw;
            Game.OnUpdate                += Game_OnUpdate;
            Gapcloser.OnGapcloser        += Gapcloser_OnGapcloser;
            Orbwalker.OnUnkillableMinion += Orbwalker_CantLasthit;
            Orbwalker.OnPostAttack       += ResetAttack;
        }
コード例 #4
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("显示漂移推助手"));
        }
コード例 #5
0
        private static void Loading_OnLoadingComplete1(EventArgs args)
        {
            if (Player.Instance.Hero != Champion.Brand)
            {
                return;
            }

            MenuIni     = MainMenu.AddMenu("Brand", "Brand");
            TS          = MenuIni.AddSubMenu("TargetSelector");
            Auto        = MenuIni.AddSubMenu("Auto");
            Combo       = MenuIni.AddSubMenu("Combo");
            Harass      = MenuIni.AddSubMenu("Harass");
            LaneClear   = MenuIni.AddSubMenu("LaneClear");
            JungleClear = MenuIni.AddSubMenu("JungleClear");
            KillSteal   = MenuIni.AddSubMenu("KillSteal");
            DrawMenu    = MenuIni.AddSubMenu("Drawings");

            TS.AddGroupLabel("Target Selector");
            tsmode  = TS.Add("tsmode", new ComboBox("TargetSelector", 0, "Custom TargetSelector", "Core TargetSelector"));
            tselect = TS.Add("select", new ComboBox("Focus Mode", 0, "Most Passive Stacks", "Less Cast Target", "Near Mouse"));
            if (tsmode.CurrentValue == 1)
            {
                tselect.IsVisible = false;
            }
            tsmode.OnValueChange += delegate { tselect.hide(tsmode); };

            Auto.AddGroupLabel("Auto Settings");
            Auto.Add("AutoR", new Slider("Auto R AoE hit [{0}] Targets or more", 2, 1, 6));
            Auto.Add("Gap", new CheckBox("Anti GapCloser"));
            Auto.Add("Int", new CheckBox("Auto Interrupter"));
            Auto.Add("Danger", new ComboBox("Interrupter Danger Level", 1, "High", "Medium", "Low"));
            Auto.AddSeparator(0);
            Auto.AddGroupLabel("Auto Hit Passive");
            Auto.Add("AutoQ", new CheckBox("Auto Q Dotnate Passive"));
            Auto.Add("AutoW", new CheckBox("Auto W Dotnate Passive", false));
            Auto.Add("AutoE", new CheckBox("Auto E Dotnate Passive"));
            Auto.AddSeparator(0);
            Auto.AddGroupLabel("Anti GapCloser - Spells");
            foreach (var enemy in EntityManager.Heroes.Enemies)
            {
                foreach (var gapspell in Gapcloser.GapCloserList.Where(e => e.ChampName == enemy.ChampionName))
                {
                    Auto.AddLabel(gapspell.ChampName);
                    Auto.Add(gapspell.SpellName, new CheckBox(gapspell.SpellName + " - " + gapspell.SpellSlot));
                }
            }

            Combo.AddGroupLabel("Combo Settings");
            Combo.Add("Q", new CheckBox("Use Q"));
            Combo.AddLabel("Extra Q Settings");
            Combo.Add("Qp", new CheckBox("Q Only for stun"));
            Combo.Add(Q.Slot + "Mana", new Slider("Use Q if Mana% is more than [{0}%]", 10));
            Combo.AddSeparator(1);

            Combo.Add("W", new CheckBox("Use W"));
            Combo.AddLabel("Extra W Settings");
            Combo.Add("Wp", new CheckBox("W Only if target has brand passive", false));
            Combo.Add(W.Slot + "Mana", new Slider("Use W if Mana% is more than [{0}%]", 5));
            Combo.AddSeparator(1);

            Combo.Add("E", new CheckBox("Use E"));
            Combo.AddLabel("Extra E Settings");
            Combo.Add("Ep", new CheckBox("E Only if target has brand passive", false));
            Combo.Add(E.Slot + "Mana", new Slider("Use E if Mana% is more than [{0}%]", 15));
            Combo.AddSeparator(1);

            Combo.Add("RFinisher", new CheckBox("Use R Finisher"));
            Combo.Add("RAoe", new CheckBox("Use R Aoe"));
            Combo.Add("Rhit", new Slider("R AoE hit [{0}] Targets or more", 2, 1, 6));
            Combo.Add(R.Slot + "Mana", new Slider("Use R if Mana% is more than [{0}%]"));

            Harass.AddGroupLabel("Harass");
            Harass.Add("Q", new CheckBox("Use Q"));
            Harass.Add(Q.Slot + "Mana", new Slider("Use Q if Mana% is more than [{0}%]", 65));
            Harass.AddSeparator(1);

            Harass.Add("W", new CheckBox("Use W"));
            Harass.Add(W.Slot + "Mana", new Slider("Use W if Mana% is more than [{0}%]", 65));
            Harass.AddSeparator(1);

            Harass.Add("E", new CheckBox("Use E"));
            Harass.Add(E.Slot + "Mana", new Slider("Use E if Mana% is more than [{0}%]", 65));

            LaneClear.AddGroupLabel("LaneClear");
            LaneClear.Add("Q", new CheckBox("Use Q"));
            LaneClear.Add(Q.Slot + "Mana", new Slider("Use Q if Mana% is more than [{0}%]", 65));
            LaneClear.AddSeparator(1);
            LaneClear.Add("W", new CheckBox("Use W"));
            LaneClear.Add(W.Slot + "Mana", new Slider("Use W if Mana% is more than [{0}%]", 65));
            LaneClear.AddSeparator(1);
            LaneClear.Add("E", new CheckBox("Use E"));
            LaneClear.Add(E.Slot + "Mana", new Slider("Use E if Mana% is more than [{0}%]", 65));

            JungleClear.AddGroupLabel("JungleClear");
            JungleClear.Add("Q", new CheckBox("Use Q"));
            JungleClear.Add(Q.Slot + "Mana", new Slider("Use Q if Mana% is more than [{0}%]", 65));
            JungleClear.AddSeparator(1);
            JungleClear.Add("W", new CheckBox("Use W"));
            JungleClear.Add(W.Slot + "Mana", new Slider("Use W if Mana% is more than [{0}%]", 65));
            JungleClear.AddSeparator(1);
            JungleClear.Add("E", new CheckBox("Use E"));
            JungleClear.Add(E.Slot + "Mana", new Slider("Use E if Mana% is more than [{0}%]", 65));

            KillSteal.AddGroupLabel("KillSteal");
            KillSteal.Add("Q", new CheckBox("Use Q"));
            KillSteal.Add("W", new CheckBox("Use W"));
            KillSteal.Add("E", new CheckBox("Use E"));
            KillSteal.Add("R", new CheckBox("Use R", false));

            DrawMenu.AddGroupLabel("Drawings");
            DrawMenu.Add("damage", new CheckBox("Draw Combo Damage"));
            DrawMenu.AddLabel("Draws = ComboDamage / Enemy Current Health");
            DrawMenu.AddSeparator(1);
            DrawMenu.Add("Q", new CheckBox("Draw Q Range"));
            DrawMenu.Add(Q.Name, new ComboBox("Q Color", 0, "Chartreuse", "BlueViolet", "Aqua", "Purple", "White", "Orange", "Green"));
            DrawMenu.AddSeparator(1);
            DrawMenu.Add("W", new CheckBox("Draw W Range"));
            DrawMenu.Add(W.Name, new ComboBox("W Color", 0, "Chartreuse", "BlueViolet", "Aqua", "Purple", "White", "Orange", "Green"));
            DrawMenu.AddSeparator(1);
            DrawMenu.Add("E", new CheckBox("Draw E Range"));
            DrawMenu.Add(E.Name, new ComboBox("E Color", 0, "Chartreuse", "BlueViolet", "Aqua", "Purple", "White", "Orange", "Green"));
            DrawMenu.AddSeparator(1);
            DrawMenu.Add("R", new CheckBox("Draw R Range"));
            DrawMenu.Add(R.Name, new ComboBox("R Color", 0, "Chartreuse", "BlueViolet", "ChartAquareuse", "Purple", "White", "Orange", "Green"));
            DrawMenu.AddSeparator(1);

            Game.OnTick                      += Game_OnTick;
            Drawing.OnDraw                   += Drawing_OnDraw;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapcloser;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Orbwalker.OnUnkillableMinion     += Orbwalker_OnUnkillableMinion;
        }
コード例 #6
0
ファイル: Hecarim.cs プロジェクト: MBalack/Balles
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Hecarim"))
            {
                return;
            }
            Chat.Print("Doctor's Hecarim Loaded!", Color.Orange);
            Q = new Spell.Active(SpellSlot.Q, 350);
            W = new Spell.Active(SpellSlot.W, 525);
            E = new Spell.Active(SpellSlot.E);
            R = new Spell.Skillshot(SpellSlot.R, 1000, SkillShotType.Linear, 250, 800, 200);
            R.AllowedCollisionCount = int.MaxValue;
            Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            Thm    = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 20, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            thn = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 22, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Menu      = MainMenu.AddMenu("Doctor's Hecarim", "Hecarim");
            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 Aoe Settings");
            ComboMenu.Add("ComboR", new CheckBox("Use [R] Aoe"));
            ComboMenu.Add("MinR", new Slider("Min Enemies Use [R]", 3, 0, 5));
            ComboMenu.AddGroupLabel("Ultimate Selected Target Settings");
            ComboMenu.Add("ComboSL", new KeyBind("Use [R] On Selected Target", false, KeyBind.BindTypes.HoldActive, 'T'));
            ComboMenu.AddGroupLabel("Interrupt Settings");
            ComboMenu.Add("inter", new CheckBox("Use [R] Interrupt"));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass"));
            HarassMenu.Add("ManaQ", new Slider("Min Mana Harass [Q]", 40));
            HarassMenu.AddSeparator();
            HarassMenu.Add("HarassW", new CheckBox("Use [W] Harass", false));
            HarassMenu.Add("ManaW", new Slider("Min Mana Harass [W]", 40));

            Auto = Menu.AddSubMenu("Auto Harass Settings", "Auto Harass");
            Auto.AddGroupLabel("Auto Harass Settings");
            Auto.Add("AutoQ", new CheckBox("Auto [Q]"));
            Auto.Add("ManaQ", new Slider("Min Mana Auto [Q]", 60));

            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("JungleMana", new Slider("Min Mana JungleClear", 20));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("LastHit Settings");
            LaneClearMenu.Add("LastQ", new CheckBox("Use [Q] LastHit"));
            LaneClearMenu.Add("LhMana", new Slider("Min Mana Lasthit [Q]", 60));
            LaneClearMenu.AddSeparator();
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.Add("LastQLC", new CheckBox("Always [Q] LaneClear (Keep Passive Q)"));
            LaneClearMenu.Add("CantLC", new CheckBox("Only [Q] Killable Minion", false));
            LaneClearMenu.Add("ManaLC", new Slider("Min Mana [Q] LaneClear", 50));
            LaneClearMenu.Add("LastWLC", new CheckBox("Use [W] LaneClear"));
            LaneClearMenu.Add("ManaLCW", new Slider("Min Mana [W] LaneClear", 70));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal"));
            KillStealMenu.Add("KsW", new CheckBox("Use [W] KillSteal"));
            KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal"));
            KillStealMenu.AddSeparator();
            KillStealMenu.AddGroupLabel("Ultimate Settings");
            KillStealMenu.Add("KsR", new CheckBox("Use [R] KillSteal"));
            KillStealMenu.Add("minKsR", new Slider("Use [R] KillSteal If Enemy Distance >", 100, 1, 1000));
            KillStealMenu.AddGroupLabel("Distance < 125 = Always ,Recommended Distance 500");

            Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger");
            Skin.Add("checkSkin", new CheckBox("Use Skin Changer", false));
            Skin.Add("skin.Id", new ComboBox("Skin Mode", 4, "Default", "1", "2", "3", "4", "5"));

            Drawings = Menu.AddSubMenu("Draw Settings", "Draw");
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("DrawQ", new CheckBox("[Q] Range"));
            Drawings.Add("DrawW", new CheckBox("[W] Range", false));
            Drawings.Add("DrawR", new CheckBox("[R] Range"));
            Drawings.Add("DrawT", new CheckBox("Draw [E] Time"));
            Drawings.Add("DrawRhit", new CheckBox("[R] Draw Hit"));

            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnUpdate  += Game_OnUpdate;
            Interrupter.OnInterruptableSpell += Interupt;
        }
コード例 #7
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("Doctor's Kassadin", "Kassadin");
            Menu.AddGroupLabel("Mercedes7 ");
            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("WMode", new ComboBox("W LaneClear Mode:", 0, "Only Killable", "Always"));
            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("MinRLC", new Slider("Min Hit Minions Use [R]", 2, 1, 3));
            LaneClearMenu.Add("StackRL", new Slider("Use [R] Stacks Limit LaneClear", 1, 1, 5));
            LaneClearMenu.Add("ManaLC", new Slider("Mana For LaneClear", 50));

            Auto = Menu.AddSubMenu("Auto Harass Settings", "Auto Harass");
            Auto.AddGroupLabel("Auto Harass Settings");
            Auto.Add("Key", new KeyBind("Auto Harass", false, KeyBind.BindTypes.PressToggle, 'A'));
            Auto.Add("QLCH", new CheckBox("Use [Q]"));
            Auto.Add("ManaQHS", new Slider("Min Mana Auto Harass [Q]", 60));
            Auto.AddGroupLabel("Auto Harass On");
            foreach (var target in EntityManager.Heroes.Enemies)
            {
                Auto.Add("harass" + target.ChampionName, new CheckBox("" + target.ChampionName));
            }

            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.Add("DrawAT", new CheckBox("Draw Auto Harass"));
            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;
        }
コード例 #8
0
        private static void Loading_OnLoadingComplete1(EventArgs args)
        {
            if (Player.Instance.Hero != Champion.Brand)
            {
                return;
            }

            MenuIni     = MainMenu.AddMenu("CH汉化-火男", "Brand");
            TS          = MenuIni.AddSubMenu("目标选择器");
            Auto        = MenuIni.AddSubMenu("自动化");
            Combo       = MenuIni.AddSubMenu("连招");
            Harass      = MenuIni.AddSubMenu("骚扰");
            LaneClear   = MenuIni.AddSubMenu("清线");
            JungleClear = MenuIni.AddSubMenu("清野");
            KillSteal   = MenuIni.AddSubMenu("抢头");
            DrawMenu    = MenuIni.AddSubMenu("线圈");

            TS.AddGroupLabel("目标选择器");
            tsmode  = TS.Add("tsmode", new ComboBox("目标选择模式", 0, "自定义选择", "库自定义选择"));
            tselect = TS.Add("select", new ComboBox("集火模式", 0, "最多被动叠加目标", "最少技能可击杀目标", "鼠标附近目标"));
            if (tsmode.CurrentValue == 1)
            {
                tselect.IsVisible = false;
            }
            tsmode.OnValueChange += delegate { tselect.hide(tsmode); };

            Auto.AddGroupLabel("自动化设置");
            Auto.Add("AutoR", new Slider("自动 R 如果能命中 [{0}] 个目标/以上", 2, 1, 6));
            Auto.Add("Gap", new CheckBox("自动防突进"));
            Auto.Add("Int", new CheckBox("自动技能打断"));
            Auto.Add("Danger", new ComboBox("技能危险等级", 1, "高", "中", "低"));
            Auto.AddSeparator(0);
            Auto.AddGroupLabel("自动被动");
            Auto.Add("AutoQ", new CheckBox("自动 Q 被动"));
            Auto.Add("AutoW", new CheckBox("自动 W 被动", false));
            Auto.Add("AutoE", new CheckBox("自动 E 被动"));
            Auto.AddSeparator(0);
            Auto.AddGroupLabel("防突进 - 技能");
            foreach (var enemy in EntityManager.Heroes.Enemies)
            {
                foreach (var gapspell in Gapcloser.GapCloserList.Where(e => e.ChampName == enemy.ChampionName))
                {
                    Auto.AddLabel(gapspell.ChampName);
                    Auto.Add(gapspell.SpellName, new CheckBox(gapspell.SpellName + " - " + gapspell.SpellSlot));
                }
            }

            Combo.AddGroupLabel("连招设置");
            Combo.Add("Q", new CheckBox("使用 Q"));
            Combo.AddLabel("额外 Q 设置");
            Combo.Add("Qp", new CheckBox("只用Q晕眩"));
            Combo.Add(Q.Slot + "Mana", new Slider("蓝量高于 [{0}%] 使用 Q", 10));
            Combo.AddSeparator(1);

            Combo.Add("W", new CheckBox("使用 W"));
            Combo.AddLabel("额外 W 设置");
            Combo.Add("Wp", new CheckBox("只用W 当目标有被动", false));
            Combo.Add(W.Slot + "Mana", new Slider("蓝量高于 [{0}%] 使用 W", 5));
            Combo.AddSeparator(1);

            Combo.Add("E", new CheckBox("使用 E"));
            Combo.AddLabel("额外 E 设置");
            Combo.Add("Ep", new CheckBox("只用E 当目标有被动", false));
            Combo.Add(E.Slot + "Mana", new Slider("蓝量高于 [{0}%] 使用 E", 15));
            Combo.AddSeparator(1);

            Combo.Add("RFinisher", new CheckBox("使用 R 结束连招/尾头"));
            Combo.Add("RAoe", new CheckBox("使用 R 范围伤害"));
            Combo.Add("Rhit", new Slider("R 范围命中 [{0}] 个目标", 2, 1, 6));
            Combo.Add(R.Slot + "Mana", new Slider("蓝量高于 [{0}%] 使用 R"));

            Harass.AddGroupLabel("骚扰");
            Harass.Add("Q", new CheckBox("使用 Q"));
            Harass.Add(Q.Slot + "Mana", new Slider("蓝量高于 [{0}%] 使用 Q", 65));
            Harass.AddSeparator(1);

            Harass.Add("W", new CheckBox("使用 W"));
            Harass.Add(W.Slot + "Mana", new Slider("蓝量高于 [{0}%] 使用 W", 65));
            Harass.AddSeparator(1);

            Harass.Add("E", new CheckBox("使用 E"));
            Harass.Add(E.Slot + "Mana", new Slider("蓝量高于 [{0}%] 使用 E", 65));

            LaneClear.AddGroupLabel("清线");
            LaneClear.Add("Q", new CheckBox("使用 Q"));
            LaneClear.Add(Q.Slot + "Mana", new Slider("蓝量高于 [{0}%] 使用 Q", 65));
            LaneClear.AddSeparator(1);
            LaneClear.Add("W", new CheckBox("使用 W"));
            LaneClear.Add(W.Slot + "Mana", new Slider("蓝量高于 [{0}%] 使用 W", 65));
            LaneClear.AddSeparator(1);
            LaneClear.Add("E", new CheckBox("使用 E"));
            LaneClear.Add(E.Slot + "Mana", new Slider("蓝量高于 [{0}%] 使用 E", 65));

            JungleClear.AddGroupLabel("清野");
            JungleClear.Add("Q", new CheckBox("使用 Q"));
            JungleClear.Add(Q.Slot + "Mana", new Slider("蓝量高于 [{0}%] 使用 Q", 65));
            JungleClear.AddSeparator(1);
            JungleClear.Add("W", new CheckBox("使用 W"));
            JungleClear.Add(W.Slot + "Mana", new Slider("蓝量高于 [{0}%] 使用 W", 65));
            JungleClear.AddSeparator(1);
            JungleClear.Add("E", new CheckBox("使用 E"));
            JungleClear.Add(E.Slot + "Mana", new Slider("蓝量高于 [{0}%] 使用 E", 65));

            KillSteal.AddGroupLabel("抢头");
            KillSteal.Add("Q", new CheckBox("使用 Q"));
            KillSteal.Add("W", new CheckBox("使用 W"));
            KillSteal.Add("E", new CheckBox("使用 E"));
            KillSteal.Add("R", new CheckBox("使用 R", false));

            DrawMenu.AddGroupLabel("线圈");
            DrawMenu.Add("damage", new CheckBox("显示连招伤害"));
            DrawMenu.AddLabel("显示 = 连招伤害 / 敌人当前血量");
            DrawMenu.AddSeparator(1);
            DrawMenu.Add("Q", new CheckBox("显示 Q 范围"));
            DrawMenu.Add(Q.Name, new ComboBox("Q 颜色", 0, "Chartreuse", "BlueViolet", "Aqua", "Purple", "White", "Orange", "Green"));
            DrawMenu.AddSeparator(1);
            DrawMenu.Add("W", new CheckBox("显示 W 范围"));
            DrawMenu.Add(W.Name, new ComboBox("W 颜色", 0, "Chartreuse", "BlueViolet", "Aqua", "Purple", "White", "Orange", "Green"));
            DrawMenu.AddSeparator(1);
            DrawMenu.Add("E", new CheckBox("显示 E 范围"));
            DrawMenu.Add(E.Name, new ComboBox("E 颜色", 0, "Chartreuse", "BlueViolet", "Aqua", "Purple", "White", "Orange", "Green"));
            DrawMenu.AddSeparator(1);
            DrawMenu.Add("R", new CheckBox("显示 R 范围"));
            DrawMenu.Add(R.Name, new ComboBox("R 颜色", 0, "Chartreuse", "BlueViolet", "ChartAquareuse", "Purple", "White", "Orange", "Green"));
            DrawMenu.AddSeparator(1);

            Game.OnTick                      += Game_OnTick;
            Drawing.OnDraw                   += Drawing_OnDraw;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapcloser;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Orbwalker.OnUnkillableMinion     += Orbwalker_OnUnkillableMinion;
        }
コード例 #9
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Ezreal"))
            {
                return;
            }
            Chat.Print("Ezreal7 Loaded!", Color.Orange);
            Bootstrap.Init(null);
            Q = new Spell.Skillshot(SpellSlot.Q, 1150, SkillShotType.Linear, 250, 2000, 60);
            W = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Linear, 250, 1550, 80);
            W.AllowedCollisionCount = int.MaxValue;
            E = new Spell.Skillshot(SpellSlot.E, 475, SkillShotType.Linear, 250, 2000, 100);
            R = new Spell.Skillshot(SpellSlot.R, 5000, SkillShotType.Linear, 1000, 2000, 160);
            R.AllowedCollisionCount = int.MaxValue;
            Botrk = new Item(ItemId.Blade_of_the_Ruined_King);
            Bil   = new Item(3144, 475f);
            Thm   = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 32, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Thn = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 15, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            Menu   = MainMenu.AddMenu("Ezreal7", "Ezreal");
            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.AddGroupLabel("Ultimate Settings");
            ComboMenu.Add("ComboR", new CheckBox("Use [R] Combo"));
            ComboMenu.Add("MinR", new Slider("Min Enemies Use [R]", 2, 0, 5));
            ComboMenu.AddSeparator();
            ComboMenu.Add("MinRangeR", new Slider("Min Distance Cast [R]", 1000, 0, 5000));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass"));
            HarassMenu.Add("ManaQ", new Slider("Min Mana Harass [Q]", 40));
            HarassMenu.AddSeparator();
            HarassMenu.Add("HarassW", new CheckBox("Use [W] Harass", false));
            HarassMenu.Add("ManaW", new Slider("Min Mana Harass [W]<=", 40));
            HarassMenu.AddSeparator();
            HarassMenu.AddGroupLabel("Harass On");
            foreach (var target in EntityManager.Heroes.Enemies)
            {
                HarassMenu.Add("haras" + target.ChampionName, new CheckBox("" + target.ChampionName));
            }

            Auto = Menu.AddSubMenu("Auto Harass Settings", "Auto Harass");
            Auto.AddGroupLabel("Auto Harass Settings");
            Auto.Add("Key", new KeyBind("Auto Harass", false, KeyBind.BindTypes.PressToggle, 'H'));
            Auto.Add("AutoQ", new CheckBox("Use [Q]"));
            Auto.Add("AutomanaQ", new Slider("Min Mana Auto [Q]", 60));
            Auto.AddSeparator();
            Auto.Add("AutoW", new CheckBox("Use [W]", false));
            Auto.Add("AutomanaW", new Slider("Min Mana Auto [W]", 60));
            Auto.AddSeparator();
            Auto.AddGroupLabel("Autu Harass On");
            foreach (var target in EntityManager.Heroes.Enemies)
            {
                Auto.Add("harass" + target.ChampionName, new CheckBox("" + target.ChampionName));
            }

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("LastHit Settings");
            LaneClearMenu.Add("LastQ", new CheckBox("Always [Q] LastHit", false));
            LaneClearMenu.Add("LhAA", new CheckBox("Only [Q] If Orbwalker Cant Killable Minion"));
            LaneClearMenu.Add("LhMana", new Slider("Min Mana Lasthit [Q]", 60));
            LaneClearMenu.AddSeparator();
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.Add("LastQLC", new CheckBox("Always LaneClear With [Q]", false));
            LaneClearMenu.Add("CantLC", new CheckBox("Only [Q] If Orbwalker Cant Killable Minion"));
            LaneClearMenu.Add("ManaLC", new Slider("Min Mana LaneClear With [Q]", 70));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("QJungle", new CheckBox("Use [Q] JungleClear"));
            JungleClearMenu.Add("MnJungle", new Slider("Min Mana JungleClear [Q]", 30));

            Misc = Menu.AddSubMenu("Misc Settings", "Misc");
            Misc.AddGroupLabel("AntiGap Settings");
            Misc.Add("AntiGap", new CheckBox("Use [E] AntiGapcloser", false));
            Misc.AddGroupLabel("Ultimate On CC Settings");
            Misc.Add("Rstun", new CheckBox("Use [R] Enemy Immobile"));
            Misc.AddGroupLabel("Auto Stacks Settings");
            Misc.Add("Stack", new CheckBox("Auto Stacks In Shop"));
            Misc.AddGroupLabel("Skin Changer");
            Misc.Add("checkSkin", new CheckBox("Use Skin Changer", false));
            Misc.Add("skin.Id", new ComboBox("Skin Mode", 8, "Default", "1", "2", "3", "4", "5", "6", "7", "8"));

            Items = Menu.AddSubMenu("Items Settings", "Items");
            Items.AddGroupLabel("Items Settings");
            Items.Add("BOTRK", new CheckBox("Use [Botrk]"));
            Items.Add("ihp", new Slider("My HP Use BOTRK <=", 50));
            Items.Add("ihpp", new Slider("Enemy HP Use BOTRK <=", 50));
            Items.AddGroupLabel("Qss Settings");
            Items.Add("Qss", new CheckBox("Use Qss"));
            Items.AddGroupLabel("Qss On CC");
            Items.Add("stun", new CheckBox("Stuns"));
            Items.Add("rot", new CheckBox("Root"));
            Items.Add("tunt", new CheckBox("Taunt"));
            Items.Add("snare", new CheckBox("Snare"));
            Items.Add("charm", new CheckBox("Charm", false));
            Items.Add("slow", new CheckBox("Slows", false));
            Items.Add("blind", new CheckBox("Blinds", false));
            Items.Add("fear", new CheckBox("Fear", false));
            Items.Add("silence", new CheckBox("Silence", false));
            Items.Add("supperss", new CheckBox("Supperss", false));
            Items.Add("poly", new CheckBox("Polymorph", false));
            Items.Add("delay", new Slider("Humanizer Qss Delay", 0, 0, 1500));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal"));
            KillStealMenu.Add("KsW", new CheckBox("Use [W] KillSteal"));
            KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal"));
            KillStealMenu.AddSeparator();
            KillStealMenu.AddGroupLabel("Ultimate Settings");
            KillStealMenu.Add("KsR", new CheckBox("Use [R] KillSteal"));
            KillStealMenu.Add("minKsR", new Slider("Min [R] Distance KillSteal", 900, 1, 5000));
            KillStealMenu.Add("RKb", new KeyBind("[R] Semi Manual Key", false, KeyBind.BindTypes.HoldActive, 'T'));

            Drawings = Menu.AddSubMenu("Draw Settings", "Draw");
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("DrawQ", new CheckBox("[Q] Range"));
            Drawings.Add("DrawW", new CheckBox("[W] Range", false));
            Drawings.Add("DrawE", new CheckBox("[E] Range", false));
            Drawings.Add("Notifications", new CheckBox("Notifications Can Kill [R]"));
            Drawings.Add("DrawAT", new CheckBox("Draw Auto Harass"));

            Drawing.OnDraw               += Drawing_OnDraw;
            Game.OnTick                  += Game_OnTick;
            Gapcloser.OnGapcloser        += Gapcloser_OnGapcloser;
            Orbwalker.OnUnkillableMinion += Orbwalker_CantLasthit;
        }
コード例 #10
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"));
        }
コード例 #11
0
ファイル: Program.cs プロジェクト: panicguy/Balles
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Ezreal"))
            {
                return;
            }
            Chat.Print("Ezreal7 Loaded!", Color.GreenYellow);
            Chat.Print("Please Setting Target Harass Before Playing", Color.Yellow);
            Bootstrap.Init(null);
            Q = new Spell.Skillshot(SpellSlot.Q, 1150, SkillShotType.Linear, 250, 2000, 60);
            W = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Linear, 250, 1550, 80);
            W.AllowedCollisionCount = int.MaxValue;
            E = new Spell.Skillshot(SpellSlot.E, 475, SkillShotType.Linear, 250, 2000, 100);
            R = new Spell.Skillshot(SpellSlot.R, 5000, SkillShotType.Linear, 1000, 2000, 160);
            R.AllowedCollisionCount = int.MaxValue;
            Botrk  = new Item(ItemId.Blade_of_the_Ruined_King);
            Bil    = new Item(3144, 475f);
            Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            Menu   = MainMenu.AddMenu("Ezreal7", "Ezreal");
            Menu.AddSeparator();
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddSeparator();
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Spell [Q]"));
            ComboMenu.Add("ComboW", new CheckBox("Spell [W]"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("ComboR", new CheckBox("Spell [R]"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("MinRangeR", new Slider("Min Range Cast [R]", 1000, 0, 5000));
            ComboMenu.AddSeparator();
            ComboMenu.Add("MaxRangeR", new Slider("Max Range Cast [R]", 3000, 0, 5000));
            ComboMenu.AddSeparator();
            ComboMenu.Add("MinR", new Slider("Min Enemies Use [R]", 2, 0, 5));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Spell [Q]"));
            HarassMenu.Add("ManaQ", new Slider("Min Mana Harass [Q]", 40));
            HarassMenu.AddSeparator();
            HarassMenu.Add("HarassW", new CheckBox("Spell [W]", false));
            HarassMenu.Add("ManaW", new Slider("Min Mana Harass [W]<=", 40));
            HarassMenu.AddSeparator();
            HarassMenu.AddGroupLabel("Harass On");
            foreach (var enemies in EntityManager.Heroes.Enemies)
            {
                HarassMenu.Add("haras" + enemies.ChampionName, new CheckBox("" + enemies.ChampionName));
            }
            Auto = Menu.AddSubMenu("Auto Harass Settings", "Auto Harass");
            Auto.AddGroupLabel("Auto Harass Settings");
            Auto.Add("AutoQ", new CheckBox("Auto [Q]"));
            Auto.Add("AutomanaQ", new Slider("Min Mana Auto [Q]", 60));
            Auto.AddSeparator();
            Auto.Add("AutoW", new CheckBox("Auto [W]", false));
            Auto.Add("AutomanaW", new Slider("Min Mana Auto [W]", 60));
            Auto.AddSeparator();
            Auto.AddGroupLabel("Auto Harass On");
            foreach (var enemies in EntityManager.Heroes.Enemies)
            {
                Auto.Add("harass" + enemies.ChampionName, new CheckBox("" + enemies.ChampionName));
            }

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("LastHit Settings");
            LaneClearMenu.Add("LastQ", new CheckBox("Always [Q] LastHit"));
            LaneClearMenu.Add("LhMana", new Slider("Min Mana Lasthit [Q]", 60));
            LaneClearMenu.AddSeparator();
            LaneClearMenu.Add("LhAA", new CheckBox("Only [Q] LastHit If Out Range AA", false));
            LaneClearMenu.Add("AAMana", new Slider("Min Mana Lasthit [Q] If Out Range AA", 50));
            LaneClearMenu.AddSeparator();
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.Add("LastQLC", new CheckBox("Always LastHit With [Q]", false));
            LaneClearMenu.Add("ManaLC", new Slider("Min Mana LaneClear With [Q]", 70));
            LaneClearMenu.AddSeparator();
            LaneClearMenu.Add("LastAA", new CheckBox("Only [Q] LastHit If Out Range AA"));
            LaneClearMenu.Add("ManaLA", new Slider("Min Mana LastHit [Q] If Out Range AA", 50));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("QJungle", new CheckBox("Spell [Q]"));
            JungleClearMenu.Add("MnJungle", new Slider("Min Mana JungleClear [Q]", 30));

            Misc = Menu.AddSubMenu("Misc Settings", "Misc");
            Misc.AddGroupLabel("AntiGap Settings");
            Misc.Add("AntiGap", new CheckBox("Use [E] AntiGapcloser"));
            Misc.AddSeparator();
            Misc.AddGroupLabel("Ultimate On CC Settings");
            Misc.Add("Rstun", new CheckBox("Use [R] If Enemy Has CC"));
            Misc.Add("MinR", new Slider("Min Range Use [R]", 800, 300, 2000));
            Misc.Add("MaxR", new Slider("Max Range Use [R]", 2200, 300, 30000));
            Misc.AddSeparator();
            Misc.AddGroupLabel("Auto Stacks Settings");
            Misc.Add("Stack", new CheckBox("Auto Stacks In Shop"));
            Misc.AddGroupLabel("Items Settings");
            Misc.Add("BOTRK", new CheckBox("Use [Botrk]"));
            Misc.Add("ihp", new Slider("My HP Use BOTRK <=", 50));
            Misc.Add("ihpp", new Slider("Enemy HP Use BOTRK <=", 50));

            KillStealMenu = Menu.AddSubMenu("KillSteal Settings", "KillSteal");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KsQ", new CheckBox("Use [Q] KillSteal"));
            KillStealMenu.Add("KsW", new CheckBox("Use [W] KillSteal"));
            KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal"));
            KillStealMenu.AddSeparator();
            KillStealMenu.AddGroupLabel("Ultimate Settings");
            KillStealMenu.Add("KsR", new CheckBox("Use [R] KillSteal"));
            KillStealMenu.Add("minKsR", new Slider("Min [R] Range KillSteal", 900, 1, 5000));
            KillStealMenu.Add("maxKsR", new Slider("Max [R] Range KillSteal", 4000, 1, 5000));

            Skin = Menu.AddSubMenu("Skin Changer", "SkinChanger");
            Skin.Add("checkSkin", new CheckBox("Use Skin Changer"));
            Skin.Add("skin.Id", new ComboBox("Skin Mode", 8, "Default", "1", "2", "3", "4", "5", "6", "7", "8"));

            Drawings = Menu.AddSubMenu("Draw Settings", "Draw");
            Drawings.AddGroupLabel("Drawing Settings");
            Drawings.Add("DrawQ", new CheckBox("Q Range"));
            Drawings.Add("DrawW", new CheckBox("W Range", false));
            Drawings.Add("DrawE", new CheckBox("E Range", false));

            Drawing.OnDraw        += Drawing_OnDraw;
            Game.OnTick           += Game_OnTick;
            Gapcloser.OnGapcloser += Gapcloser_OnGapcloser;
        }
コード例 #12
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"));
        }