コード例 #1
0
ファイル: Config.cs プロジェクト: freestyle1992/EB
        public static void CallMenu()
        {
            Cassop = MainMenu.AddMenu("Cassiopeia", "cass");
            Cassop.AddGroupLabel("Cassiopeia by mztikk");

            Combo = Cassop.AddSubMenu("Combo", "combo");
            Combo.AddGroupLabel("Options for Combo");
            Combo.Add("useQInCombo", new CheckBox("Use Q"));
            Combo.Add("useWInCombo", new CheckBox("Use W"));
            Combo.Add("useEInCombo", new CheckBox("Use E"));
            Combo.Add("useRInCombo", new CheckBox("Use R"));
            Combo.Add("comboEonP", new CheckBox("E only on poisoned"));
            Combo.Add("humanEInCombo", new CheckBox("Humanize E casts"));
            Combo.Add("comboWonlyCD", new CheckBox("W only on Q CD and no Poison"));
            Combo.Add("comboMinR", new Slider("Min enemis to hit for R", 3, 1, 5));
            Combo.Add("comboNoAA", new CheckBox("Disable AA on Heroes in Combo", false));
            Combo.AddGroupLabel("Options for Flash R Combo");
            Combo.Add("comboFlashR", new CheckBox("Flash R Combo on killable", false));
            Combo.Add("maxEnFlash", new Slider("Max enemies around target to Flash R", 2, 0, 4));

            Harass = Cassop.AddSubMenu("Harass", "harass");
            Harass.AddGroupLabel("Options for Harass");
            Harass.Add("useQInHarass", new CheckBox("Use Q"));
            Harass.Add("useWInHarass", new CheckBox("Use W", false));
            Harass.Add("useEInHarass", new CheckBox("Use E"));
            Harass.Add("harassEonP", new CheckBox("E only on poisoned"));
            Harass.Add("humanEInHarass", new CheckBox("Humanize E casts"));
            Harass.Add("harassWonlyCD", new CheckBox("W only on Q CD and no Poison"));
            Harass.Add("manaToHarass", new Slider("Min Mana % to Harass", 40));
            Harass.AddSeparator();
            Harass.AddGroupLabel("Options for Auto Harass");
            Harass.Add("autoQHarass", new CheckBox("Auto Q"));
            Harass.Add("autoWHarass", new CheckBox("Auto W", false));
            Harass.Add("autoEHarass", new CheckBox("Auto E", false));
            Harass.Add("autoHarassEonP", new CheckBox("E only on poisoned"));
            Harass.Add("humanEInAutoHarass", new CheckBox("Humanize E casts"));
            Harass.Add("dontAutoHarassInBush", new CheckBox("Dont Auto Harass in Bush"));
            Harass.Add("dontAutoHarassTower", new CheckBox("Dont Auto Harass under Tower"));
            Harass.Add("manaToAutoHarass", new Slider("Min Mana % to Auto Harass", 60));

            LaneClear = Cassop.AddSubMenu("LaneClear", "laneclear");
            LaneClear.AddGroupLabel("Options for LaneClear");
            LaneClear.Add("useQInLC", new CheckBox("Use Q", false));
            LaneClear.Add("useWInLC", new CheckBox("Use W"));
            LaneClear.Add("useEInLC", new CheckBox("Use E"));
            LaneClear.Add("laneEonP", new CheckBox("E only on poisoned"));
            LaneClear.Add("minQInLC", new Slider("Min Enemies to Hit for Q", 3, 1, 9));
            LaneClear.Add("minWInLC", new Slider("Min Enemies to Hit for W", 3, 1, 9));
            LaneClear.Add("useManaEInLC", new CheckBox("Use Mana Threshhold", false));
            LaneClear.Add("manaEInLC", new Slider("If Mana below this ignore poison for E LastHit", 30, 1));
            LaneClear.Add("manaToLC", new Slider("Min Mana % to LaneClear", 20));

            JungleClear = Cassop.AddSubMenu("JungleClear", "jungleclear");
            JungleClear.AddGroupLabel("Options for JungleClear");
            JungleClear.Add("useQInJC", new CheckBox("Use Q"));
            JungleClear.Add("useWInJC", new CheckBox("Use W"));
            JungleClear.Add("useEInJC", new CheckBox("Use E"));
            JungleClear.Add("jungEonP", new CheckBox("E only on poisoned"));
            JungleClear.Add("manaToJC", new Slider("Min Mana % to JungleClear", 10));

            LastHit = Cassop.AddSubMenu("LastHit", "lasthit");
            LastHit.AddGroupLabel("Options for LastHit");
            LastHit.Add("useEInLH", new CheckBox("Use E"));
            LastHit.Add("lastEonP", new CheckBox("E only on poisoned", false));

            Interrupter = Cassop.AddSubMenu("Interrupter", "Interrupter");
            Interrupter.AddGroupLabel("Options for Interrupter");
            Interrupter.Add("bInterrupt", new CheckBox("Interrupt spells with R"));
            Interrupter.Add("dangerL", new ComboBox("Min DangerLevel to interrupt", 2, "Low", "Medium", "High"));

            Gapclose = Cassop.AddSubMenu("Anti GapCloser", "AntiGapCloser");
            Gapclose.AddGroupLabel("Options for Anti GapClose");
            Gapclose.Add("qGapclose", new CheckBox("Anti GapClose with Q", false));

            // Gapclose.Add("wGapclose", new CheckBox("Anti GapClose with W"));
            Misc = Cassop.AddSubMenu("Misc", "misc");
            Misc.AddGroupLabel("Misc Options");
            Misc.Add("antiMissR", new CheckBox("Block R Casts if they miss/don't face"));
            Misc.Add("assistedR", new KeyBind("Assisted R", false, KeyBind.BindTypes.HoldActive, 'R'));
            Misc.Add(
                "eLastHit",
                new CheckBox("Use E to kill unkillable (AA)" + Environment.NewLine + "minions while LastHit"));
            Misc.Add("eKillSteal", new CheckBox("Use E to Killsteal"));
            Misc.Add("humanDelay", new Slider("Humanize", 30, 1, 500));
            Misc.AddSeparator(5);
            Misc.Add("clearE", new CheckBox("Automatically kill poisoned minions with E", false));
            Misc.Add("manaClearE", new Slider("Min Mana % to Auto E", 10));
            Misc.Add("tearStackQ", new CheckBox("Use Q to stack Tear passively", false));
            Misc.Add("manaTearStack", new Slider("Min Mana % to stack Tear", 50));
        }
コード例 #2
0
        public static void CallMenu()
        {
            Soraka = MainMenu.AddMenu("Soraka", "Soraka");
            Soraka.AddGroupLabel("HealBot");
            Soraka.AddLabel("by mztikk");

            Combo = Soraka.AddSubMenu("Combo", "Combo");
            Combo.AddGroupLabel("Options for Combo");
            Combo.Add("useQInCombo", new CheckBox("Use Q"));
            Combo.Add("useEInCombo", new CheckBox("Use E"));
            Combo.Add("eOnlyCC", new CheckBox("Use E only on immobile", false));
            Combo.Add("comboDisableAA", new CheckBox("Disable AA on heroes in combo mode", false));
            Combo.Add("bLvlDisableAA", new CheckBox("Disable AA after Level x", false));
            Combo.Add("lvlDisableAA", new Slider("Min Level to disable AA", 8, 1, 18));

            Harass = Soraka.AddSubMenu("Harass", "Harass");
            Harass.AddGroupLabel("Options for Harass");
            Harass.Add("useQInHarass", new CheckBox("Use Q"));
            Harass.Add("useEInHarass", new CheckBox("Use E", false));
            Harass.Add("disableAAH", new CheckBox("Disable AA on minions while Harass"));
            Harass.Add("eOnlyCCHarass", new CheckBox("Use E only on immobile"));
            Harass.Add("manaHarass", new Slider("Min Mana % to Harass", 40));
            Harass.Add(
                "allyRangeH",
                new Slider("Allies in range x to disable AA on Minions in Harass Mode", 1400, 0, 5000));
            Harass.AddSeparator();
            Harass.AddGroupLabel("Auto Harass");
            Harass.Add("autoQHarass", new CheckBox("Auto Q", false));
            Harass.Add("autoEHarass", new CheckBox("Auto E", false));
            Harass.Add("autoEHarassOnlyCC", new CheckBox("Use Auto E only on immobile"));
            Harass.Add("dontAutoHarassTower", new CheckBox("Dont Auto Harass under Tower"));
            Harass.Add("dontHarassInBush", new CheckBox("Dont Auto Harass when in Bush"));
            Harass.Add("manaAutoHarass", new Slider("Min Mana % to Auto Harass", 60));

            LaneClear = Soraka.AddSubMenu("LaneClear", "LaneClear");
            LaneClear.AddGroupLabel("Options for LaneClear");
            LaneClear.Add("useQInLC", new CheckBox("Use Q"));
            LaneClear.Add("qTargets", new Slider("Min Targets to hit for Q", 6, 1, 20));
            LaneClear.Add("manaLaneClear", new Slider("Min Mana % to LaneClear", 60));

            var allAllies = EntityManager.Heroes.Allies.Where(ally => !ally.IsMe).ToArray();

            AutoWMenu = Soraka.AddSubMenu("Auto W", "autow");
            AutoWMenu.AddGroupLabel("Auto W");
            AutoWMenu.Add("autoW", new CheckBox("Auto use W"));
            AutoWMenu.AddSeparator(5);
            AutoWMenu.Add(
                "wHealMode",
                new ComboBox(
                    "Priority Mode",
                    0,
                    "Lowest Health",
                    "Total AD",
                    "Total AP",
                    "AD+AP",
                    "Closest",
                    "Custom Priority"));
            AutoWMenu.Add("manaToW", new Slider("Min Mana % to Auto W", 10));
            AutoWMenu.Add("playerHpToW", new Slider("Min Player HP % to Auto W", 25, 6));
            AutoWMenu.AddGroupLabel("Auto W Teammate Settings");
            foreach (var ally in allAllies)
            {
                AutoWMenu.AddLabel(ally.BaseSkinName);
                AutoWMenu.Add("autoW_" + ally.BaseSkinName, new CheckBox("Auto Heal " + ally.BaseSkinName + " with W"));
                AutoWMenu.Add(
                    "autoW_HP_" + ally.BaseSkinName,
                    new Slider("HP % to heal " + ally.BaseSkinName + " with W", 50, 1));
                AutoWMenu.Add(
                    "autoWBuff_HP_" + ally.BaseSkinName,
                    new Slider("HP % to heal " + ally.BaseSkinName + " with W + Q Buff", 75, 1));
                AutoWMenu.Add("autoWPrio" + ally.BaseSkinName, new Slider("Custom Priority", 1, 1, 5));
                AutoWMenu.AddSeparator(6);
            }

            AutoRMenu = Soraka.AddSubMenu("Auto R", "autor");
            AutoRMenu.AddGroupLabel("Auto R");
            AutoRMenu.Add("autoR", new CheckBox("Auto use R"));
            AutoRMenu.Add("cancelBase", new CheckBox("Cancel Recall to Auto R"));
            AutoRMenu.AddSeparator(5);
            AutoRMenu.Add("autoRHP", new Slider("HP % to trigger R Logic", 15, 1));
            AutoRMenu.AddGroupLabel("Auto R Teammate Settings");
            foreach (var ally in allAllies)
            {
                AutoRMenu.Add("autoR_" + ally.BaseSkinName, new CheckBox("Auto Heal " + ally.BaseSkinName + " with R"));
                AutoRMenu.AddSeparator(2);
            }

            AssistKs = Soraka.AddSubMenu("AssistKS", "assistks");
            AssistKs.AddGroupLabel("Options for AssistKS");
            AssistKs.AddLabel("This tries to ult when an ally is about to get a kill, so you can get an assist");
            AssistKs.Add("autoAssistKS", new CheckBox("Use R to Auto AssistKS", false));
            AssistKs.Add("assCancelBase", new CheckBox("Cancel Recall to AssistKS", false));

            Interrupter = Soraka.AddSubMenu("Interrupter", "Interrupter");
            Interrupter.AddGroupLabel("Options for Interrupter");
            Interrupter.Add("bInterrupt", new CheckBox("Interrupt spells with E"));
            Interrupter.Add("dangerL", new ComboBox("Min DangerLevel to interrupt", 0, "Low", "Medium", "High"));

            Gapclose = Soraka.AddSubMenu("Anti Gapcloser", "AntiGapcloser");
            Gapclose.AddGroupLabel("Options for Anti Gapclose");
            Gapclose.Add("qGapclose", new CheckBox("Anti Gapclose with Q", false));
            Gapclose.Add("eGapclose", new CheckBox("Anti Gapclose with E", false));

            Draw = Soraka.AddSubMenu("Drawings", "drawings");
            Draw.AddGroupLabel("Options for Drawings");
            Draw.Add("wRangeDraw", new CheckBox("Draw W Range", false));
            Draw.Add("qRange", new CheckBox("Draw Q Range", false));
            Draw.Add("onlyReady", new CheckBox("Only when Spells are ready"));
        }