예제 #1
0
 public static void JungleClearmenu()
 {
     JungleClearMenu = VMenu.AddSubMenu("JungleClear", "JungleClear");
     JungleClearMenu.AddGroupLabel("JungleClear");
     JungleClearMenu.Add("JCQ", new CheckBox("Use Q"));
     JungleClearMenu.Add("JCE", new CheckBox("Use E"));
 }
예제 #2
0
 private static void JungleClearmenu()
 {
     JungleClearMenu = VMenu.AddSubMenu("JungleClear", "JungleClear");
     JungleClearMenu.AddGroupLabel("JungleClear");
     JungleClearMenu.Add("UseQ", new CheckBox("Kullan Q"));
     JungleClearMenu.Add("UseE", new CheckBox("Kullan E"));
 }
예제 #3
0
 public static void JungleClearmenu()
 {
     JungleClearMenu = YMenu.AddSubMenu("JungleClear", "JungleClear");
     JungleClearMenu.Add("Q", new CheckBox("Use Q"));
     JungleClearMenu.Add("E", new CheckBox("Use E"));
     JungleClearMenu.Add("Items", new CheckBox("Use Items"));
 }
예제 #4
0
 public static void JungleClearmenu()
 {
     JungleClearMenu = YMenu.AddSubMenu("清野", "JungleClear");
     JungleClearMenu.Add("Q", new CheckBox("使用 Q"));
     JungleClearMenu.Add("E", new CheckBox("使用 E"));
     JungleClearMenu.Add("Items", new CheckBox("使用物品"));
 }
예제 #5
0
 static JungleClear()
 {
     JungleClearMenu.AddGroupLabel("JungleClear");
     _useQ     = JungleClearMenu.Add("jungleClearUseQ", new CheckBox("Use Q"));
     _useQmana = JungleClearMenu.Add("jungleClearUseQmana", new Slider("Mana %"));
     JungleClearMenu.AddSeparator(10);
     _useW     = JungleClearMenu.Add("jungleClearUseW", new CheckBox("Use W"));
     _useWmana = JungleClearMenu.Add("jungleClearUseWmana", new Slider("Mana %"));
     JungleClearMenu.AddSeparator(10);
     _spellWeaving = JungleClearMenu.Add("jungleClearSpellWeaving", new CheckBox("Use SpellWeaving"));
 }
예제 #6
0
        public static void Init()
        {
            MaiinMenu = MainMenu.AddMenu("RyzePro", "RyzePro");
            MaiinMenu.AddGroupLabel("Ryze Pro Loaded..");
            MaiinMenu.AddLabel("Rexy Tarafından kodlanmıştır");
            MaiinMenu.AddLabel("Eğer hata alırsanız lütfen discorddan yapımcıya bildirin");


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

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

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

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

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

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

            HumanizerMenu = MaiinMenu.AddSubMenu("Humanizer");
            HumanizerMenu.Add("humanizer.active", new CheckBox("İnsancıl ayar Aktif", false));
            HumanizerMenu.Add("humanizer.mindelay", new Slider("En az Gecikme", 150, 0, 1000));
            HumanizerMenu.Add("humanizer.maxdelay", new Slider("En çok Gecikme", 250, 0, 1000));
        }
예제 #7
0
파일: Menu.cs 프로젝트: mrupton/EloBuddy
        public static void Init()
        {
            MaiinMenu = MainMenu.AddMenu("RyzePro", "RyzePro");
            MaiinMenu.AddGroupLabel("Ryze Pro Loaded..");
            MaiinMenu.AddLabel("Coded by Rexy");
            MaiinMenu.AddLabel("If you found a bug, Pls feedback on my thread");

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

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

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

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

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

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

            HumanizerMenu = MaiinMenu.AddSubMenu("Humanizer");
            HumanizerMenu.Add("humanizer.active", new CheckBox("Humanizer Active", false));
            HumanizerMenu.Add("humanizer.mindelay", new Slider("Min Delay", 150, 0, 1000));
            HumanizerMenu.Add("humanizer.maxdelay", new Slider("Max Delay", 250, 0, 1000));
        }
예제 #8
0
                static JungleClear()
                {
                    JungleClearMenu.AddGroupLabel("JungleClear");

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

                    _useQmode = JungleClearMenu.Add("useQmode",
                                                    new ComboBox("Q Mode:", 2, "Always", "After Attack", "Only killable"));
                    _useQmana = JungleClearMenu.Add("useQmana", new Slider("If Mana % > {0}", 0, 0, 100));
                    JungleClearMenu.AddSeparator(20);

                    _useE = JungleClearMenu.Add("useE", new CheckBox("Use E"));
                    JungleClearMenu.AddSeparator(10);

                    _useEmode = JungleClearMenu.Add("useEmode", new ComboBox("E Mode:", 1, "Always", "Only with Ghouls"));
                    _useEmana = JungleClearMenu.Add("useEmana", new Slider("If Mana % > {0}", 0, 0, 100));
                }
예제 #9
0
                static JungleClear()
                {
                    JungleClearMenu.AddGroupLabel("JungleClear");

                    _useQ = JungleClearMenu.Add("useQ", new CheckBox("Use Q"));
                    JungleClearMenu.AddSeparator(20);

                    _useQmana = JungleClearMenu.Add("useQmana", new Slider("If Mana % > {0}", 0, 0, 100));
                    JungleClearMenu.AddSeparator(50);

                    _useW = JungleClearMenu.Add("useW", new CheckBox("Use W"));
                    JungleClearMenu.AddSeparator(20);

                    _useWtentacles = JungleClearMenu.Add("useWtentacles", new CheckBox("Only with Tentacles in Range"));
                    JungleClearMenu.AddSeparator(20);

                    _useWmode = JungleClearMenu.Add("useWmode", new ComboBox("W Mode:", 0, "Always", "Afterattack"));
                    JungleClearMenu.AddSeparator(20);

                    _useWmana = JungleClearMenu.Add("useWmana", new Slider("If Mana % > {0}", 0, 0, 100));
                }
예제 #10
0
                static JungleClear()
                {
                    JungleClearMenu.AddGroupLabel("JungleClear");

                    _useQ = JungleClearMenu.Add("useQ", new CheckBox("Kullan Q"));
                    JungleClearMenu.AddSeparator(20);

                    _useQmana = JungleClearMenu.Add("useQmana", new Slider("Gereken mana % > {0}", 0, 0, 100));
                    JungleClearMenu.AddSeparator(50);

                    _useW = JungleClearMenu.Add("useW", new CheckBox("Kullan W"));
                    JungleClearMenu.AddSeparator(20);

                    _useWtentacles = JungleClearMenu.Add("useWtentacles", new CheckBox("Sadece menzildekilere kullan"));
                    JungleClearMenu.AddSeparator(20);

                    _useWmode = JungleClearMenu.Add("useWmode", new ComboBox("W Mode:", 0, "Surekli", "AtakSonrası"));
                    JungleClearMenu.AddSeparator(20);

                    _useWmana = JungleClearMenu.Add("useWmana", new Slider("Gereken mana % > {0}", 0, 0, 100));
                }
예제 #11
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (StateHandler.Teemo.Hero != Champion.Teemo)
            {
                return;
            }

            Bootstrap.Init(null);
            Q = new Spell.Targeted(SpellSlot.Q, 680);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Active(SpellSlot.E, (uint)Player.Instance.AttackRange);
            R = new Spell.Skillshot(SpellSlot.R, 900, SkillShotType.Circular, 1000, 1000, 135);

            TeemoMenu = MainMenu.AddMenu("CrayzTeemo", "CrayzTeemo");
            TeemoMenu.AddGroupLabel("CrayzTeemo");
            TeemoMenu.AddSeparator();
            TeemoMenu.AddLabel("Made By Crayz Turkish");
            TeemoMenu.AddLabel("Have Fun!");
            TeemoMenu.AddLabel("AntiGapcloser Q and R were activated automatically.");

            ComboMenu = TeemoMenu.AddSubMenu("Combo", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("useQCombo", new CheckBox("Use [Q] in Combo"));
            ComboMenu.Add("rcombo", new CheckBox("Use [R] in Combo"));
            ComboMenu.Add("useWCombo", new CheckBox("Use [W] in Combo (If the target is in range AA)"));
            ComboMenu.Add("rCharge", new Slider("Charges of R before using R: {0}", 2, 1, 3));

            KillStealMenu = TeemoMenu.AddSubMenu("KillSteal", "KillSteal");
            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("KSQ", new CheckBox("Use [Q] KS"));
            KillStealMenu.Add("KSR", new CheckBox("Use [R] KS"));


            HarassMenu = TeemoMenu.AddSubMenu("Harass", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.AddSeparator();
            HarassMenu.Add("useQHarass", new CheckBox("Use [Q] Harass"));
            HarassMenu.Add("useWHarass", new CheckBox("Use [W] Harass"));

            LaneClearMenu = TeemoMenu.AddSubMenu("LaneClear", "LaneClear");
            LaneClearMenu.AddGroupLabel("LaneClear Settings");
            LaneClearMenu.AddSeparator();
            LaneClearMenu.Add("useQLH", new CheckBox("Use [Q] for LastHit"));
            LaneClearMenu.Add("qclear", new CheckBox("Use [Q] LaneClear", false));
            LaneClearMenu.Add("qManaManager", new Slider("[Q] Mana Manager", 50));
            LaneClearMenu.Add("rclear", new CheckBox("[R] LaneClear"));
            LaneClearMenu.Add("minionR", new Slider("Hit of minion to use [R]", 3, 1, 4));

            JungleClearMenu = TeemoMenu.AddSubMenu("JungleClear", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("qclear", new CheckBox("Use [Q] Jungle"));
            JungleClearMenu.Add("rclear", new CheckBox("Use [R] Jungle"));
            JungleClearMenu.Add("qManaManager", new Slider("[Q] Mana setting", 25));


            FleeMenu = TeemoMenu.AddSubMenu("Flee", "Flee");
            FleeMenu.AddGroupLabel("Flee Settings");
            FleeMenu.AddSeparator();
            FleeMenu.Add("useRFlee", new CheckBox("Use [R] Flee"));
            FleeMenu.Add("useWFlee", new CheckBox("Use [W] Flee"));

            DrawMenu = TeemoMenu.AddSubMenu("Draw", "Draw");
            DrawMenu.AddGroupLabel("Draw Settings");
            DrawMenu.AddSeparator();
            DrawMenu.Add("Q.Draw", new CheckBox("Draw [Q] Range", false));
            DrawMenu.Add("R.Draw", new CheckBox("Draw [R] Range", false));

            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;
        }
예제 #12
0
        /// <summary>
        /// Creates the Menu.
        /// </summary>
        public static void Create()
        {
            DefaultMenu = MainMenu.AddMenu("NidaleeBuddyEvolution", "NidaleeBuddyEvolution");
            DefaultMenu.AddGroupLabel("This addon is made by KarmaPanda and should not be redistributed in any way.");
            DefaultMenu.AddGroupLabel(
                "Any unauthorized redistribution without credits will result in severe consequences.");
            DefaultMenu.AddGroupLabel("Thank you for using this addon and have a fun time!");

            #region Combo

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

            #endregion

            #region Last Hit

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

            #endregion

            #region Harass

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

            #endregion

            #region Kill Steal

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

            #endregion

            #region Lane Clear

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

            #endregion

            #region Jungle Clear

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

            #endregion

            #region Jungle Steal

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

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

            #endregion

            #region Drawing

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

            #endregion

            #region Misc

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

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

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

            #endregion
        }
예제 #13
0
파일: Azir.cs 프로젝트: 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());
            }
        }
예제 #14
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Jax"))
            {
                return;
            }
            Q = new Spell.Targeted(SpellSlot.Q, 700);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Active(SpellSlot.E, 350);
            R = new Spell.Active(SpellSlot.R);



            Menu = MainMenu.AddMenu("HTTF Jax", "Jax");
            Menu.AddSeparator();
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Combo [Q]"));
            ComboMenu.Add("ComboW", new CheckBox("Combo [W]"));
            ComboMenu.Add("ComboE", new CheckBox("Combo [E]"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("ComboR", new CheckBox("Combo [R]"));
            ComboMenu.Add("MinR", new Slider("Min Enemies Use [R]", 2, 1, 5));
            ComboMenu.AddSeparator();
            ComboMenu.AddGroupLabel("E Setting");
            ComboMenu.Add("antiGap", new CheckBox("Use [E] AntiGapcloser"));
            ComboMenu.Add("minE", new Slider("Min Enemies Auto [E]", 2, 1, 5));
            ComboMenu.AddSeparator();


            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Harass [Q]", false));
            HarassMenu.Add("HarassW", new CheckBox("Harass [W]"));
            HarassMenu.Add("HarassE", new CheckBox("Harass [E]"));
            HarassMenu.Add("ManaQ", new Slider("Min Mana For Harass", 30));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("LaneClear Settings");
            LaneClearMenu.Add("WCQ", new CheckBox("Lane Clear [Q]", false));
            LaneClearMenu.Add("WCW", new CheckBox("Lane Clear [W]"));
            LaneClearMenu.Add("WCE", new CheckBox("Lane Clear [E]", false));
            LaneClearMenu.Add("ManaWC", new Slider("Min Mana LaneClear [Q]", 60));


            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("QJngl", new CheckBox("Spell [Q]"));
            JungleClearMenu.Add("WJngl", new CheckBox("Spell [W]"));
            JungleClearMenu.Add("EJngl", new CheckBox("Spell [E]"));
            JungleClearMenu.Add("MnJngl", new Slider("Min Mana For JungleClear", 30));

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

            Drawing.OnDraw         += Drawing_OnDraw;
            Game.OnUpdate          += Game_OnUpdate;
            Orbwalker.OnPostAttack += ResetAttack;
        }
예제 #15
0
        protected override void CreateMenu()
        {
            try
            {
                #region Mainmenu
                Menu = MainMenu.AddMenu("UB" + player.Hero, "UBMiddle.MainMenu" + player.Hero, "UB" + player.Hero + " - UBMiddle - by U.Boruto");
                Menu.AddGroupLabel("General Setting");
                Menu.CreatSlotHitChance(SpellSlot.E);
                Menu.CreatSlotHitChance(SpellSlot.R);
                #endregion

                #region Combo
                ComboMenu = Menu.AddSubMenu("Combo", "UBMiddle.ComboMenu" + player.Hero, "UB" + player.Hero + " - Settings your combo below");
                {
                    ComboMenu.CreatSlotCheckBox(SpellSlot.Q);
                    ComboMenu.CreatSlotCheckBox(SpellSlot.W);
                    ComboMenu.CreatSlotComboBox(SpellSlot.W, 0, "After AA", "Before AA");
                    ComboMenu.CreatSlotCheckBox(SpellSlot.E);
                    ComboMenu.CreatSlotCheckBox(SpellSlot.R);
                    ComboMenu.Add("UBMiddle.Kassadin.R.HP.Enemy", new Slider("Enemy HP {0}% for R", 60));
                    ComboMenu.Add("UBMiddle.Kassadin.R.HP.My", new Slider("My HP {0}% for R", 30));
                }
                #endregion

                #region Harass
                HarassMenu = Menu.AddSubMenu("Harass", "UBMiddle.HarassMenu" + player.Hero, "UB" + player.Hero + " - Settings your harass below");
                {
                    HarassMenu.CreatSlotCheckBox(SpellSlot.Q);
                    HarassMenu.CreatSlotCheckBox(SpellSlot.W);
                    HarassMenu.CreatSlotComboBox(SpellSlot.W, 0, "After AA", "Before AA");
                    HarassMenu.CreatSlotCheckBox(SpellSlot.E);
                    HarassMenu.CreatManaLimit(true);
                }
                #endregion

                #region LaneClear
                LaneClearMenu = Menu.AddSubMenu("LaneClear", "UBMiddle.LaneClear" + player.Hero, "UB" + player.Hero + " - Settings your laneclear below");
                {
                    LaneClearMenu.CreatLaneClearOpening();
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.Q, null, false);
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.W, null, false);
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.E, null, false);
                    LaneClearMenu.CreatSlotHitSlider(SpellSlot.E, 5, 1, 10);
                    LaneClearMenu.CreatSlotCheckBox(SpellSlot.R);
                    LaneClearMenu.CreatSlotHitSlider(SpellSlot.R, 5, 1, 10);
                    LaneClearMenu.Add("UBMiddle.Kassadin.R.Stack", new Slider("R stack limit", 1, 1, 4));
                    LaneClearMenu.CreatManaLimit(true);
                }
                #endregion

                #region JungleClear
                JungleClearMenu = Menu.AddSubMenu("JungleClear", "UBMiddle.JungleClear" + player.Hero, "UB" + player.Hero + " - Settings your jungleclear below");
                {
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.Q, null, false);
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.W);
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.E, null, false);
                    JungleClearMenu.CreatSlotCheckBox(SpellSlot.R, null, false);
                    JungleClearMenu.Add("UBMiddle.Kassadin.R.Stack", new Slider("R stack limit", 1, 1, 4));
                    JungleClearMenu.CreatManaLimit(true);
                }
                #endregion

                #region Lasthit
                LasthitMenu = Menu.AddSubMenu("Lasthit", "UBMiddle.Lasthit" + player.Hero, "UB" + player.Hero + " - Settings your unkillable minion below");
                {
                    LasthitMenu.CreatLasthitOpening();
                    LasthitMenu.CreatSlotCheckBox(SpellSlot.Q);
                    LasthitMenu.CreatSlotCheckBox(SpellSlot.W);
                    LasthitMenu.CreatSlotCheckBox(SpellSlot.E);
                    LasthitMenu.CreatSlotCheckBox(SpellSlot.R, null, false);
                    LasthitMenu.Add("UBMiddle.Kassadin.R.Stack", new Slider("R stack limit", 1, 1, 4));
                    LasthitMenu.CreatManaLimit();
                }
                #endregion

                #region Misc
                MiscMenu = Menu.AddSubMenu("Misc", "UBMiddle.Misc" + player.Hero, "UB" + player.Hero + " - Settings your misc below");
                {
                    MiscMenu.AddGroupLabel("Anti Gapcloser settings");
                    MiscMenu.CreatMiscGapCloser();
                    MiscMenu.CreatSlotCheckBox(SpellSlot.E, "GapCloser");
                    MiscMenu.AddGroupLabel("Interrupter settings");
                    MiscMenu.CreatDangerValueBox();
                    MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "Interrupter");
                    MiscMenu.AddGroupLabel("Killsteal settings");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.Q, "KillSteal");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.W, "KillSteal");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.E, "KillSteal");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.R, "KillSteal");
                    MiscMenu.AddGroupLabel("Deny Recall settings");
                    MiscMenu.CreatSlotCheckBox(SpellSlot.Q, Misc_Menu_Value.DenyRecall.ToString());
                    MiscMenu.CreatSlotCheckBox(SpellSlot.E, Misc_Menu_Value.DenyRecall.ToString());
                    MiscMenu.CreatSlotCheckBox(SpellSlot.R, Misc_Menu_Value.DenyRecall.ToString());
                }
                #endregion

                #region Drawings
                DrawMenu = Menu.AddSubMenu("Drawings");
                {
                    DrawMenu.CreatDrawingOpening();
                    DrawMenu.CreatColorPicker(SpellSlot.Q);
                    DrawMenu.CreatColorPicker(SpellSlot.E);
                    DrawMenu.CreatColorPicker(SpellSlot.R);
                    DrawMenu.CreatColorPicker(SpellSlot.Unknown);
                }
                #endregion

                DamageIndicator.Initalize(MenuValue.Drawings.ColorDmg);
            }
            catch (Exception exception)
            {
                Debug.Print(exception.ToString(), Console_Message.Error);
            }
        }
예제 #16
0
        public static void LoadMenu()
        {
            var startMenu = MainMenu.AddMenu(MenuName, MenuName.ToLower());

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

            Notifications.Show(notStart, 2500);

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

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

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

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

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

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

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

            #region Drawings
            DrawingsMenu = startMenu.AddSubMenu(":-Drawings Menu-:");
            DrawingsMenu.Add("readyDraw", new CheckBox("• Draw Spell`s range only if they are ready."));
            DrawingsMenu.Add("damageDraw", new CheckBox("• Draw damage indicator."));
            DrawingsMenu.Add("perDraw", new CheckBox("• Draw damage indicator percent."));
            DrawingsMenu.Add("statDraw", new CheckBox("• Draw damage indicator statistics"));
            DrawingsMenu.AddGroupLabel("-:Spells:-");
            DrawingsMenu.Add("qDraw", new CheckBox("• Draw Q."));
            DrawingsMenu.Add("wDraw", new CheckBox("• Draw W."));
            DrawingsMenu.Add("eDraw", new CheckBox("• Draw E."));
            DrawingsMenu.Add("barrelDraw", new CheckBox("• Draw Barrels."));
            #endregion Drawings
        }
예제 #17
0
        static Config()
        {
            PandaTeemoReborn = MainMenu.AddMenu("PandaTeemoReborn", "PTR");
            PandaTeemoReborn.AddGroupLabel("This addon is made by KarmaPanda and should not be redistributed in any way.");
            PandaTeemoReborn.AddGroupLabel(
                "Any unauthorized redistribution without credits will result in severe consequences.");
            PandaTeemoReborn.AddGroupLabel("Thank you for using this addon and have a fun time!");

            ComboMenu = PandaTeemoReborn.AddSubMenu("Combo", "Combo");
            ComboMenu.AddLabel("Spell Settings");
            ComboMenu.Add("useQ", new CheckBox("Use Q in Combo"));
            ComboMenu.Add("useW", new CheckBox("Use W in Combo"));
            ComboMenu.Add("useR", new CheckBox("Use R in Combo"));
            ComboMenu.AddLabel("ManaManager");
            ComboMenu.Add("manaQ", new Slider("Mana before casting Q"));
            ComboMenu.Add("manaW", new Slider("Mana before casting W"));
            ComboMenu.Add("manaR", new Slider("Mana before casting R"));
            ComboMenu.AddLabel("Q Settings");
            ComboMenu.Add("checkAA", new Slider("Range to subtract from Q: {0}", 0, 0, 180));
            ComboMenu.AddLabel("R Settings");
            ComboMenu.Add("doubleShroom", new CheckBox("Use Double Shroom Logic"));
            ComboMenu.Add("rPoison", new CheckBox("Cast R only if target isn't Poisoned"));
            ComboMenu.Add("rCharge", new Slider("Charges of R before using R: {0}", 2, 1, 3));
            ComboMenu.Add("rDelay", new Slider("Delay for R Casting in ms: {0}", 1000, 0, 5000));
            ComboMenu.AddLabel("Misc Settings");
            ComboMenu.Add("adc", new CheckBox("Use Q only on ADC", false));
            ComboMenu.Add("wRange", new CheckBox("Use W only if enemy is in range"));

            HarassMenu = PandaTeemoReborn.AddSubMenu("Harass", "Harass");
            HarassMenu.AddGroupLabel("Spell Settings");
            HarassMenu.Add("useQ", new CheckBox("Use Q in Harass"));
            HarassMenu.Add("useW", new CheckBox("Use W in Harass", false));
            HarassMenu.AddLabel("ManaManager");
            HarassMenu.Add("manaQ", new Slider("Mana before casting Q"));
            HarassMenu.Add("manaW", new Slider("Mana before casting W"));
            HarassMenu.AddLabel("Q Settings");
            HarassMenu.Add("checkAA", new Slider("Range to subtract from Q: {0}", 0, 0, 180));
            HarassMenu.AddLabel("Misc Settings");
            HarassMenu.Add("adc", new CheckBox("Use Q only on ADC", false));
            HarassMenu.Add("wRange", new CheckBox("Use W only if enemy is in range"));

            LaneClearMenu = PandaTeemoReborn.AddSubMenu("LaneClear", "LaneClear");
            LaneClearMenu.AddLabel("Spell Settings");
            LaneClearMenu.Add("useQ", new CheckBox("LaneClear with Q"));
            LaneClearMenu.Add("useR", new CheckBox("LaneClear with R"));
            LaneClearMenu.AddLabel("ManaManager");
            LaneClearMenu.Add("manaQ", new Slider("Q Mana Manager", 50));
            LaneClearMenu.Add("manaR", new Slider("R Mana Manager", 50));
            LaneClearMenu.AddLabel("Q Settings");
            LaneClearMenu.Add("harass", new CheckBox("Use Harass Based Logic"));
            LaneClearMenu.Add("disableLC", new CheckBox("Disable LaneClear Based Logic"));
            LaneClearMenu.AddLabel("R Settings");
            LaneClearMenu.Add("rKillable", new CheckBox("Only cast R if minion(s) are killable"));
            LaneClearMenu.Add("rPoison", new CheckBox("Cast R only if minion isn't Poisoned"));
            LaneClearMenu.Add("rCharge", new Slider("Charges of R before using R: {0}", 2, 1, 3));
            LaneClearMenu.Add("rDelay", new Slider("Delay for R Casting in ms: {0}", 1000, 0, 5000));
            LaneClearMenu.Add("minionR", new Slider("Minions before casting R: {0}", 3, 1, 4));

            JungleClearMenu = PandaTeemoReborn.AddSubMenu("JungleClear", "JungleClear");
            JungleClearMenu.AddGroupLabel("Spell Settings");
            JungleClearMenu.Add("useQ", new CheckBox("JungleClear with Q"));
            JungleClearMenu.Add("useR", new CheckBox("JungleClear with R"));
            JungleClearMenu.AddLabel("ManaManager");
            JungleClearMenu.Add("manaQ", new Slider("Q Mana Manager", 25));
            JungleClearMenu.Add("manaR", new Slider("R Mana Manager", 25));
            JungleClearMenu.AddLabel("R Settings");
            JungleClearMenu.Add("rKillable", new CheckBox("Only cast R if mob(s) are killable", false));
            JungleClearMenu.Add("rPoison", new CheckBox("Cast R only if mob isn't Poisoned"));
            JungleClearMenu.Add("rCharge", new Slider("Charges of R before using R: {0}", 2, 1, 3));
            JungleClearMenu.Add("rDelay", new Slider("Delay for R Casting in ms: {0}", 1000, 0, 5000));
            JungleClearMenu.Add("mobR", new Slider("Mobs before casting R: {0}", 1, 1, 4));
            JungleClearMenu.AddLabel("Misc Settings");
            JungleClearMenu.Add("bMob", new CheckBox("Prevent Spell Usage on Small Mobs"));

            KillStealMenu = PandaTeemoReborn.AddSubMenu("Kill Steal", "Kill Steal");
            KillStealMenu.AddGroupLabel("Spell Settings");
            KillStealMenu.Add("useQ", new CheckBox("Kill Steal with Q"));
            KillStealMenu.Add("useR", new CheckBox("Kill Steal with R", false));
            KillStealMenu.AddLabel("ManaManager");
            KillStealMenu.Add("manaQ", new Slider("Q Mana Manager", 25));
            KillStealMenu.Add("manaR", new Slider("R Mana Manager", 25));
            KillStealMenu.AddLabel("R Settings");
            KillStealMenu.Add("rDelay", new Slider("Delay for R Casting in ms: {0}", 1000, 0, 5000));
            KillStealMenu.Add("doubleShroom", new CheckBox("Use Double Shroom Logic"));

            FleeMenu = PandaTeemoReborn.AddSubMenu("Flee Menu", "Flee");
            FleeMenu.AddGroupLabel("Flee Settings");
            FleeMenu.Add("useW", new CheckBox("Flee with W"));
            FleeMenu.Add("useR", new CheckBox("Flee with R"));
            FleeMenu.AddLabel("R Settings");
            FleeMenu.Add("rDelay", new Slider("Delay for R Casting in ms: {0}", 1000, 0, 5000));
            FleeMenu.Add("rCharge", new Slider("Charges of R before using R: {0}", 2, 1, 3));

            AutoShroomMenu = PandaTeemoReborn.AddSubMenu("Auto Shroom", "Auto Shroom");
            AutoShroomMenu.AddGroupLabel("Auto Shroom Settings");
            AutoShroomMenu.Add("useR", new CheckBox("AutoShroom with R"));
            AutoShroomMenu.Add("manaR", new Slider("R Mana Manager", 25));
            AutoShroomMenu.Add("rCharge", new Slider("Charges of R before using R: {0}", 2, 1, 3));
            AutoShroomMenu.Add("enableShroom", new CheckBox("Load AutoShroom (Requires F5)"));
            AutoShroomMenu.Add("enableDefaultLocations", new CheckBox("Use Default Locations (Requires F5)"));
            AutoShroomMenu.AddLabel("Debug Mode");
            var enable = AutoShroomMenu.Add("enableDebug", new CheckBox("Enable Debug Mode", false));

            enable.OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args)
            {
                if (!args.NewValue)
                {
                    Chat.Print("PandaTeemo | Debug Mode Disabled", System.Drawing.Color.LawnGreen);
                }
                else
                {
                    Chat.Print("PandaTeemo | Debug Mode Enabled", System.Drawing.Color.Red);
                }
            };
            var save = AutoShroomMenu.Add("saveButton", new KeyBind("Save Configuration", false, KeyBind.BindTypes.HoldActive, 'K'));

            save.OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args)
            {
                if (!args.NewValue)
                {
                    return;
                }

                if (Extensions.MenuValues.AutoShroom.DebugMode)
                {
                    save.CurrentValue = false;
                    AutoShroom.SavePositions();
                }
            };
            AutoShroomMenu.AddLabel("Shroom Location Adder");
            AutoShroomMenu.Add("posMode", new ComboBox("Position Mode", 0, "Save Mouse", "Save Player Position"));
            var add = AutoShroomMenu.Add("newposButton", new KeyBind("Save Position", false, KeyBind.BindTypes.HoldActive, 'L'));

            add.OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args)
            {
                if (!args.NewValue)
                {
                    return;
                }

                if (Extensions.MenuValues.AutoShroom.DebugMode)
                {
                    add.CurrentValue = false;

                    Vector3 newPosition = Vector3.Zero;

                    switch (Extensions.MenuValues.AutoShroom.PositionMode.CurrentValue)
                    {
                    case 0:
                        newPosition = Game.CursorPos;
                        break;

                    case 1:
                        newPosition = Player.Instance.Position;
                        break;
                    }

                    if (newPosition != Vector3.Zero && !AutoShroom.ShroomPosition.Contains(newPosition))
                    {
                        AutoShroom.AddShroomLocation(newPosition);
                        AutoShroom.SavePositions();
                    }
                }
            };
            var remove = AutoShroomMenu.Add("delposButton", new KeyBind("Delete Position", false, KeyBind.BindTypes.HoldActive, 'U'));

            remove.OnValueChange += delegate(ValueBase <bool> sender, ValueBase <bool> .ValueChangeArgs args)
            {
                if (!args.NewValue)
                {
                    return;
                }

                if (Extensions.MenuValues.AutoShroom.DebugMode)
                {
                    remove.CurrentValue = false;
                }

                Vector3 newPosition = Vector3.Zero;

                switch (Extensions.MenuValues.AutoShroom.PositionMode.CurrentValue)
                {
                case 0:
                    newPosition = Game.CursorPos;
                    break;

                case 1:
                    newPosition = Player.Instance.Position;
                    break;
                }

                if (newPosition == Vector3.Zero)
                {
                    return;
                }

                var nearbyShrooms = AutoShroom.PlayerAssignedShroomPosition.Where(pos => pos.IsInRange(newPosition, SpellManager.R.Radius)).ToList();

                if (!nearbyShrooms.Any())
                {
                    return;
                }

                AutoShroom.RemoveShroomLocations(nearbyShrooms);
                AutoShroom.SavePositions();
            };

            DrawingMenu = PandaTeemoReborn.AddSubMenu("Drawing", "Drawing");
            DrawingMenu.AddGroupLabel("Drawing Settings");
            DrawingMenu.Add("drawQ", new CheckBox("Draw Q Range"));
            DrawingMenu.Add("drawR", new CheckBox("Draw R Range"));
            DrawingMenu.Add("drawautoR", new CheckBox("Draw Auto Shroom Positions"));
            DrawingMenu.Add("drawdoubleR", new CheckBox("Draw Double Shroom Prediction", false));

            MiscMenu = PandaTeemoReborn.AddSubMenu("Misc", "Misc");
            MiscMenu.AddGroupLabel("Spell Settings");
            MiscMenu.Add("autoQ", new CheckBox("Automatic Q", false));
            MiscMenu.Add("autoW", new CheckBox("Automatic W", false));
            MiscMenu.Add("intq", new CheckBox("Interrupt with Q"));
            MiscMenu.Add("gapR", new CheckBox("Gapcloser with R"));
        }
예제 #18
0
파일: Program.cs 프로젝트: wade1990/PortAIO
        private static void Load()
        {
            if (GameObjects.Player.ChampionName != "Viktor")
            {
                return;
            }

            Me = GameObjects.Player;

            Q  = new Spell(SpellSlot.Q, 600f);
            W  = new Spell(SpellSlot.W, 700f);
            E  = new Spell(SpellSlot.E, 525f);
            E2 = new Spell(SpellSlot.E, 525f + 700f);
            R  = new Spell(SpellSlot.R, 700f);

            W.SetSkillshot(0.5f, 300f, float.MaxValue, false, SkillshotType.SkillshotCircle);
            E.SetSkillshot(0.25f, 100f, float.MaxValue, false, SkillshotType.SkillshotLine);
            E2.SetSkillshot(0.25f, 100f, float.MaxValue, false, SkillshotType.SkillshotLine);
            R.SetSkillshot(0.25f, 450f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            Q.DamageType   = W.DamageType = E.DamageType = E2.DamageType = R.DamageType = DamageType.Magical;
            W.MinHitChance = E.MinHitChance = E2.MinHitChance = R.MinHitChance = HitChance.High;

            Ignite = Me.GetSpellSlot("SummonerDot");

            Chat.Print(Me.ChampionName + " : This is Old Version and i dont update it anymore, Please Use Flowers' Series!");

            Menu = new Menu("NightMoon", "Flowers' Viktor", true).Attach();

            Menu.Add(new MenuSeparator("OLD", "This Is Old Version and i dont update it"));
            Menu.Add(new MenuSeparator("OLD1", "Please Use Flowers' Series"));

            ComboMenu      = Menu.Add(new Menu("Combo", "Combo"));
            ComboQ         = ComboMenu.Add(new MenuBool("ComboQ", "Use Q", true));
            ComboW         = ComboMenu.Add(new MenuBool("ComboW", "Use W", true));
            ComboWSmart    = ComboMenu.Add(new MenuBool("ComboWSmart", "Solo W Cast", false));
            ComboWMin      = ComboMenu.Add(new MenuSlider("ComboWMin", "Min Enemies to Cast W", 2, 1, 5));
            ComboE         = ComboMenu.Add(new MenuBool("ComboE", "Use E", true));
            ComboR         = ComboMenu.Add(new MenuBool("ComboR", "Use R", true));
            ComboROnlyKill = ComboMenu.Add(new MenuBool("ComboROnlyKill", "Only Use R In Can Kill Enemy(1v1)", true));
            ComboRCounts   = ComboMenu.Add(new MenuSlider("ComboRCounts", "Or Counts Enemies >= (6 is off)", 3, 2, 6));
            ComboIgnite    = ComboMenu.Add(new MenuBool("ComboIgnite", "Use Ignite", true));

            HarassMenu = Menu.Add(new Menu("Harass", "Harass"));
            HarassQ    = HarassMenu.Add(new MenuBool("HarassQ", "Use Q", true));
            HarassE    = HarassMenu.Add(new MenuBool("HarassE", "Use E", true));
            HarassMana = HarassMenu.Add(new MenuSlider("HarassMana", "Min Harass ManaPercent", 40));

            LaneClearMenu = Menu.Add(new Menu("LaneClear", "Lane Clear"));
            LaneClearQ    = LaneClearMenu.Add(new MenuBool("LaneClearQ", "Use Q", true));
            LaneClearE    = LaneClearMenu.Add(new MenuBool("LaneClearE", "Use E", true));
            LaneClearEMin = LaneClearMenu.Add(new MenuSlider("LaneClearEMin", "Use E Clear Min", 3, 1, 7));
            LaneClearMana = LaneClearMenu.Add(new MenuSlider("LaneClearMana", "Min LaneClear ManaPercent", 40));

            JungleClearMenu = Menu.Add(new Menu("JungleClear", "Jungle Clear"));
            JungleClearQ    = JungleClearMenu.Add(new MenuBool("JungleClearQ", "Use Q", true));
            JungleClearE    = JungleClearMenu.Add(new MenuBool("JungleClearE", "Use E", true));
            JungleClearMana = JungleClearMenu.Add(new MenuSlider("JungleClearMana", "Min JungleClear ManaPercent", 40));

            KillStealMenu = Menu.Add(new Menu("Kill Steal", "Kill Steal"));
            KSQ           = KillStealMenu.Add(new MenuBool("KSQ", "Use Q", true));
            KSE           = KillStealMenu.Add(new MenuBool("KSE", "Use E", true));


            var FleeMenu = Menu.Add(new Menu("Flee", "Flee"));

            {
                FleeMenu.Add(new MenuBool("Q", "Use Q", true));
                FleeMenu.Add(new MenuKeyBind("Key", "Key", System.Windows.Forms.Keys.Z, KeyBindType.Press));
            }


            MiscMenu    = Menu.Add(new Menu("Misc", "Misc"));
            GapcloserW  = MiscMenu.Add(new MenuBool("AutoWInMePos", "Use W | Anti Gapcloser", true));
            InterruptW  = MiscMenu.Add(new MenuBool("SmartW", "Use W | Interrupt", true));
            AutoFollowR = MiscMenu.Add(new MenuBool("AutoFollowR", "Auto R Follow", true));

            DrawMenu   = Menu.Add(new Menu("Drawings", "Drawings"));
            DrawQ      = DrawMenu.Add(new MenuBool("DrawQ", "Draw Q"));
            DrawW      = DrawMenu.Add(new MenuBool("DrawW", "Draw W"));
            DrawE      = DrawMenu.Add(new MenuBool("DrawE", "Draw E"));
            DrawEMax   = DrawMenu.Add(new MenuBool("DrawEMax", "Draw E Max Range"));
            DrawR      = DrawMenu.Add(new MenuBool("DrawR", "Draw R"));
            DrawDamage = DrawMenu.Add(new MenuBool("DrawDamage", "Draw Combo Damage", true));
            DrawTarget = DrawMenu.Add(new MenuBool("DrawTarget", "Draw Target", true));

            Game.OnUpdate                  += OnUpdate;
            Events.OnGapCloser             += OnGapCloser;
            Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast;
            Drawing.OnDraw                 += OnDraw;
        }
예제 #19
0
        protected override void CreateMenu()
        {
            ComboMenu = MenuManager.Menu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("老鼠 连招 设置");

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                ColorPicker[3].Initialize(System.Drawing.Color.Aquamarine);
                a.CurrentValue = false;
            };
        }
예제 #20
0
파일: Jax.cs 프로젝트: spall9/Doctor-
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Jax"))
            {
                return;
            }
            Chat.Print("Doctor's Jax Loaded!", Color.White);
            Chat.Print("Mercedes7!", Color.Red);
            Q      = new Spell.Targeted(SpellSlot.Q, 700);
            W      = new Spell.Active(SpellSlot.W);
            E      = new Spell.Active(SpellSlot.E, 350);
            R      = new Spell.Active(SpellSlot.R);
            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("Doctor's Jax", "Jax");
            Menu.AddSeparator();
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("comboMode", new ComboBox("Combo Mode:", 0, "E => Q", "Q => E"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("ComboQ", new CheckBox("Combo [Q]"));
            ComboMenu.Add("WaitE", new CheckBox("Only [Q] if [E] ready", false));
            ComboMenu.Add("ComboW", new CheckBox("Combo [W]"));
            ComboMenu.Add("ComboE", new CheckBox("Combo [E]"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("ComboR", new CheckBox("Use [R] x Enemies Around"));
            ComboMenu.Add("MinR", new Slider("x enemies around use [R]", 2, 1, 5));

            Autos = Menu.AddSubMenu("Auto E/R Settings", "Autos");
            Autos.AddGroupLabel("Automatic Settings");
            Autos.Add("AutoE", new CheckBox("Auto [E] Enemies In Range"));
            Autos.Add("minE", new Slider("Min Enemies Auto [E]", 2, 1, 5));
            Autos.Add("AutoR", new CheckBox("Auto [R] If My HP =<"));
            Autos.Add("mauR", new Slider("My HP Auto [R]", 50));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Harass [Q]", false));
            HarassMenu.Add("HarassW", new CheckBox("Harass [W]"));
            HarassMenu.Add("HarassE", new CheckBox("Harass [E]"));
            HarassMenu.Add("ManaQ", new Slider("Min Mana For Harass", 30));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("LaneClear Settings");
            LaneClearMenu.Add("LCQ", new CheckBox("Lane Clear [Q]", false));
            LaneClearMenu.Add("LCW", new CheckBox("Lane Clear [W]"));
            LaneClearMenu.Add("LCE", new CheckBox("Lane Clear [E]", false));
            LaneClearMenu.Add("ManaLC", new Slider("Min Mana LaneClear [Q]", 60));
            LaneClearMenu.AddSeparator();
            LaneClearMenu.AddGroupLabel("LastHit Settings");
            LaneClearMenu.Add("LHQ", new CheckBox("Lane Clear [Q]", false));
            LaneClearMenu.Add("LHW", new CheckBox("Lane Clear [W]"));
            LaneClearMenu.Add("ManaLH", new Slider("Min Mana LaneClear [Q]", 60));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("QJungle", new CheckBox("Spell [Q]"));
            JungleClearMenu.Add("WJungle", new CheckBox("Spell [W]"));
            JungleClearMenu.Add("EJungle", new CheckBox("Spell [E]"));
            JungleClearMenu.Add("MnJungle", new Slider("Min Mana For JungleClear", 10));

            Misc = Menu.AddSubMenu("Misc Settings", "Misc");
            Misc.AddGroupLabel("AntiGap Settings");
            Misc.Add("antiGap", new CheckBox("Use [E] AntiGapcloser"));
            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("[Q] KillSteal", false));
            KillStealMenu.Add("ign", new CheckBox("[Ignite] KillSteal"));

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

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

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

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

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

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

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

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

            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnUpdate  += Game_OnUpdate;
            Interrupter.OnInterruptableSpell += Interupt;
            Orbwalker.OnPostAttack           += ResetAttack;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapcloser;
        }
예제 #22
0
        public void InitMenu()
        {
            Menu = MainMenu.AddMenu("Super-神蛇女", GCharname);

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

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

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

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

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

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

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


            MiscMenu = Menu.AddSubMenu("杂项 - " + "Super-神蛇女", GCharname + "杂项");
            MiscMenu.Add("skin", new Slider("换肤: ", 1, 1, 5));
            MiscMenu.Add("miscDelayE", new Slider("E 延迟: ", 150, 0, 500));
            MiscMenu.Add("ksOn", new CheckBox("尝试抢人头", true));
            MiscMenu.Add("miscAntiGapW", new CheckBox("使用W造成间距", true));
            MiscMenu.Add("miscAntiGapR", new CheckBox("使用R造成间距", true));
            MiscMenu.Add("miscAntiMissR", new CheckBox("屏蔽R如果空大", true));
            MiscMenu.Add("miscMinHpAntiGap", new Slider("最低血量进行R造成间距: ", 40, 0, 100));
            MiscMenu.Add("miscInterruptDangerous", new CheckBox("打断威胁的技能", true));
        }
예제 #23
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("显示漂移推助手"));
        }
예제 #24
0
파일: Program.cs 프로젝트: panicguy/Balles
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Talon"))
            {
                return;
            }
            Chat.Print("Talon7 Loaded!", Color.GreenYellow);
            Chat.Print("Doctor7", Color.Yellow);
            Bootstrap.Init(null);
            Q = new Spell.Active(SpellSlot.Q);
            W = new Spell.Skillshot(SpellSlot.W, 700, SkillShotType.Cone, 1, 2300, 80);
            W.AllowedCollisionCount = int.MaxValue;
            E      = new Spell.Targeted(SpellSlot.E, 700);
            R      = new Spell.Active(SpellSlot.R);
            Botrk  = new Item(ItemId.Blade_of_the_Ruined_King);
            Tiamat = new Item(ItemId.Tiamat_Melee_Only, 400);
            Hydra  = new Item(ItemId.Ravenous_Hydra_Melee_Only, 400);
            Bil    = new Item(3144, 475f);
            Youmuu = new Item(3142, 10);
            Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            Menu   = MainMenu.AddMenu("Talon7", "Talon");
            Menu.AddSeparator();
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q]"));
            ComboMenu.Add("ComboW", new CheckBox("Use [W]"));
            ComboMenu.Add("ComboR", new CheckBox("Always Use [R] On Combo"));
            ComboMenu.Add("riu", new CheckBox("Use [Hydra] Reset AA"));
            ComboMenu.AddGroupLabel("[E] Combo Settings");
            ComboMenu.Add("ComboE", new CheckBox("Use [E]"));
            ComboMenu.Add("myhp", new Slider("Min MyHP For [E]", 40, 0, 100));
            ComboMenu.AddGroupLabel("[R] Escape Settings");
            ComboMenu.Add("autor", new CheckBox("Use [R] Escape"));
            ComboMenu.Add("mau", new Slider("MyHP For [R] Escape", 20, 0, 100));

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

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.Add("LaneQ", new CheckBox("Use [Q]", false));
            LaneClearMenu.Add("LaneW", new CheckBox("Use [W]"));
            LaneClearMenu.Add("ManaLC", new Slider("Min Mana LaneClear", 60));
            LaneClearMenu.AddSeparator();
            LaneClearMenu.AddGroupLabel("Lasthit Settings");
            LaneClearMenu.Add("LastW", new CheckBox("Use [W] Lasthit"));
            LaneClearMenu.Add("LastQ", new CheckBox("Use [Q] Lasthit", false));
            LaneClearMenu.Add("LhMana", new Slider("Min Mana LaneClear", 60));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("QJungle", new CheckBox("Use [Q]"));
            JungleClearMenu.Add("WJungle", new CheckBox("Use [W]"));
            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 [W] AntiGapcloser"));
            Misc.Add("Rstun", new CheckBox("Use [W] If Enemy Has CC"));
            Misc.AddSeparator();
            Misc.AddGroupLabel("Drawing Settings");
            Misc.Add("DrawW", new CheckBox("W Range"));
            Misc.Add("DrawE", new CheckBox("E Range", false));
            Misc.AddSeparator();
            Misc.AddGroupLabel("Skin Changer");
            Misc.Add("checkSkin", new CheckBox("Use Skin Changer"));
            Misc.Add("skin.Id", new ComboBox("Skin Mode", 4, "Default", "1", "2", "3", "4"));

            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("KsR", new CheckBox("Use [R] KillSteal"));
            KillStealMenu.Add("ign", new CheckBox("Use [Ignite] KillSteal"));

            Items = Menu.AddSubMenu("Items Settings", "Items");
            Items.AddGroupLabel("Items Settings");
            Items.Add("you", new CheckBox("Use [Youmuu]"));
            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));

            Drawing.OnDraw         += Drawing_OnDraw;
            Game.OnTick            += Game_OnTick;
            Orbwalker.OnPostAttack += ResetAttack;
            Gapcloser.OnGapcloser  += Gapcloser_OnGapcloser;
        }
예제 #25
0
        static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Irelia"))
            {
                return;
            }
            Chat.Print("Doctor's Irelia Loaded!", Color.Orange);
            Q = new Spell.Targeted(SpellSlot.Q, 625);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Targeted(SpellSlot.E, 425);
            R = new Spell.Skillshot(SpellSlot.R, 900, SkillShotType.Linear, 250, 1600, 120);
            R.AllowedCollisionCount = int.MaxValue;
            Botrk  = new Item(ItemId.Blade_of_the_Ruined_King);
            Sheen  = new Item(ItemId.Sheen);
            Tryn   = new Item(ItemId.Trinity_Force);
            Bil    = new Item(3144, 475f);
            Ignite = new Spell.Targeted(_Player.GetSpellSlotFromName("summonerdot"), 600);
            thm    = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 16, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Menu = MainMenu.AddMenu("Doctor's Irelia", "Irelia");
            Menu.AddGroupLabel("Doctor7");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q] Combo"));
            ComboMenu.Add("ComboQ2", new CheckBox("Use [Q] on minions to get closer to the target"));
            ComboMenu.Add("ComboW", new CheckBox("Use [W] Combo"));
            ComboMenu.Add("DisQ", new Slider("Use [Q] If Enemy Distance >", 125, 0, 625));
            ComboMenu.AddLabel("[Q] Distance < 125 = Always [Q]");
            ComboMenu.Add("ComboE", new CheckBox("Use [E] Combo"));
            ComboMenu.Add("AlwaysE", new CheckBox("Only Use [E] If Can Stun Target", false));
            ComboMenu.Add("CTurret", new KeyBind("Dont Use [Q] UnderTurret", false, KeyBind.BindTypes.PressToggle, 'T'));
            ComboMenu.AddGroupLabel("Interrupt Settings");
            ComboMenu.Add("interQ", new CheckBox("Use [E] Interrupt"));

            Ultimate = Menu.AddSubMenu("Ultimate Settings", "Ultimate");
            Ultimate.AddGroupLabel("Ultimate Settings");
            Ultimate.Add("useRCombo", new CheckBox("Use [R]"));
            Ultimate.AddLabel("Use [R] Low Hp");
            Ultimate.Add("RHeatlh", new CheckBox("Use [R] If MyHP <"));
            Ultimate.Add("MauR", new Slider("MyHP Use [R] <", 50));
            Ultimate.AddLabel("Use [R] Sheen");
            Ultimate.Add("RShen", new CheckBox("Use [R] Sheen", false));
            Ultimate.AddLabel("Use [R] Ks");
            Ultimate.Add("KsR", new CheckBox("Use [R] KillSteal"));
            Ultimate.AddLabel("Use [R] Minions");
            Ultimate.Add("Rminion", new CheckBox("Use [R] On Minion If No Enemies Around"));

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass"));
            HarassMenu.Add("HarassQ2", new CheckBox("Use [Q] on minions to get closer to the target"));
            HarassMenu.Add("HarassW", new CheckBox("Use [W] Harass"));
            HarassMenu.Add("DisQ2", new Slider("Use [Q] If Enemy Distance >", 125, 0, 625));
            HarassMenu.AddLabel("[Q] Distance < 125 = Always [Q]");
            HarassMenu.Add("HarassE", new CheckBox("Use [E] Harass"));
            HarassMenu.Add("AlwaysEH", new CheckBox("Only Use [E] If Can Stun Target"));
            HarassMenu.Add("ManaQ", new Slider("Mana Harass", 40));

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

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.Add("LaneClearQ", new CheckBox("Use [Q] LaneClear"));
            LaneClearMenu.Add("LaneClearW", new CheckBox("Use [W] LaneClear"));
            LaneClearMenu.Add("MauW", new Slider("Use [W] If HealthPercent <", 50));
            LaneClearMenu.Add("LaneClearE", new CheckBox("Use [E] LaneClear"));
            LaneClearMenu.Add("ManaLC", new Slider("Mana LaneClear", 50));
            LaneClearMenu.AddGroupLabel("LastHit Settings");
            LaneClearMenu.Add("LastHitQ", new CheckBox("Use [Q] LastHit"));
            LaneClearMenu.Add("LastHitE", new CheckBox("Use [E] LastHit"));
            LaneClearMenu.Add("ManaLH", new Slider("Mana LastHit", 50));

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

            Misc = Menu.AddSubMenu("Misc Changer", "Misc");
            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));
            Misc.AddGroupLabel("Flee Settings");
            Misc.Add("FleeQ", new CheckBox("Only Use [Q] Flee If Killalble Minion"));
            Misc.AddGroupLabel("Drawing Settings");
            Misc.Add("DrawQ", new CheckBox("[Q] Range"));
            Misc.Add("DrawR", new CheckBox("[R] Range"));
            Misc.Add("DrawTR", new CheckBox("Status Under Turret"));
            Misc.Add("Draw_Disabled", new CheckBox("Disabled Drawings"));

            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnUpdate  += Game_OnUpdate;
            Interrupter.OnInterruptableSpell += Interupt;
        }
예제 #26
0
 static void OnLoadingComplete(EventArgs args)
 {
     if (!_Player.ChampionName.Contains("Twitch"))
     {
         return;
     }
     Chat.Print("Twitch7 Loaded!", Color.Orange);
     Bootstrap.Init(null);
     Q = new Spell.Active(SpellSlot.Q);
     W = new Spell.Skillshot(SpellSlot.W, 950, SkillShotType.Circular, 250, 1550, 275);
     W.AllowedCollisionCount = int.MaxValue;
     E      = new Spell.Active(SpellSlot.E, 1200);
     R      = new Spell.Active(SpellSlot.R);
     Botrk  = new Item(ItemId.Blade_of_the_Ruined_King);
     Bil    = new Item(3144, 475f);
     Youmuu = new Item(3142, 10);
     Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
     Menu   = MainMenu.AddMenu("Twitch7", "Twitch");
     Menu.AddSeparator();
     ComboMenu = Menu.AddSubMenu("连招设置", "Combo");
     ComboMenu.AddGroupLabel("连招设置");
     ComboMenu.Add("ComboQ", new CheckBox("技能 [Q]"));
     ComboMenu.Add("ComboW", new CheckBox("技能 [W]"));
     ComboMenu.AddGroupLabel("连招[E] 设置");
     ComboMenu.Add("ComboE", new CheckBox("技能 [R]"));
     ComboMenu.Add("MinEC", new Slider("最低层数使用 [E]", 5, 0, 6));
     ComboMenu.AddGroupLabel("连招[E] 目标");
     foreach (var target in EntityManager.Heroes.Enemies)
     {
         ComboMenu.Add("combo" + target.ChampionName, new CheckBox("" + target.ChampionName));
     }
     ComboMenu.AddSeparator();
     ComboMenu.Add("ComboR", new CheckBox("技能 [R]"));
     ComboMenu.Add("MinR", new Slider("最少敌人数使用 [R]", 3, 0, 5));
     HarassMenu = Menu.AddSubMenu("骚扰设置", "Harass");
     HarassMenu.AddGroupLabel("骚扰设置");
     HarassMenu.Add("HarassW", new CheckBox("使用 [W]"));
     HarassMenu.Add("HarassQ", new CheckBox("使用 [Q]", false));
     HarassMenu.Add("HminQ", new Slider("最少敌人数使用 [Q]", 2, 0, 5));
     HarassMenu.AddGroupLabel("骚扰[E] 设置");
     HarassMenu.Add("HarassE", new CheckBox("使用 [E]"));
     HarassMenu.Add("HminE", new Slider("最低层数使用 [E]", 5, 0, 6));
     HarassMenu.AddGroupLabel("骚扰[E] 目标");
     foreach (var target in EntityManager.Heroes.Enemies)
     {
         HarassMenu.Add("haras" + target.ChampionName, new CheckBox("" + target.ChampionName));
     }
     HarassMenu.Add("ManaQ", new Slider("骚扰最低蓝量", 40));
     LaneClearMenu = Menu.AddSubMenu("清线设置", "LaneClear");
     LaneClearMenu.AddGroupLabel("清线设置");
     LaneClearMenu.Add("ELC", new CheckBox("使用 [E] 清线", false));
     LaneClearMenu.Add("ELH", new CheckBox("只使用 [E] 尾兵", false));
     LaneClearMenu.Add("mineLC", new Slider("最低层数使用 [E]", 4, 0, 6));
     LaneClearMenu.AddSeparator();
     LaneClearMenu.Add("WLC", new CheckBox("使用 [W] 清线", false));
     LaneClearMenu.Add("ManaLC", new Slider("清线最低蓝量", 40));
     JungleClearMenu = Menu.AddSubMenu("清野设置", "JungleClear");
     JungleClearMenu.AddGroupLabel("清野设置");
     JungleClearMenu.Add("EJungle", new CheckBox("使用 [E]"));
     JungleClearMenu.Add("mineJ", new Slider("最低层数使用 [E]", 6, 0, 6));
     JungleClearMenu.AddSeparator();
     JungleClearMenu.Add("WJungle", new CheckBox("使用 [W]"));
     JungleClearMenu.Add("MnJungle", new Slider("骚清野最低蓝量", 30));
     KillStealMenu = Menu.AddSubMenu("抢头设置", "KillSteal");
     KillStealMenu.AddGroupLabel("抢头设置");
     KillStealMenu.Add("KsW", new CheckBox("使用 [W] 抢头"));
     KillStealMenu.Add("KsE", new CheckBox("使用 [E] 抢头"));
     KillStealMenu.Add("ign", new CheckBox("使用 [点燃] 抢头"));
     Misc = Menu.AddSubMenu("杂项设置", "Misc");
     Misc.AddGroupLabel("杂项设置");
     Misc.Add("AntiGap", new CheckBox("使用 [W] 防突进"));
     Misc.Add("FleeQ", new CheckBox("使用 [Q] 逃跑"));
     Misc.Add("FleeW", new CheckBox("使用 [W] 逃跑"));
     Misc.AddGroupLabel("换肤");
     Misc.Add("checkSkin", new CheckBox("使用换肤"));
     Misc.Add("skin.Id", new ComboBox("皮肤模式", 7, "Default", "1", "2", "3", "4", "5", "6", "7"));
     Misc.AddGroupLabel("线圈设置");
     Misc.Add("DrawW", new CheckBox("W 范围"));
     Misc.Add("DrawE", new CheckBox("E 范围"));
     Misc.Add("Damage", new CheckBox("伤害指示器"));
     Items = Menu.AddSubMenu("物品设置", "Items");
     Items.AddGroupLabel("物品设置");
     Items.Add("you", new CheckBox("使用幽梦"));
     Items.Add("BOTRK", new CheckBox("使用破败"));
     Items.Add("ihp", new Slider("自身低于X血量使用破败", 50));
     Items.Add("ihpp", new Slider("敌人血量低于X使用破败", 50));
     Drawing.OnDraw        += Drawing_OnDraw;
     Drawing.OnEndScene    += Damage;
     Game.OnTick           += Game_OnTick;
     Gapcloser.OnGapcloser += Gapcloser_OnGapcloser;
 }
예제 #27
0
        private static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Kayle"))
            {
                return;
            }
            Chat.Print("Doctor's Kayle Loaded!", Color.Orange);
            Q      = new Spell.Targeted(SpellSlot.Q, 650);
            W      = new Spell.Targeted(SpellSlot.W, 900);
            E      = new Spell.Active(SpellSlot.E, (uint)Player.Instance.GetAutoAttackRange());
            R      = new Spell.Targeted(SpellSlot.R, 900);
            Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);
            thm    = new Font(Drawing.Direct3DDevice, new FontDescription {
                FaceName = "Tahoma", Height = 22, Weight = FontWeight.Bold, OutputPrecision = FontPrecision.Default, Quality = FontQuality.ClearType
            });
            Menu = MainMenu.AddMenu("Kayle", "Kayle");
            Menu.AddGroupLabel("Doctor7");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q] Combo"));
            ComboMenu.Add("ComboE", new CheckBox("Use [E] Combo"));

            Ulti = Menu.AddSubMenu("Ultimate Settings", "Ulti");
            Ulti.AddGroupLabel("Ultimate Settings");
            Ulti.Add("ultiR2", new CheckBox("Use [R]"));
            Ulti.Add("Alhp", new Slider("HP Use [R]", 25));
            Ulti.AddGroupLabel("Use [R] On");
            foreach (var target in EntityManager.Heroes.Allies)
            {
                Ulti.Add("useRon" + target.ChampionName, new CheckBox("" + target.ChampionName));
            }

            Heal = Menu.AddSubMenu("Heal Settings", "Heal");
            Heal.AddGroupLabel("Heal Settings");
            Heal.Add("healW2", new CheckBox("Use [W] Allies"));
            Heal.Add("ManaHeal", new Slider("Mana Use Heal", 20));
            Heal.Add("AlW", new Slider("Allies HP Use [W]", 70));
            Heal.AddGroupLabel("Use [W] On");
            foreach (var target in EntityManager.Heroes.Allies)
            {
                Heal.Add("useWon" + target.ChampionName, new CheckBox("" + target.ChampionName));
            }

            HarassMenu = Menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HarassQ", new CheckBox("Use [Q] Harass"));
            HarassMenu.Add("HarassE", new CheckBox("Use [E] Harass"));
            HarassMenu.Add("ManaHR", new Slider("Mana For Harass", 50));

            LaneClearMenu = Menu.AddSubMenu("LaneClear Settings", "LaneClear");
            LaneClearMenu.AddGroupLabel("Lane Clear Settings");
            LaneClearMenu.Add("QLC", new CheckBox("Use [Q] LaneClear", false));
            LaneClearMenu.Add("ELC", new CheckBox("Use [E] LaneClear"));
            LaneClearMenu.Add("ManaLC", new Slider("Mana For LaneClear", 50));
            LaneClearMenu.AddGroupLabel("Lasthit Settings");
            LaneClearMenu.Add("QLH", new CheckBox("Use [Q] Lasthit"));
            LaneClearMenu.Add("ManaLH", new Slider("Mana For Lasthit", 50));

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

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

            Misc = Menu.AddSubMenu("Misc Settings", "Misc");
            Misc.AddGroupLabel("Drawing Settings");
            Misc.Add("DrawQ", new CheckBox("[Q] Range"));
            Misc.Add("DrawE", new CheckBox("[E] Range"));
            Misc.Add("DrawR", new CheckBox("[R] - [W] Range"));
            Misc.Add("DrawIE", new CheckBox("Status [E] Buff"));

            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnUpdate  += Game_OnUpdate;
        }
예제 #28
0
파일: Ashe.cs 프로젝트: spall9/Doctor-
// Menu

        private static void OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Ashe"))
            {
                return;
            }
            Chat.Print("Doctor's Ashe Loaded!", Color.Orange);
            Chat.Print("Mercedes7!", Color.Red);
            Q = new Spell.Active(SpellSlot.Q, 600);
            W = new Spell.Skillshot(SpellSlot.W, 1200, SkillShotType.Linear, 0, int.MaxValue, 60);
            W.AllowedCollisionCount = 0;
            E = new Spell.Skillshot(SpellSlot.E, 10000, SkillShotType.Linear);
            E.AllowedCollisionCount = int.MaxValue;
            R = new Spell.Skillshot(SpellSlot.R, 3000, SkillShotType.Linear, 250, 1600, 100);
            R.AllowedCollisionCount = -1;
            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
            });
            Menu = MainMenu.AddMenu("Doctor's Ashe", "Ashe");
            Menu.AddGroupLabel("Mercedes7");
            ComboMenu = Menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ComboQ", new CheckBox("Use [Q] Combo"));
            ComboMenu.Add("Qmode", new ComboBox("Q Mode:", 0, "Normal [Q]", "[Q] Reload AA"));
            ComboMenu.Add("ComboW", new CheckBox("Use [W] Combo"));
            ComboMenu.Add("ComboMode", new ComboBox("W Mode:", 0, "Normal [W]", "[W] Reload AA"));
            ComboMenu.Add("ComboR", new CheckBox("Use [R] Combo"));
            ComboMenu.Add("KeepCombo", new CheckBox("Keep Mana For [R]", false));
            ComboMenu.AddGroupLabel("Ultimate Aoe Settings");
            ComboMenu.Add("RAoe", new CheckBox("Use [R] Aoe"));
            ComboMenu.Add("minRAoe", new Slider("Use [R] Aoe If Hit x Enemies", 2, 1, 5));
            ComboMenu.AddGroupLabel("Ultimate Selected Target Settings");
            ComboMenu.Add("ComboSL", new CheckBox("Use [R] On Selected Target"));
            ComboMenu.AddGroupLabel("KillSteal Settings");
            ComboMenu.Add("RKs", new CheckBox("Use [R] KillSteal"));
            ComboMenu.Add("WKs", new CheckBox("Use [W] KillSteal"));
            ComboMenu.Add("RKb", new KeyBind("Semi Manual [R] KillSteal", false, KeyBind.BindTypes.HoldActive, 'T'));

            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("KeepHarass", new CheckBox("Keep Mana For [R]", false));
            HarassMenu.Add("manaHarass", new Slider("Mana Harass", 50, 0, 100));

            LaneClearMenu = Menu.AddSubMenu("Laneclear Settings", "Clear");
            LaneClearMenu.AddGroupLabel("Laneclear Settings");
            LaneClearMenu.Add("ClearQ", new CheckBox("Use [Q] Laneclear", false));
            LaneClearMenu.Add("ClearW", new CheckBox("Use [W] Laneclear", false));
            LaneClearMenu.Add("minw", new Slider("Number Hit Minions Use [W]", 2, 1, 6));
            LaneClearMenu.Add("manaFarm", new Slider("Mana LaneClear", 60, 0, 100));

            JungleClearMenu = Menu.AddSubMenu("JungleClear Settings", "JungleClear");
            JungleClearMenu.AddGroupLabel("JungleClear Settings");
            JungleClearMenu.Add("jungleQ", new CheckBox("Use [Q] JungleClear"));
            JungleClearMenu.Add("jungleW", new CheckBox("Use [W] JungleClear"));
            JungleClearMenu.Add("manaJung", new Slider("Mana JungleClear", 20, 0, 100));

            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));

            Misc = Menu.AddSubMenu("Misc Settings", "Draw");
            Misc.AddGroupLabel("Anti Gapcloser");
            Misc.Add("antiGap", new CheckBox("Use [R] Anti Gapcloser", false));
            Misc.Add("antiRengar", new CheckBox("Use [R] Anti Rengar KhaZix", false));
            Misc.Add("inter", new CheckBox("Use [R] Interupt"));
            Misc.AddGroupLabel("Drawings Settings");
            Misc.Add("Draw_Disabled", new CheckBox("Disabled Drawings", false));
            Misc.Add("DrawW", new CheckBox("Draw [W]", false));
            Misc.Add("Notifications", new CheckBox("Alerter Can Kill With [R]"));

            Game.OnUpdate                    += Game_OnUpdate;
            Drawing.OnDraw                   += Drawing_OnDraw;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapCloser;
            Interrupter.OnInterruptableSpell += Interupt;
            Orbwalker.OnPostAttack           += ResetAttack;
            GameObject.OnCreate              += GameObject_OnCreate;
        }
예제 #29
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.Hero != ChampionName)
            {
                return;
            }

            Q = new Spell.Chargeable(SpellSlot.Q, 750, 1450, 1500, 500, int.MaxValue, 100)
            {
                AllowedCollisionCount = int.MaxValue
            };
            W = new Spell.Skillshot(SpellSlot.W, 1100, SkillShotType.Circular, 250, int.MaxValue, 100)
            {
                AllowedCollisionCount = int.MaxValue
            };
            E = new Spell.Skillshot(SpellSlot.E, 1000, SkillShotType.Linear, 250, 1600, 70);
            R = new Spell.Skillshot(SpellSlot.R, 3200, SkillShotType.Circular, 600, int.MaxValue, 125)
            {
                AllowedCollisionCount = int.MaxValue
            };

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

            Menuini         = MainMenu.AddMenu("Xerath", "Xerath");
            RMenu           = Menuini.AddSubMenu("R 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");
            MiscMenu        = Menuini.AddSubMenu("Misc Settings");
            DrawMenu        = Menuini.AddSubMenu("Drawings Settings");
            ColorMenu       = Menuini.AddSubMenu("Color Picker");

            RMenu.AddGroupLabel("R Settings");
            RMenu.Add("R", new CheckBox("Use R"));
            RMenu.Add(R.Slot + "hit", new ComboBox("R HitChance", 0, "High", "Medium", "Low"));
            RMenu.Add("scrybR", new CheckBox("Use Scrybing Orb while Ulting"));
            RMenu.Add("Rmode", new ComboBox("R Mode", 0, "Auto", "Custom Delays", "On Tap"));
            RMenu.Add("Rtap", new KeyBind("R Tap Key", false, KeyBind.BindTypes.HoldActive, 'S'));
            RMenu.AddGroupLabel("R Custom Delays");
            for (int i = 1; i <= 5; i++)
            {
                RMenu.Add("delay" + i, new Slider("Delay " + i, 0, 0, 1500));
            }
            RMenu.Add("Rblock", new CheckBox("Block Commands While Casting R"));
            RMenu.Add("Rnear", new CheckBox("Focus Targets Near Mouse Only"));
            RMenu.Add("Mradius", new Slider("Mouse Radius", 750, 300, 1500));

            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("key", new KeyBind("Combo Key", false, KeyBind.BindTypes.HoldActive, 32));
            ComboMenu.Add("Q", new CheckBox("Use Q"));
            ComboMenu.Add(Q.Slot + "hit", new ComboBox("Q HitChance", 0, "High", "Medium", "Low"));
            ComboMenu.Add("W", new CheckBox("Use W"));
            ComboMenu.Add(W.Slot + "hit", new ComboBox("W HitChance", 0, "High", "Medium", "Low"));
            ComboMenu.Add("E", new CheckBox("Use E"));
            ComboMenu.Add(E.Slot + "hit", new ComboBox("E HitChance", 0, "High", "Medium", "Low"));

            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("key", new KeyBind("Harass Key", false, KeyBind.BindTypes.HoldActive, 'C'));
            HarassMenu.Add("toggle", new KeyBind("Auto Harass", false, KeyBind.BindTypes.PressToggle, 'H'));
            HarassMenu.Add("Q", new CheckBox("Use Q"));
            HarassMenu.Add(Q.Slot + "hit", new ComboBox("Q HitChance", 0, "High", "Medium", "Low"));
            HarassMenu.Add("Qmana", new Slider("Use Q if Mana% > [{0}%]"));
            HarassMenu.Add("W", new CheckBox("Use W"));
            HarassMenu.Add(W.Slot + "hit", new ComboBox("W HitChance", 0, "High", "Medium", "Low"));
            HarassMenu.Add("Wmana", new Slider("Use W if Mana% > [{0}%]"));
            HarassMenu.Add("E", new CheckBox("Use E"));
            HarassMenu.Add(E.Slot + "hit", new ComboBox("E HitChance", 0, "High", "Medium", "Low"));
            HarassMenu.Add("Emana", new Slider("Use E if Mana% > [{0}%]"));

            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("Qmode", new ComboBox("Q Mode", 0, "LaneClear", "LastHit", "Both"));
            LaneClearMenu.Add("Qmana", new Slider("Use Q if Mana% > [{0}%]"));
            LaneClearMenu.Add("W", new CheckBox("Use W"));
            LaneClearMenu.Add("Wmode", new ComboBox("W Mode", 0, "LaneClear", "LastHit", "Both"));
            LaneClearMenu.Add("Wmana", new Slider("Use W if Mana% > [{0}%]"));
            LaneClearMenu.Add("E", new CheckBox("Use E"));
            LaneClearMenu.Add("Emode", new ComboBox("E Mode", 0, "LaneClear", "LastHit", "Both"));
            LaneClearMenu.Add("Emana", new Slider("Use E if Mana% > [{0}%]"));

            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("Use Q if Mana% > [{0}%]"));
            JungleClearMenu.Add("W", new CheckBox("Use W"));
            JungleClearMenu.Add("Wmana", new Slider("Use W if Mana% > [{0}%]"));
            JungleClearMenu.Add("E", new CheckBox("Use E"));
            JungleClearMenu.Add("Emana", new Slider("Use E if Mana% > [{0}%]"));

            KillStealMenu.AddGroupLabel("KillSteal Settings");
            KillStealMenu.Add("Q", new CheckBox("Use Q"));
            KillStealMenu.Add("W", new CheckBox("Use W"));
            KillStealMenu.Add("E", new CheckBox("Use E"));

            MiscMenu.AddGroupLabel("Misc Settings");
            MiscMenu.Add("gap", new CheckBox("E Anti-GapCloser"));
            MiscMenu.Add("int", new CheckBox("E Interrupter"));
            MiscMenu.Add("danger", new ComboBox("Interrupter Danger Level", 1, "High", "Medium", "Low"));
            MiscMenu.Add("flee", new KeyBind("Escape with E", false, KeyBind.BindTypes.HoldActive, 'A'));
            var notifi = MiscMenu.Add("Notifications", new CheckBox("Use Notifications"));

            MiscMenu.Add("autoECC", new CheckBox("Auto E On CC enemy"));
            MiscMenu.Add("scrybebuy", new CheckBox("Auto Scrybing Orb Buy"));
            MiscMenu.Add("scrybebuylevel", new Slider("Buy Orb at level [{0}]", 9, 1, 18));
            MiscMenu.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)
            {
                MiscMenu.Add(spell.SpellName, new CheckBox(spell.ChampName + " - " + spell.SpellSlot));
            }

            foreach (var spell in SpellList)
            {
                DrawMenu.Add(spell.Slot.ToString(), new CheckBox(spell.Slot + " Range"));
            }

            DrawMenu.Add("Rmini", new CheckBox("Draw R Range (MiniMap)", false));

            foreach (var spell in SpellList)
            {
                ColorMenu.Add(spell.Slot + "Color", new ColorPicker(spell.Slot + " Color", Color.Chartreuse));
            }

            if (notifi.CurrentValue)
            {
                Common.ShowNotification("KappaXerath - Loaded", 5000);
            }

            Game.OnUpdate      += Game_OnGameUpdate;
            Drawing.OnDraw     += Drawing_OnDraw;
            Drawing.OnEndScene += Drawing_OnEndScene;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapcloser;
            Obj_AI_Base.OnProcessSpellCast   += Obj_AI_Base_OnProcessSpellCast;
            Orbwalker.OnPreAttack            += Orbwalker_OnPreAttack;
            Player.OnIssueOrder   += Player_OnIssueOrder;
            GameObject.OnCreate   += GameObject_OnCreate;
            Spellbook.OnCastSpell += Spellbook_OnCastSpell;
        }
예제 #30
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;
        }