コード例 #1
0
ファイル: Program.cs プロジェクト: spall9/kayn
        private static void LoadingKayn(EventArgs args)
        {
            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;

            Q = new Spell.Skillshot(SpellSlot.Q, 350, EloBuddy.SDK.Enumerations.SkillShotType.Circular);
            W = new Spell.Skillshot(SpellSlot.W, 750, EloBuddy.SDK.Enumerations.SkillShotType.Linear);
            R = new Spell.Targeted(SpellSlot.R, 425);

            Dicks = MainMenu.AddMenu("Kayn", "BestSkarnerNA");

            ComboMenu = Dicks.AddSubMenu("Combo", "Combo");

            ComboMenu.Add("Q", new CheckBox("Q"));
            ComboMenu.Add("W", new CheckBox("W"));
            ComboMenu.Add("R", new CheckBox("R", false));

            FarmMenu = Dicks.AddSubMenu("Farm", "SPells");
            FarmMenu.Add("W", new CheckBox("W"));


            KSMenu = Dicks.AddSubMenu("KS", "R");

            KSMenu.Add("R", new CheckBox("R"));

            DrawMenu = Dicks.AddSubMenu("Draw", "Colorful Drawings");

            DrawMenu.Add("Q", new CheckBox("Q"));
            DrawMenu.Add("W", new CheckBox("W"));
        }
コード例 #2
0
        public static void InitMenu()
        {
            Menu = MainMenu.AddMenu("MAC - " + G_charname, "vania");

            Menu.AddGroupLabel("MAC - " + G_charname);
            Menu.AddLabel("Version: " + G_version);
            Menu.AddSeparator();
            Menu.AddLabel("By Mr Articuno");

            /*Brain.Common.Selector.Init(Menu);*/

            DrawMenu = Menu.AddSubMenu("Draw - " + G_charname, "vaniaDraw");
            DrawMenu.AddGroupLabel("Draw");
            DrawMenu.Add("drawDisable", new CheckBox("Turn off all drawings", false));
            DrawMenu.Add("drawNameLine", new CheckBox("Show names on line", true));
            DrawMenu.Add("drawAARange", new CheckBox("Draw Auto Attack Range", true));
            DrawMenu.Add("drawQ", new CheckBox("Draw Q Range", true));
            DrawMenu.Add("drawE", new CheckBox("Draw E Range", true));
            DrawMenu.Add("drawCondemnPos", new CheckBox("Draw Condemn Position", true));

            ComboMenu = Menu.AddSubMenu("Combo - " + G_charname, "vaniaCombo");
            ComboMenu.AddGroupLabel("Combo");
            ComboMenu.Add("comboQ", new CheckBox("Allow Q usage in combo", true));
            ComboMenu.Add("comboE", new CheckBox("Allow E usage in combo", true));
            ComboMenu.Add("comboR", new CheckBox("Allow R usage in combo", true));
            ComboMenu.AddGroupLabel("Q Settings");
            ComboMenu.AddLabel("Q Direction: Checked - Target, Unchecked Cursor");
            ComboMenu.Add("qsQDirection", new CheckBox("Q Direction", false));
            ComboMenu.AddLabel("Q Usage: Checked - Before Auto Attack, Unchecked After Auto Attack");
            ComboMenu.Add("qsQUsage", new CheckBox("Q Usage", false));
            ComboMenu.Add("qsQOutAA", new CheckBox("Q if out of AA range", true));
            ComboMenu.AddGroupLabel("R Settings");
            ComboMenu.Add("rsMinEnemiesForR", new Slider("Min Enemies for cast R: ", 2, 1, 5));
            ComboMenu.AddGroupLabel("Misc");
            /*ComboMenu.Add("advTargetSelector", new CheckBox("Use Advanced Target Selector", false));*/
            ComboMenu.Add("forceSilverBolt", new CheckBox("Force Attack 2 Stacked Target", false));
            ComboMenu.Add("checkKillabeEnemyPassive", new CheckBox("Double Check if enemy is killabe", true));

            CondemnMenu = Menu.AddSubMenu("Condemn - " + G_charname, "vaniaCondemn");
            CondemnMenu.Add("interruptDangerousSpells", new CheckBox("Interrupt Dangerous Spells", true));
            CondemnMenu.Add("antiGapCloser", new CheckBox("Anti Gap Closer", true));
            CondemnMenu.Add("fastCondemn",
                            new KeyBind("Fast Condemn HotKey", false, KeyBind.BindTypes.PressToggle, 'W'));
            CondemnMenu.AddGroupLabel("Auto Condemn");
            foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(a => a.IsEnemy))
            {
                CondemnMenu.Add("dnCondemn" + enemy.ChampionName.ToLower(), new CheckBox("Don't Condemn " + enemy.ChampionName, false));
            }
            CondemnMenu.AddGroupLabel("Priority Condemn");
            foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(a => a.IsEnemy))
            {
                CondemnMenu.Add("priorityCondemn" + enemy.ChampionName.ToLower(), new Slider(enemy.ChampionName + " Priority", 1, 1, 5));
            }
            CondemnMenu.Add("condenmErrorMargin", new Slider("Subtract Condemn Push by: ", 20, 0, 100));

            KSMenu = Menu.AddSubMenu("KS - " + G_charname, "vaniaKillSteal");
            KSMenu.AddGroupLabel("Kill Steal");
            KSMenu.Add("ksQ", new CheckBox("Use Q if killable", false));
            KSMenu.Add("ksE", new CheckBox("Use E if killable", false));
        }
コード例 #3
0
ファイル: Program.cs プロジェクト: AkumaCORE/Perfect-Graves
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Graves")
            {
                return;
            }
            Bootstrap.Init(null);
            Q  = new Spell.Skillshot(SpellSlot.Q, 950, SkillShotType.Linear, 250, 2000, 60);
            W  = new Spell.Skillshot(SpellSlot.W, 850, SkillShotType.Circular, 250, 1650, 150);
            E  = new Spell.Skillshot(SpellSlot.E, 425, SkillShotType.Linear);
            R  = new Spell.Skillshot(SpellSlot.R, 1000, SkillShotType.Linear, 250, 2100, 100);
            R1 = new Spell.Skillshot(SpellSlot.R, 1400, SkillShotType.Cone, 250, 2100, 120);

            menu = MainMenu.AddMenu("Perfect Graves", "PerfectGraves");

            ComboMenu = menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.Add("disableAA", new CheckBox("Disable AA"));
            ComboMenu.Add("useQCombo", new CheckBox("Use Q"));
            ComboMenu.Add("useWCombo", new CheckBox("Use W"));
            ComboMenu.Add("useECombo", new CheckBox("Use E"));
            ComboMenu.Add("useRCombo", new CheckBox("Fast R Combo"));
            ComboMenu.Add("useItems", new CheckBox("Use Items"));
            ComboMenu.Add("useEreload", new CheckBox("Use E for Reload"));
            ComboMenu.AddLabel("BOTRK,Bilgewater Cutlass Settings");
            ComboMenu.Add("botrkHP", new Slider("My HP < %", 60, 0, 100));
            ComboMenu.Add("botrkenemyHP", new Slider("Enemy HP < %", 60, 0, 100));

            KSMenu = menu.AddSubMenu("KS Settings", "KSSettings");
            KSMenu.Add("useQKS", new CheckBox("Use Q KS"));
            KSMenu.Add("useRKS", new CheckBox("Use R KS"));

            HarassMenu = menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.Add("useQHarass", new CheckBox("Use Q"));
            HarassMenu.Add("useItems", new CheckBox("Use Items"));

            FarmMenu = menu.AddSubMenu("Lane/Jungle Clear Settings", "Farm");
            FarmMenu.AddLabel("Lane Clear");
            FarmMenu.Add("useQ", new CheckBox("Use Q//Does not Work for Now."));

            FarmMenu.AddLabel("Jungle Clear");
            FarmMenu.Add("Qjungle", new CheckBox("Use Q"));
            FarmMenu.Add("QjungleMana", new Slider("Mana < %", 45, 0, 100));
            FarmMenu.Add("Ejungle", new CheckBox("Use E"));
            FarmMenu.Add("EjungleMana", new Slider("Mana < %", 45, 0, 100));

            MiscMenu = menu.AddSubMenu("More Settings", "MoreSettings");
            MiscMenu.Add("gapcloserE", new CheckBox("Use E Gapcloser"));
            MiscMenu.Add("gapcloserW", new CheckBox("Use W Gapcloser"));

            DrawingsMenu = menu.AddSubMenu("Draw Settings", "Drawings");
            DrawingsMenu.Add("DrawQ", new CheckBox("Draw Q"));
            DrawingsMenu.Add("DrawW", new CheckBox("Draw W"));
            DrawingsMenu.Add("DrawE", new CheckBox("Draw E"));
            DrawingsMenu.Add("DrawR", new CheckBox("Draw R"));
            DrawingsMenu.Add("DrawR1", new CheckBox("Draw Extended R"));

            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;
        }
コード例 #4
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Graves")
            {
                return;
            }
            Bootstrap.Init(null);
            Q  = new Spell.Skillshot(SpellSlot.Q, 950, SkillShotType.Linear, 250, 2000, 60);
            W  = new Spell.Skillshot(SpellSlot.W, 850, SkillShotType.Circular, 250, 1650, 150);
            E  = new Spell.Skillshot(SpellSlot.E, 425, SkillShotType.Linear);
            R  = new Spell.Skillshot(SpellSlot.R, 1000, SkillShotType.Linear, 250, 2100, 100);
            R1 = new Spell.Skillshot(SpellSlot.R, 1400, SkillShotType.Cone, 250, 2100, 120);

            menu = MainMenu.AddMenu("Perfect Graves", "PerfectGraves");

            ComboMenu = menu.AddSubMenu("Combo Settings", "Combo");
            ComboMenu.Add("disableAA", new CheckBox("Devredışı AA"));
            ComboMenu.Add("useQCombo", new CheckBox("Kullan Q"));
            ComboMenu.Add("useWCombo", new CheckBox("Kullan W"));
            ComboMenu.Add("useECombo", new CheckBox("Kullan E"));
            ComboMenu.Add("useRCombo", new CheckBox("Hızlı R Kombosu"));
            ComboMenu.Add("useItems", new CheckBox("Kullan İtemler"));
            ComboMenu.Add("useEreload", new CheckBox("E ile şarjör doldur"));
            ComboMenu.AddLabel("Mahvolmuş-pala ayarları");
            ComboMenu.Add("botrkHP", new Slider("Benim Canı < %", 60, 0, 100));
            ComboMenu.Add("botrkenemyHP", new Slider("Düşmanın Canı < %", 60, 0, 100));

            KSMenu = menu.AddSubMenu("KS Settings", "KSSettings");
            KSMenu.Add("useQKS", new CheckBox("KSde Q Kullan"));
            KSMenu.Add("useRKS", new CheckBox("KSde R Kullan"));

            HarassMenu = menu.AddSubMenu("Harass Settings", "Harass");
            HarassMenu.Add("useQHarass", new CheckBox("Kullan Q"));
            HarassMenu.Add("useItems", new CheckBox("İtemleri Kullan"));

            FarmMenu = menu.AddSubMenu("Lane/Jungle Clear Settings", "Farm");
            FarmMenu.AddLabel("Lane Temizleme");
            FarmMenu.Add("useQ", new CheckBox("Q Kullan ."));

            FarmMenu.AddLabel("Jungle Clear");
            FarmMenu.Add("Qjungle", new CheckBox("Use Q"));
            FarmMenu.Add("QjungleMana", new Slider("Mana < %", 45, 0, 100));
            FarmMenu.Add("Ejungle", new CheckBox("Use E"));
            FarmMenu.Add("EjungleMana", new Slider("Mana < %", 45, 0, 100));

            MiscMenu = menu.AddSubMenu("More Settings", "MoreSettings");
            MiscMenu.Add("gapcloserE", new CheckBox("Use E Gapcloser"));
            MiscMenu.Add("gapcloserW", new CheckBox("Use W Gapcloser"));

            DrawingsMenu = menu.AddSubMenu("Draw Settings", "Drawings");
            DrawingsMenu.Add("DrawQ", new CheckBox("Göster Q"));
            DrawingsMenu.Add("DrawW", new CheckBox("Göster W"));
            DrawingsMenu.Add("DrawE", new CheckBox("Göster E"));
            DrawingsMenu.Add("DrawR", new CheckBox("Göster R"));
            DrawingsMenu.Add("DrawR1", new CheckBox("Göster Gelişmiş R"));

            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;
        }
コード例 #5
0
 private static void DrawKSMenu()
 {
     KSMenu.AddGroupLabel("KillSteal");
     KSMenu.Add("kUseQ", new CheckBox("Use Q"));
     KSMenu.Add("kUseW", new CheckBox("Use W"));
     KSMenu.Add("kUseE", new CheckBox("Use E"));
     KSMenu.Add("kUseIgnite", new CheckBox("Use Ignite"));
     KSMenu.Add("kUseCancelR", new CheckBox("Calcel R to KS", false));
     KSMenu.Add("kUseCancelRHealth", new Slider("Enemy Health To Ult:", 100, 5, 500));
     KSMenu.Add("kWardJump", new CheckBox("Ward Jump"));
     KSMenu.Add("kSmartKS", new CheckBox("Smart KS"));
 }
コード例 #6
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.Hero != Champion.Brand)
            {
                return;
            }

            Q = new Spell.Skillshot(SpellSlot.Q, 1050, SkillShotType.Linear, 250, 1200, 85);
            W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, 5, int.MaxValue, 250);
            E = new Spell.Targeted(SpellSlot.E, 625);
            R = new Spell.Targeted(SpellSlot.R, 750);

            menu = MainMenu.AddMenu("DarkBrand", "DarkBrand");

            ComboMenu = menu.AddSubMenu("Combo", "combomenu");

            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("QU", new CheckBox("Use Q"));
            ComboMenu.Add("WU", new CheckBox("Use W"));
            ComboMenu.Add("EU", new CheckBox("Use E"));
            ComboMenu.Add("RU", new CheckBox("Use R"));
            ComboMenu.Add("RK", new CheckBox("Use R if Killable"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("MR", new Slider("Min. Enemies in [R] Range", 1, 1, 5));

            HarassMenu = menu.AddSubMenu("Harass", "farmenu");

            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HW", new CheckBox("Auto W"));
            HarassMenu.Add("HE", new CheckBox("Auto E"));
            HarassMenu.Add("HMC", new Slider("Min. Mana % for Harass", 75, 1, 100));

            KSMenu = menu.AddSubMenu("Kill Steal (KS)", "ksmenu");

            KSMenu.AddGroupLabel("Kill Steal Settings");
            KSMenu.Add("KSQ", new CheckBox("Auto Q"));
            KSMenu.Add("KSW", new CheckBox("Auto W"));
            KSMenu.Add("KSE", new CheckBox("Auto E"));

            DrawingsMenu = menu.AddSubMenu("Drawings", "drawingsmenu");

            DrawingsMenu.AddGroupLabel("Drawings Settings");
            DrawingsMenu.Add("DQ", new CheckBox("Draw Q"));
            DrawingsMenu.Add("DW", new CheckBox("Draw W"));
            DrawingsMenu.Add("DE", new CheckBox("Draw E"));
            DrawingsMenu.Add("DR", new CheckBox("Draw R"));

            Game.OnTick    += OrbwalkerModes;
            Drawing.OnDraw += Drawings;
        }
コード例 #7
0
ファイル: Viktor.cs プロジェクト: jonibahu/Elobuddy-3
        public static void InitMenu()
        {
            Menu = MainMenu.AddMenu("Mechanics - " + G_charname, "viktor");

            Menu.AddGroupLabel("MAC - " + G_charname);
            Menu.AddLabel("Version: " + G_version);
            Menu.AddSeparator();
            Menu.AddLabel("By Mr Articuno");

            DrawMenu = Menu.AddSubMenu("Draw - " + G_charname, "viktorDraw");
            DrawMenu.AddGroupLabel("Draw");
            DrawMenu.Add("drawDisable", new CheckBox("Turn off all drawings", false));
            DrawMenu.Add("drawNameLine", new CheckBox("Show names on line", true));
            DrawMenu.Add("drawAARange", new CheckBox("Draw Auto Attack Range", true));
            DrawMenu.Add("drawQ", new CheckBox("Draw Q Range", true));
            DrawMenu.Add("drawW", new CheckBox("Draw W Range", true));
            DrawMenu.Add("drawE", new CheckBox("Draw E Range", true));
            DrawMenu.Add("drawR", new CheckBox("Draw R Range", true));
            DrawMenu.Add("drawCondemnPos", new CheckBox("Draw Condemn Position", true));

            ComboMenu = Menu.AddSubMenu("Combo - " + G_charname, "viktorCombo");
            ComboMenu.AddGroupLabel("Combo");
            ComboMenu.Add("comboQ", new CheckBox("Allow Q usage in combo", true));
            ComboMenu.Add("comboW", new CheckBox("Allow W usage in combo", true));
            ComboMenu.Add("comboE", new CheckBox("Allow E usage in combo", true));
            ComboMenu.Add("comboR", new CheckBox("Allow R usage in combo", true));
            ComboMenu.AddGroupLabel("R Settings");
            ComboMenu.Add("rsMinEnemiesForR", new Slider("Min Enemies for cast R: ", 1, 1, 5));

            LaneClearMenu = Menu.AddSubMenu("Lane Clear - " + G_charname, "viktorLaneClear");
            LaneClearMenu.AddGroupLabel("Lane Clear");
            LaneClearMenu.Add("laneClearQ", new CheckBox("Allow Q usage in LaneClear", true));
            LaneClearMenu.Add("laneClearE", new CheckBox("Allow E usage in LaneClear", true));
            LaneClearMenu.Add("lcMinEnemiesForE", new Slider("Min Enemies for cast E: ", 2, 1, 6));

            KSMenu = Menu.AddSubMenu("KS - " + G_charname, "viktorKillSteal");
            KSMenu.AddGroupLabel("Kill Steal");
            KSMenu.Add("ksQ", new CheckBox("Use Q if killable", false));
            KSMenu.Add("ksE", new CheckBox("Use E if killable", false));
            KSMenu.Add("ksR", new CheckBox("Use R if killable", false));
        }
コード例 #8
0
        public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Evelynn"))
            {
                return;
            }
            Chat.Print("Bloody Evelynn - Loaded", System.Drawing.Color.Crimson);


            _Q      = new Spell.Active(SpellSlot.Q, 500);
            _W      = new Spell.Active(SpellSlot.W);
            _E      = new Spell.Targeted(SpellSlot.E, 225);
            _R      = new Spell.Skillshot(SpellSlot.R, 625, SkillShotType.Circular, 250, int.MaxValue, 300);
            _Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);


            StartMenu     = MainMenu.AddMenu("Bloody Evelynn", "Bloody Evelynn");
            ComboMenu     = StartMenu.AddSubMenu("Combo Settings", "Combo Settings");
            HarrasMenu    = StartMenu.AddSubMenu("Harras Settings", "Harras Settings");
            AHarrasM      = StartMenu.AddSubMenu("AutoHarras Settings", "AutoHarras Settings");
            LastHitM      = StartMenu.AddSubMenu("Last Hit Settings", "Last Hit Settings");
            LCMenu        = StartMenu.AddSubMenu("Clear Settings", "Clear Settings");
            FlyMenu       = StartMenu.AddSubMenu("Flee Settings", "Flee Settings");
            KSMenu        = StartMenu.AddSubMenu("KillSteal Settings", "KillSteal Settings");
            ActivatorMenu = StartMenu.AddSubMenu("Activator Settings", "Activator Settings");
            DrawingsMenu  = StartMenu.AddSubMenu("Drawing Settings", "Drawing Settings");

            StartMenu.AddGroupLabel("Evelynn - Bloody Shadow");
            StartMenu.AddSeparator(2);
            StartMenu.AddGroupLabel("Made By");
            StartMenu.AddLabel("- Horizon");
            StartMenu.AddLabel("- Radi");

            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("Combos", new ComboBox("Combo Logic", 0, "Q->E->R", "E->Q->R", "R->Q->E", "E->R->Q", "Q->R->E"));
            ComboMenu.AddSeparator(0);

            ComboMenu.AddLabel("Q Spell Settings");
            ComboMenu.Add("UseQ", new CheckBox("Use [Q]"));


            ComboMenu.AddSeparator(0);
            ComboMenu.AddLabel("W Spell Settings");
            ComboMenu.Add("UseW", new CheckBox("Use [W] in Combo"));
            ComboMenu.Add("WRange", new Slider("Minimum range for W", 525, 1, 800));
            ComboMenu.Add("Wn", new Slider("Minimum enemy in range for W", 1, 0, 5));

            ComboMenu.AddSeparator(0);
            ComboMenu.AddLabel("E Spell Settings");
            ComboMenu.Add("UseE", new CheckBox("Use [E] "));


            ComboMenu.AddSeparator(0);
            ComboMenu.AddLabel("R Spell Settings");
            ComboMenu.Add("UseR", new CheckBox("Use [R] in Combo"));
            ComboMenu.Add("Rn", new Slider("Minimum enemy for R", 1, 0, 5));
            ComboMenu.AddSeparator(0);

            HarrasMenu.AddGroupLabel("Harras Settings");
            HarrasMenu.AddLabel("Q Spell Settings");
            HarrasMenu.Add("UseQH", new CheckBox("Use [Q] for harras"));

            HarrasMenu.AddSeparator(0);
            HarrasMenu.AddLabel("E Spell Settings");
            HarrasMenu.Add("UseEH", new CheckBox("Use [E] for harras"));

            AHarrasM.AddGroupLabel("AutoHarras Settings");
            AHarrasM.AddLabel("Q Spell Settings");
            AHarrasM.Add("AHQ", new CheckBox("Use AutoHarras", false));
            AHarrasM.Add("QAO", new CheckBox("Use [Q] for AutoHarras"));
            AHarrasM.Add("AHQM", new Slider("Minimum mana percentage for use[Q] in AutoHarras(%{ 0})", 65, 1));

            LastHitM.AddGroupLabel("Last Hit Settings");
            LastHitM.AddLabel("Q Spell Settings");
            LastHitM.Add("Qlh", new CheckBox("Use Q to Last hit"));
            LastHitM.Add("manalh", new Slider("Minimum mana percentage for use [Q] in Last Hit(%{ 0})", 40, 1));

            KSMenu.AddGroupLabel("KillSteal Settings");
            KSMenu.AddLabel("Q Spell Settings");
            KSMenu.Add("KSQ", new CheckBox(" - KillSteal with Q"));
            KSMenu.AddSeparator(0);
            KSMenu.AddLabel("E Spell Settings");
            KSMenu.Add("KSE", new CheckBox(" - KillSteal with E"));
            KSMenu.AddSeparator(0);
            KSMenu.AddLabel("R Spell Settings");
            KSMenu.Add("KSR", new CheckBox(" - KillSteal with R", false));

            LCMenu.AddGroupLabel("LaneClear Settings");
            LCMenu.Add("LCQ", new CheckBox("Use [Q] for Lane Clear"));
            LCMenu.Add("LCQM", new Slider("Minimum mana percentage for use [Q] in Lane Clear (%{0})", 30, 1));
            LCMenu.AddSeparator(1);
            LCMenu.Add("LCW", new CheckBox("Use [E] for Lane Clear"));
            LCMenu.Add("LCWM", new Slider("Minimum mana percentage for use [E] in Lane Clear (%{0})", 30, 1));
            LCMenu.AddSeparator(2);
            LCMenu.Add("JGCQ", new CheckBox("Use [Q] for Jungle clear"));
            LCMenu.Add("JGCQM", new Slider("Minimum mana percentage for use [Q] in Jungle Clear (%{0})", 30, 1));
            LCMenu.Add("JGCW", new CheckBox("Use [E] for Jungle clear"));
            LCMenu.Add("JGCWM", new Slider("Minimum mana percentage for use [E] in Jungle Clear (%{0})", 30, 1));

            FlyMenu.AddGroupLabel("Flee Settings");
            FlyMenu.AddLabel("Tick for enable/disable skill usage in flee");
            FlyMenu.AddSeparator(0);
            FlyMenu.AddLabel("Q Spell Settings");
            FlyMenu.Add("UseQf", new CheckBox("Use Q to Flee"));

            ActivatorMenu.AddGroupLabel("Activator Settings");
            ActivatorMenu.AddLabel("Use Summoner Spell");
            ActivatorMenu.Add("IGNI", new CheckBox("- Use Ignite if enemy is killable"));

            DrawingsMenu.AddGroupLabel("Drawing Settings");
            DrawingsMenu.AddLabel("Tick for enable/disable Draw");
            DrawingsMenu.Add("DQ", new CheckBox("- Draw [Q] range"));
            DrawingsMenu.AddSeparator(0);
            DrawingsMenu.Add("DE", new CheckBox("- Draw [E] range"));
            DrawingsMenu.AddSeparator(0);
            DrawingsMenu.Add("DR", new CheckBox("- Draw [R] range"));
            DrawingsMenu.AddSeparator(0);
            DrawingsMenu.Add("DRpred", new CheckBox("- Draw Ultimate prediction"));

            Game.OnUpdate  += Game_OnUpdate;
            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;
        }
コード例 #9
0
ファイル: Program.cs プロジェクト: spall9/Nautilus
        private static void Game_OnGameLoad(EventArgs args)
        {
            if (ObjectManager.Player.BaseSkinName != "Nautilus")
            {
                return;
            }
            foreach (var hero in ObjectManager.Get <AIHeroClient>())
            {
                if (hero.IsEnemy)
                {
                    Enemies.Add(hero);
                }
                if (hero.IsAlly)
                {
                    Allies.Add(hero);
                }
            }



            Q = new Spell.Skillshot(SpellSlot.Q, 1100, SkillShotType.Linear, (int)0.5f, (int?)1900f, 90);
            Q.AllowedCollisionCount = 0;
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Active(SpellSlot.E, 300);
            R = new Spell.Targeted(SpellSlot.R, (uint)ObjectManager.Player.Spellbook.GetSpell(SpellSlot.R).SData.CastRange);

            nautmenu = MainMenu.AddMenu("Nautilus", "Nautilus");
            nautmenu.AddGroupLabel("Nautilus!");
            PredictionMenu = nautmenu.AddSubMenu("Prediction", "prediction");
            StringList(PredictionMenu, "Qpred", "Q Prediction", new[] { "Low", "Medium", "High", "Very High" }, 3);

            ComboMenu = nautmenu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("ts", new CheckBox("Use EB TargetSelector"));
            ComboMenu.Add("ts1", new CheckBox("Only one target", false));
            ComboMenu.Add("minGrab", new Slider("Min range grab", 250, 125, (int)Q.Range));
            ComboMenu.Add("maxGrab", new Slider("Max range grab", (int)Q.Range, 125, (int)Q.Range));
            ComboMenu.AddLabel("Grab:");
            foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.Team != Player.Team))
            {
                ComboMenu.Add("grab" + enemy.ChampionName, new CheckBox(enemy.ChampionName));
            }
            ComboMenu.AddSeparator();
            ComboMenu.Add("useW", new CheckBox("Use W"));
            ComboMenu.Add("useE", new CheckBox("Use E"));
            ComboMenu.Add("useR", new CheckBox("Use R"));
            ComboMenu.AddGroupLabel("Don't Use Ult On: Enemy");
            foreach (var enemy in ObjectManager.Get <AIHeroClient>())
            {
                CheckBox cb = new CheckBox(enemy.BaseSkinName)
                {
                    CurrentValue = false
                };
                if (enemy.Team != ObjectManager.Player.Team)
                {
                    ComboMenu.Add("DontUltenemy" + enemy.BaseSkinName, cb);
                }
            }

            KSMenu = nautmenu.AddSubMenu("KS");
            KSMenu.AddGroupLabel("KS Settings");
            KSMenu.Add("ksQ", new CheckBox("Use Q"));
            KSMenu.Add("ksE", new CheckBox("Use E"));

            LaneMenu = nautmenu.AddSubMenu("LaneCLear");
            LaneMenu.AddGroupLabel("LaneCLear Settings");
            LaneMenu.Add("UseWlc", new CheckBox("Use W"));
            LaneMenu.Add("UseElc", new CheckBox("Use E"));
            LaneMenu.AddSeparator();
            LaneMenu.Add("lccount", new Slider("Min minions for E", 3, 1, 5));
            LaneMenu.Add("lanem", new Slider("Minimum mana %", 20, 0, 100));

            JungleMenu = nautmenu.AddSubMenu("Jungleclear");
            JungleMenu.AddGroupLabel("Jungleclear Settings");
            JungleMenu.Add("UseQjg", new CheckBox("Use Q"));
            JungleMenu.Add("UseWjg", new CheckBox("Use W"));
            JungleMenu.Add("UseEjg", new CheckBox("Use E"));
            JungleMenu.Add("jgMana", new Slider("Minimum mana %", 20, 0, 100));
            JungleMenu.AddSeparator();

            SmiteMenu = nautmenu.AddSubMenu("Smite", "Smite");
            SmiteMenu.AddSeparator();
            SmiteMenu.Add("smiteActive",
                          new KeyBind("Smite Active (toggle)", true, KeyBind.BindTypes.PressToggle, 'H'));
            SmiteMenu.AddSeparator();
            SmiteMenu.Add("useSlowSmite", new CheckBox("KS with Blue Smite"));
            SmiteMenu.Add("comboWithDuelSmite", new CheckBox("Combo with Red Smite"));
            SmiteMenu.AddSeparator();
            SmiteMenu.AddGroupLabel("Camps");
            SmiteMenu.AddLabel("Epics");
            SmiteMenu.Add("SRU_Baron", new CheckBox("Baron"));
            SmiteMenu.Add("SRU_Dragon", new CheckBox("Dragon"));
            SmiteMenu.AddLabel("Buffs");
            SmiteMenu.Add("SRU_Blue", new CheckBox("Blue"));
            SmiteMenu.Add("SRU_Red", new CheckBox("Red"));
            SmiteMenu.AddLabel("Small Camps");
            SmiteMenu.Add("SRU_Gromp", new CheckBox("Gromp", false));
            SmiteMenu.Add("SRU_Murkwolf", new CheckBox("Murkwolf", false));
            SmiteMenu.Add("SRU_Krug", new CheckBox("Krug", false));
            SmiteMenu.Add("SRU_Razorbeak", new CheckBox("Razerbeak", false));
            SmiteMenu.Add("Sru_Crab", new CheckBox("Skuttles", false));

            FleeMenu = nautmenu.AddSubMenu("Flee");
            FleeMenu.AddGroupLabel("Flee Settings");
            FleeMenu.Add("fleeuseQ", new CheckBox("Use Q"));
            FleeMenu.Add("fleeuseW", new CheckBox("Use W"));

            MiscMenu = nautmenu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc Settings");
            MiscMenu.Add("antiG", new CheckBox("Use E - Antigapcloser"));
            MiscMenu.Add("interruptq", new CheckBox("Use Q - interrupter"));
            MiscMenu.Add("interruptr", new CheckBox("Use R - interrupter"));


            DrawMenu = nautmenu.AddSubMenu("Draw");
            DrawMenu.AddGroupLabel("Draw Settings");
            DrawMenu.Add("drawq", new CheckBox("Draw Q"));
            DrawMenu.Add("drawe", new CheckBox("Draw E"));
            DrawMenu.Add("drawr", new CheckBox("Draw R"));

            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Game.OnUpdate         += Game_OnUpdate;
            Gapcloser.OnGapcloser += Gapcloser_OnGapcloser;
            Drawing.OnDraw        += Drawing_OnDraw;
            Game.OnUpdate         += SmiteEvent;
        }
コード例 #10
0
        static void MenuLB()
        {
            Lbmenu = MainMenu.AddMenu("SP-LeBlanc", "SP-LeBlanc");
            Lbmenu.AddGroupLabel("SP-LeBlanc");
            Lbmenu.AddSeparator();
            Lbmenu.AddGroupLabel("Q-R-W-E = Combo || E-R-Q-W Combo 2");
            Lbmenu.AddGroupLabel("Q-W-E = Harass");
            Lbmenu.AddGroupLabel("W-Q = Lane Clear");
            //Lbmenu.AddGroupLabel("Hydra,Tiamat,Youmuu's Item's Usage (Combo, Harass, LaneClear)");
            Lbmenu.AddLabel("SP-LeBlanc v1.0.0.2");
            // COMBO
            ComboMenu = Lbmenu.AddSubMenu("Combo", "combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.AddSeparator();
            ComboMenu.Add("usecomboq", new CheckBox("Use Q"));
            ComboMenu.Add("usecombow", new CheckBox("Use W"));
            ComboMenu.Add("usecomboe", new CheckBox("Use E"));
            ComboMenu.Add("usecombor", new CheckBox("Use R"));
            ComboMenu.AddSeparator();
            var combo = ComboMenu.Add("combo", new Slider("Combo 1 or 2", 0, 0, 1));

            combo.OnValueChange += delegate
            {
                combo.DisplayName = "Combo 1 or 2: " + new[] { "Combo 1", "Combo 2" }[combo.CurrentValue];
            };
            combo.DisplayName = "Combo 1 or 2: " + new[] { "Combo 1", "Combo 2" }[combo.CurrentValue];
            // HARASS

            /*HarassMenu = Lbmenu.AddSubMenu("Harass", "harass");
             *          HarassMenu.AddGroupLabel("Harass Settings");
             *          HarassMenu.AddSeparator();
             *          HarassMenu.Add("useharassq", new CheckBox("Use Q"));
             *          HarassMenu.Add("useharassw", new CheckBox("Use W"));
             *          HarassMenu.Add("useharasse", new CheckBox("Use E"));*/
            // KİLLSTEAL
            KSMenu = Lbmenu.AddSubMenu("Killsteal", "ks");
            KSMenu.AddGroupLabel("KillSteal Settings");
            KSMenu.AddSeparator();
            KSMenu.Add("ksq", new CheckBox("Use Q"));
            KSMenu.Add("ksw", new CheckBox("Use W"));
            KSMenu.Add("kse", new CheckBox("Use E"));
            // LANE
            LaneCMenu = Lbmenu.AddSubMenu("Lane Clear", "laneclear");
            LaneCMenu.AddGroupLabel("Lane Clear Settings");
            LaneCMenu.AddSeparator();
            LaneCMenu.Add("uselcq", new CheckBox("Use Q"));
            LaneCMenu.Add("uselcw", new CheckBox("Use W"));
            LaneCMenu.Add("wcnt", new Slider("Use W if Hit >= :", 3, 0, 10));
            LaneCMenu.Add("LMANA", new Slider("Min. mana for laneclear :", 0, 0, 100));
            // MİSC
            MiscMenu = Lbmenu.AddSubMenu("Misc", "misc");
            MiscMenu.AddGroupLabel("Misc Settings");
            MiscMenu.AddSeparator();
            MiscMenu.AddLabel("Skin Changer");
            var skin = MiscMenu.Add("sID", new Slider("Skin", 0, 0, 5));
            var sId  = new[] { "Classic", "Wicked", "Prestigious", "Mistletoe", "Ravenborn" };

            skin.DisplayName = sId[skin.CurrentValue];

            skin.OnValueChange +=
                delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = sId[changeArgs.NewValue];
            };
            var Style = MiscMenu.Add("style", new Slider("Min Prediction", 1, 0, 2));

            Style.OnValueChange += delegate
            {
                Style.DisplayName = "Min Prediction: " + new[] { "Low", "Medium", "High" }[Style.CurrentValue];
            };
            Style.DisplayName = "Min Prediction: " + new[] { "Low", "Medium", "High" }[Style.CurrentValue];
            // DRAW
            DrawMenu = Lbmenu.AddSubMenu("Drawing", "draw");
            DrawMenu.AddGroupLabel("Drawing Settings");
            DrawMenu.AddSeparator();
            DrawMenu.Add("drawq", new CheckBox("Draw Q"));
            DrawMenu.Add("drawst", new CheckBox("Draw Combo Status"));
        }
コード例 #11
0
ファイル: Program.cs プロジェクト: uneventful0312/EloBuddy
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (_Player.Hero != Champion.Azir)
            {
                return;
            }

            var slot = _Player.GetSpellSlotFromName("summonerdot");

            _Q = new Spell.Skillshot(SpellSlot.Q, 875, SkillShotType.Linear, 0, 1600, 70);
            _W = new Spell.Skillshot(SpellSlot.W, 450, SkillShotType.Circular, 0);
            _E = new Spell.Skillshot(SpellSlot.E, 1250, SkillShotType.Linear, 0, 1700, 100);
            _R = new Spell.Skillshot(SpellSlot.R, 450, SkillShotType.Linear, 1, 1400, 0);

            if (slot != SpellSlot.Unknown)
            {
                _Ignite = new Spell.Targeted(slot, 600);
            }

            //Just a placeholder...
            _SoldierAARange = new Spell.Skillshot(SpellSlot.Unknown, 320, SkillShotType.Linear);

            _Zhonyas   = new Item(3157);
            _ManaPot   = new Item(2004);
            _HealthPot = new Item(2003);

            Menu = MainMenu.AddMenu("Azir", "azir");

            Menu.AddGroupLabel("Azir");
            Menu.AddLabel("By Buddy");

            Menu.AddSeparator();

            //Menu.Add("mGobalDelay", new Slider("Gobal Delay (ms)", 5, 0, 100));

            //Menu.AddSeparator();

            //Menu.Add("mCheckHitChance", new CheckBox("Check Hitchance"));
            //Menu.Add("mMinimumHitChance", new Slider("HitChance: Low|Medium|High", 1, 1, 3));

            //Menu.AddSeparator();

            Menu.Add("mUseItems", new CheckBox("Use Items"));
            Menu.Add("mUseHealthPot", new Slider("Use Health Pot At %:", 20, 0, 100));

            Menu.AddSeparator();

            Menu.Add("mDamageBuffer", new Slider("Damage Calculations Buffer %:", 90, 10, 100));
            Menu.AddLabel("Only Change this if you know what you're doing");

            Menu.AddSeparator();

            //Menu.Add("mSkinID", new Slider("Skin ID", 1, 1, 2));
            Menu.Add("mUseROnInterrupt", new CheckBox("Use R To Interrupt"));
            Menu.Add("mAutoIgnite", new CheckBox("Auto Ignite Killable"));

            DrawMenu = Menu.AddSubMenu("Draw", "draw");

            DrawMenu.AddGroupLabel("Draw Menu");
            DrawMenu.Add("dDrawQ", new CheckBox("Draw Q"));
            DrawMenu.Add("dDrawLines", new CheckBox("Draw Lines"));
            DrawMenu.Add("dDrawW", new CheckBox("Draw W"));
            DrawMenu.Add("dDrawE", new CheckBox("Draw E"));
            DrawMenu.Add("dDrawR", new CheckBox("Draw R"));
            DrawMenu.Add("dDrawWRange", new CheckBox("Draw W Range"));
            DrawMenu.Add("dDrawWCommandRange", new CheckBox("Draw W Command Range"));
            DrawMenu.Add("dDrawComboIndicator", new CheckBox("Draw Combo Indicator"));
            DrawMenu.Add("dDrawText", new CheckBox("Draw Text"));
            DrawMenu.Add("dDrawManaUsage", new CheckBox("Draw Q-W-E-R Mana Usage"));

            ComboMenu = Menu.AddSubMenu("Combo", "combo");

            ComboMenu.AddGroupLabel("Combo Menu");
            ComboMenu.Add("cUseQ", new CheckBox("Use Q"));
            ComboMenu.Add("cUseW", new CheckBox("Use W"));
            ComboMenu.Add("cUseE", new CheckBox("Use E"));
            ComboMenu.Add("cUseEGC", new CheckBox("Use E To Gapclose"));
            ComboMenu.Add("cUseR", new CheckBox("Use R"));
            ComboMenu.Add("cUseAA", new CheckBox("Use AA"));
            ComboMenu.Add("cUseIgnite", new CheckBox("Use Ignite"));

            HarassMenu = Menu.AddSubMenu("Harass", "harass");

            HarassMenu.AddGroupLabel("Harass Menu");
            HarassMenu.Add("hUseQ", new CheckBox("Use Q"));
            HarassMenu.Add("hUseW", new CheckBox("Use W"));
            HarassMenu.Add("hUseAA", new CheckBox("Use AA"));

            FarmMenu = Menu.AddSubMenu("Farm", "farm");

            FarmMenu.AddGroupLabel("Farm Menu");

            FarmMenu.AddSeparator();

            FarmMenu.AddLabel("Last Hit");
            FarmMenu.Add("fLHUseQ", new CheckBox("Use Q"));
            FarmMenu.Add("fLHUseW", new CheckBox("Use W"));
            FarmMenu.Add("fLHUseWHealth", new Slider("Use W When Minion Healh %:", 50, 0, 100));

            FarmMenu.AddSeparator();

            FarmMenu.AddLabel("Lane Clear");
            FarmMenu.Add("fLCUseQ", new CheckBox("Use Q"));
            FarmMenu.Add("fLCUseW", new CheckBox("Use W"));
            FarmMenu.Add("fLCWaitHealth", new Slider("Wait for minion at %:", 10, 0, 100));
            FarmMenu.Add("fLCUseWHealth", new Slider("Use W When Minion Healh %:", 80, 0, 100));

            KSMenu = Menu.AddSubMenu("KillSteal", "killsteal");

            KSMenu.AddGroupLabel("KS Menu");
            KSMenu.Add("ksUseWQ", new CheckBox("Use W-Q"));
            KSMenu.Add("ksUseE", new CheckBox("Use E To Gapclose"));
            KSMenu.Add("ksUseR", new CheckBox("Use R"));
            KSMenu.Add("ksUseIgnite", new CheckBox("Use Ignite"));

            FleeMenu = Menu.AddSubMenu("Flee", "flee");

            FleeMenu.AddGroupLabel("Flee Menu");
            FleeMenu.Add("fUseWE", new CheckBox("Use W-E"));
            FleeMenu.Add("fUseQ", new CheckBox("Use W-Q-E"));
            FleeMenu.Add("fUseR", new CheckBox("Use R"));
            FleeMenu.Add("fUseRHealth", new Slider("Use R if Health <", 100, 0, 500));

            ItemMenu = Menu.AddSubMenu("Items", "items");

            ItemMenu.AddGroupLabel("Items Menu");
            ItemMenu.Add("iUseZhonyas", new CheckBox("Use Zhonya's"));
            ItemMenu.Add("iUseZhonyasHealth", new Slider("Use Zhonya's at Health:", 250, 50, 750));

            Indicator = new DamageIndicator.DamageIndicator();
            Indicator.Add("Combo", new SpellData(0, DamageType.True, Color.Lime));

            ManaMenu = Menu.AddSubMenu("Mana", "mana");

            ManaMenu.AddGroupLabel("Mana Menu");
            ManaMenu.Add("mUsePot", new Slider("Use Mana Pot At %:", 35, 0, 100));
            ManaMenu.Add("mManaCalculations", new CheckBox("Do Mana Calculations"));

            Game.OnTick += Game_OnTick;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Drawing.OnDraw        += Draw.Drawing_OnDraw;
            Gapcloser.OnGapcloser += Gapcloser_OnGapcloser;

            Chat.Print("<font color='#32cd32'>Azir Built Successfully - {0} {1}</font>", DateTime.Now.ToString("h:mm:ss tt"), DateTime.Now.ToString("d/M/yyyy"));
        }
コード例 #12
0
        private static void OnLoad()
        {
            Menu = MainMenu.AddMenu("Aatrox", "Aatrox");
            Menu.AddLabel("Ported from BrianSharp - Berb");
            Menu.AddSeparator();

            ComboMenu = Menu.AddSubMenu("Combo");
            ComboMenu.Add("Q", new CheckBox("Use Q"));
            ComboMenu.Add("W", new CheckBox("Use W"));
            ComboMenu.Add("WHpU", new Slider("-> Switch To Heal If Hp <", 50));
            ComboMenu.Add("E", new CheckBox("Use E"));
            ComboMenu.Add("R", new CheckBox("Use R"));
            ComboMenu.Add("RHpU", new Slider("-> If Enemy Hp <", 60));
            ComboMenu.Add("RCountA", new Slider("-> Or Enemy >=", 2, 1, 5));
            ComboMenu.AddSeparator();

            HarassMenu = Menu.AddSubMenu("Harass");
            HarassMenu.Add("AutoE", new KeyBind("Auto E", false, KeyBind.BindTypes.PressToggle, 'H'));
            HarassMenu.Add("AutoEHpA", new Slider("-> If Hp >=", 50));
            HarassMenu.Add("Q", new CheckBox("Use Q"));
            HarassMenu.Add("QHpA", new Slider("-> If Hp >=", 20));
            HarassMenu.Add("E", new CheckBox("Use E"));
            HarassMenu.AddSeparator();

            ClearMenu = Menu.AddSubMenu("Clear");
            ClearMenu.Add("Q", new CheckBox("Use Q"));
            ClearMenu.Add("W", new CheckBox("Use W"));
            ClearMenu.Add("WPriority", new CheckBox("-> Priority Heal"));
            ClearMenu.Add("WHpU", new Slider("-> Switch To Heal If Hp <", 50));
            ClearMenu.Add("E", new CheckBox("Use E"));
            ClearMenu.Add("Item", new CheckBox("Use Tiamat/Hydra Item"));
            ClearMenu.AddSeparator();

            FleeMenu = Menu.AddSubMenu("Flee");
            FleeMenu.Add("Q", new CheckBox("Use Q"));
            FleeMenu.Add("E", new CheckBox("Use E"));
            FleeMenu.AddSeparator();

            KSMenu = Menu.AddSubMenu("Kill Steal");
            KSMenu.Add("Q", new CheckBox("Use Q"));
            KSMenu.Add("E", new CheckBox("Use E"));
            KSMenu.Add("Smite", new CheckBox("Use Smite"));
            KSMenu.Add("Ignite", new CheckBox("Use Ignite"));
            KSMenu.AddSeparator();

            GapMenu = Menu.AddSubMenu("Anti Gap Closer");
            GapMenu.Add("Q", new CheckBox("Use Q"));
            foreach (
                var spell in
                AntiGapcloser.Spells.Where(i => HeroManager.Enemies.Any(a => i.ChampionName == a.ChampionName)))
            {
                GapMenu.Add(spell.ChampionName + "_" + spell.Slot,
                            new CheckBox("-> Skill " + spell.Slot + " Of " + spell.ChampionName));
            }
            GapMenu.AddSeparator();

            IntMenu = Menu.AddSubMenu("Interrupt");
            IntMenu.Add("Q", new CheckBox("Use Q"));
            foreach (
                var spell in
                Interrupter.Spells.Where(i => HeroManager.Enemies.Any(a => i.ChampionName == a.ChampionName)))
            {
                IntMenu.Add(spell.ChampionName + "_" + spell.Slot,
                            new CheckBox("-> Skill " + spell.Slot + " Of " + spell.ChampionName));
            }
            IntMenu.AddSeparator();

            SmiteMenu = Menu.AddSubMenu("Smite Mob");
            SmiteMenu.Add("Smite", new CheckBox("Use Smite"));
            SmiteMenu.Add("Auto", new CheckBox("-> Auto Smite"));
            SmiteMenu.Add("Baron", new CheckBox("-> Baron Nashor"));
            SmiteMenu.Add("Dragon", new CheckBox("-> Dragon"));
            SmiteMenu.Add("Red", new CheckBox("-> Red Brambleback"));
            SmiteMenu.Add("Blue", new CheckBox("-> Blue Sentinel"));
            SmiteMenu.Add("Krug", new CheckBox("-> Ancient Krug"));
            SmiteMenu.Add("Gromp", new CheckBox("-> Gromp"));
            SmiteMenu.Add("Raptor", new CheckBox("-> Crimson Raptor"));
            SmiteMenu.Add("Wolf", new CheckBox("-> Greater Murk Wolf"));
            SmiteMenu.AddSeparator();

            DrawMenu = Menu.AddSubMenu("Drawings");
            DrawMenu.Add("Q", new CheckBox("Use Q"));
            DrawMenu.Add("E", new CheckBox("Use E"));
            DrawMenu.Add("R", new CheckBox("Use R"));
            DrawMenu.AddSeparator();

            Q  = new Spell(SpellSlot.Q, 650);
            Q2 = new Spell(SpellSlot.Q, 650);
            W  = new Spell(SpellSlot.W);
            E  = new Spell(SpellSlot.E, 1075);
            R  = new Spell(SpellSlot.R, 550);
            Q.SetSkillshot(0.6f, 250, 2000, false, SkillshotType.SkillshotCircle);
            Q2.SetSkillshot(0.6f, 150, 2000, false, SkillshotType.SkillshotCircle);
            E.SetSkillshot(0.25f, 35, 1250, false, SkillshotType.SkillshotLine);

            Tiamat = ItemData.Tiamat_Melee_Only.GetItem();
            Hydra  = ItemData.Ravenous_Hydra_Melee_Only.GetItem();

            foreach (
                var spell in
                myHero.Spellbook.Spells.Where(
                    i =>
                    i.Name.ToLower().Contains("smite") &&
                    (i.Slot == SpellSlot.Summoner1 || i.Slot == SpellSlot.Summoner2)))
            {
                Smite = spell.Slot;
            }
            Ignite = myHero.GetSpellSlot("summonerdot");

            Game.OnTick                       += OnTick;
            Gapcloser.OnGapcloser             += Gapcloser_OnGapcloser;
            Interrupter.OnPossibleToInterrupt += OnPossibleToInterrupt;
            Drawing.OnDraw                    += OnDraw;
        }
コード例 #13
0
        private static void OnLoad(EventArgs args)
        {
            if (myHero.Hero != Champion.Khazix)
            {
                return;
            }

            Chat.Print("Ported and Edited Have fun :)");

            Menu = MainMenu.AddMenu("Ronin KhaZix", "KhaZix");
            Menu.AddLabel("Have Fun ! by Taazuma");
            ComboMenu     = Menu.AddSubMenu("Combo", "KhaZix.Combo");
            HarassMenu    = Menu.AddSubMenu("Harass", "KhaZix.Harass");
            LaneClearMenu = Menu.AddSubMenu("Lane Clear", "KhaZix.LaneClear");
            JumpMenu      = Menu.AddSubMenu("Double Jump", "KhaZix.DoubleJump");
            SafetyMenu    = Menu.AddSubMenu("Safety", "KhaZix.Safety");
            KSMenu        = Menu.AddSubMenu("Kill Steal", "KhaZix.KillSteal");
            Menu.AddSeparator();

            // --------------------------------- COMBO ---------------------------------
            ComboMenu.AddGroupLabel("Combo");
            ComboMenu.Add("UseQCombo", new CheckBox("Use Q"));
            ComboMenu.Add("UseWCombo", new CheckBox("Use W"));
            ComboMenu.Add("UseECombo", new CheckBox("Use E"));
            ComboMenu.Add("UseRCombo", new CheckBox("Use R"));
            ComboMenu.Add("UseItems", new CheckBox("Use Items"));
            ComboMenu.AddSeparator();
            ComboMenu.Add("UseEGapclose", new CheckBox("Use E To Gapclose for Q"));
            ComboMenu.Add("UseEGapcloseW", new CheckBox("Use E To Gapclose For W"));
            ComboMenu.Add("UseRGapcloseW", new CheckBox("Use R after long gapcloses"));
            ComboMenu.Add("UseIgnite", new CheckBox("Use Ignite"));
            ComboMenu.AddSeparator();

            // --------------------------------- Harass ---------------------------------
            HarassMenu.AddGroupLabel("Harass");
            HarassMenu.Add("UseQHarass", new CheckBox("Use Q"));
            HarassMenu.Add("UseWHarass", new CheckBox("Use W"));
            HarassMenu.Add("Harass.AutoWI", new CheckBox("Auto-W immobile"));
            HarassMenu.Add("Harass.AutoWD", new CheckBox("Auto W"));
            HarassMenu.AddSeparator();

            // --------------------------------- Lane Clear ---------------------------------
            LaneClearMenu.AddGroupLabel("Lane Clear");
            LaneClearMenu.Add("UseQFarm", new CheckBox("Use Q"));
            LaneClearMenu.Add("UseEFarm", new CheckBox("Use E"));
            LaneClearMenu.Add("UseWFarm", new CheckBox("Use W"));
            LaneClearMenu.Add("Farm.WHealth", new Slider("Health % to use W", 80, 0, 100));
            LaneClearMenu.Add("UseItemsFarm", new CheckBox("Use Items", true));
            LaneClearMenu.AddSeparator();

            // --------------------------------- Double Jump ---------------------------------
            JumpMenu.AddGroupLabel("Double Jump");
            JumpMenu.Add("djumpenabled", new CheckBox("Enabled"));
            JumpMenu.Add("delayQ", new Slider("Delay on Q", 1, 1, 5));
            JumpMenu.Add("JEDelay", new Slider("Delay on jumps", 250, 250, 500));
            JumpMenu.Add("jumpmode", new Slider("1 : Default (jumps towards your nexus) | 2 : Custom - Settings below", 1, 1, 2));
            JumpMenu.AddSeparator();
            JumpMenu.Add("save", new CheckBox("Save Double Jump Abilities"));
            JumpMenu.Add("noauto", new CheckBox("Wait for Q instead of autos"));
            JumpMenu.Add("jcursor", new CheckBox("Jump to Cursor (true) or false for script logic"));
            JumpMenu.Add("jcursor2", new CheckBox("Second Jump to Cursor (true) or false for script logic"));
            JumpMenu.AddSeparator();

            // --------------------------------- Safe ---------------------------------
            SafetyMenu.AddGroupLabel("Safety");
            SafetyMenu.Add("Safety.Enabled", new CheckBox("Enable Safety Checks"));
            SafetyMenu.Add("Safety.CountCheck", new CheckBox("Min Ally ratio to Enemies to jump"));
            SafetyMenu.Add("Safety.TowerJump", new CheckBox("Avoid Tower Diving"));
            SafetyMenu.Add("Safety.Override", new KeyBind("Safety Override Key", false, KeyBind.BindTypes.HoldActive, 'T'));
            SafetyMenu.Add("Safety.MinHealth", new Slider("Healthy %", 15, 0, 100));
            SafetyMenu.Add("Safety.Ratio", new Slider("Ally:Enemy Ratio (/5)", 1, 0, 5));
            SafetyMenu.AddSeparator();


            // --------------------------------- KS ---------------------------------
            KSMenu.AddGroupLabel("Kill Steal Settings");
            KSMenu.Add("Kson", new CheckBox("Use KillSteal"));
            KSMenu.Add("UseQKs", new CheckBox("Use Q"));
            KSMenu.Add("UseWKs", new CheckBox("Use W"));
            KSMenu.Add("UseEKs", new CheckBox("Use E"));
            KSMenu.Add("Ksbypass", new CheckBox("Bypass safety checks for E KS", false));
            KSMenu.Add("UseEQKs", new CheckBox("Use EQ in KS"));
            KSMenu.Add("UseEWKs", new CheckBox("Use EW in KS"));
            KSMenu.Add("UseTiamatKs", new CheckBox("Use items"));
            KSMenu.Add("Edelay", new Slider("E Delay (ms)", 0, 0, 300));
            KSMenu.AddSeparator();

            var ign = Player.Spells.FirstOrDefault(o => o.SData.Name == "summonerdot");

            if (ign != null)
            {
                SpellSlot igslot = EloBuddy.SDK.Extensions.GetSpellSlotFromName(myHero, "summonerdot");
                ignite = new Spell.Targeted(igslot, 600);
            }

            Q  = new Spell.Targeted(SpellSlot.Q, 325);
            W  = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Linear, 225, 828, 80);
            WE = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Linear, 225, 828, 100);
            E  = new Spell.Skillshot(SpellSlot.E, 700, SkillShotType.Circular, 250, 1000, 100);
            R  = new Spell.Active(SpellSlot.R, 0);

            foreach (var t in ObjectManager.Get <Obj_AI_Turret>().Where(t => t.IsEnemy))
            {
                EnemyTurretPositions.Add(t.ServerPosition);
            }

            var shop = ObjectManager.Get <Obj_Shop>().FirstOrDefault(o => o.IsAlly);

            if (shop != null)
            {
                NexusPosition = shop.Position;
            }

            HeroList = EntityManager.Heroes.AllHeroes;

            Game.OnTick           += OnTick;
            Game.OnTick           += DoubleJump;
            Spellbook.OnCastSpell += Spellbook_OnCastSpell;
            Orbwalker.OnPreAttack += Orbwalker_OnPreAttack;
        }
コード例 #14
0
        private static void Game_OnGameLoad(EventArgs args)
        {
            if (ObjectManager.Player.BaseSkinName != "Nautilus")
            {
                return;
            }
            foreach (var hero in ObjectManager.Get <AIHeroClient>())
            {
                if (hero.IsEnemy)
                {
                    Enemies.Add(hero);
                }
                if (hero.IsAlly)
                {
                    Allies.Add(hero);
                }
            }



            Q = new Spell.Skillshot(SpellSlot.Q, 1100, SkillShotType.Linear, (int)0.5f, (int?)1900f, 90);
            Q.AllowedCollisionCount = 0;
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Active(SpellSlot.E, 300);
            R = new Spell.Targeted(SpellSlot.R, (uint)ObjectManager.Player.Spellbook.GetSpell(SpellSlot.R).SData.CastRange);

            nautmenu = MainMenu.AddMenu("Nautilus", "Nautilus");
            nautmenu.AddGroupLabel("Nautilus!");
            PredictionMenu = nautmenu.AddSubMenu("Prediction", "prediction");
            StringList(PredictionMenu, "Qpred", "Q Prediction", new[] { "Low", "Medium", "High", "Very High" }, 3);

            ComboMenu = nautmenu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo Ayarları");
            ComboMenu.Add("ts", new CheckBox("EB hedef seçici kullan"));
            ComboMenu.Add("ts1", new CheckBox("Sadece 1 hedefe odaklan", false));
            ComboMenu.Add("minGrab", new Slider("Çekmek için en az menzil", 250, 125, (int)Q.Range));
            ComboMenu.Add("maxGrab", new Slider("Çekmek için en fazla menzil", (int)Q.Range, 125, (int)Q.Range));
            ComboMenu.AddLabel("Çekme:");
            foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.Team != Player.Team))
            {
                ComboMenu.Add("grab" + enemy.ChampionName, new CheckBox(enemy.ChampionName));
            }
            ComboMenu.AddSeparator();
            ComboMenu.Add("useW", new CheckBox("Kullan W"));
            ComboMenu.Add("useE", new CheckBox("Kullan E"));
            ComboMenu.Add("useR", new CheckBox("Kullan R"));
            ComboMenu.AddGroupLabel("Ultiyi şu düşmanlara kullanma");
            foreach (var enemy in ObjectManager.Get <AIHeroClient>())
            {
                CheckBox cb = new CheckBox(enemy.BaseSkinName)
                {
                    CurrentValue = false
                };
                if (enemy.Team != ObjectManager.Player.Team)
                {
                    ComboMenu.Add("DontUltenemy" + enemy.BaseSkinName, cb);
                }
            }

            KSMenu = nautmenu.AddSubMenu("KS");
            KSMenu.AddGroupLabel("KS Ayarları");
            KSMenu.Add("ksQ", new CheckBox("Kullan Q"));
            KSMenu.Add("ksE", new CheckBox("Kullan E"));

            LaneMenu = nautmenu.AddSubMenu("LaneCLear");
            LaneMenu.AddGroupLabel("Lanetemizleme Ayarları");
            LaneMenu.Add("UseWlc", new CheckBox("Kullan W"));
            LaneMenu.Add("UseElc", new CheckBox("Kullan E"));
            LaneMenu.AddSeparator();
            LaneMenu.Add("lccount", new Slider("E için en az minyon", 3, 1, 5));
            LaneMenu.Add("lanem", new Slider("Minimum mana %", 20, 0, 100));

            JungleMenu = nautmenu.AddSubMenu("Jungleclear");
            JungleMenu.AddGroupLabel("Ormantemizleme Ayarları");
            JungleMenu.Add("UseQjg", new CheckBox("Kullan Q"));
            JungleMenu.Add("UseWjg", new CheckBox("Kullan W"));
            JungleMenu.Add("UseEjg", new CheckBox("Kullan E"));
            JungleMenu.Add("jgMana", new Slider("en az mana %", 20, 0, 100));
            JungleMenu.AddSeparator();

            SmiteMenu = nautmenu.AddSubMenu("Smite", "Smite");
            SmiteMenu.AddSeparator();
            SmiteMenu.Add("smiteActive",
                          new KeyBind("Çarp Aktif (Tuşu)", true, KeyBind.BindTypes.PressToggle, 'H'));
            SmiteMenu.AddSeparator();
            SmiteMenu.Add("useSlowSmite", new CheckBox("Mavi çarpla canavar çal"));
            SmiteMenu.Add("comboWithDuelSmite", new CheckBox("Kırmızı Çarp Komboda"));
            SmiteMenu.AddSeparator();
            SmiteMenu.AddGroupLabel("Kamplar");
            SmiteMenu.AddLabel("Epics");
            SmiteMenu.Add("SRU_Baron", new CheckBox("Baron"));
            SmiteMenu.Add("SRU_Dragon", new CheckBox("Ejder"));
            SmiteMenu.AddLabel("BUFFLAR");
            SmiteMenu.Add("SRU_Blue", new CheckBox("Mavi"));
            SmiteMenu.Add("SRU_Red", new CheckBox("Kırmızı"));
            SmiteMenu.AddLabel("Küçük Kamplar");
            SmiteMenu.Add("SRU_Gromp", new CheckBox("Kurbağa", false));
            SmiteMenu.Add("SRU_Murkwolf", new CheckBox("Alacakurtlar", false));
            SmiteMenu.Add("SRU_Krug", new CheckBox("Golemler", false));
            SmiteMenu.Add("SRU_Razorbeak", new CheckBox("Sivrigagalar", false));
            SmiteMenu.Add("Sru_Crab", new CheckBox("Yampiriyengeç", false));

            FleeMenu = nautmenu.AddSubMenu("Flee");
            FleeMenu.AddGroupLabel("Flee(kaçma) Ayarları");
            FleeMenu.Add("fleeuseQ", new CheckBox("Kullan Q"));
            FleeMenu.Add("fleeuseW", new CheckBox("Kullan W"));

            MiscMenu = nautmenu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Ek Ayarlar");
            MiscMenu.Add("antiG", new CheckBox("Kullan E - Antigapcloser"));
            MiscMenu.Add("interruptq", new CheckBox("Kullan Q - interrupter"));
            MiscMenu.Add("interruptr", new CheckBox("Kullan R - interrupter"));


            DrawMenu = nautmenu.AddSubMenu("Draw");
            DrawMenu.AddGroupLabel("Gösterge");
            DrawMenu.Add("drawq", new CheckBox("Göster Q"));
            DrawMenu.Add("drawe", new CheckBox("Göster E"));
            DrawMenu.Add("drawr", new CheckBox("Göster R"));

            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Game.OnUpdate         += Game_OnUpdate;
            Gapcloser.OnGapcloser += Gapcloser_OnGapcloser;
            Drawing.OnDraw        += Drawing_OnDraw;
            Game.OnUpdate         += SmiteEvent;
        }
コード例 #15
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.Hero != Champion.Ryze)
            {
                return;
            }

            Q = new Spell.Skillshot(SpellSlot.Q, 900, SkillShotType.Linear, 250, 1700, 100);
            W = new Spell.Targeted(SpellSlot.W, 600);
            E = new Spell.Targeted(SpellSlot.E, 600);
            R = new Spell.Active(SpellSlot.R);

            menu = MainMenu.AddMenu("Challenger Ryze", "challengerryze");

            ComboMenu = menu.AddSubMenu("Combo", "combomenu");

            ComboMenu.AddGroupLabel("Combo Selector");
            var cs = ComboMenu.Add("css", new Slider("Combo Selector", 0, 0, 1));
            var co = new[] { "Addon Combo", "Slutty Combo" };

            cs.DisplayName = co[cs.CurrentValue];

            cs.OnValueChange +=
                delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = co[changeArgs.NewValue];
            };

            ComboMenu.AddGroupLabel("Slutty Combo");
            ComboMenu.Add("SUQ", new CheckBox("Use Q"));
            ComboMenu.Add("SUW", new CheckBox("Use W"));
            ComboMenu.Add("SUE", new CheckBox("Use E"));
            ComboMenu.Add("SUR", new CheckBox("Use R"));
            ComboMenu.Add("SUAR", new CheckBox("Use R [Rooted Enemy]"));

            FarmMenu = menu.AddSubMenu("LastHit", "farmenu");

            FarmMenu.AddGroupLabel("LastHit Settings");
            FarmMenu.Add("LHQ", new CheckBox("Use Q"));
            FarmMenu.Add("LHM", new Slider("Mana", 55, 1, 100));

            LaneMenu = menu.AddSubMenu("Laneclear", "lanemenu");

            LaneMenu.AddGroupLabel("Laneclear Settings");
            LaneMenu.Add("LCQ", new CheckBox("Use Q"));
            LaneMenu.Add("LCW", new CheckBox("Use W"));
            LaneMenu.Add("LCE", new CheckBox("Use E"));
            LaneMenu.Add("LCR", new CheckBox("Use R"));

            JungleMenu = menu.AddSubMenu("Jungleclear", "junglemenu");

            JungleMenu.AddGroupLabel("Jungleclear Settings");
            JungleMenu.Add("JCQ", new CheckBox("Use Q"));
            JungleMenu.Add("JCW", new CheckBox("Use W"));
            JungleMenu.Add("JCE", new CheckBox("Use E"));
            JungleMenu.Add("JCR", new CheckBox("Use R"));

            HarassMenu = menu.AddSubMenu("Harass", "hsmenu");

            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("HSQ", new CheckBox("Use Q"));
            HarassMenu.Add("HSW", new CheckBox("Use W"));
            HarassMenu.Add("HSE", new CheckBox("Use E"));
            HarassMenu.Add("HSM", new Slider("Mana", 55, 1, 100));

            KSMenu = menu.AddSubMenu("Kill Steal (KS)", "ksmenu");

            KSMenu.AddGroupLabel("Kill Steal Settings");
            KSMenu.Add("KSQ", new CheckBox("Auto Q"));
            KSMenu.Add("KSW", new CheckBox("Auto W"));
            KSMenu.Add("KSE", new CheckBox("Auto E"));

            DrawingsMenu = menu.AddSubMenu("Drawings", "drawingsmenu");

            DrawingsMenu.AddGroupLabel("Drawings Settings");
            DrawingsMenu.Add("DQ", new CheckBox("Draw Q"));
            DrawingsMenu.Add("DWE", new CheckBox("Draw W + E"));
            DrawingsMenu.Add("DSTK", new CheckBox("Draw Stacks HUD"));

            /*ItemsMenu = menu.AddSubMenu("Items", "itemsmenu");
             *
             * ItemsMenu.AddGroupLabel("Items Settings");
             * ItemsMenu.Add("US", new CheckBox("Use Seraph's Embrace"));
             * ItemsMenu.Add("Vida", new Slider("HP %", 55, 1, 100));*/

            MiscMenu = menu.AddSubMenu("Misc", "miscmenu");

            MiscMenu.AddGroupLabel("Misc Settings");
            MiscMenu.Add("Misc1", new CheckBox("Anti-Gapcloser [W Usage]"));
            MiscMenu.Add("Misc2", new CheckBox("Auto-Interrupt [W Usage]"));
            MiscMenu.AddGroupLabel("Addon Cast Helper");
            MiscMenu.Add("CAC", new CheckBox("Enable Addon Cast Helper"));
            var cx = MiscMenu.Add("csss", new Slider("Addon Cast Method", 0, 0, 1));
            var ca = new[] { "Mode: Kite", "Mode: To target" };

            cx.DisplayName = ca[cx.CurrentValue];

            cx.OnValueChange +=
                delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = ca[changeArgs.NewValue];
            };

            ThemeMenu = menu.AddSubMenu("Theme Style", "themestyle");

            ThemeMenu.AddGroupLabel("Themes Settings");
            ThemeMenu.Add("te", new CheckBox("Enable Theme Style", false));
            var xs = ThemeMenu.Add("xss", new Slider("Theme Styles", 0, 0, 4));
            var xo = new[] { "Off", "Theme: Raven", "Theme: Academy", "Theme: Challenger", "Theme: Crystal" };

            xs.DisplayName = xo[xs.CurrentValue];

            xs.OnValueChange += delegate(ValueBase <int> sender, ValueBase <int> .ValueChangeArgs changeArgs)
            {
                sender.DisplayName = xo[changeArgs.NewValue];
            };

            Game.OnUpdate                    += Game_OnUpdate;
            Drawing.OnDraw                   += Drawing_OnDraw;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapCloser;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Spellbook.OnCastSpell            += Spellbook_OnCastSpell;
        }
コード例 #16
0
ファイル: Program.cs プロジェクト: uneventful0312/EloBuddy
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (_Player.Hero != Champion.Talon)
            {
                Chat.Print("<font color='#ff0000'>ERROR 0: FAILED TO LAUNCH</font>");
                return;
            }

            _Q = new Spell.Active(SpellSlot.Q);
            _W = new Spell.Skillshot(SpellSlot.W, 600, SkillShotType.Cone, 250, null, 25);
            _E = new Spell.Targeted(SpellSlot.E, 700);
            _R = new Spell.Skillshot(SpellSlot.R, 500, SkillShotType.Circular);

            IgniteSlot = _Player.GetSpellSlotFromName("SummonerDot");

            _bilge   = new Item(3144, 475f);
            _blade   = new Item(3153, 425f);
            _hydra   = new Item(3074, 250f);
            _tiamat  = new Item(3077, 250f);
            _rand    = new Item(3143, 490f);
            _lotis   = new Item(3190, 590f);
            _youmuu  = new Item(3142, 10);
            _botrk   = new Item(3153, 550f);
            _manapot = new Item(2004, 10);

            Menu = MainMenu.AddMenu("Talon", "talon");

            Menu.AddGroupLabel("Talon");
            Menu.AddLabel("By Buddy - Feel free to donate me a monitor :^)");

            Menu.AddSeparator();

            Menu.Add("gobalDelay", new Slider("Gobal Delay (ms)", 5, 0, 100));

            ComboMenu = Menu.AddSubMenu("::Combo Menu", "combomenu");

            ComboMenu.AddGroupLabel("Combo Menu");
            ComboMenu.Add("cUseQ", new CheckBox("Use Q"));
            ComboMenu.Add("cUseW", new CheckBox("Use W"));
            ComboMenu.Add("cUseE", new CheckBox("Use E"));
            ComboMenu.Add("cUseR", new CheckBox("Use R"));

            ComboMenu.AddSeparator();

            ComboMenu.Add("cUseYoumuu", new CheckBox("Use Youmuu's"));
            ComboMenu.Add("cUseTiamat", new CheckBox("Use Tiamat"));
            ComboMenu.Add("cUseHydra", new CheckBox("Use Hydra"));
            ComboMenu.Add("cUseBilge", new CheckBox("Use Bilge"));
            ComboMenu.Add("cUseBotrk", new CheckBox("Use Botrk"));

            HarassMenu = Menu.AddSubMenu("::Harass Menu", "harassmenu");

            HarassMenu.AddGroupLabel("Harass Menu");
            HarassMenu.Add("hUseW", new CheckBox("Use W"));
            HarassMenu.Add("hUseE", new CheckBox("Use E"));

            FleeMenu = Menu.AddSubMenu("::Flee Menu", "fleemenu");

            FleeMenu.AddGroupLabel("Flee Menu");
            FleeMenu.Add("fUseE", new CheckBox("Use E"));
            FleeMenu.Add("fUseR", new CheckBox("Use R", false));
            FleeMenu.Add("fUseYoumuu", new CheckBox("Use Youmuu's", false));

            FarmMenu = Menu.AddSubMenu("::Farm Menu", "farmmenu");

            FarmMenu.AddGroupLabel("Farm Menu");

            FarmMenu.AddLabel("Last Hit");
            FarmMenu.Add("fLHUseQ", new CheckBox("Use Q", true));
            FarmMenu.Add("fLHUseW", new CheckBox("Use W", true));
            FarmMenu.Add("fLHUseE", new CheckBox("Use E", true));

            FarmMenu.AddSeparator();

            FarmMenu.AddLabel("Lane Clear");
            FarmMenu.Add("fLCUseQ", new CheckBox("Use Q"));
            FarmMenu.Add("fLCUseW", new CheckBox("Use W"));
            FarmMenu.Add("fLCUseE", new CheckBox("Use E"));

            KSMenu = Menu.AddSubMenu("::KS Menu", "ksmenu");

            KSMenu.AddGroupLabel("Ks Menu");
            KSMenu.Add("ksUseQ", new CheckBox("Use Q"));
            KSMenu.Add("ksUseW", new CheckBox("Use W"));
            KSMenu.Add("ksUseE", new CheckBox("Use E"));
            KSMenu.Add("ksUseI", new CheckBox("Use Ignite"));

            DrawMenu = Menu.AddSubMenu("::Draw Menu", "drawmenu");

            DrawMenu.AddGroupLabel("Draw Menu");
            DrawMenu.Add("DrawW", new CheckBox("Draw W"));
            DrawMenu.Add("DrawE", new CheckBox("Draw E"));
            DrawMenu.Add("DrawR", new CheckBox("Draw R"));
            DrawMenu.Add("DrawComboCircle", new CheckBox("Draw Combo Circle"));
            DrawMenu.Add("DrawComboLine", new CheckBox("Draw Combo Line"));
            DrawMenu.Add("DrawHPBarCombo", new CheckBox("Draw HP Bar Combo Damage"));
            DrawMenu.Add("DrawText", new CheckBox("Draw Text Combo Ready"));
            DrawMenu.Add("DrawMana", new CheckBox("Draw Calculated Mana"));
            ItemMenu = Menu.AddSubMenu("::Item Menu", "itemmenu");

            ItemMenu.AddGroupLabel("Item Menu");
            ItemMenu.Add("useHydra", new CheckBox("Use Hydra"));
            ItemMenu.Add("useYoumuu", new CheckBox("Use Youmuu's"));
            ItemMenu.Add("useTiamat", new CheckBox("Use Tiamat"));
            ItemMenu.Add("useBilge", new CheckBox("Use Bilge"));
            ItemMenu.Add("useBotrk", new CheckBox("Use Botrk"));

            LogicMenu = Menu.AddSubMenu("::Logic Menu", "logicmenu");

            LogicMenu.AddGroupLabel("Logic Menu");
            LogicMenu.Add("eUseHealthCheck", new CheckBox("Only Use E if Health is Above Amount"));
            LogicMenu.Add("eUseHealthSlider", new Slider("Health:", 250, 50, 1250));

            LogicMenu.AddSeparator();

            LogicMenu.Add("DrawRCastCircle", new CheckBox("Draw R Recommended Cast Range Circle"));
            LogicMenu.Add("DrawRCastBufferRange", new Slider("Buffer Range:", 0, -100, 100));

            ManaMenu = Menu.AddSubMenu("::Mana Menu", "manamenu");

            ManaMenu.AddGroupLabel("Mana Menu");
            ManaMenu.Add("useManaPotion", new Slider("Use Mana Pot if Mana: --not working yet", 150, 0, (int)_Player.Mana));
            ManaMenu.Add("waveClearMana", new Slider("Dont Cast Waveclear Spells if Mana:", 75, 0, 150));

            //LogicMenu.AddSeparator();

            //LogicMenu.Add("DrawRecommendedRRange", new CheckBox("Draw Recommended R Cast Range"));

            Indicator = new DamageIndicator.DamageIndicator();
            Indicator.Add("Combo", new SpellData(0, DamageType.True, Color.Lime));

            //Calls...
            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Draw.Drawing_OnDraw;

            //BladeObject = ObjectManager.Get<GameObject>().FirstOrDefault(obj => obj.Name != null && obj.IsValid && obj.Name.ToLower().Contains("doomball"));

            Chat.Print("Talon Initialized Succesfully - Version 0.2");
        }
コード例 #17
0
        public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (!_Player.ChampionName.Contains("Diana"))
            {
                return;
            }

            Chat.Print("Diana - Bloody Lunari Loaded!");     /*Color.Crimson);*/
            Chat.Print("By Horizon & Radi");                 /*Color.OrangeRed);*/
            Chat.Print("Good luck and have fun, summoner."); /*Color.DarkViolet);*/

            _Q      = new Spell.Skillshot(SpellSlot.Q, 900, SkillShotType.Circular, 250, 1400, 50);
            _W      = new Spell.Active(SpellSlot.W, 200);
            _E      = new Spell.Active(SpellSlot.E, 450);
            _R      = new Spell.Targeted(SpellSlot.R, 825);
            _Ignite = new Spell.Targeted(ObjectManager.Player.GetSpellSlotFromName("summonerdot"), 600);

            StartMenu     = MainMenu.AddMenu("Diana", "Diana");
            ComboMenu     = StartMenu.AddSubMenu("Combo Settings", "Combo Settings");
            HarrasMenu    = StartMenu.AddSubMenu("Harras Settings", "Harras Settings");
            AHarrasM      = StartMenu.AddSubMenu("AutoHarras Settings", "AutoHarras Settings");
            LastHitM      = StartMenu.AddSubMenu("Last Hit Settings", "Last Hit Settings");
            LCMenu        = StartMenu.AddSubMenu("LaneClear Settings", "LaneClear Settings");
            KSMenu        = StartMenu.AddSubMenu("KillSteall Settings", "KillSteall Settings");
            AntiSpellMenu = StartMenu.AddSubMenu("AntiSpell Settings", "AntiSpell Settings");
            ActivatorMenu = StartMenu.AddSubMenu("Activator Settings", "Activator Settings");
            DrawingsMenu  = StartMenu.AddSubMenu("Drawings Settings", "Drawings Settings");

            StartMenu.AddGroupLabel("Diana - Bloody Lunari");
            StartMenu.AddSeparator(2);
            StartMenu.AddGroupLabel("Made By");
            StartMenu.AddLabel("- Horizon");
            StartMenu.AddLabel("- Radi");

            ComboMenu.AddGroupLabel("Combo Settings");

            ComboMenu.AddLabel("Q Spell Settings");
            ComboMenu.Add("UseQ", new CheckBox("Use [Q]"));

            ComboMenu.AddSeparator(0);
            ComboMenu.AddLabel("W Spell Settings");
            ComboMenu.Add("UseW", new CheckBox("Use [W]"));

            ComboMenu.AddSeparator(0);
            ComboMenu.AddLabel("E Spell Settings");
            ComboMenu.Add("UseE", new CheckBox("Use [E] (when enemy out of AA range)"));

            ComboMenu.AddSeparator(0);
            ComboMenu.AddLabel("R Spell Settings");
            ComboMenu.Add("UseR", new CheckBox("Use [R] on Combo"));

            ComboMenu.AddSeparator(0);
            ComboMenu.AddLabel("R Spell Settings - tick only one option");
            ComboMenu.Add("RONLY", new CheckBox("Use [R] (only when target got Q mark)"));
            ComboMenu.Add("RNO", new CheckBox("Use [R] (always) ", false));

            HarrasMenu.AddGroupLabel("Harras Settings");

            HarrasMenu.AddLabel("Q Spell Settings");
            HarrasMenu.Add("UseQH", new CheckBox("Use [Q] for Harras"));

            HarrasMenu.AddSeparator(0);
            HarrasMenu.AddLabel("W Spell Settings");
            HarrasMenu.Add("UseWH", new CheckBox("Use [W] for Harras"));

            HarrasMenu.AddSeparator(0);
            HarrasMenu.AddLabel("E Spell Settings");
            HarrasMenu.Add("UseEH", new CheckBox("Use [E] for Harras"));

            AHarrasM.AddGroupLabel("Auto Harras Settings");

            AHarrasM.Add("AHQ", new CheckBox("Use Auto Harras"));

            AHarrasM.AddLabel("Q Spell Settings");
            AHarrasM.Add("QAO", new CheckBox("Use [Q] for Auto Harras"));

            AHarrasM.AddSeparator(0);
            AHarrasM.AddLabel("Mana settings");
            AHarrasM.Add("AHQM", new Slider("Minimum mana percentage for use [Q] in Auto Harras (%{0})", 50, 1));

            LastHitM.AddGroupLabel("Last Hit Settings");

            LastHitM.AddLabel("Q Spell Settings");
            LastHitM.Add("Qlh", new CheckBox("Use Q to Last Hit"));

            LastHitM.AddSeparator(0);
            LastHitM.AddLabel("W Spell Settings");
            LastHitM.Add("Elh", new CheckBox("Use W to Last Hit"));

            LastHitM.AddSeparator(0);
            LastHitM.AddLabel("Mana settings");
            LastHitM.Add("manalh", new Slider("Minimum mana percentage for use [Q] [W] in Auto Harras (%{0})", 50, 1));

            LCMenu.AddGroupLabel("Lane Clear Settings");

            LCMenu.Add("LCQ", new CheckBox("Use [Q] for Lane Clear"));
            LCMenu.Add("LCQM", new Slider("Minimum mana percentage for use [Q] in Lane Clear (%{0})", 50, 1));
            LCMenu.AddSeparator(1);
            LCMenu.Add("LCW", new CheckBox("Use [W] for Lane Clear"));
            LCMenu.Add("LCWM", new Slider("Minimum mana percentage for use [W] in Lane Clear (%{0})", 50, 1));
            LCMenu.AddSeparator(2);
            LCMenu.Add("JGCQ", new CheckBox("Use [Q] for Jungle clear"));
            LCMenu.Add("JGCQM", new Slider("Minimum mana percentage for use [Q] in Jungle Clear (%{0})", 50, 1));
            LCMenu.Add("JGCW", new CheckBox("Use [W] for Jungle clear"));
            LCMenu.Add("JGCWM", new Slider("Minimum mana percentage for use [W] in Jungle Clear (%{0})", 50, 1));

            KSMenu.AddGroupLabel("KillSteal Settings");

            KSMenu.AddLabel("Q Spell Settings");
            KSMenu.Add("KSQ", new CheckBox(" - KillSteal with Q"));

            KSMenu.AddSeparator(0);
            KSMenu.AddLabel("W Spell Settings");
            KSMenu.Add("KSW", new CheckBox(" - KillSteal with W"));

            KSMenu.AddSeparator(0);
            KSMenu.AddLabel("R Spell Settings");
            KSMenu.Add("KSR", new CheckBox(" - KillSteal with R"));

            AntiSpellMenu.AddGroupLabel("Anti Spell Settings");

            AntiSpellMenu.AddLabel("Use shield when playing against Morgana or Lux");

            AntiSpellMenu.Add("ASLux", new CheckBox("- Anti Lux Passive"));
            AntiSpellMenu.AddSeparator(0);
            AntiSpellMenu.Add("ASMorgana", new CheckBox("- Anti Morgana"));
            AntiSpellMenu.AddLabel("Mana settings");
            AntiSpellMenu.Add("ASPM", new Slider("Minimum mana percentage for Shield (%{0})", 80, 1));

            ActivatorMenu.AddGroupLabel("Activator Settings");
            ActivatorMenu.AddLabel("Use Summoner Spell");
            ActivatorMenu.Add("IGNI", new CheckBox("- Use Ignite if enemy is killable"));

            DrawingsMenu.AddGroupLabel("Drawing Settings");
            DrawingsMenu.AddLabel("Tick for enable/disable spell drawings");
            DrawingsMenu.Add("DQ", new CheckBox("- Draw [Q] range"));
            DrawingsMenu.AddSeparator(0);
            DrawingsMenu.Add("DW", new CheckBox("- Draw [W] range"));
            DrawingsMenu.AddSeparator(0);
            DrawingsMenu.Add("DE", new CheckBox("- Draw [E] range"));
            DrawingsMenu.AddSeparator(0);
            DrawingsMenu.Add("DR", new CheckBox("- Draw [R] range"));


            Game.OnUpdate  += Game_OnUpdate;
            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;
        }
コード例 #18
0
        public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Hero != Champion.Volibear)
            {
                return;
            }
            Chat.Print("Volibear loaded");
            VoliMenu = MainMenu.AddMenu("Volibear", "Volibear");
            VoliMenu.AddGroupLabel("Crazy Voli!");
            ComboMenu = VoliMenu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo Settings");
            ComboMenu.Add("UseQ", new CheckBox("Use Q"));
            ComboMenu.Add("UseW", new CheckBox("Use W"));
            ComboMenu.Add("UseE", new CheckBox("Use E"));
            ComboMenu.Add("UseR", new CheckBox("Use R"));
            ComboMenu.Add("UseItems", new CheckBox("Use Items"));
            ComboMenu.Add("Wcount", new Slider("Enemy health % to use W", 100, 0, 100));
            ComboMenu.Add("Rcount", new Slider("Num of Enemy in Range to Ult", 2, 1, 5));


            HarassMenu = VoliMenu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Harass Settings");
            HarassMenu.Add("Ehrs", new CheckBox("Use E in Harass"));


            LaneMenu = VoliMenu.AddSubMenu("Farm");
            LaneMenu.AddGroupLabel("LaneClear Settings");
            LaneMenu.Add("laneQ", new CheckBox("Use Q"));
            LaneMenu.Add("laneW", new CheckBox("Use W"));
            LaneMenu.Add("laneE", new CheckBox("Use E"));
            LaneMenu.Add("LCM", new Slider("Mana %", 30, 0, 100));


            JungleMenu = VoliMenu.AddSubMenu("Jungle");
            JungleMenu.AddGroupLabel("JungleClear Settings");
            JungleMenu.Add("JungleQ", new CheckBox("Use Q"));
            JungleMenu.Add("JungleW", new CheckBox("Use W"));
            JungleMenu.Add("JungleE", new CheckBox("Use E"));
            JungleMenu.Add("JCM", new Slider("Mana %", 30, 0, 100));



            MiscMenu = VoliMenu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Misc Settings");
            MiscMenu.Add("gapcloserW", new CheckBox("Anti-GapCloser W"));

            KSMenu = VoliMenu.AddSubMenu("ks");
            KSMenu.AddGroupLabel("killsteal Settings");
            KSMenu.Add("ksW", new CheckBox("KS with W"));
            KSMenu.Add("ksE", new CheckBox("KS with E"));

            DrawMenu = VoliMenu.AddSubMenu("Drawings");
            DrawMenu.AddGroupLabel("Drawing Settings");
            DrawMenu.Add("DrawWE", new CheckBox("Draw W and E"));
            DrawMenu.Add("smitestatus1", new CheckBox("Draw Smite Status"));



            Q = new Spell.Active(SpellSlot.Q, 750);
            W = new Spell.Targeted(SpellSlot.W, 395);
            E = new Spell.Active(SpellSlot.E, 415);
            R = new Spell.Active(SpellSlot.R, (uint)Player.GetAutoAttackRange());

            Game.OnUpdate         += OnUpdate;
            Drawing.OnDraw        += Drawing_OnDraw;
            Orbwalker.OnPreAttack += Orbwalker_OnPreAttack;
            Gapcloser.OnGapcloser += Gapcloser_OnGapcloser;
        }
コード例 #19
0
        private static void OnComple_Graves(EventArgs args)
        {
            if (Graves.Hero != Champion.Graves)
            {
                return;
            }

            Bootstrap.Init(null);
            Q  = new Spell.Skillshot(SpellSlot.Q, 950, SkillShotType.Linear, 250, 2000, 60);
            W  = new Spell.Skillshot(SpellSlot.W, 850, SkillShotType.Circular, 250, 1650, 150);
            E  = new Spell.Skillshot(SpellSlot.E, 425, SkillShotType.Linear);
            R  = new Spell.Skillshot(SpellSlot.R, 1400, SkillShotType.Linear, 250, 2100, 100);
            R1 = new Spell.Skillshot(SpellSlot.R, 1500, SkillShotType.Cone, 250, 2100, 120);

            graa = MainMenu.AddMenu("Graves", "Graves");
            Comb = graa.AddSubMenu("Combo");
            Comb.Add("disableAA", new CheckBox("Disable AA"));
            Comb.AddSeparator();
            Comb.Add("useQCombo", new CheckBox("Use Q"));
            Comb.Add("useWCombo", new CheckBox("Use W"));
            Comb.Add("useECombo", new CheckBox("Use E"));
            Comb.AddSeparator();
            Comb.Add("useRCombo", new CheckBox("Fast R Combo"));
            Comb.AddSeparator();
            Comb.Add("useItems", new CheckBox("Use Items"));
            Comb.Add("useEreload", new CheckBox("Use E for Reload"));
            Comb.AddSeparator();
            Comb.Add("botrkHP", new Slider("My HP > {0}", 50, 0, 100));
            Comb.Add("botrkenemyHP", new Slider("Enemy HP > {0}", 60, 0, 100));

            KSMenu = graa.AddSubMenu("KillSteal");
            KSMenu.Add("useQKS", new CheckBox("Use Q KS"));
            KSMenu.Add("useRKS", new CheckBox("Use R KS"));

            Auto = graa.AddSubMenu("AutoHarass");
            Auto.Add("useQHarass", new CheckBox("Use Q"));
            Auto.Add("useItems", new CheckBox("Use Items"));

            Lane = graa.AddSubMenu("Farm");
            Lane.AddLabel("Lane Clear");
            Lane.Add("useQ", new CheckBox("Use Q"));
            Lane.AddSeparator();
            Lane.AddLabel("Minion Percent");
            Lane.Add("minion", new Slider("Percent Minion > {0}", 3, 1, 6));
            Lane.AddSeparator();
            Lane.AddLabel("Mana Percent");
            Lane.Add("mana", new Slider("Mana Percent > {0}", 50, 0, 100));
            Lane.AddLabel("Jungle Clear");
            Lane.Add("Qjungle", new CheckBox("Use Q"));
            Lane.Add("QjungleMana", new Slider("Mana > {0}", 45, 0, 100));
            Lane.Add("Ejungle", new CheckBox("Use E"));
            Lane.Add("EjungleMana", new Slider("Mana > {0}", 45, 0, 100));

            Misc = graa.AddSubMenu("Misc");
            Misc.Add("gapcloserE", new CheckBox("Use E Gapcloser"));
            Misc.Add("gapcloserW", new CheckBox("Use W Gapcloser"));

            Draws = graa.AddSubMenu("Draw Settings", "Drawings");
            Draws.Add("DrawQ", new CheckBox("Draw Q"));
            Draws.Add("DrawW", new CheckBox("Draw W", false));
            Draws.Add("DrawE", new CheckBox("Draw E", false));
            Draws.Add("DrawR", new CheckBox("Draw R", false));
            Draws.Add("DrawR1", new CheckBox("Draw Extended R"));

            Game.OnTick    += Game_OnTick;
            Drawing.OnDraw += Drawing_OnDraw;
        }
コード例 #20
0
        private static void Menu()
        {
            try
            {
                _Menu = MainMenu.AddMenu("机器人", "Blitzcrank");

                ComboMenu = _Menu.AddSubMenu("连招", "Combo");
                ComboMenu.Add("Blitzcrank_CUse_Q", new CheckBox("使用 Q"));
                ComboMenu.Add("Blitzcrank_CUse_W", new CheckBox("使用 W"));
                ComboMenu.Add("Blitzcrank_CUse_E", new CheckBox("使用 E"));
                ComboMenu.Add("Blitzcrank_CUse_R", new CheckBox("使用 R"));
                ComboMenu.Add("Blitzcrank_CUse_FlashQ", new KeyBind("闪现 Q (不好用)", false, KeyBind.BindTypes.HoldActive, 'T'));
                ComboMenu.AddSeparator();
                ComboMenu.AddLabel("1 : 范围外");
                ComboMenu.AddLabel("2 : 不可能");
                ComboMenu.AddLabel("3 : 低");
                ComboMenu.AddLabel("4 : 中");
                ComboMenu.AddLabel("5 : 高");
                ComboMenu.AddLabel("6 : 非常高");
                ComboMenu.Add("Blitzcrank_CUseQ_Hit", new Slider("Q 命中率", 6, 1, 6));

                HarassMenu = _Menu.AddSubMenu("骚扰", "Harass");
                HarassMenu.Add("Blitzcrank_HUse_Q", new CheckBox("使用 Q"));
                HarassMenu.Add("Blitzcrank_HUse_W", new CheckBox("使用 W"));
                HarassMenu.Add("Blitzcrank_HUse_E", new CheckBox("使用 E"));
                HarassMenu.Add("Blitzcrank_AManarate", new Slider("蓝量 %", 20));

                KSMenu = _Menu.AddSubMenu("抢头", "KillSteal");
                KSMenu.Add("Blitzcran_KUse_Q", new CheckBox("使用 Q"));
                KSMenu.Add("Blitzcran_KUse_R", new CheckBox("使用 R"));

                MiscMenu = _Menu.AddSubMenu("杂项", "Misc");
                MiscMenu.AddGroupLabel("抓人设置");
                foreach (var enemy in ObjectManager.Get <AIHeroClient>())
                {
                    if (enemy.Team != Player.Team)
                    {
                        MiscMenu.Add("Blitzcrank_GrabSelect" + enemy.NetworkId,
                                     new Slider("抓人模式 (0 : 开启 | 1 : 不抓 | 2 : 自动) " + enemy.ChampionName, 0, 0, 2));
                        MiscMenu.AddSeparator();
                    }
                }
                MiscMenu.AddSeparator();
                MiscMenu.AddGroupLabel("技能打断");
                MiscMenu.Add("Blitzcrank_InterQ", new CheckBox("使用 Q"));
                MiscMenu.Add("Blitzcrank_InterE", new CheckBox("使用 E"));
                MiscMenu.Add("Blitzcrank_InterR", new CheckBox("使用 R"));
                MiscMenu.AddSeparator();
                MiscMenu.Add("Blitzcrank_GrabDash", new CheckBox("抓冲刺的敌人"));

                DrawMenu = _Menu.AddSubMenu("线圈", "Draw");
                DrawMenu.Add("Blitzcrank_Draw_Q", new CheckBox("使用 Q", false));
                DrawMenu.Add("Blitzcrank_Draw_R", new CheckBox("使用 R", false));
                DrawMenu.Add("Blitzcrank_Indicator", new CheckBox("显示伤害指示器"));
            }
            catch (Exception)
            {
                if (FreshCommon.NowTime() > ErrorTime)
                {
                    Chat.Print(ChampName + " in FreshBooster isn't Load. Error Code 02");
                    ErrorTime = FreshCommon.TickCount(10000);
                }
            }
        }
コード例 #21
0
        public static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Hero != Champion.Volibear)
            {
                return;
            }
            Chat.Print("Volibear Yukledi");
            VoliMenu = MainMenu.AddMenu("Volibear", "Volibear");
            VoliMenu.AddGroupLabel("Çılgın Voli!");
            ComboMenu = VoliMenu.AddSubMenu("Combo");
            ComboMenu.AddGroupLabel("Combo Ayarları");
            ComboMenu.Add("UseQ", new CheckBox("Kullan Q"));
            ComboMenu.Add("UseW", new CheckBox("Kullan W"));
            ComboMenu.Add("UseE", new CheckBox("Kullan E"));
            ComboMenu.Add("UseR", new CheckBox("Kullan R"));
            ComboMenu.Add("UseItems", new CheckBox("Kullan İtemler"));
            ComboMenu.Add("Wcount", new Slider("W için düşmanın canı", 100, 0, 100));
            ComboMenu.Add("Rcount", new Slider("Ulti için gereken düşman sayısı", 2, 1, 5));


            HarassMenu = VoliMenu.AddSubMenu("Harass");
            HarassMenu.AddGroupLabel("Dürtme Ayarları");
            HarassMenu.Add("Ehrs", new CheckBox("E Kullan"));


            LaneMenu = VoliMenu.AddSubMenu("Farm");
            LaneMenu.AddGroupLabel("Lanetemizleme Ayarları");
            LaneMenu.Add("laneQ", new CheckBox("Kullan Q"));
            LaneMenu.Add("laneW", new CheckBox("Kullan W"));
            LaneMenu.Add("laneE", new CheckBox("Kullan E"));
            LaneMenu.Add("LCM", new Slider("Mana %", 30, 0, 100));


            JungleMenu = VoliMenu.AddSubMenu("Jungle");
            JungleMenu.AddGroupLabel("Ormantemizleme Ayarları");
            JungleMenu.Add("JungleQ", new CheckBox("Kullan Q"));
            JungleMenu.Add("JungleW", new CheckBox("Kullan W"));
            JungleMenu.Add("JungleE", new CheckBox("Kullan E"));
            JungleMenu.Add("JCM", new Slider("Mana %", 30, 0, 100));



            MiscMenu = VoliMenu.AddSubMenu("Misc");
            MiscMenu.AddGroupLabel("Ek Ayarlar");
            MiscMenu.Add("gapcloserW", new CheckBox("Anti-GapCloser W"));

            KSMenu = VoliMenu.AddSubMenu("ks");
            KSMenu.AddGroupLabel("Kill Çalma Ayarları");
            KSMenu.Add("ksW", new CheckBox("W ile çal"));
            KSMenu.Add("ksE", new CheckBox("E ile çal"));

            DrawMenu = VoliMenu.AddSubMenu("Drawings");
            DrawMenu.AddGroupLabel("Gösterge Ayarları");
            DrawMenu.Add("DrawWE", new CheckBox("W ve E göster"));
            DrawMenu.Add("smitestatus1", new CheckBox("Çarp durumunu göster"));



            Q = new Spell.Active(SpellSlot.Q, 750);
            W = new Spell.Targeted(SpellSlot.W, 395);
            E = new Spell.Active(SpellSlot.E, 415);
            R = new Spell.Active(SpellSlot.R, (uint)Player.GetAutoAttackRange());

            Game.OnUpdate         += OnUpdate;
            Drawing.OnDraw        += Drawing_OnDraw;
            Orbwalker.OnPreAttack += Orbwalker_OnPreAttack;
            Gapcloser.OnGapcloser += Gapcloser_OnGapcloser;
        }
コード例 #22
0
        private static void Menu()
        {
            try
            {
                _Menu = MainMenu.AddMenu("Blitzcrank", "Blitzcrank");

                ComboMenu = _Menu.AddSubMenu("Combo", "Combo");
                ComboMenu.Add("Blitzcrank_CUse_Q", new CheckBox("Use Q"));
                ComboMenu.Add("Blitzcrank_CUse_W", new CheckBox("Use W"));
                ComboMenu.Add("Blitzcrank_CUse_E", new CheckBox("Use E"));
                ComboMenu.Add("Blitzcrank_CUse_R", new CheckBox("Use R"));
                ComboMenu.AddSeparator();
                ComboMenu.AddLabel("1 : Out of Range");
                ComboMenu.AddLabel("2 : Impossible");
                ComboMenu.AddLabel("3 : Low");
                ComboMenu.AddLabel("4 : Medium");
                ComboMenu.AddLabel("5 : High");
                ComboMenu.AddLabel("6 : Very High");
                ComboMenu.Add("Blitzcrank_CUseQ_Hit", new Slider("Q HitChance", 6, 1, 6));

                HarassMenu = _Menu.AddSubMenu("Harass", "Harass");
                HarassMenu.Add("Blitzcrank_HUse_Q", new CheckBox("Use Q"));
                HarassMenu.Add("Blitzcrank_HUse_W", new CheckBox("Use W"));
                HarassMenu.Add("Blitzcrank_HUse_E", new CheckBox("Use E"));
                HarassMenu.Add("Blitzcrank_AManarate", new Slider("Mana %", 20));

                KSMenu = _Menu.AddSubMenu("KillSteal", "KillSteal");
                KSMenu.Add("Blitzcran_KUse_Q", new CheckBox("Use Q"));
                KSMenu.Add("Blitzcran_KUse_R", new CheckBox("Use R"));

                MiscMenu = _Menu.AddSubMenu("Misc", "Misc");
                MiscMenu.AddGroupLabel("Grab Settings");
                foreach (var enemy in ObjectManager.Get <AIHeroClient>())
                {
                    if (enemy.Team != Player.Team)
                    {
                        MiscMenu.Add("Blitzcrank_GrabSelect" + enemy.ChampionName,
                                     new Slider("Grab Mode (0 : Enable | 1 : Don't | 2 : Auto) " + enemy.ChampionName, 0, 0, 2));
                        MiscMenu.AddSeparator();
                    }
                }
                MiscMenu.AddSeparator();
                MiscMenu.AddGroupLabel("Interrupt Settings");
                MiscMenu.Add("Blitzcrank_InterQ", new CheckBox("Use Q"));
                MiscMenu.Add("Blitzcrank_InterE", new CheckBox("Use E"));
                MiscMenu.Add("Blitzcrank_InterR", new CheckBox("Use R"));
                MiscMenu.AddSeparator();
                MiscMenu.Add("Blitzcrank_GrabDash", new CheckBox("Grab to dashing enemy"));

                DrawMenu = _Menu.AddSubMenu("Draw", "Draw");
                DrawMenu.Add("Blitzcrank_Draw_Q", new CheckBox("Use Q", false));
                DrawMenu.Add("Blitzcrank_Draw_R", new CheckBox("Use R", false));
                DrawMenu.Add("Blitzcrank_Indicator", new CheckBox("Use Damage Indicator"));
            }
            catch (Exception)
            {
                if (FreshCommon.NowTime() > ErrorTime)
                {
                    Chat.Print(ChampName + " in FreshBooster isn't Load. Error Code 02");
                    ErrorTime = FreshCommon.TickCount(10000);
                }
            }
        }
コード例 #23
0
ファイル: Program.cs プロジェクト: sadnecc/CHportcn
        private static void OnLoad()
        {
            Menu = MainMenu.AddMenu("剑魔", "Aatrox");
            Menu.AddLabel("原BrianSharp移植 - Berb");
            Menu.AddSeparator();

            ComboMenu = Menu.AddSubMenu("连招");
            ComboMenu.Add("Q", new CheckBox("使用 Q"));
            ComboMenu.Add("W", new CheckBox("使用 W"));
            ComboMenu.Add("WHpU", new Slider("-> 切换W为治疗,当生命低于", 50));
            ComboMenu.Add("E", new CheckBox("使用 E"));
            ComboMenu.Add("R", new CheckBox("使用 R"));
            ComboMenu.Add("RHpU", new Slider("-> 使用R 敌方生命低于 <", 60));
            ComboMenu.Add("RCountA", new Slider("-> 或者敌方数量为 >=", 2, 1, 5));
            ComboMenu.AddSeparator();

            HarassMenu = Menu.AddSubMenu("骚扰");
            HarassMenu.Add("AutoE", new KeyBind("自动 E", false, KeyBind.BindTypes.PressToggle, 'H'));
            HarassMenu.Add("AutoEHpA", new Slider("-> 如果生命大于>=", 50));
            HarassMenu.Add("Q", new CheckBox("使用 Q"));
            HarassMenu.Add("QHpA", new Slider("-> 如果生命大于 >=", 20));
            HarassMenu.Add("E", new CheckBox("使用 E"));
            HarassMenu.AddSeparator();

            ClearMenu = Menu.AddSubMenu("清线");
            ClearMenu.Add("Q", new CheckBox("使用 Q"));
            ClearMenu.Add("W", new CheckBox("使用 W"));
            ClearMenu.Add("WPriority", new CheckBox("-> 优先治疗"));
            ClearMenu.Add("WHpU", new Slider("-> 切换W为治疗,当生命低于", 50));
            ClearMenu.Add("E", new CheckBox("使用 E"));
            ClearMenu.Add("Item", new CheckBox("使用 九头蛇/泰坦"));
            ClearMenu.AddSeparator();

            FleeMenu = Menu.AddSubMenu("逃跑");
            FleeMenu.Add("Q", new CheckBox("使用 Q"));
            FleeMenu.Add("E", new CheckBox("使用 E"));
            FleeMenu.AddSeparator();

            KSMenu = Menu.AddSubMenu("抢头");
            KSMenu.Add("Q", new CheckBox("使用 Q"));
            KSMenu.Add("E", new CheckBox("使用 E"));
            KSMenu.Add("Smite", new CheckBox("使用惩戒"));
            KSMenu.Add("Ignite", new CheckBox("使用点燃"));
            KSMenu.AddSeparator();

            GapMenu = Menu.AddSubMenu("防突击");
            GapMenu.Add("Q", new CheckBox("使用 Q"));
            foreach (
                var spell in
                AntiGapcloser.Spells.Where(i => HeroManager.Enemies.Any(a => i.ChampionName == a.ChampionName)))
            {
                GapMenu.Add(spell.ChampionName + "_" + spell.Slot,
                            new CheckBox("-> Skill " + spell.Slot + " Of " + spell.ChampionName));
            }
            GapMenu.AddSeparator();

            IntMenu = Menu.AddSubMenu("技能打断");
            IntMenu.Add("Q", new CheckBox("使用 Q"));
            foreach (
                var spell in
                Interrupter.Spells.Where(i => HeroManager.Enemies.Any(a => i.ChampionName == a.ChampionName)))
            {
                IntMenu.Add(spell.ChampionName + "_" + spell.Slot,
                            new CheckBox("-> Skill " + spell.Slot + " Of " + spell.ChampionName));
            }
            IntMenu.AddSeparator();

            SmiteMenu = Menu.AddSubMenu("惩戒");
            SmiteMenu.Add("Smite", new CheckBox("使用惩戒"));
            SmiteMenu.Add("Auto", new CheckBox("-> 自动惩戒"));
            SmiteMenu.Add("Baron", new CheckBox("-> 男爵"));
            SmiteMenu.Add("Dragon", new CheckBox("-> 龙"));
            SmiteMenu.Add("Red", new CheckBox("-> 红"));
            SmiteMenu.Add("Blue", new CheckBox("-> 蓝"));
            SmiteMenu.Add("Krug", new CheckBox("-> 石头人"));
            SmiteMenu.Add("Gromp", new CheckBox("-> 青蛙"));
            SmiteMenu.Add("Raptor", new CheckBox("-> 4鸟"));
            SmiteMenu.Add("Wolf", new CheckBox("-> 狼"));
            SmiteMenu.AddSeparator();

            DrawMenu = Menu.AddSubMenu("线圈");
            DrawMenu.Add("Q", new CheckBox("显示 Q"));
            DrawMenu.Add("E", new CheckBox("显示 E"));
            DrawMenu.Add("R", new CheckBox("显示 R"));
            DrawMenu.AddSeparator();

            Q  = new Spell(SpellSlot.Q, 650);
            Q2 = new Spell(SpellSlot.Q, 650);
            W  = new Spell(SpellSlot.W);
            E  = new Spell(SpellSlot.E, 1075);
            R  = new Spell(SpellSlot.R, 550);
            Q.SetSkillshot(0.6f, 250, 2000, false, SkillshotType.SkillshotCircle);
            Q2.SetSkillshot(0.6f, 150, 2000, false, SkillshotType.SkillshotCircle);
            E.SetSkillshot(0.25f, 35, 1250, false, SkillshotType.SkillshotLine);

            Tiamat = ItemData.Tiamat_Melee_Only.GetItem();
            Hydra  = ItemData.Ravenous_Hydra_Melee_Only.GetItem();

            foreach (var spell in myHero.Spellbook.Spells.Where(i => i.Name.ToLower().Contains("smite") && (i.Slot == SpellSlot.Summoner1 || i.Slot == SpellSlot.Summoner2)))
            {
                Smite = spell.Slot;
            }

            Ignite = myHero.GetSpellSlot("summonerdot");

            Game.OnTick                       += OnTick;
            Gapcloser.OnGapcloser             += Gapcloser_OnGapcloser;
            Interrupter.OnPossibleToInterrupt += OnPossibleToInterrupt;
            Drawing.OnDraw                    += OnDraw;
        }