コード例 #1
0
ファイル: Ezreal.cs プロジェクト: cttbot/LeagueSharp
 public void InitMenu()
 {
     UseQ = MainMenu.Add(new MenuBool("Ezrealq", "Use Q", true));
     QFarm = MainMenu.Add(new MenuBool("Ezrealqfarm", "Use Q Farm", true));
     QMana = MainMenu.Add(new MenuSlider("Ezrealqfarmmana", "Q Farm Mana", 80, 0, 100));
     UseWMode = MainMenu.Add(new MenuList<string>("Ezrealw", "Use W", new [] {"COMBO", "ALWAYS", "NEVER"}));
     SemiAutoRKey = MainMenu.Add(new MenuKeyBind("Ezrealr", "Use R Key: ", Keys.R, KeyBindType.Press));
     BlockManualR = MainMenu.Add(new MenuBool("Ezrealblockmanualr", "Block manual R", true));
     UseSheenCombo = MainMenu.Add(new MenuBool("Ezrealsheencombo", "Use SHEEN Combo", true));
     MainMenu.Attach();
 }
コード例 #2
0
ファイル: Irelia.cs プロジェクト: cttbot/LeagueSharp
 private void InitMenu()
 {
     UseQComboStringList = MainMenu.Add(new MenuList<string>("useqcombo", "Q Combo MODE: ", new [] {"CHALLENGER", "BRONZE", "NEVER"}));
     UseWComboBool = MainMenu.Add(new MenuBool("usewcombo", "Use W Combo", true));
     UseEComboStringList = MainMenu.Add(new MenuList<string>("useecombo", "Use E Combo", new [] {"CHALLENGER", "BRONZE", "NEVER"}));
     UseEKSBool = MainMenu.Add(new MenuBool("useeks", "Use E KS if Q on CD", true));
     UseRComboKeybind = MainMenu.Add(new MenuKeyBind("usercombo", "Use R Combo", Keys.R, KeyBindType.Press));
     QGapcloseModeStringList =
         MainMenu.Add(new MenuList<string>("qgc", "Q Gapcloser Mode",
             new[] {"ONLY-CLOSEST-TO-TARGET", "ALL-KILLABLE-MINIONS"}));
     MinDistForQGapcloser =
         MainMenu.Add(new MenuSlider("mindistqgapcloser", "Min Distance for Q Gapclose", 350, 325, 625));
     QFarmModeStringList = MainMenu.Add(new MenuList<string>("useqfarm", "Q Farm Mode: ", new[] { "ONLY-UNKILLABLE", "ALWAYS", "NEVER" }));
     MainMenu.Attach();
 }
コード例 #3
0
ファイル: KogMaw.cs プロジェクト: cttbot/LeagueSharp
        public override void InitializeMenu()
        {
            base.InitializeMenu();
            ComboMenu = MainMenu.Add(new Menu("koggiecombomenu", "Combo Settings: "));
            UseQBool = ComboMenu.Add(new MenuBool("koggieuseq", "Use Q", true));
            UseWBool = ComboMenu.Add(new MenuBool("koggieusew", "Use W", true));
            UseEBool = ComboMenu.Add(new MenuBool("koggieusee", "Use E", true));
            UseRBool = ComboMenu.Add(new MenuBool("koggieuser", "Use R", true));
            GetInPositionForWBeforeActivatingBool =
                ComboMenu.Add(new MenuBool("koggiewintime", "Dont Activate W if In Danger!", false));
            HarassMenu = MainMenu.Add(new Menu("koggieharassmenu", "Harass Settings"));
            UseRHarass = HarassMenu.Add(new MenuBool("koggieuserharass", "Use R", true));
            JungleclearMenu = MainMenu.Add(new Menu("koggiejgclearmenu", "Jungleclear Settings: "));
            UseWJungleClearMenu = JungleclearMenu.Add(new Menu("koggiewjgcleartargets", "W if TARGET is: "));

            if (GetJungleCampsOnCurrentMap() != null)
            {
                foreach (var mob in GetJungleCampsOnCurrentMap())
                {
                    UseWJungleClearMenu.Add(new MenuBool(mob, mob, true));
                }
            }
            DrawMenu = MainMenu.Add(new Menu("koggiedrawmenu", "Drawing Settings"));
            DrawWRangeBool = DrawMenu.Add(new MenuBool("koggiedraww", "Draw W Range", true));
            DrawRRangeBool = DrawMenu.Add(new MenuBool("koggiedrawr", "Draw R Range", true));
            HumanizerMenu = MainMenu.Add(new Menu("koggiehumanizermenu", "Humanizer Settings: "));
            HumanizerMinAttacks = HumanizerMenu.Add(new MenuSlider("koggieminattacks", "Min attacks before moving", 2, 1, 10));
            HumanizerMovementTime =
                HumanizerMenu.Add(new MenuSlider("koggiehumanizermovetime", "Time for moving (milliseconds)", 200, 0,
                    1000));
            HumanizerEnabled = HumanizerMenu.Add(new MenuBool("koggiehumanizerenabled", "Enable Humanizer? ", true));
            MaxRStacksSlider = MainMenu.Add(new MenuSlider("koggiermaxstacks", "R Max Stacks: ", 2, 0, 11));
            AlwaysSaveManaForWBool = MainMenu.Add(new MenuBool("koggiesavewmana", "Always Save Mana For W!", true));
            MainMenu.Attach();
        }
コード例 #4
0
ファイル: Soraka.cs プロジェクト: cttbot/LeagueSharp
        public override void InitializeMenu()
        {
            HealBlacklistMenu = MainMenu.Add(new Menu("healblacklist", "Do NOT Heal (W): ", false, "Soraka"));
            foreach (var ally in ObjectManager.Get<Obj_AI_Hero>().Where(h => h.IsAlly && !h.IsMe))
            {
                var championName = ally.CharData.BaseSkinName;
                HealBlacklistMenu.Add(new MenuBool("dontheal" + championName, championName, false));
            }

            UltBlacklistMenu = MainMenu.Add(new Menu("ultblacklist", "Do NOT Ult (R): ", false, "Soraka"));
            foreach (var ally in ObjectManager.Get<Obj_AI_Hero>().Where(h => h.IsAlly && !h.IsMe))
            {
                var championName = ally.CharData.BaseSkinName;
                UltBlacklistMenu.Add(new MenuBool("dontult" + championName, championName, false));
            }

            PriorityMenu = MainMenu.Add(new Menu("sttcselector", "Heal Priority", false, "Soraka"));

            foreach (var ally in ObjectManager.Get<Obj_AI_Hero>().Where(h => h.IsAlly && !h.IsMe))
            {
                PriorityMenu.Add(
                    new MenuSlider("STTCSelector" + ally.ChampionName + "Priority", ally.ChampionName,
                        GetPriorityFromDb(ally.ChampionName), 1, 5));
            }

            OnlyQIfMyHPLessThanSlider =
                MainMenu.Add(new MenuSlider("rakaqonlyifmyhp", "Only Q if my HP < %", 100, 0, 100));

            NoNeedForSpacebarBool =
                MainMenu.Add(new MenuBool("noneed4spacebar", "PLAY ONLY WITH MOUSE! NO SPACEBAR", true));

            DontHealIfImBelowHpSlider = MainMenu.Add(new MenuSlider("wmyhp", "Don't Heal (W) if Below HP%: ", 20, 1));

            DontWTanksBool = MainMenu.Add(new MenuBool("dontwtanks", "Don't Heal (W) Tanks", true));

            ATankTakesXHealsToHealSlider =
                MainMenu.Add(new MenuSlider("atanktakesxheals", "A TANK takes X Heals (W) to  FULLHP", 15, 5, 30));

            EDelay = MainMenu.Add(new MenuSlider("rakaedelay", "E Delay (milliseconds)", 0, 0, 250));

            UseUltForMeIfMyHpIsLessThanSlider = MainMenu.Add(new MenuSlider("ultmyhp", "Ult if MY HP% < ", 15, 1, 25));

            UltIfAnAllyHpIsLessThanSlider = MainMenu.Add(new MenuSlider("ultallyhp", "Ult If Ally HP% < ", 15, 5, 35));

            CheckIfAllyCanSurviveBool =
                MainMenu.Add(new MenuBool("checkallysurvivability", "Check if ult will save ally", true));

            TryToUltAfterIgniteBool = MainMenu.Add(new MenuBool("ultafterignite", "ULT (R) after IGNITE", false));

            BlockAutoAttacksBool = MainMenu.Add(new MenuBool("blockaas", "Block AutoAttacks?", true));

            DrawW = MainMenu.Add(new MenuBool("draww", "Draw W?", true));

            DrawQ = MainMenu.Add(new MenuBool("drawq", "Draw Q?", true));

            DrawDebugBool = MainMenu.Add(new MenuBool("drawdebug", "Draw Heal Info", false));

            MainMenu.Attach();
        }
コード例 #5
0
ファイル: Program.cs プロジェクト: cttbot/LeagueSharp
        private static void FinishLoading()
        {
            LeagueSharp.Drawing.OnDraw += Draw;
            Game.OnUpdate += OnUpdate;
            Events.OnGapCloser += OnGapcloser;
            Events.OnInterruptableTarget += OnInterruptableTarget;
            DelayAction.Add(3000, () => MyRange = Variables.Orbwalker.GetAutoAttackRange(Player));
            Variables.Orbwalker.Enabled = true;
            DelayAction.Add(1000, () => Variables.Orbwalker.Enabled = true);
            DelayAction.Add(5000, () => Variables.Orbwalker.Enabled = true);
            DelayAction.Add(10000, () => Variables.Orbwalker.Enabled = true);
            Menu = new Menu("tyler1", "Tyler1", true);
            AutoCatch = Menu.Add(new MenuBool("tyler1auto", "Auto catch axes?", true));
            CatchOnlyCloseToMouse = Menu.Add(new MenuBool("tyler1onlyclose", "Catch only axes close to mouse?", true));
            MaxDistToMouse = Menu.Add(new MenuSlider("tyler1maxdist", "Max axe distance to mouse", 500, 250, 1250));
            OnlyCatchIfSafe = Menu.Add(new MenuBool("tyler1safeaxes", "Only catch axes if safe (anti melee)", false));
            MinQLaneclearManaPercent =
                Menu.Add(new MenuSlider("tyler1QLCMana", "Min Mana Percent for Q Laneclear", 60, 0, 100));
            EMenu = Menu.Add(new Menu("tyler1E", "E Settings: "));
            ECombo = EMenu.Add(new MenuBool("tyler1ECombo", "Use E in Combo", true));
            EGC = EMenu.Add(new MenuBool("tyler1EGC", "Use E on Gapcloser", true));
            EInterrupt = EMenu.Add(new MenuBool("tyler1EInterrupt", "Use E to Interrupt", true));
            RMenu = Menu.Add(new Menu("tyler1R", "R Settings:"));
            RKS = RMenu.Add(new MenuBool("tyler1RKS", "Use R to steal kills", true));
            RKSOnlyIfCantAA = RMenu.Add(new MenuBool("tyler1RKSOnlyIfCantAA", "Use R KS only if can't AA", true));
            RIfHit = RMenu.Add(new MenuSlider("tyler1RIfHit", "Use R if it will hit X enemies", 2, 1, 5));
            R1vs1 = RMenu.Add(new MenuBool("tyler1R1v1", "Always use R in 1v1", true));

            WCombo = Menu.Add(new MenuBool("tyler1WCombo", "Use W in Combo", true));
            UseItems = Menu.Add(new MenuBool("tyler1Items", "Use Items?", true));

            DrawingMenu = Menu.Add(new Menu("tyler1DrawSettings", "Draw Settings:"));
            DrawAXECatchRadius = DrawingMenu.Add(new MenuBool("tyler1AxeCatchDraw", "Draw Axe Catch Radius", true));
            DrawAXELocation = DrawingMenu.Add(new MenuBool("tyler1AxeLocationDraw", "Draw Axe Location", true));
            DrawAXELine = DrawingMenu.Add(new MenuBool("tyler1AxeLineDraw", "Draw Line to Axe Position", true));
            ColorMenu = DrawingMenu.Add(new MenuColor("tyler1DrawingColor", "Drawing Color", ColorBGRA.FromRgba(Color.Red.ToRgba())));

            Menu.Attach();
        }
コード例 #6
0
ファイル: Vayne.cs プロジェクト: cttbot/LeagueSharp
 private void InitMenu()
 {
     ComboMenu = MainMenu.Add(new Menu("combomenu", "Combo Settings: "));
     CondemnMenu = ComboMenu.Add(new Menu("condemnmenu", "Condemn Settings: "));
     HarassMenu = MainMenu.Add(new Menu("harassmenu", "Harass Settings: "));
     FarmMenu = MainMenu.Add(new Menu("farmmenu", "Farm Settings: "));
     DrawMenu = MainMenu.Add(new Menu("drawmenu", "Drawing Settings: "));
     UseQBool = ComboMenu.Add(new MenuBool("useq", "Auto Q", true));
     QModeStringList =
         ComboMenu.Add(new MenuList<string>("qmode", "Q Mode: ",
             new[] { "PRADA", "MARKSMAN", "VHR", "SharpShooter" }));
     UseQAntiGapcloserStringList =
         ComboMenu.Add(new MenuList<string>("qantigc", "Use Q Antigapcloser",
             new[] { "NEVER", "E-NOT-READY", "ALWAYS" }));
     TryToFocus2WBool = ComboMenu.Add(new MenuBool("focus2w", "Try To Focus 2W", false));
     UseEBool = CondemnMenu.Add(new MenuBool("usee", "Auto E", true));
     EDelaySlider = CondemnMenu.Add(new MenuSlider("edelay", "E Delay (in ms): ", 0, 0, 100));
     EModeStringList =
         CondemnMenu.Add(new MenuList<string>("emode", "E Mode: ",
             new[]
             {
                 "PRADASMART", "PRADAPERFECT", "MARKSMAN", "SHARPSHOOTER", "GOSU", "VHR", "PRADALEGACY",
                 "FASTEST",
                 "OLDPRADA"
             }));
     UseEInterruptBool = CondemnMenu.Add(new MenuBool("useeinterrupt", "Use E To Interrupt", true));
     UseEAntiGapcloserBool = CondemnMenu.Add(new MenuBool("useeantigapcloser", "Use E AntiGapcloser", true));
     UseEWhenMeleesNearBool = CondemnMenu.Add(new MenuBool("ewhenmeleesnear", "Use E when Melee near", false));
     EPushDistanceSlider = CondemnMenu.Add(new MenuSlider("epushdist", "E Push Distance: ", 425, 300, 475));
     EHitchanceSlider = CondemnMenu.Add(new MenuSlider("ehitchance", "Condemn Hitchance", 50, 0, 100));
     SemiAutomaticCondemnKey =
         CondemnMenu.Add(new MenuKeyBind("semiautoekey", "Semi Automatic Condemn", Keys.E, KeyBindType.Press));
     DontAttackWhileInvisibleAndMeelesNearBool =
         ComboMenu.Add(new MenuBool("dontattackwhileinvisible", "Smart Invisible Attacking", true));
     UseRBool = ComboMenu.Add(new MenuBool("user", "Use R In Combo", false));
     UseEAs3rdWProcBool =
         HarassMenu.Add(new MenuBool("usee3rdwproc", "Use E as 3rd W Proc Before LVL: ", false));
     UseQBonusOnEnemiesNotCS =
         HarassMenu.Add(new MenuBool("useqonenemiesnotcs", "Use Q Bonus On ENEMY not CS", false));
     UseQOnlyAt2WStacksBool = HarassMenu.Add(new MenuBool("useqonlyon2stackedenemies", "Use Q If Enemy Have 2W Stacks", false));
     UseQFarm = FarmMenu.Add(new MenuBool("useqfarm", "Use Q"));
     UseEJungleFarm = FarmMenu.Add(new MenuBool("useejgfarm", "Use E Jungle", true));
     DrawWStacksBool = DrawMenu.Add(new MenuBool("drawwstacks", "Draw W Stacks", true));
     MainMenu.Attach();
 }
コード例 #7
0
ファイル: Lucian.cs プロジェクト: cttbot/LeagueSharp
 public void InitMenu()
 {
     ComboMenu = MainMenu.Add(new Menu("Luciancombomenu", "Combo Settings: "));
     UseQCombo = ComboMenu.Add(new MenuBool("Lucianqcombo", "Use Q", true));
     UseWCombo = ComboMenu.Add(new MenuBool("Lucianwcombo", "Use W", true));
     IgnoreWCollision = ComboMenu.Add(new MenuBool("Lucianignorewcollision", "Ignore W collision (for passive)", false));
     UseEMode =
         ComboMenu.Add(new MenuList<string>("Lucianecombo", "E Mode", new[] {"Side", "Cursor", "Enemy", "Never"}));
     UseEAntiMelee = ComboMenu.Add(new MenuBool("Lucianecockblocker", "Use E to get away from melees", true));
     UseEGapclose = ComboMenu.Add(new MenuBool("Lucianegoham", "Use E to go HAM", false));
     SemiAutoRKey = ComboMenu.Add(
         new MenuKeyBind("Luciansemiauto", "Semi-Auto R Key", Keys.R, KeyBindType.Press));
     BlockManualR = this.ComboMenu.Add(new MenuBool("Lucianblockmanualr", "Block manual R", true));
     ForceR = ComboMenu.Add(new MenuBool("Lucianrcombo", "Auto R", true));
     HarassMenu = MainMenu.Add(new Menu("Lucianharassmenu", "Harass Settings: "));
     UseQExtended = HarassMenu.Add(new MenuBool("Lucianqextended", "Use Extended Q", true));
     QExManaPercent =
         HarassMenu.Add(new MenuSlider("Lucianqexmanapercent", "Only use extended Q if mana > %", 75, 0, 100));
     QExtendedBlacklist = HarassMenu.Add(new Menu("Lucianqexblacklist", "Extended Q Blacklist: "));
     foreach (var ally in ObjectManager.Get<Obj_AI_Hero>().Where(h => h.IsEnemy))
     {
         var championName = ally.CharData.BaseSkinName;
         QExtendedBlacklist.Add(new MenuBool("qexbl" + championName, championName, false));
     }
     UseQHarass = HarassMenu.Add(new MenuBool("Lucianqharass", "Use Q Harass", true));
     UsePassiveOnEnemy = HarassMenu.Add(new MenuBool("Lucianpassivefocus", "Use Passive On Champions", true));
     JungleMenu = MainMenu.Add(new Menu("Lucianjunglemenu", "Jungle Settings: "));
     QJg = JungleMenu.Add(new MenuBool("Lucianqjungle", "Use Q", true));
     WJg = JungleMenu.Add(new MenuBool("Lucianwjungle", "Use W", true));
     EJg = JungleMenu.Add(new MenuBool("Lucianejungle", "Use E", true));
     QKS = new MenuBool("Lucianqks", "Use Q for KS", true);
     MainMenu.Attach();
 }
コード例 #8
0
ファイル: Kalista.cs プロジェクト: cttbot/LeagueSharp
 private void InitMenu()
 {
     ComboMenu = MainMenu.Add(new Menu("kalicombomenu", "Combo Settings: "));
     WomboComboMenu = ComboMenu.Add(new Menu("kaliwombos", "Wombo Combos: "));
     BalistaBool = WomboComboMenu.Add(new MenuBool("kalibalista", "Balista", true));
     TalistaBool = WomboComboMenu.Add(new MenuBool("kalitalista", "Talista", true));
     SalistaBool = WomboComboMenu.Add(new MenuBool("kalisalista", "Salista", true));
     OrbwalkOnMinions = ComboMenu.Add(new MenuBool("kaliorbwalkonminions", "Orbwalk On Minions", false));
     UseQManaSlider = ComboMenu.Add(new MenuSlider("kaliuseqmanaslider", "Use Q if Mana% > ", 20));
     //UseQWalljumpKey = ComboMenu.Add(new MenuKeyBind("useqwalljump", "Q Walljump Key", Keys.N, KeyBindType.Press));
     FocusWBuffedEnemyBool = ComboMenu.Add(new MenuBool("kalifocuswbuffedenemy", "Focus Enemy with W Buff", true));
     //UseEBeforeYouDieBool = ComboMenu.Add(new MenuBool("kaliuseebeforedeath", "Use E Before You Die", false));
     UseRAllySaverBool = ComboMenu.Add(new MenuBool("kaliusersaveally", "Use R to save Soulbound", true));
     UseREngageBool = ComboMenu.Add(new MenuBool("userengage", "Use R to engage", false));
     UseRCounterEngageBool = ComboMenu.Add(new MenuBool("kaliusercounternengage", "Use R counter-engage", true));
     UseRInterruptBool = ComboMenu.Add(new MenuBool("kaliuserinterrupt", "Use R to Interrupt"));
     HarassMenu = MainMenu.Add(new Menu("kaliharassmenu", "Harass Settings: "));
     UseQStackTransferBool = HarassMenu.Add(new MenuBool("kaliuseqstacktransfer", "Use Q Stack Transfer"));
     UseQStackTransferMinStacksSlider =
         HarassMenu.Add(new MenuSlider("kaliuseqstacktransferminstacks", "Min stacks for Stack Transfer", 3, 0,
             15));
     UseEIfResettedByAMinionBool =
         HarassMenu.Add(new MenuBool("useeresetharass", "Use E if resetted by a minion"));
     EResetByAMinionMinManaSlider =
         HarassMenu.Add(new MenuSlider("useeresetmana", "Use E Reset by Minion if Mana% > ", 90));
     MinEnemyStacksForEMinionResetSlider =
         HarassMenu.Add(new MenuSlider("useeresetminenstacks", "Use E Reset if Enemy stacks > ", 3, 0, 25));
     FarmMenu = MainMenu.Add(new Menu("kalifarmmenu", "Farm Settings"));
     AlwaysUseEIf2MinionsKillableBool =
         FarmMenu.Add(new MenuBool("alwaysuseeif2minkillable", "Always use E if resetted with no mana cost", true));
     RendDamageMenu = MainMenu.Add(new Menu("kalirenddmgmenu", "Adjust Rend (E) DMG Prediction: "));
     ReduceRendDamageBySlider =
         RendDamageMenu.Add(new MenuSlider("kalirendreducedmg", "Reduce E DMG by: ", 15, 0, 300));
     DrawMenu = MainMenu.Add(new Menu("kalidrawmenu", "Drawing Settings: "));
     DrawERangeBool = DrawMenu.Add(new MenuBool("drawerangekali", "Draw E Range", true));
     DrawRRangeBool = DrawMenu.Add(new MenuBool("kalidrawrrange", "Draw R Range", true));
     DrawEDamage = DrawMenu.Add(new MenuBool("kalidrawedmg", "Draw E Damage", true));
     MainMenu.Attach();
 }
コード例 #9
0
ファイル: Config.cs プロジェクト: HikigayaAss/LeagueSharpSDK
        public static void ExecuteMenu()
        {
            Menu = new Menu("hVayne [SDK]", "hVayne [SDK]", true);
            {
                var combomenu = Menu.Add(new Menu("combo.settings", "Combo Settings"));
                {
                    combomenu.Add(new MenuBool("combo.q", "Use (Q)", true));
                    combomenu.Add(new MenuBool("combo.e", "Use (E)", true));
                    combomenu.Add(new MenuBool("combo.r", "Use (R)", true));
                    combomenu.Add(new MenuSlider("combo.r.count", "Min. Enemy Count (R)", 3,1,5));
                }

                var harassmenu = Menu.Add(new Menu("harass.settings", "Harass Settings"));
                {
                    harassmenu.Add(new MenuBool("harass.q", "Use (Q)", true));
                    harassmenu.Add(new MenuBool("harass.e", "Use (E)", true));
                    harassmenu.Add(new MenuSlider("harass.mana", "Min. Mana", 50, 1, 99));
                }

                var junglemenu = Menu.Add(new Menu("jungle.settings", "Jungle Settings"));
                {
                    junglemenu.Add(new MenuBool("jungle.q", "Use (Q)", true));
                    junglemenu.Add(new MenuBool("jungle.e", "Use (E)", true));
                    junglemenu.Add(new MenuSlider("jungle.mana", "Min. Mana", 50, 1, 99));
                }

                var condemnmenu = Menu.Add(new Menu("condemn.settings", "Condemn Settings"));
                {
                    foreach (var enemy in GameObjects.EnemyHeroes)
                    {
                        condemnmenu.Add(new MenuBool("condemn." + enemy.ChampionName, "(Codenmn): "+enemy.ChampionName, true));
                    }
                }

                var miscmenu = Menu.Add(new Menu("misc.settings", "Miscellaneous"));
                {
                    miscmenu.Add(new MenuBool("interrupter.e", "Interrupter (E)", true));

                    miscmenu.Add(new MenuSeparator("auto.orb.seperator", "Scrying Orb Settings"));
                    miscmenu.Add(new MenuBool("auto.orb.buy", "Auto Orb. Buy", true));
                    miscmenu.Add(new MenuSlider("orb.level", "Orb. Level", 9, 9, 18));

                }

                var activator = Menu.Add(new Menu("activator.settings", "Activator Settings"));
                {
                    activator.Add(new MenuSeparator("qss.seperator", "Quicksilver Sash Settings"));
                    activator.Add(new MenuBool("use.qss", "Use QSS", true));

                    activator.Add(new MenuSeparator("qss.seperator2", "Quicksilver Sash Debuffs"));
                    activator.Add(new MenuBool("qss.charm", "Charm", true));
                    activator.Add(new MenuBool("qss.snare", "Snare", true));
                    activator.Add(new MenuBool("qss.polymorph", "Polymorph", true));
                    activator.Add(new MenuBool("qss.stun", "Stun", true));
                    activator.Add(new MenuBool("qss.suppression", "Suppression", true));
                    activator.Add(new MenuBool("qss.taunt", "Taunt", true));

                    activator.Add(new MenuSeparator("botrk.seperator", "BOTRK Settings"));
                    activator.Add(new MenuBool("use.botrk", "Use BOTRK", true));
                    activator.Add(new MenuSlider("botrk.vayne.hp", "Min. Vayne HP", 20, 1, 99));
                    activator.Add(new MenuSlider("botrk.enemy.hp", "Min. Enemy HP", 20, 1, 99));

                    activator.Add(new MenuSeparator("youmuu.seperator", "Youmuu Settings"));
                    activator.Add(new MenuBool("use.youmuu", "Use Youmuu", true));

                }

                Menu.Add(new MenuSeparator("genel.seperator1", "hVayne Modes"));

                PushDistance = Menu.Add(new MenuSlider("condemn.push.distance", "Condemn Push Distance", 410, 350, 420));
                CondemnMethod = Menu.Add(new MenuList<string>("condemn.style", "Condemn Mode : ", new[] {"Shine", "Asuna", "360"}));
                MethodQ = Menu.Add(new MenuList<string>("q.style", "(Q) Mode : ", new[] { "Cursor Position", "Safe Position" }));
                ComboMethod = Menu.Add(new MenuList<string>("combo.type", "Combo Mode : ", new[] { "Normal", "Burst" }));
                HarassMenu = Menu.Add(new MenuList<string>("harass.type", "Harass Mode : ", new[] { "2W + Q", "2W + E" }));
                Menu.Attach();
            }
        }
コード例 #10
0
ファイル: Caitlyn.cs プロジェクト: cttbot/LeagueSharp
 public void InitMenu()
 {
     ComboMenu = MainMenu.Add(new Menu("caitcombomenu", "Combo Settings: "));
     UseQCombo = ComboMenu.Add(new MenuBool("caitqcombo", "Use Q", true));
     UseWCombo = ComboMenu.Add(new MenuBool("caitwcombo", "Use W"));
     UseECombo = ComboMenu.Add(new MenuBool("caitecombo", "Use E", true));
     UseRCombo = ComboMenu.Add(new MenuKeyBind("caitrcombo", "Use R", Keys.R, KeyBindType.Press));
     AutoWConfig = MainMenu.Add(new Menu("caitautow", "W Settings: "));
     UseWInterrupt = AutoWConfig.Add(new MenuBool("caitusewinterrupt", "Use W to Interrupt", true));
     new Utils.Logic.PositionSaver(AutoWConfig, W);
     FocusOnHeadShotting =
         MainMenu.Add(new MenuBool("caitfocusonheadshottingenemies", "Try to save Headshot for poking", true));
     AlwaysQAfterE = MainMenu.Add(new MenuBool("caitalwaysqaftere", "Always Q after E (EQ combo)", true));
     QHarassMode =
         MainMenu.Add(
             new MenuList<string>(
                 "caitqharassmode",
                 "Q HARASS MODE",
                 new[] { "FULLDAMAGE", "ALLOWMINIONS", "DISABLED" }));
     UseEAntiGapclose = MainMenu.Add(new MenuBool("caiteantigapclose", "Use E AntiGapclose", false));
     UseEOnEnemiesCloserThanSlider =
         MainMenu.Add(new MenuSlider("caitecomboshit", "Use E on enemies closer than", 770, 200, 770));
     OnlyUseEOnMelees = MainMenu.Add(new MenuBool("caiteonlymelees", "Only use E on melees", false));
     DrawRange = MainMenu.Add(new MenuSlider("caitdrawrange", "Draw a circle with radius: ", 800, 0, 1240));
     MainMenu.Attach();
 }