Esempio n. 1
0
        private static void CreateMenu()
        {
            menu = new Menu("Blitzcranck", "Bliztcranck", true);
            Bootstrap.Init(new string[] { }); //blabla

            var comboMenu = new Menu("Combo", "Combo Menu");
            {
                comboMenu.Add(new MenuList <string>("combohit", "Q hitchance ", new[] { "Medium", "Hight", "Very Hight" }));
                comboMenu.Add(new MenuBool("comboQ", "Use Q", true));
                comboMenu.Add(new MenuBool("comboE", "Use E", true));
                comboMenu.Add(new MenuBool("comboR", "Auto R", true));
                //       comboMenu.Add(new MenuBool("Min Enemys R", "Min Enemys R", true));
                menu.Add(comboMenu);
            }
            var drawingMenu = new Menu("Draws", "Draw Menu");

            {
                drawingMenu.Add(new MenuBool("drawQ", "Draw Q", true));
                drawingMenu.Add(new MenuBool("drawR", "Draw R", true));
                drawingMenu.Add(new MenuBool("drawGrabs", "Draw Grabs", true));
                //        comboMenu.Add(new MenuBool("Min Enemys R", "Min Enemys R", true));
                menu.Add(drawingMenu);
            }
            menu.Attach();
        }
Esempio n. 2
0
        private static void Game_OnGameStart(EventArgs args)
        {
            if (Player.ChampionName != "Thresh")
            {
                return;
            }

            _logger = new StreamWriter(AppDomain.CurrentDomain.BaseDirectory + @"\log.txt")
            {
                AutoFlush = true
            };

            _q = new Spell(SpellSlot.Q, 1100);
            _q.SetSkillshot(true, SkillshotType.SkillshotLine);

            _config    = new Menu("Prediction", "Prediction", true);
            _orbwalker = new Orbwalker();
            Menu settings = new Menu("Settings", "Settings");

            settings.Add(new MenuKeyBind("Write", "Write Last Cast information to log", System.Windows.Forms.Keys.L,
                                         KeyBindType.Press));
            settings.Add(new MenuSeparator("Info", "Log files are located in %appdata%"));
            _config.Add(settings);
            _config.Attach();

            Game.OnUpdate  += Game_OnUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
        }
Esempio n. 3
0
        private static void OnLoad(object sender, EventArgs e)
        {
            var plugin = Type.GetType("BadaoAIO.Plugin." + Player.ChampionName);

            if (plugin == null)
            {
                AddUI.Notif(Player.ChampionName + ": Not Supported !", 10000);
                return;
            }
            AddUI.Notif(Player.ChampionName + ": Loaded !", 10000);
            Bootstrap.Init(null);
            if (Player.ChampionName == "Rammus")
            {
                LeagueSharp.SDK.Core.Orbwalker.Enabled = false;
                Menu Orb = new Menu("Orbwalker", "Orbwalker", true).Attach();
                Orbwalker.Orbwalker.Initialize(Orb);
            }
            Bilgewater      = new Items.Item(ItemId.Bilgewater_Cutlass, 550);
            BotRK           = new Items.Item(ItemId.Blade_of_the_Ruined_King, 550);
            Youmuu          = new Items.Item(ItemId.Youmuus_Ghostblade, 0);
            Tiamat          = new Items.Item(ItemId.Tiamat_Melee_Only, 400);
            Hydra           = new Items.Item(ItemId.Ravenous_Hydra_Melee_Only, 400);
            Sheen           = new Items.Item(ItemId.Sheen, 0);
            LichBane        = new Items.Item(ItemId.Lich_Bane, 0);
            TrinityForce    = new Items.Item(ItemId.Trinity_Force, 0);
            IcebornGauntlet = new Items.Item(ItemId.Iceborn_Gauntlet, 0);
            LudensEcho      = new Items.Item(ItemId.Ludens_Echo, 0);

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

            MainMenu = new Menu("BadaoAIO", "BadaoAIO", true, Player.ChampionName);
            AddUI.Bool(MainMenu, "Enable", Player.ChampionName + " Enable", true);
            MainMenu.Attach();
            MainMenu.MenuValueChanged += MainMenu_MenuValueChanged;
            NewInstance(plugin);
        }
Esempio n. 4
0
        private static void CreateMenu()
        {
            menu = new Menu("Blitzcranck", "Bliztcranck", true);
            Bootstrap.Init(new string[] { }); //blabla

            var comboMenu = new Menu("Combo", "Combo Menu");
            {
                comboMenu.Add(new MenuList<string>("combohit", "Q hitchance ", new[] { "Medium", "Hight", "Very Hight" }));
                comboMenu.Add(new MenuBool("comboQ", "Use Q", true));
                comboMenu.Add(new MenuBool("comboE", "Use E", true));
                comboMenu.Add(new MenuBool("comboR", "Auto R", true));
            //       comboMenu.Add(new MenuBool("Min Enemys R", "Min Enemys R", true));
                menu.Add(comboMenu);
            }
            var drawingMenu = new Menu("Draws", "Draw Menu");
            {
                drawingMenu.Add(new MenuBool("drawQ", "Draw Q", true));
                drawingMenu.Add(new MenuBool("drawR", "Draw R", true));
                drawingMenu.Add(new MenuBool("drawGrabs", "Draw Grabs", true));
                //        comboMenu.Add(new MenuBool("Min Enemys R", "Min Enemys R", true));
                menu.Add(drawingMenu);
            }
            menu.Attach();
        }
Esempio n. 5
0
        public static void OnLoad(object sender, EventArgs e)
        {
            Q = new Spell(SpellSlot.Q, 1175);
            W = new Spell(SpellSlot.W, 1075);
            E = new Spell(SpellSlot.E, 1100);
            R = new Spell(SpellSlot.R, 3250);

            Q.SetSkillshot(0.25f, 110f, 1300f, false, SkillshotType.SkillshotLine);
            W.SetSkillshot(0.25f, 110f, 1200f, false, SkillshotType.SkillshotLine);
            E.SetSkillshot(0.25f, 280f, 1300f, false, SkillshotType.SkillshotCircle);
            R.SetSkillshot(1.35f, 190f, 5000000, false, SkillshotType.SkillshotLine);

            Config = new Menu("Mighty Lux", "Mighty Lux", true);
            Config.Add(new MenuSeparator("Mighty Lux", "Mighty Lux"));
            Bootstrap.Init(new string[] {});

            var spell = Config.Add(new Menu("spell", "Combo Settings"));
            var combo = Config.Add(new Menu("combo", "Spell Settings"));

            spell.Add(new MenuSeparator("Combo Menu", "Combo Menu"));
            spell.Add(new MenuBool("UseQ", "Use Q", true));
            spell.Add(new MenuBool("UseE", "Use E", true));
            spell.Add(new MenuBool("UseR", "Use R", true));

            combo.Add(new MenuSeparator("Advanced Q Settings", "Advanced Q Settings"));
            combo.Add(new MenuBool("AutoQcc", "Auto [Q] on CC'd enemies", true));
            combo.Add(new MenuSeparator("Advanced W Settings", "Advanced W Settings"));
            combo.Add(new MenuBool("AutoWturret", "Auto [W] on Turret Shots", true));
            combo.Add(new MenuSeparator("Advanced R Settings", "Advanced R Settings"));
            combo.Add(new MenuKeyBind("forceR", "Semi-Manual [R] cast", Keys.R, KeyBindType.Press));
            combo.Add(new MenuBool("UseRF", "Use [R] to Finish off enemies", true));
            combo.Add((new MenuBool("useraoe", "Use [R] if it will hit X amount of Enemies", true)));
            combo.Add((new MenuSlider("raoeslider", "Enemy Count", 4, 0, 5)));

            combo.Add(new MenuSeparator("Killsteal Settings", "Killsteal Settings"));
            combo.Add((new MenuBool("UseQKS", "Use [Q] for Killstealing", true)));
            combo.Add((new MenuBool("UseRKS", "Use [R] for Killstealing", true)));
            combo.Add(new MenuBool("UseEKS", "Use [E] for Killstealing", true));

            //Prediction
            combo.Add(new MenuSeparator("science", "Prediction Settings"));
            combo.Add(new MenuList <string>("hitchanceQ", "[Q] Hitchance",
                                            objects: new[] { "High", "Medium", "Low", "VeryHigh" }));
            combo.Add(new MenuList <string>("hitchanceE", "[E] Hitchance",
                                            objects: new[] { "High", "Medium", "Low", "VeryHigh" }));
            combo.Add(new MenuList <string>("hitchanceR", "[R] Hitchance",
                                            objects: new[] { "High", "Medium", "Low", "VeryHigh" }));

            var harass = Config.Add(new Menu("harass", "Harass Settings"));

            harass.Add(new MenuSeparator("Harass Menu", "Harass Menu"));
            harass.Add(new MenuBool("harrQ", "Use Q", true));
            harass.Add(new MenuBool("harrE", "Use E", true));
            harass.Add(new MenuSlider("harassmana", "Mana Percentage", 65, 0, 100));

            var laneclear = Config.Add(new Menu("laneclear", "Laneclear Settings"));

            laneclear.Add(new MenuSeparator("Laneclear Menu", "Laneclear Menu"));
            laneclear.Add(new MenuBool("laneQ", "Use Q", true));
            laneclear.Add(new MenuBool("laneE", "Use E", true));
            laneclear.Add(new MenuSeparator("[E] Settings", "[E] Settings"));
            laneclear.Add(new MenuSlider("laneclearEcount", "Minion Count", 2, 0, 10));
            laneclear.Add(new MenuSeparator("[Q] Settings", "[Q] Settings"));
            laneclear.Add(new MenuSlider("laneclearQcount", "Minion Count", 2, 0, 10));
            laneclear.Add(new MenuSeparator("Misc Settings", "Misc Settings"));
            laneclear.Add(new MenuSlider("lanemana", "Mana Percentage", 65, 0, 100));
            laneclear.Add(new MenuSlider("lanelevel", "Don't use Abilities till level", 8, 0, 18));

            var jungle = Config.Add(new Menu("jungle", "Junglesteal Settings"));

            jungle.Add(new MenuSeparator("Jungle Settings", "Junglesteal Settings"));
            jungle.Add(new MenuKeyBind("toggle", "Junglesteal with [R] (TOGGLE)", Keys.K, KeyBindType.Toggle));
            jungle.Add(new MenuBool("blue", "Blue buff", true));
            jungle.Add(new MenuBool("red", "Red buff", true));
            jungle.Add(new MenuBool("dragon", "Dragon", true));
            jungle.Add(new MenuBool("baron", "Baron", true));
            jungle.Add(new MenuList <string>("jungleteam", "[BROKEN/NOT WORKING]", new[] { "Enemy", "Ally" }));

            var misc = Config.Add(new Menu("misc", "Sound Settings"));

            misc.Add(new MenuSeparator("sound", "Sound Settings"));
            misc.Add(new MenuBool("rsound", "Enable [R] Cast Sound Effect", true));

            var drawing = Config.Add(new Menu("draw", "Draw Settings"));
            var utility = Config.Add(new Menu("util", "Utility Drawings"));

            drawing.Add(new MenuSeparator("Draw Menu", "Draw Menu"));
            drawing.Add(new MenuBool("disable", "Disable all drawings", false));
            drawing.Add(new MenuList <string>("drawmode", "Drawing Mode:", new[] { "Normal", "Custom" }));
            drawing.Add(new MenuBool("disableq", "[Q] draw", true));
            drawing.Add(new MenuBool("disablew", "[W] draw", true));
            drawing.Add(new MenuBool("disablee", "[E] draw", true));
            drawing.Add(new MenuBool("disabler", "[R] draw", true));
            drawing.Add(new MenuSeparator("Color Settings", "Color Settings"));

            //I'll call your parents if you copy this. KappaHD
            //Do you need an Onii-chan or a Senpai? Feel free to contact me on Skype: djkleeven
            drawing.Add(new MenuColor("drawq", "[Q] Range Draw Color", new ColorBGRA(32, 20, 10, 255)));
            drawing.Add(new MenuColor("draww", "[W] Range Draw Color", new ColorBGRA(32, 20, 10, 255)));
            drawing.Add(new MenuColor("drawe", "[E] Range Draw Color", new ColorBGRA(32, 20, 10, 255)));
            drawing.Add(new MenuColor("drawr", "[R] Range Draw Color", new ColorBGRA(32, 20, 10, 255)));


            utility.Add(new MenuSeparator("Utility Drawings", "Utility Drawings"));

            utility.Add(new MenuList <string>("dmgdrawer", "Damage Indicator", new[] { "Custom", "SDK" }));
            utility.Add(new MenuColor("dmgcolor", "Damage Indicator Color", new ColorBGRA(32, 155, 120, 255)));
            utility.Add(new MenuBool("drawRdmg", "Draw [R] Damage Indicator", true));
            // utility.Add(new MenuColor("rdmgcolor", "Damage Indicator Color", new ColorBGRA(32, 155, 120, 255)));
            //  utility.Add(new MenuBool("HUD", "Heads-Up Display", true));
            utility.Add(new MenuBool("indicator", "Enemy Indicator", true));
            utility.Add(new MenuBool("orbmode", "Draw Active Orbwalk Mode", true));


            Config.Add(new MenuButton("resetAll", "Settings", "Reset All Settings")
            {
                Action = () =>
                {
                    Config.RestoreDefault();
                }
            });

            Config.Attach();
            //Drawings.DrawEvent();
            Dash.OnDash                    += AntiGapcloser;
            Game.OnUpdate                  += OnUpdate;
            GameObject.OnDelete            += GameObject_OnDelete;
            GameObject.OnCreate            += GameObject_OnCreate;
            Obj_AI_Turret.OnAggro          += Turretaggro;
            Obj_AI_Base.OnProcessSpellCast += TurretOnProcessSpellCast;
            Drawing.OnDraw                 += MiscDrawings;
            Drawings.DrawEvent();
        }
Esempio n. 6
0
        private static void OnLoad(object sender, EventArgs e)
        {
            Q = new Spell(SpellSlot.Q, 600f);
            W = new Spell(SpellSlot.W);
            E = new Spell(SpellSlot.E);
            R = new Spell(SpellSlot.R, 400f);

            Q.SetTargetted(0f, 1000f, Player.Position);

            Config = new Menu("Mighty Fiora", "Mighty Fiora", true);
            Config.Add(new MenuSeparator("Mighty Fiora", "Mighty Fiora"));

            var combo = Config.Add(new Menu("combo", "Combo Settings"));
            var spell = Config.Add(new Menu("spell", "Spell Settings"));

            combo.Add(new MenuSeparator("Combo Menu", "Combo Menu"));
            combo.Add(new MenuBool("UseQ", "Use Q", true));
            combo.Add(new MenuBool("UseW", "Use W", true));
            combo.Add(new MenuBool("UseE", "Use E", true));
            combo.Add(new MenuBool("UseR", "Use R", true));

            //Advanced Spell Settings
            spell.Add(new MenuSeparator("Advanced Q Settings", "Advanced Q Settings"));
            spell.Add(new MenuBool("qgapcloseonly", "Use [Q] for Gapclosing only", false));
            spell.Add((new MenuSlider("qgapcloserange", "Gapclose Range", 300, 0, 600)));
            spell.Add(new MenuSeparator("Advanced W Settings", "Advanced W Settings"));
            spell.Add(new MenuBool("autow", "Use [W] on Autoattacks", true));
            spell.Add(new MenuSlider("wdelay", "Cast Delay in Miliseconds", 80, 0, 1000));
            spell.Add(new MenuSeparator("Advanced R Settings", "Advanced R Settings"));

            spell.Add(new MenuBool("UseRF", "Use [R] on Killable", true));
            spell.Add(new MenuKeyBind("forceR", "Force [R] Toggle (will R after Combo)", Keys.J, KeyBindType.Toggle));

            spell.Add(new MenuBool("rhp", "Auto [R] if HP <= %", true));
            spell.Add((new MenuSlider("rhp%", "Player HP %", 30, 0, 100)));

            spell.Add(new MenuBool("rAOE", "Auto [R] on X amount of Enemies", true));
            spell.Add((new MenuSlider("rcount", "Enemy Count", 4, 0, 5)));

            var harass = Config.Add(new Menu("harass", "Harass Settings"));

            harass.Add(new MenuSeparator("Harass Menu", "Harass Menu"));
            harass.Add(new MenuBool("harrQ", "Use Q", true));
            harass.Add(new MenuBool("harrE", "Use E", true));

            var laneclear = Config.Add(new Menu("laneclear", "Laneclear Settings"));

            laneclear.Add(new MenuSeparator("Coming Soon", "Coming Soon"));

            var drawing = Config.Add(new Menu("draw", "Draw Settings"));

            drawing.Add(new MenuSeparator("Draw Menu", "Draw Menu"));
            drawing.Add(new MenuBool("disable", "Disable all drawings", false));
            drawing.Add(new MenuList <string>("drawmode", "Drawing Mode:", objects: new[] { "Normal", "Custom" }));
            drawing.Add(new MenuBool("disableq", "[Q] draw", true));
            drawing.Add(new MenuBool("disableqp", "[Q] Gapclose draw", true));
            drawing.Add(new MenuBool("disablee", "[E] draw", true));
            drawing.Add(new MenuBool("disabler", "[R] draw", true));
            drawing.Add(new MenuSeparator("Color Settings", "Color Settings"));

            //I'll call your parents if you copy this. KappaHD
            //Do you need an Onii-chan or a Senpai? Feel free to contact me on Skype: djkleeven
            drawing.Add(new MenuColor("drawq", "[Q] Range Draw Color", new ColorBGRA(32, 20, 10, 255)));
            drawing.Add(new MenuColor("drawqp", "[Q] Gapclose Draw Color", new ColorBGRA(125, 20, 10, 255)));
            drawing.Add(new MenuColor("drawe", "[E] Range Draw Color", new ColorBGRA(32, 20, 10, 255)));
            drawing.Add(new MenuColor("drawr", "[R] Range Draw Color", new ColorBGRA(32, 20, 10, 255)));
            drawing.Add(new MenuSeparator("Misc Settings", "Misc Settings"));
            drawing.Add(new MenuBool("dmgindic", "Damage Indicator", true));
            drawing.Add(new MenuBool("targets", "Draw Selected Target", true));



            Config.Add(new MenuButton("resetAll", "Settings", "Reset All Settings")

            {
                Action = () =>
                {
                    Config.RestoreDefault();
                }
            });

            Bootstrap.Init(new string[] { });

            Config.Attach();
            Game.OnUpdate += OnUpdate;
            Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast;
            Orbwalker.OnAction             += OnAction;
            Drawing.OnDraw           += OnDraw;
            Obj_AI_Hero.OnBuffRemove += Tiamat;
            Obj_AI_Hero.OnBuffAdd    += Qbuff;
            Drawing.OnEndScene       += DamageIn;
        }
Esempio n. 7
0
        private void CreateMenu()
        {
            _cfg = new Menu("Aatrox", "Aatrox", true);

            var combo = new Menu("Combo", "Combo");
            {
                combo.Add(new MenuBool("QCombo", "Use Q", true));
                combo.Add(new MenuBool("WCombo", "Use W", true));
                combo.Add(new MenuBool("ECombo", "Use E", true));
                combo.Add(new MenuBool("RCombo", "Use R", true));
                combo.Add(new MenuSlider("minW", "Min HP % W", 50, 0, 100));
                combo.Add(new MenuSlider("maxW", "Max HP % W", 80, 0, 100));
                combo.Add(new MenuBool("DontQ", "Don't Q at enemy tower", true));
                combo.Add(new MenuBool("Dive", "Dive Tower when target HP is lower then %", true));
                combo.Add(new MenuSlider("DiveMHP", "My HP % to Towerdive", 60, 0, 100));
                combo.Add(new MenuSlider("DiveTHP", "Target HP % to Towerdive", 10, 0, 100));
                combo.Add(new MenuBool("UseItems", "Use Items", true));

                _cfg.Add(combo);
            }

            var harass = new Menu("Harass", "Harass");
            {
                harass.Add(new MenuBool("HarQ", "Use Q in Harass", false));
                harass.Add(new MenuBool("HarE", "Use E in Harass", true));

                _cfg.Add(harass);
            }

            var laneclear = new Menu("LaneClear", "LaneClear");
            {
                laneclear.Add(new MenuBool("UseQLane", "Use Q", false));
                laneclear.Add(new MenuBool("UseWLane", "Use W", true));
                laneclear.Add(new MenuBool("UseELane", "Use E", true));
                _cfg.Add(laneclear);
            }

            var jungleclear = new Menu("JungleClear", "JungleClear");
            {
                jungleclear.Add(new MenuBool("UseQJungle", "Use Q", true));
                jungleclear.Add(new MenuBool("UseWJungle", "Use W", true));
                jungleclear.Add(new MenuBool("UseEJungle", "Use E", true));
                _cfg.Add(jungleclear);
            }

            var killsteal = new Menu("KillSteal", "KillSteal");
            {
                killsteal.Add(new MenuBool("SmartKS", "Smart KillSteal", true));
                killsteal.Add(new MenuBool("RKS", "Use R in KS", false));

                _cfg.Add(killsteal);
            }

            var drawings = new Menu("Drawings", "Drawings");
            {
                drawings.Add(new MenuBool("DrawQ", "Draw Q", true));
                drawings.Add(new MenuBool("DrawE", "Draw E", true));
                _cfg.Add(drawings);
            }

            var misc = new Menu("Misc", "Misc");
            {
                misc.Add(new MenuBool("TowerQ", "Auto Q Under Turret", false));
                misc.Add(new MenuBool("IntQ", "Auto Interrupt with Q", false));
                misc.Add(new MenuBool("IntMed", "Interrupt Medium Danger Spells", false));
                misc.Add(new MenuBool("SmartW", "Smart W Logic", true));

                _cfg.Add(misc);
            }

            var flee = new Menu("Flee", "Flee");
            {
                flee.Add(new MenuKeyBind("ActiveFlee", "Flee!", Keys.G, KeyBindType.Press));

                _cfg.Add(flee);
            }
            _cfg.Attach();
        }
        /// <summary>
        /// Sets up the Menu
        /// </summary>
        private static void SetUpMenu()
        {
            Menu = new Menu("VayneHunter Reborn", "VHR", true);

            var comboMenu = new Menu("[VHR] Combo", "dz191.vhr.combo");
            comboMenu.AddModeMenu(Mode.Combo, new[] { SpellSlot.Q, SpellSlot.E, SpellSlot.R }, new[] { true, true, false });
            comboMenu.AddManaManager(Mode.Combo, new[] { SpellSlot.Q, SpellSlot.E, SpellSlot.R }, new[] { 0, 0, 0 });
            comboMenu.Add(new MenuSlider("dz191.vhr.combo.r.minenemies", "Min R Enemies", 2, 1, 5));
            Menu.Add(comboMenu);

            var harassMenu = new Menu("[VHR] Harass", "dz191.vhr.harass");
            harassMenu.AddModeMenu(Mode.Harrass, new[] { SpellSlot.Q, SpellSlot.E }, new[] { true, true });
            harassMenu.AddManaManager(Mode.Harrass, new[] { SpellSlot.Q, SpellSlot.E }, new[] { 25, 20 });
            Menu.Add(harassMenu);

            var farmMenu = new Menu("[VHR] Farm", "dz191.vhr.farm");
            farmMenu.AddModeMenu(Mode.Farm, new[] { SpellSlot.Q }, new[] { true, true });
            farmMenu.AddManaManager(Mode.Farm, new[] { SpellSlot.Q }, new[] { 40 });
            Menu.Add(farmMenu);

            var miscMenu = new Menu("[VHR] Misc", "dz191.vhr.misc");
            var miscQMenu = new Menu("Misc - Tumble", "dz191.vhr.misc.tumble");
            {
                miscQMenu.Add(new MenuList<string>("qlogic", "Q Logic", new[] { "Normal", "Away from enemies" }));
                miscQMenu.Add(new MenuBool("smartq", "Try to QE First"));
                miscQMenu.Add(new MenuBool("noaastealth", "Don't AA while stealthed"));
                miscQMenu.Add(new MenuBool("noqenemies", "Don't Q into enemies", true));
                miscQMenu.Add(new MenuBool("dynamicqsafety", "Dynamic Q Safety Distance"));
                miscQMenu.Add(new MenuBool("qspam", "Ignore Q checks"));
                miscQMenu.Add(new MenuBool("qinrange", "Q In Range if Enemy Health < Q+AA Dmg", true));
                miscQMenu.Add(new MenuKeyBind("walltumble", "Tumble Over Wall (WallTumble)", System.Windows.Forms.Keys.Y, KeyBindType.Press));
                miscQMenu.Add(new MenuBool("mirin", "Enable this if you're Mirin"));
            }

            var miscEMenu = new Menu("Misc - Condemn", "dz191.vhr.misc.condemn");
            {
                miscEMenu.Add(new MenuList<string>("condemnmethod", "Condemn Method", new[] { "VH Reborn", "Marksman/Gosu", "VH Rework" }));
                miscEMenu.Add(new MenuSlider("pushdistance", "E Push Distance", 375, 350, 500));
                miscEMenu.Add(new MenuKeyBind("enextauto", "E Next Auto", Keys.T, KeyBindType.Toggle));
                miscEMenu.Add(new MenuBool("onlystuncurrent", "Only stun current target"));
                miscEMenu.Add(new MenuBool("autoe", "Auto E"));
                miscEMenu.Add(new MenuBool("eks", "Smart E Ks"));
                miscEMenu.Add(new MenuSlider("noeaa", "Don't E if Target can be killed in X AA", 1, 0, 4));

                miscEMenu.Add(new MenuBool("trinketbush", "Trinket Bush on Condemn", true));
                miscEMenu.Add(new MenuBool("ethird", "E 3rd proc in Harass"));
                miscEMenu.Add(new MenuBool("lowlifepeel", "Peel with E when low"));

                miscEMenu.Add(new MenuBool("condemnturret", "Try to Condemn to turret"));
                miscEMenu.Add(new MenuBool("condemnflag", "Condemn to J4 flag", true));
                miscEMenu.Add(new MenuBool("noeturret", "No E Under enemy turret", true));
            }

            var miscGeneralSubMenu = new Menu("Misc - General", "dz191.vhr.misc.general");
            {
                miscGeneralSubMenu.Add(new MenuBool("antigp", "Anti Gapcloser", true));
                miscGeneralSubMenu.Add(new MenuBool("interrupt", "Interrupter", true));
                miscGeneralSubMenu.Add(new MenuSlider("antigpdelay", "Anti Gapcloser Delay (ms)", 0, 0, 1000));
                miscGeneralSubMenu.Add(new MenuBool("specialfocus", "Focus targets with 2 W marks"));
                miscGeneralSubMenu.Add(new MenuBool("reveal", "Stealth Reveal (Pink Ward)"));
                miscGeneralSubMenu.Add(new MenuBool("disablemovement", "Disable Orbwalker Movement"));
                /**
                miscGeneralSubMenu.AddItem(new MenuItem("dz191.vhr.misc.general.permashow", "PermaShow").SetShared().SetValue(true)).ValueChanged += (s, args) =>
                {
                    if (args.GetNewValue<bool>())
                    {
                        Menu.Item("dz191.vhr.misc.condemn.enextauto").Permashow(true, "E Next Auto");
                    }
                    else
                    {
                        Menu.Item("dz191.vhr.misc.condemn.enextauto").Permashow(false);
                    }
                };
                 * */
            }
            miscMenu.Add(miscQMenu);
            miscMenu.Add(miscEMenu);
            miscMenu.Add(miscGeneralSubMenu);
            Menu.Add(miscMenu);

            //AntiGP.BuildMenu(Menu);

            /**
            var drawMenu = new Menu("[VHR] Drawing", "dz191.vhr.drawing");
            drawMenu.AddDrawMenu(_spells, Color.Red);
            drawMenu.AddItem(new MenuItem("dz191.vhr.drawing.drawstun", "Draw Stunnable").SetValue(true));
            drawMenu.AddItem(new MenuItem("dz191.vhr.drawing.drawspots", "Draw Spots").SetValue(true));
            Menu.AddSubMenu(drawMenu);

            Menu.AddItem(new MenuItem("dz191.vhr.info", "VHR by Asuna v." + Assembly.GetExecutingAssembly().GetName().Version));

            Menu.Item("dz191.vhr.misc.condemn.enextauto").Permashow(Menu.Item("dz191.vhr.misc.condemn.enextauto").GetValue<KeyBind>().Active, "E Next Auto");
            */
            Menu.Attach();
        }
Esempio n. 9
0
        private static void OnLoad(object sender, EventArgs e)
        {
            Q = new Spell(SpellSlot.Q, 600f);
            W = new Spell(SpellSlot.W);
            E = new Spell(SpellSlot.E);
            R = new Spell(SpellSlot.R, 400f);

            Q.SetTargetted(0f, 1000f, Player.Position);

            Config = new Menu("Mighty Fiora", "Mighty Fiora", true);
            Config.Add(new MenuSeparator("Mighty Fiora", "Mighty Fiora"));

            var combo = Config.Add(new Menu("combo", "Combo Settings"));
            var spell = Config.Add(new Menu("spell", "Spell Settings"));

            combo.Add(new MenuSeparator("Combo Menu", "Combo Menu"));
            combo.Add(new MenuBool("UseQ", "Use Q", true));
            combo.Add(new MenuBool("UseW", "Use W", true));
            combo.Add(new MenuBool("UseE", "Use E", true));
            combo.Add(new MenuBool("UseR", "Use R", true));

            //Advanced Spell Settings
            spell.Add(new MenuSeparator("Advanced Q Settings", "Advanced Q Settings"));
            spell.Add(new MenuBool("qgapcloseonly", "Use [Q] for Gapclosing only", false));
            spell.Add((new MenuSlider("qgapcloserange", "Gapclose Range", 300, 0, 600)));
            spell.Add(new MenuSeparator("Advanced W Settings", "Advanced W Settings"));
            spell.Add(new MenuBool("autow", "Use [W] on Autoattacks", true));
            spell.Add(new MenuSlider("wdelay", "Cast Delay in Miliseconds", 80, 0, 1000));
            spell.Add(new MenuSeparator("Advanced R Settings", "Advanced R Settings"));

            spell.Add(new MenuBool("UseRF", "Use [R] on Killable", true));
            spell.Add(new MenuKeyBind("forceR", "Force [R] Toggle (will R after Combo)", Keys.J, KeyBindType.Toggle));

            spell.Add(new MenuBool("rhp", "Auto [R] if HP <= %", true));
            spell.Add((new MenuSlider("rhp%", "Player HP %", 30, 0, 100)));

            spell.Add(new MenuBool("rAOE", "Auto [R] on X amount of Enemies", true));
            spell.Add((new MenuSlider("rcount", "Enemy Count", 4, 0, 5)));

            var harass = Config.Add(new Menu("harass", "Harass Settings"));
            harass.Add(new MenuSeparator("Harass Menu", "Harass Menu"));
            harass.Add(new MenuBool("harrQ", "Use Q", true));
            harass.Add(new MenuBool("harrE", "Use E", true));

            var laneclear = Config.Add(new Menu("laneclear", "Laneclear Settings"));
            laneclear.Add(new MenuSeparator("Coming Soon", "Coming Soon"));

            var drawing = Config.Add(new Menu("draw", "Draw Settings"));
            drawing.Add(new MenuSeparator("Draw Menu", "Draw Menu"));
            drawing.Add(new MenuBool("disable", "Disable all drawings", false));
            drawing.Add(new MenuList<string>("drawmode", "Drawing Mode:", objects: new[] {"Normal", "Custom"}));
            drawing.Add(new MenuBool("disableq", "[Q] draw", true));
            drawing.Add(new MenuBool("disableqp", "[Q] Gapclose draw", true));
            drawing.Add(new MenuBool("disablee", "[E] draw", true));
            drawing.Add(new MenuBool("disabler", "[R] draw", true));
            drawing.Add(new MenuSeparator("Color Settings", "Color Settings"));

            //I'll call your parents if you copy this. KappaHD
            //Do you need an Onii-chan or a Senpai? Feel free to contact me on Skype: djkleeven
            drawing.Add(new MenuColor("drawq", "[Q] Range Draw Color", new ColorBGRA(32, 20, 10, 255)));
            drawing.Add(new MenuColor("drawqp", "[Q] Gapclose Draw Color", new ColorBGRA(125, 20, 10, 255)));
            drawing.Add(new MenuColor("drawe", "[E] Range Draw Color", new ColorBGRA(32, 20, 10, 255)));
            drawing.Add(new MenuColor("drawr", "[R] Range Draw Color", new ColorBGRA(32, 20, 10, 255)));
            drawing.Add(new MenuSeparator("Misc Settings", "Misc Settings"));
            drawing.Add(new MenuBool("dmgindic", "Damage Indicator", true));
            drawing.Add(new MenuBool("targets", "Draw Selected Target", true));

            Config.Add(new MenuButton("resetAll", "Settings", "Reset All Settings")

            {
                Action = () =>
                {
                    Config.RestoreDefault();
                }
            });

            Bootstrap.Init(new string[] { });

            Config.Attach();
            Game.OnUpdate += OnUpdate;
            Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast;
            Orbwalker.OnAction += OnAction;
            Drawing.OnDraw += OnDraw;
            Obj_AI_Hero.OnBuffRemove += Tiamat;
            Obj_AI_Hero.OnBuffAdd += Qbuff;
            Drawing.OnEndScene += DamageIn;
        }
Esempio n. 10
0
        public static void OnLoad(object sender, EventArgs e)
        {
            if (Player.ChampionName != ChampName)
            {
                return;
            }

            Q  = new Spell(SpellSlot.Q, 865);
            Qn = new Spell(SpellSlot.Q, 865);
            W  = new Spell(SpellSlot.W, 585);
            E  = new Spell(SpellSlot.E, 585);
            R  = new Spell(SpellSlot.R);

            Q.SetSkillshot(0.26f, 50f, 1700f, true, SkillshotType.SkillshotLine);
            Qn.SetSkillshot(0.26f, 50f, 1700f, false, SkillshotType.SkillshotLine);

            abilitySequence = new int[] { 1, 2, 3, 1, 1, 4, 1, 2, 1, 2, 4, 3, 2, 2, 3, 4, 3, 3 };

            Config = new Menu("Slutty Ryze", "Slutty Ryze", true);
            LeagueSharp.SDK.Core.Bootstrap.Init(null); //This will be a loader functionality later on

            var comboMenu        = new Menu("combo", "Combo Settings");
            var combodefaultMenu = new Menu("combos", "Spells");
            {
                combodefaultMenu.Add(new MenuBool("useQ", "Use Q", true));
                combodefaultMenu.Add(new MenuBool("useW", "Use W", true));
                combodefaultMenu.Add(new MenuBool("useE", "Use E", true));
                combodefaultMenu.Add(new MenuBool("useR", "Use R"));
                combodefaultMenu.Add(new MenuBool("useRww", "Use R Only when Rooted", true));

                comboMenu.Add(combodefaultMenu);
            }

            var combooptionsMenu = new Menu("combooptions", "Combo Options");

            {
                combooptionsMenu.Add(new MenuBool("AAblock", "Auto Attack Block", true));
                combooptionsMenu.Add(new MenuList <string>("comboooptions", "Combo Mode", new[] { "Stable", "Beta Combo" }));

                comboMenu.Add(combooptionsMenu);
            }


            Config.Add(comboMenu);

            var hybridMenu = new Menu("hybrid", "Hybrid");
            {
                hybridMenu.Add(new MenuBool("nospell", "Don't Proc Passive", true));
                hybridMenu.Add(new MenuBool("useQm", "Use Q", true));
                hybridMenu.Add(new MenuBool("useQml", "Use Q Last Hit", true));
                hybridMenu.Add(new MenuBool("useWm", "Use W", true));
                hybridMenu.Add(new MenuBool("useEm", "Use E", true));
                hybridMenu.Add(new MenuBool("UseQauto", "Auto Q"));
                hybridMenu.Add(new MenuSlider("mMin", "Minimum Mana For Spells", 40));

                Config.Add(hybridMenu);
            }

            var clearMenu = new Menu("laneclear", "Clear");
            var laneMenu  = new Menu("laneeclear", "Lane Clear (V)");
            {
                laneMenu.Add(new MenuSlider("minmana", "Minimum Mana For Spells", 40));
                laneMenu.Add(new MenuBool("useq2L", "Use Q", true));
                laneMenu.Add(new MenuBool("usew2L", "Use W", true));
                laneMenu.Add(new MenuBool("usee2L", "Use E", true));
                laneMenu.Add(new MenuBool("user2L", "Use R", true));

                laneMenu.Add(new MenuBool("useQlc", "Use Q Last hit", true));
                laneMenu.Add(new MenuBool("useWlc", "Use W Last hit", true));
                laneMenu.Add(new MenuBool("useElc", "Use E Last Hit", true));

                // laneMenu.Add(new MenuSlider("useRl", "Use R When X Minions", 1,3,20));
                laneMenu.Add(new MenuBool("spellblock", "Don't Use Spells when to pop passive"));

                clearMenu.Add(laneMenu);
            }

            var lasthitMenu = new Menu("lasthit", "Last Hit (X)");

            {
                lasthitMenu.Add(new MenuBool("useQ2l", "Use Q Last hit", true));
                lasthitMenu.Add(new MenuBool("useW2l", "Use W Last hit", true));
                lasthitMenu.Add(new MenuBool("useE2l", "Use E Last Hit", true));

                clearMenu.Add(lasthitMenu);
            }

            Config.Add(clearMenu);

            /*
             * var potionMenu = new Menu("autoP", "Auto Potions");
             * {
             *  potionMenu.Add(new MenuBool("autoPO", "Auto Health Potion", true));
             *  potionMenu.Add(new MenuBool("HP", "Auto Health Potion", true));
             *  potionMenu.Add(new MenuSlider("HPSlider", "Minimum %Health for Potion", 30));
             *
             *  potionMenu.Add(new MenuBool("Mana", "Auto Mana Potion", true));
             *  potionMenu.Add(new MenuSlider("MANASlider", "Minimum %Mana for Potion", 30));
             *
             *  potionMenu.Add(new MenuBool("Biscuit", "Auto Biscuit", true));
             *  potionMenu.Add(new MenuSlider("bSlider", "Minimum %Health for Biscuit", 30));
             *
             *  potionMenu.Add(new MenuBool("flask", "Auto Flask", true));
             *  potionMenu.Add(new MenuSlider("fSlider", "Minimum %Health for flask", 30));
             * }
             * Config.Add(potionMenu);
             */


            var miscMenu = new Menu("misc", "Miscellaneous");
            {
                miscMenu.Add(new MenuBool("useW2I", "Interrupt With W", true));
                miscMenu.Add(new MenuBool("useQW2D", "Use W/Q On Dashing", true));
                miscMenu.Add(new MenuBool("level", "Auto Skill Level Up", true));
                miscMenu.Add(new MenuBool("autow", "Auto W enemy under turre", true));

                Config.Add(miscMenu);
            }

            /*
             * var passiveMenu = new Menu("passive", "Passive Stack");
             * {
             *  passiveMenu.Add(new MenuBool("autoPassive", "Passive Stack"))
             * }
             */

            var drawMenu = new Menu("draw", "Drawings");

            {
                drawMenu.Add(new MenuBool("qDraw", "Draw Q", true));
                drawMenu.Add(new MenuBool("wDraw", "Draw W", true));
                drawMenu.Add(new MenuBool("eDraw", "Draw E", true));

                Config.Add(drawMenu);
            }

            Config.Attach();
            Drawing.OnDraw += OnDraw;
            Game.OnUpdate  += OnUpdate;
            InterruptableSpell.OnInterruptableTarget += Interruptable;
            // Dash.OnDash += Unit_Ondash;
        }
Esempio n. 11
0
        public static void OnLoad(object sender, EventArgs e)
        {
            if (Player.ChampionName != ChampName)
                return;

            Q = new Spell(SpellSlot.Q, 865);
            Qn = new Spell(SpellSlot.Q, 865);
            W = new Spell(SpellSlot.W, 585);
            E = new Spell(SpellSlot.E, 585);
            R = new Spell(SpellSlot.R);

            Q.SetSkillshot(0.26f, 50f, 1700f, true, SkillshotType.SkillshotLine);
            Qn.SetSkillshot(0.26f, 50f, 1700f, false, SkillshotType.SkillshotLine);

            abilitySequence = new int[] {1, 2, 3, 1, 1, 4, 1, 2, 1, 2, 4, 3, 2, 2, 3, 4, 3, 3};

            Config = new Menu("Slutty Ryze", "Slutty Ryze", true);
            LeagueSharp.SDK.Core.Bootstrap.Init(null); //This will be a loader functionality later on

            var comboMenu = new Menu("combo", "Combo Settings");
            var combodefaultMenu = new Menu("combos", "Spells");
            {
                combodefaultMenu.Add(new MenuBool("useQ", "Use Q", true));
                combodefaultMenu.Add(new MenuBool("useW", "Use W", true));
                combodefaultMenu.Add(new MenuBool("useE", "Use E", true));
                combodefaultMenu.Add(new MenuBool("useR", "Use R"));
                combodefaultMenu.Add(new MenuBool("useRww", "Use R Only when Rooted", true));

                comboMenu.Add(combodefaultMenu);
            }

            var combooptionsMenu = new Menu("combooptions", "Combo Options");
            {
                combooptionsMenu.Add(new MenuBool("AAblock", "Auto Attack Block", true));
                combooptionsMenu.Add(new MenuList<string>("comboooptions", "Combo Mode", new[] { "Stable", "Beta Combo" }));

                comboMenu.Add(combooptionsMenu);
            }

            Config.Add(comboMenu);

            var hybridMenu = new Menu("hybrid", "Hybrid");
            {
                hybridMenu.Add(new MenuBool("nospell", "Don't Proc Passive", true));
                hybridMenu.Add(new MenuBool("useQm", "Use Q", true));
                hybridMenu.Add(new MenuBool("useQml", "Use Q Last Hit", true));
                hybridMenu.Add(new MenuBool("useWm", "Use W", true));
                hybridMenu.Add(new MenuBool("useEm", "Use E", true));
                hybridMenu.Add(new MenuBool("UseQauto", "Auto Q"));
                hybridMenu.Add(new MenuSlider("mMin", "Minimum Mana For Spells", 40));

                Config.Add(hybridMenu);
            }

            var clearMenu = new Menu("laneclear", "Clear");
            var laneMenu = new Menu("laneeclear", "Lane Clear (V)");
            {
                laneMenu.Add(new MenuSlider("minmana", "Minimum Mana For Spells", 40));
                laneMenu.Add(new MenuBool("useq2L", "Use Q", true));
                laneMenu.Add(new MenuBool("usew2L", "Use W", true));
                laneMenu.Add(new MenuBool("usee2L", "Use E", true));
                laneMenu.Add(new MenuBool("user2L", "Use R", true));

                laneMenu.Add(new MenuBool("useQlc", "Use Q Last hit", true));
                laneMenu.Add(new MenuBool("useWlc", "Use W Last hit", true));
                laneMenu.Add(new MenuBool("useElc", "Use E Last Hit", true));

               // laneMenu.Add(new MenuSlider("useRl", "Use R When X Minions", 1,3,20));
                laneMenu.Add(new MenuBool("spellblock", "Don't Use Spells when to pop passive"));

                clearMenu.Add(laneMenu);

            }

            var lasthitMenu = new Menu("lasthit", "Last Hit (X)");
            {
                lasthitMenu.Add(new MenuBool("useQ2l", "Use Q Last hit", true));
                lasthitMenu.Add(new MenuBool("useW2l", "Use W Last hit", true));
                lasthitMenu.Add(new MenuBool("useE2l", "Use E Last Hit", true));

                clearMenu.Add(lasthitMenu);
            }

            Config.Add(clearMenu);
            /*
            var potionMenu = new Menu("autoP", "Auto Potions");
            {
                potionMenu.Add(new MenuBool("autoPO", "Auto Health Potion", true));
                potionMenu.Add(new MenuBool("HP", "Auto Health Potion", true));
                potionMenu.Add(new MenuSlider("HPSlider", "Minimum %Health for Potion", 30));

                potionMenu.Add(new MenuBool("Mana", "Auto Mana Potion", true));
                potionMenu.Add(new MenuSlider("MANASlider", "Minimum %Mana for Potion", 30));

                potionMenu.Add(new MenuBool("Biscuit", "Auto Biscuit", true));
                potionMenu.Add(new MenuSlider("bSlider", "Minimum %Health for Biscuit", 30));

                potionMenu.Add(new MenuBool("flask", "Auto Flask", true));
                potionMenu.Add(new MenuSlider("fSlider", "Minimum %Health for flask", 30));
            }
            Config.Add(potionMenu);
            */

            var miscMenu = new Menu("misc", "Miscellaneous");
            {
                miscMenu.Add(new MenuBool("useW2I", "Interrupt With W", true));
                miscMenu.Add(new MenuBool("useQW2D", "Use W/Q On Dashing", true));
                miscMenu.Add(new MenuBool("level", "Auto Skill Level Up", true));
                miscMenu.Add(new MenuBool("autow", "Auto W enemy under turre", true));

                Config.Add(miscMenu);
            }

            /*
            var passiveMenu = new Menu("passive", "Passive Stack");
            {
                passiveMenu.Add(new MenuBool("autoPassive", "Passive Stack"))
            }
             */

            var drawMenu = new Menu("draw", "Drawings");
            {
                drawMenu.Add(new MenuBool("qDraw", "Draw Q", true));
                drawMenu.Add(new MenuBool("wDraw", "Draw W", true));
                drawMenu.Add(new MenuBool("eDraw", "Draw E", true));

                Config.Add(drawMenu);
            }

            Config.Attach();
            Drawing.OnDraw += OnDraw;
            Game.OnUpdate += OnUpdate;
               InterruptableSpell.OnInterruptableTarget += Interruptable;
            // Dash.OnDash += Unit_Ondash;
        }
Esempio n. 12
0
        /// <summary>
        ///     The generation function.
        /// </summary>
        public static void Generate()
        {
            RootMenu = new Menu("com.ikalista", "iKalista 2.0", true);

            var comboMenu = new Menu("com.kalista.combo", "Combo Options");
            {
                comboMenu.Add(new MenuSeparator("sep111", "Combo"));
                comboMenu.Add(new MenuBool("useQ", "Use Q", true));
                comboMenu.Add(new MenuBool("useE", "Use E", true));

                comboMenu.Add(new MenuSeparator("sep11", "Auto E")); // Make Module
                comboMenu.Add(new MenuBool("autoE", "Auto E"));
                comboMenu.Add(new MenuSlider("minStacks", "Min Percent for Auto E", 100, 10));

                comboMenu.Add(new MenuSeparator("sep123", "E Leaving"));
                comboMenu.Add(new MenuBool("useELeaving", "E Leaving target"));
                comboMenu.Add(new MenuSlider("eLeavePercent", "Min Percent for Leaving", 40, 10)); // Make Module

                comboMenu.Add(new MenuSeparator("sep231", "E Before Death"));                      // make module
                comboMenu.Add(new MenuBool("eDeath", "E Before Death"));
                comboMenu.Add(new MenuSlider("eDeathPercent", "Damage Percent Before Death", 20, 10));
                comboMenu.Add(new MenuSlider("myHealthPercent", "My Health Percent Before Death", 15, 5, 50));

                comboMenu.Add(new MenuSeparator("sep321", "Ultimate Options"));
                comboMenu.Add(new MenuBool("saveAlly", "Save Ally With Ultimate"));
                comboMenu.Add(new MenuSlider("allyHealth", "Min Ally Health to save", 15, 10));
                RootMenu.Add(comboMenu);
            }

            var harassMenu = new Menu("com.kalista.harass", "Harass Options");
            {
                harassMenu.Add(new MenuBool("useQ", "Use Q", true));
                harassMenu.Add(new MenuBool("useE", "Use E", true));
                harassMenu.Add(new MenuSlider("minStacks", "Min Percent for Auto E", 50, 10));
                harassMenu.Add(new MenuBool("autoHarass", "Minion -> Champion Harass", true));
                RootMenu.Add(harassMenu);
            }

            var laneclearMenu = new Menu("com.kalista.laneclear", "Laneclear Options");
            {
                laneclearMenu.Add(new MenuBool("useQ", "Use Q", true));
                laneclearMenu.Add(new MenuSlider("qClear", "Min Minions for Q", 3, 1, 10));
                laneclearMenu.Add(new MenuSlider("qMana", "Min Mana for Q %", 50, 10));

                laneclearMenu.Add(new MenuSeparator("sep3321", "-"));

                laneclearMenu.Add(new MenuBool("useE", "Use E", true));
                laneclearMenu.Add(new MenuSlider("eClear", "Min Minions for E", 3, 1, 10));
                laneclearMenu.Add(new MenuSlider("eMana", "Min Mana for E %", 50, 10));
                RootMenu.Add(laneclearMenu);
            }

            var miscMenu = new Menu("com.kalista.misc", "Misc Options");
            {
                miscMenu.Add(new MenuKeyBind("sentinelDrake", "Send Sentinel to Dragon", Keys.T, KeyBindType.Press));
                miscMenu.Add(new MenuKeyBind("sentinelBaron", "Send Sentinel to Baron", Keys.Y, KeyBindType.Press));
                miscMenu.Add(new MenuBool("useJungleSteal", "Use Jungle Steal", true));
                miscMenu.Add(
                    new MenuList <string>(
                        "stealMode",
                        "Jungle Steal Mode",
                        new[] { "Both", "Jungle Minions", "Super / Siege Minions" }));
                RootMenu.Add(miscMenu);
            }

            var fleeMenu = new Menu("com.kalista.flee", "Flee Options");
            {
                fleeMenu.Add(new MenuKeyBind("fleeActive", "Flee Key", Keys.V, KeyBindType.Press));
                fleeMenu.Add(new MenuSeparator("sep", "-"));
                fleeMenu.Add(new MenuBool("wallJump", "Try Wall Jump", true));
                fleeMenu.Add(new MenuBool("aaFlee", "Use Auto Attacks", true));
                RootMenu.Add(fleeMenu);
            }

            var drawingMenu = new Menu("com.kalista.drawing", "Drawing Options");

            {
                drawingMenu.Add(new MenuBool("drawQ", "Draw Q Range"));
                drawingMenu.Add(new MenuBool("drawE", "Draw E Range"));
                drawingMenu.Add(new MenuBool("drawELeaving", "Draw E Range Leaving"));
                drawingMenu.Add(new MenuBool("drawPercentage", "Draw E Damage Percentage"));
                RootMenu.Add(drawingMenu);
            }

            RootMenu.Attach();
        }
Esempio n. 13
0
        /*
         * PLEASE THIS MENU IS PATENTED BY AUSTRALIAN IP LAWS.
         * KEEP CALM AND (); {} ON
         */

        protected static void CreateMenu()
        {
            menu = new Menu("ElRengar", "ElRengar", true);
            //This will be a loader functionality later on
            Bootstrap.Init(null);

            var comboMenu = new Menu("combo.settings", "Combo settings");
            {
                comboMenu.Add(new MenuSeparator("General", "General"));
                comboMenu.Add(new MenuBool("combo.spell.q", "Use Q", true));
                comboMenu.Add(new MenuBool("combo.spell.w", "Use W", true));
                comboMenu.Add(new MenuBool("combo.spell.e", "Use E", true));
                comboMenu.Add(new MenuBool("combo.spell.e.outofrange", "Use E out of range"));
                comboMenu.Add(new MenuSeparator("Miscellaneous", "Miscellaneous"));
                comboMenu.Add(new MenuBool("combo.spell.ignite", "Use ignite", true));
                comboMenu.Add(new MenuBool("combo.spell.smite", "Use smite", true));
                comboMenu.Add(new MenuSeparator("Prioritized", "Prioritized"));
                //comboMenu.Add(new MenuList<string>("combo.prioritize", "Prioritized spell", new[] { "Q", "E" }));

                comboMenu.Add(new MenuList <string>("combo.prioritize", "Prioritized spell", new[] { "Q", "E" })
                {
                    SelectedValue = "Q"
                });

                menu.Add(comboMenu);
            }

            var harassMenu = new Menu("harass.settings", "Harass settings");
            {
                harassMenu.Add(new MenuSeparator("General", "General"));
                harassMenu.Add(new MenuBool("harass.spell.q", "Use Q", true));
                harassMenu.Add(new MenuBool("harass.spell.w", "Use W", true));
                harassMenu.Add(new MenuBool("harass.spell.e", "Use E", true));
                harassMenu.Add(new MenuSeparator("Prioritized", "Prioritized"));
                harassMenu.Add(new MenuList <string>("harass.prioritize", "Prioritized spell", new[] { "Q", "W", "E" }));

                menu.Add(harassMenu);
            }

            var laneclearMenu = new Menu("laneclear.settings", "Laneclear settings");
            {
                laneclearMenu.Add(new MenuSeparator("General", "General"));
                laneclearMenu.Add(new MenuBool("laneclear.spell.q", "Use Q", true));
                laneclearMenu.Add(new MenuBool("laneclear.spell.w", "Use W", true));
                laneclearMenu.Add(new MenuBool("laneclear.spell.e", "Use E", false));
                laneclearMenu.Add(new MenuSeparator("Items", "Item usage"));
                laneclearMenu.Add(new MenuBool("laneclear.items.hydra", "Ravenous Hydra", true));
                laneclearMenu.Add(new MenuSeparator("Ferocity", "Ferocity"));
                laneclearMenu.Add(new MenuBool("laneclear.save.ferocity", "Save ferocity", true));
                laneclearMenu.Add(new MenuList <string>("laneclear.prioritize", "Prioritized spell", objects: new[] { "Q", "W", "E" }));

                menu.Add(laneclearMenu);
            }

            var jungleClearMenu = new Menu("jungleclear.settings", "Jungleclear settings");
            {
                jungleClearMenu.Add(new MenuSeparator("General", "General"));
                jungleClearMenu.Add(new MenuBool("jungleclear.spell.q", "Use Q", true));
                jungleClearMenu.Add(new MenuBool("jungleclear.spell.w", "Use W", true));
                jungleClearMenu.Add(new MenuBool("jungleclear.spell.e", "Use E", false));
                jungleClearMenu.Add(new MenuSeparator("Items", "Item usage"));
                jungleClearMenu.Add(new MenuBool("jungleclear.items.hydra", "Ravenous Hydra", true));
                jungleClearMenu.Add(new MenuSeparator("Ferocity", "Ferocity"));
                jungleClearMenu.Add(new MenuBool("jungleclear.save.ferocity", "Save ferocity", true));
                jungleClearMenu.Add(new MenuList <string>("jungleclear.prioritize", "Prioritized spell", objects: new[] { "Q", "W", "E" }));

                menu.Add(jungleClearMenu);
            }

            var healMenu = new Menu("heal.settings", "Heal settings");
            {
                healMenu.Add(new MenuSeparator("General", "General"));
                healMenu.Add(new MenuBool("heal.activated", "Use W", true));
                healMenu.Add(new MenuSlider("heal.player.hp", "Player health percentage", value: 25, minValue: 1, maxValue: 100));

                menu.Add(healMenu);
            }

            var miscMenu = new Menu("misc.settings", "Misc settings");
            {
                miscMenu.Add(new MenuSeparator("Notifications", "Notifications"));
                miscMenu.Add(new MenuBool("misc.notifications", "Permashow prioritized spell", true));

                miscMenu.Add(new MenuSeparator("Items", "Item usage"));
                miscMenu.Add(new MenuBool("misc.items.tiamat", "Tiamat", true));
                miscMenu.Add(new MenuBool("misc.items.hydra", "Ravenous Hydra", true));
                miscMenu.Add(new MenuBool("misc.items.ghostblade", "Youmuu's Ghostblade", true));
                miscMenu.Add(new MenuBool("misc.items.cutlass", "Bilgewater Cutlass", true));
                miscMenu.Add(new MenuBool("misc.items.botrk", "Blade of the Ruined King", true));

                miscMenu.Add(new MenuSeparator("Drawings", "Drawings"));
                miscMenu.Add(new MenuBool("misc.drawing.deactivate", "Disable all drawings"));
                miscMenu.Add(new MenuBool("misc.drawing.draw.spell.q", "Q range", true));
                miscMenu.Add(new MenuBool("misc.drawing.draw.spell.w", "W range", true));
                miscMenu.Add(new MenuBool("misc.drawing.draw.spell.e", "E range", true));
                miscMenu.Add(new MenuBool("misc.drawing.draw.spell.r", "R range", true));
                miscMenu.Add(new MenuBool("misc.drawing.draw.helper.canjump", "Jump helper", true));


                miscMenu.Add(new MenuSeparator("Debug", "Debug"));
                miscMenu.Add(new MenuBool("misc.debug.active", "Debug", false));

                menu.Add(miscMenu);
            }

            var creditsMenu = new Menu("credits.settings", "Credits");

            {
                creditsMenu.Add(new MenuSeparator("credits.title.1", "if you would like to donate via PayPal:"));
                creditsMenu.Add(new MenuSeparator("credits.title.2", "*****@*****.**"));
                creditsMenu.Add(new MenuSeparator("credits.title.3", "  "));
                creditsMenu.Add(new MenuSeparator("credits.title.4", "This assembly is created by:"));
                creditsMenu.Add(new MenuSeparator("credits.title.5", "jQuery"));
                creditsMenu.Add(new MenuSeparator("credits.title.6", " "));
                creditsMenu.Add(new MenuSeparator("credits.title.7", String.Format("Version: {0}", Rengar.ScriptVersion)));

                menu.Add(creditsMenu);
            }

            menu.Attach();
        }
Esempio n. 14
0
        private void CreateMenu()
        {
            _cfg = new Menu("Aatrox", "Aatrox", true);

            var combo = new Menu("Combo", "Combo");
            {
                combo.Add(new MenuBool("QCombo", "Use Q", true));
                combo.Add(new MenuBool("WCombo", "Use W", true));
                combo.Add(new MenuBool("ECombo", "Use E", true));
                combo.Add(new MenuBool("RCombo", "Use R", true));
                combo.Add(new MenuSlider("minW", "Min HP % W", 50, 0, 100));
                combo.Add(new MenuSlider("maxW", "Max HP % W", 80, 0, 100));
                combo.Add(new MenuBool("DontQ", "Don't Q at enemy tower", true));
                combo.Add(new MenuBool("Dive", "Dive Tower when target HP is lower then %", true));
                combo.Add(new MenuSlider("DiveMHP", "My HP % to Towerdive", 60, 0, 100));
                combo.Add(new MenuSlider("DiveTHP", "Target HP % to Towerdive", 10, 0, 100));
                combo.Add(new MenuBool("UseItems", "Use Items", true));

                _cfg.Add(combo);
            }

            var harass = new Menu("Harass", "Harass");
            {
                harass.Add(new MenuBool("HarQ", "Use Q in Harass", false));
                harass.Add(new MenuBool("HarE", "Use E in Harass", true));

                _cfg.Add(harass);
            }

            var laneclear = new Menu("LaneClear", "LaneClear");
            {
                laneclear.Add(new MenuBool("UseQLane", "Use Q", false));
                laneclear.Add(new MenuBool("UseWLane", "Use W", true));
                laneclear.Add(new MenuBool("UseELane", "Use E", true));
                _cfg.Add(laneclear);
            }

            var jungleclear = new Menu("JungleClear", "JungleClear");
            {
                jungleclear.Add(new MenuBool("UseQJungle", "Use Q", true));
                jungleclear.Add(new MenuBool("UseWJungle", "Use W", true));
                jungleclear.Add(new MenuBool("UseEJungle", "Use E", true));
                _cfg.Add(jungleclear);
            }

            var killsteal = new Menu("KillSteal", "KillSteal");
            {
                killsteal.Add(new MenuBool("SmartKS", "Smart KillSteal", true));
                killsteal.Add(new MenuBool("RKS", "Use R in KS", false));

                _cfg.Add(killsteal);
            }

            var drawings = new Menu("Drawings", "Drawings");
            {
                drawings.Add(new MenuBool("DrawQ", "Draw Q", true));
                drawings.Add(new MenuBool("DrawE", "Draw E", true));
                _cfg.Add(drawings);
            }

            var misc = new Menu("Misc", "Misc");
            {
                misc.Add(new MenuBool("TowerQ", "Auto Q Under Turret", false));
                misc.Add(new MenuBool("IntQ", "Auto Interrupt with Q", false));
                misc.Add(new MenuBool("IntMed", "Interrupt Medium Danger Spells", false));
                misc.Add(new MenuBool("SmartW", "Smart W Logic", true));

                _cfg.Add(misc);
            }

            var flee = new Menu("Flee", "Flee");

            {
                flee.Add(new MenuKeyBind("ActiveFlee", "Flee!", Keys.G, KeyBindType.Press));

                _cfg.Add(flee);
            }
            _cfg.Attach();
        }
Esempio n. 15
0
        internal static void Generate(Menu RootMenu)
        {
            var keysMenu = new Menu("dz191.thresh.keys", "Keys");
            {
                keysMenu.Add(new MenuKeyBind("ePull", "E Pull", Keys.T, KeyBindType.Press));
                keysMenu.Add(new MenuKeyBind("ePush", "E Push", Keys.G, KeyBindType.Press));
                RootMenu.Add(keysMenu);
            }

            var comboMenu = new Menu("dz191.thresh.orbwalk", "Combo Options");
            {
                ////Skills
                comboMenu.Add(new MenuSeparator("separatorSkills", "Combo - Skills"));
                comboMenu.Add(new MenuBool("useQ", "Use Q", true));
                comboMenu.Add(new MenuBool("useW", "Use W", true));
                comboMenu.Add(new MenuBool("useE", "Use E", true));
                comboMenu.Add(new MenuBool("useR", "Use R", true));

                ////Mana Manager
                comboMenu.Add(new MenuSeparator("separatorMana", "Combo - Mana Manager"));
                comboMenu.Add(new MenuSlider("QMana", "Q Mana", 15));
                comboMenu.Add(new MenuSlider("WMana", "W Mana", 30));
                comboMenu.Add(new MenuSlider("EMana", "E Mana", 10));
                comboMenu.Add(new MenuSlider("RMana", "R Mana", 15));

                ////Skills Options
                comboMenu.Add(new MenuSeparator("separatorOptions", "Combo - Skill Options"));
                comboMenu.Add(new MenuSlider("rMinEnemies", "Min Enemies for R", 2, 1, 5));
                comboMenu.Add(new MenuBool("pullInUlt", "Pull Enemies into R (Box) with E"));
                RootMenu.Add(comboMenu);
            }

            var harassMenu = new Menu("dz191.thresh.harass", "Harass Options");
            {
                ////Skills
                harassMenu.Add(new MenuSeparator("separatorHSkills", "Harass - Skills"));
                harassMenu.Add(new MenuBool("useQ", "Use Q", true));
                harassMenu.Add(new MenuBool("useE", "Use E", true));

                ////Mana Manager
                harassMenu.Add(new MenuSeparator("separatorHMana", "Harass - Mana Manager"));
                harassMenu.Add(new MenuSlider("QMana", "Q Mana", 15));
                harassMenu.Add(new MenuSlider("EMana", "E Mana", 10));

                RootMenu.Add(harassMenu);
            }

            var lanternMenu = new Menu("dz191.thresh.lantern", "Lantern Options");
            {
                var lanternAllies = new Menu("dz191.thresh.lantern.allies", "Use Lantern On");
                {
                    if (GameObjects.AllyHeroes.Any())
                    {
                        foreach (var ally in GameObjects.AllyHeroes)
                        {
                            lanternAllies.Add(new MenuBool(ally.ChampionName.ToLowerInvariant(), ally.ChampionName, true));
                        }

                        lanternMenu.Add(lanternAllies);
                    }
                }

                ////Usage
                lanternMenu.Add(new MenuSeparator("separatorLanternKeys", "Lantern Usage"));
                lanternMenu.Add(new MenuBool("saveAllies", "Auto Save Allies with Lantern", true));
                lanternMenu.Add(new MenuKeyBind("throwLantern", "Throw Lantern", Keys.S, KeyBindType.Press));

                lanternMenu.Add(new MenuList<string>("prioritizeAlly", "Throw Lantern Priority", new[] { "Health", "Closest" }));

                ////Health and Options
                lanternMenu.Add(new MenuSeparator("separatorLanternOptions", "Lantern Options"));
                lanternMenu.Add(new MenuSlider("allyHealth", "Auto Use Lantern if Ally Health < %", 20));
                lanternMenu.Add(new MenuSlider("enemiesNumber", "And Enemies Around >=", 2, 1, 5));

                ////CC
                lanternMenu.Add(new MenuSeparator("separatorLanternCC", "Lantern on CC"));
                lanternMenu.Add(new MenuBool("lanternCC", "Lantern CC'd allies", true));
                lanternMenu.Add(new MenuSlider("minCC", "Minimum Number of CC on Ally", 2, 1, 5));
                RootMenu.Add(lanternMenu);
            }

            var miscMenu = new Menu("dz191.thresh.misc", "Misc Options");
            {
                ////Antigapcloser and Interrupter
                miscMenu.Add(new MenuSeparator("separatorMiscAGP", "Antigapcloser & Interrupter"));
                miscMenu.Add(new MenuBool("antigapcloser", "AntiGapcloser", true));
                miscMenu.Add(new MenuBool("interrupter", "Interrupter", true));
                miscMenu.Add(new MenuList<string>("interruptskills", "Interrupt Skills", new[] { "Only E", "Only Q", "Q and E" }));
                miscMenu.Add(new MenuBool("xspecial", "The XSpecial", true));
                miscMenu.Add(new MenuList<string>("defaultEMode", "E Mode", new[] { "Push", "Pull" }));

                ////Items & Spells
                miscMenu.Add(new MenuSeparator("separatorMiscItems", "Items & Spells"));
                miscMenu.Add(new MenuBool("exhaust", "Use Exhaust", true));
                miscMenu.Add(new MenuBool("ignite", "Use Ignite", true));

                RootMenu.Add(miscMenu);
            }

            var drawingMenu = new Menu("dz191.thresh.drawing", "Drawing Options");
            {
                drawingMenu.Add(new MenuBool("drawQ", "Draw Q Range"));
                drawingMenu.Add(new MenuBool("drawE", "Draw E Range"));
                drawingMenu.Add(new MenuBool("drawQTarget", "Draw Q Target"));
                RootMenu.Add(drawingMenu);
            }

            RootMenu.Attach();
        }
Esempio n. 16
0
        private static void Game_OnGameStart(EventArgs args)
        {
            if (Player.ChampionName != "Thresh") return;

            _logger = new StreamWriter(AppDomain.CurrentDomain.BaseDirectory + @"\log.txt") { AutoFlush = true };

            _q = new Spell(SpellSlot.Q, 1100);
            _q.SetSkillshot(true, SkillshotType.SkillshotLine);

            _config = new Menu("Prediction", "Prediction", true);
            _orbwalker = new Orbwalker();
            Menu settings = new Menu("Settings", "Settings");
            settings.Add(new MenuKeyBind("Write", "Write Last Cast information to log", System.Windows.Forms.Keys.L,
                KeyBindType.Press));
            settings.Add(new MenuSeparator("Info", "Log files are located in %appdata%"));
            _config.Add(settings);
            _config.Attach();

            Game.OnUpdate += Game_OnUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
        }
Esempio n. 17
0
        private void CreateMenu()
        {
            _cfg = new Menu("VoliBear", "Volibear", true);

               var _combo = new Menu("Combo", "Combo");
               {
               _combo.Add(new MenuBool("QCombo", "Use Q", true));
               _combo.Add(new MenuBool("WCombo", "Use W", true));
               _combo.Add(new MenuBool("ECombo", "Use E", true));
               //_combo.Add(new MenuBool("UseItems", "Use Items", true));
               _combo.Add(new MenuSlider("HPW", "Min Enemy HP% To Use W", 30, 0, 100));
               _combo.Add(new MenuBool("AutoR", "Auto use R", true));
               _combo.Add(new MenuSlider("CountR", "Num of Enemy in Range to Ult", 3, 0, 5));

               _cfg.Add(_combo);

               }

               var _harass = new Menu("Harass", "Harass");
               {
               _harass.Add(new MenuBool("HarassW", "Use W in Harass", true));
               _harass.Add(new MenuBool("HarassE", "Use E in Harass",true));
               _harass.Add(new MenuSlider("HPWHarass", "Min Enemy HP% To Use W", 30, 0, 100));

               _cfg.Add(_harass);
               }

               var _laneclear = new Menu("LaneClear", "LaneClear");
               {
               _laneclear.Add(new MenuBool("UseQLane", "Use Q", true));
               _laneclear.Add(new MenuBool("UseWLane", "Use W", true));
               _laneclear.Add(new MenuBool("UseELane", "Use E", true));
               _cfg.Add(_laneclear);
               }

               var _jungleclear = new Menu("JungleClear", "JungleClear");
               {
               _jungleclear.Add(new MenuBool("UseQJungle", "Use Q", true));
               _jungleclear.Add(new MenuBool("UseWJungle", "Use W", true));
               _jungleclear.Add(new MenuBool("UseEJungle", "Use E", true));
               _cfg.Add(_jungleclear);
               }

               var _killsteal = new Menu("KillSteal", "KillSteal");
               {
               _killsteal.Add(new MenuBool("SmartKS", "Smart KillSteal", true));
               _cfg.Add(_killsteal);
               }

               var _flee = new Menu("Flee", "Flee");
               {
               _flee.Add(new MenuKeyBind("ActiveFlee", "Flee!", Keys.G, KeyBindType.Press));
               _cfg.Add(_flee);
               }

               var _drawings = new Menu("Drawings", "Drawings");
               {
               _drawings.Add(new MenuBool("DrawQ", "Draw Q", true));
               _drawings.Add(new MenuBool("DrawW", "Draw W", true));
               _drawings.Add(new MenuBool("DrawE", "Draw E", true));
               _drawings.Add(new MenuBool("DrawR", "Draw R", true));
               _cfg.Add(_drawings);
               }
               _cfg.Attach();
        }
Esempio n. 18
0
        private void CreateMenu()
        {
            _cfg = new Menu("VoliBear", "Volibear", true);


            var _combo = new Menu("Combo", "Combo");
            {
                _combo.Add(new MenuBool("QCombo", "Use Q", true));
                _combo.Add(new MenuBool("WCombo", "Use W", true));
                _combo.Add(new MenuBool("ECombo", "Use E", true));
                //_combo.Add(new MenuBool("UseItems", "Use Items", true));
                _combo.Add(new MenuSlider("HPW", "Min Enemy HP% To Use W", 30, 0, 100));
                _combo.Add(new MenuBool("AutoR", "Auto use R", true));
                _combo.Add(new MenuSlider("CountR", "Num of Enemy in Range to Ult", 3, 0, 5));

                _cfg.Add(_combo);
            }

            var _harass = new Menu("Harass", "Harass");
            {
                _harass.Add(new MenuBool("HarassW", "Use W in Harass", true));
                _harass.Add(new MenuBool("HarassE", "Use E in Harass", true));
                _harass.Add(new MenuSlider("HPWHarass", "Min Enemy HP% To Use W", 30, 0, 100));

                _cfg.Add(_harass);
            }

            var _laneclear = new Menu("LaneClear", "LaneClear");
            {
                _laneclear.Add(new MenuBool("UseQLane", "Use Q", true));
                _laneclear.Add(new MenuBool("UseWLane", "Use W", true));
                _laneclear.Add(new MenuBool("UseELane", "Use E", true));
                _cfg.Add(_laneclear);
            }

            var _jungleclear = new Menu("JungleClear", "JungleClear");
            {
                _jungleclear.Add(new MenuBool("UseQJungle", "Use Q", true));
                _jungleclear.Add(new MenuBool("UseWJungle", "Use W", true));
                _jungleclear.Add(new MenuBool("UseEJungle", "Use E", true));
                _cfg.Add(_jungleclear);
            }

            var _killsteal = new Menu("KillSteal", "KillSteal");
            {
                _killsteal.Add(new MenuBool("SmartKS", "Smart KillSteal", true));
                _cfg.Add(_killsteal);
            }

            var _flee = new Menu("Flee", "Flee");
            {
                _flee.Add(new MenuKeyBind("ActiveFlee", "Flee!", Keys.G, KeyBindType.Press));
                _cfg.Add(_flee);
            }

            var _drawings = new Menu("Drawings", "Drawings");

            {
                _drawings.Add(new MenuBool("DrawQ", "Draw Q", true));
                _drawings.Add(new MenuBool("DrawW", "Draw W", true));
                _drawings.Add(new MenuBool("DrawE", "Draw E", true));
                _drawings.Add(new MenuBool("DrawR", "Draw R", true));
                _cfg.Add(_drawings);
            }
            _cfg.Attach();
        }
Esempio n. 19
0
        /// <summary>
        ///     The generation function.
        /// </summary>
        public static void Generate()
        {
            RootMenu = new Menu("com.ikalista", "iKalista 2.0", true);

            var comboMenu = new Menu("com.kalista.combo", "Combo Options");
            {
                comboMenu.Add(new MenuSeparator("sep111", "Combo"));
                comboMenu.Add(new MenuBool("useQ", "Use Q", true));
                comboMenu.Add(new MenuBool("useE", "Use E", true));

                comboMenu.Add(new MenuSeparator("sep11", "Auto E")); // Make Module
                comboMenu.Add(new MenuBool("autoE", "Auto E"));
                comboMenu.Add(new MenuSlider("minStacks", "Min Percent for Auto E", 100, 10));

                comboMenu.Add(new MenuSeparator("sep123", "E Leaving"));
                comboMenu.Add(new MenuBool("useELeaving", "E Leaving target"));
                comboMenu.Add(new MenuSlider("eLeavePercent", "Min Percent for Leaving", 40, 10)); // Make Module

                comboMenu.Add(new MenuSeparator("sep231", "E Before Death")); // make module
                comboMenu.Add(new MenuBool("eDeath", "E Before Death"));
                comboMenu.Add(new MenuSlider("eDeathPercent", "Damage Percent Before Death", 20, 10));
                comboMenu.Add(new MenuSlider("myHealthPercent", "My Health Percent Before Death", 15, 5, 50));

                comboMenu.Add(new MenuSeparator("sep321", "Ultimate Options"));
                comboMenu.Add(new MenuBool("saveAlly", "Save Ally With Ultimate"));
                comboMenu.Add(new MenuSlider("allyHealth", "Min Ally Health to save", 15, 10));
                RootMenu.Add(comboMenu);
            }

            var harassMenu = new Menu("com.kalista.harass", "Harass Options");
            {
                harassMenu.Add(new MenuBool("useQ", "Use Q", true));
                harassMenu.Add(new MenuBool("useE", "Use E", true));
                harassMenu.Add(new MenuSlider("minStacks", "Min Percent for Auto E", 50, 10));
                harassMenu.Add(new MenuBool("autoHarass", "Minion -> Champion Harass", true));
                RootMenu.Add(harassMenu);
            }

            var laneclearMenu = new Menu("com.kalista.laneclear", "Laneclear Options");
            {
                laneclearMenu.Add(new MenuBool("useQ", "Use Q", true));
                laneclearMenu.Add(new MenuSlider("qClear", "Min Minions for Q", 3, 1, 10));
                laneclearMenu.Add(new MenuSlider("qMana", "Min Mana for Q %", 50, 10));

                laneclearMenu.Add(new MenuSeparator("sep3321", "-"));

                laneclearMenu.Add(new MenuBool("useE", "Use E", true));
                laneclearMenu.Add(new MenuSlider("eClear", "Min Minions for E", 3, 1, 10));
                laneclearMenu.Add(new MenuSlider("eMana", "Min Mana for E %", 50, 10));
                RootMenu.Add(laneclearMenu);
            }

            var miscMenu = new Menu("com.kalista.misc", "Misc Options");
            {
                miscMenu.Add(new MenuKeyBind("sentinelDrake", "Send Sentinel to Dragon", Keys.T, KeyBindType.Press));
                miscMenu.Add(new MenuKeyBind("sentinelBaron", "Send Sentinel to Baron", Keys.Y, KeyBindType.Press));
                miscMenu.Add(new MenuBool("useJungleSteal", "Use Jungle Steal", true));
                miscMenu.Add(
                    new MenuList<string>(
                        "stealMode",
                        "Jungle Steal Mode",
                        new[] { "Both", "Jungle Minions", "Super / Siege Minions" }));
                RootMenu.Add(miscMenu);
            }

            var fleeMenu = new Menu("com.kalista.flee", "Flee Options");
            {
                fleeMenu.Add(new MenuKeyBind("fleeActive", "Flee Key", Keys.V, KeyBindType.Press));
                fleeMenu.Add(new MenuSeparator("sep", "-"));
                fleeMenu.Add(new MenuBool("wallJump", "Try Wall Jump", true));
                fleeMenu.Add(new MenuBool("aaFlee", "Use Auto Attacks", true));
                RootMenu.Add(fleeMenu);
            }

            var drawingMenu = new Menu("com.kalista.drawing", "Drawing Options");
            {
                drawingMenu.Add(new MenuBool("drawQ", "Draw Q Range"));
                drawingMenu.Add(new MenuBool("drawE", "Draw E Range"));
                drawingMenu.Add(new MenuBool("drawELeaving", "Draw E Range Leaving"));
                drawingMenu.Add(new MenuBool("drawPercentage", "Draw E Damage Percentage"));
                RootMenu.Add(drawingMenu);
            }

            RootMenu.Attach();
        }
Esempio n. 20
0
        private static void OnLoad(object sender, EventArgs e)
        {
            var plugin = Type.GetType("BadaoAIO.Plugin." + Player.ChampionName);
            if (plugin == null)
            {
                AddUI.Notif(Player.ChampionName + ": Not Supported !",10000);
                return;
            }
            AddUI.Notif(Player.ChampionName + ": Loaded !",10000);
            Bootstrap.Init(null);
            if (Player.ChampionName == "Rammus")
            {
                LeagueSharp.SDK.Core.Orbwalker.Enabled = false;
                Menu Orb = new Menu("Orbwalker", "Orbwalker", true).Attach();
                Orbwalker.Orbwalker.Initialize(Orb);
            }
            Bilgewater = new Items.Item(ItemId.Bilgewater_Cutlass, 550);
            BotRK = new Items.Item(ItemId.Blade_of_the_Ruined_King, 550);
            Youmuu = new Items.Item(ItemId.Youmuus_Ghostblade, 0);
            Tiamat = new Items.Item(ItemId.Tiamat_Melee_Only, 400);
            Hydra = new Items.Item(ItemId.Ravenous_Hydra_Melee_Only, 400);
            Sheen = new Items.Item(ItemId.Sheen,0);
            LichBane = new Items.Item(ItemId.Lich_Bane, 0);
            TrinityForce = new Items.Item(ItemId.Trinity_Force, 0);
            IcebornGauntlet = new Items.Item(ItemId.Iceborn_Gauntlet, 0);
            LudensEcho = new Items.Item(ItemId.Ludens_Echo, 0);

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

            MainMenu = new Menu("BadaoAIO", "BadaoAIO", true, Player.ChampionName);
            AddUI.Bool(MainMenu, "Enable", Player.ChampionName + " Enable", true);
            MainMenu.Attach();
            MainMenu.MenuValueChanged += MainMenu_MenuValueChanged;
            NewInstance(plugin);
        }
Esempio n. 21
0
        public static void OnLoad(object sender, EventArgs e)
        {
            Q = new Spell(SpellSlot.Q, 1175);
            W = new Spell(SpellSlot.W, 1075);
            E = new Spell(SpellSlot.E, 1100);
            R = new Spell(SpellSlot.R, 3250);

            Q.SetSkillshot(0.25f, 110f, 1300f, false, SkillshotType.SkillshotLine);
            W.SetSkillshot(0.25f, 110f, 1200f, false, SkillshotType.SkillshotLine);
            E.SetSkillshot(0.25f, 280f, 1300f, false, SkillshotType.SkillshotCircle);
            R.SetSkillshot(1.35f, 190f, 5000000, false, SkillshotType.SkillshotLine);

            Config = new Menu("Mighty Lux", "Mighty Lux", true);
            Config.Add(new MenuSeparator("Mighty Lux", "Mighty Lux"));
            Bootstrap.Init(new string[] {});

            var spell = Config.Add(new Menu("spell", "Combo Settings"));
            var combo = Config.Add(new Menu("combo", "Spell Settings"));

            spell.Add(new MenuSeparator("Combo Menu", "Combo Menu"));
            spell.Add(new MenuBool("UseQ", "Use Q", true));
            spell.Add(new MenuBool("UseE", "Use E", true));
            spell.Add(new MenuBool("UseR", "Use R", true));

            combo.Add(new MenuSeparator("Advanced Q Settings", "Advanced Q Settings"));
            combo.Add(new MenuBool("AutoQcc", "Auto [Q] on CC'd enemies", true));
            combo.Add(new MenuSeparator("Advanced W Settings", "Advanced W Settings"));
            combo.Add(new MenuBool("AutoWturret", "Auto [W] on Turret Shots", true));
            combo.Add(new MenuSeparator("Advanced R Settings", "Advanced R Settings"));
            combo.Add(new MenuKeyBind("forceR", "Semi-Manual [R] cast", Keys.R, KeyBindType.Press));
            combo.Add(new MenuBool("UseRF", "Use [R] to Finish off enemies", true));
            combo.Add((new MenuBool("useraoe", "Use [R] if it will hit X amount of Enemies", true)));
            combo.Add((new MenuSlider("raoeslider", "Enemy Count", 4, 0, 5)));

            combo.Add(new MenuSeparator("Killsteal Settings", "Killsteal Settings"));
            combo.Add((new MenuBool("UseQKS", "Use [Q] for Killstealing", true)));
            combo.Add((new MenuBool("UseRKS", "Use [R] for Killstealing", true)));
            combo.Add(new MenuBool("UseEKS", "Use [E] for Killstealing", true));

            //Prediction
            combo.Add(new MenuSeparator("science", "Prediction Settings"));
            combo.Add(new MenuList<string>("hitchanceQ", "[Q] Hitchance",
                objects: new[] { "High", "Medium", "Low", "VeryHigh" }));
            combo.Add(new MenuList<string>("hitchanceE", "[E] Hitchance",
                objects: new[] { "High", "Medium", "Low", "VeryHigh" }));
            combo.Add(new MenuList<string>("hitchanceR", "[R] Hitchance",
                objects: new[] { "High", "Medium", "Low", "VeryHigh" }));

            var harass = Config.Add(new Menu("harass", "Harass Settings"));
            harass.Add(new MenuSeparator("Harass Menu", "Harass Menu"));
            harass.Add(new MenuBool("harrQ", "Use Q", true));
            harass.Add(new MenuBool("harrE", "Use E", true));
            harass.Add(new MenuSlider("harassmana", "Mana Percentage", 65, 0, 100));

            var laneclear = Config.Add(new Menu("laneclear", "Laneclear Settings"));
            laneclear.Add(new MenuSeparator("Laneclear Menu", "Laneclear Menu"));
            laneclear.Add(new MenuBool("laneQ", "Use Q", true));
            laneclear.Add(new MenuBool("laneE", "Use E", true));
            laneclear.Add(new MenuSeparator("[E] Settings", "[E] Settings"));
            laneclear.Add(new MenuSlider("laneclearEcount", "Minion Count", 2, 0, 10));
            laneclear.Add(new MenuSeparator("[Q] Settings", "[Q] Settings"));
            laneclear.Add(new MenuSlider("laneclearQcount", "Minion Count", 2, 0, 10));
            laneclear.Add(new MenuSeparator("Misc Settings", "Misc Settings"));
            laneclear.Add(new MenuSlider("lanemana", "Mana Percentage", 65, 0, 100));
            laneclear.Add(new MenuSlider("lanelevel", "Don't use Abilities till level", 8, 0, 18));

            var jungle = Config.Add(new Menu("jungle", "Junglesteal Settings"));
            jungle.Add(new MenuSeparator("Jungle Settings", "Junglesteal Settings"));
            jungle.Add(new MenuKeyBind("toggle", "Junglesteal with [R] (TOGGLE)", Keys.K, KeyBindType.Toggle));
            jungle.Add(new MenuBool("blue", "Blue buff", true));
            jungle.Add(new MenuBool("red", "Red buff", true));
            jungle.Add(new MenuBool("dragon", "Dragon", true));
            jungle.Add(new MenuBool("baron", "Baron", true));
            jungle.Add(new MenuList<string>("jungleteam", "[BROKEN/NOT WORKING]",  new[] {"Enemy", "Ally"}));

            var misc = Config.Add(new Menu("misc", "Sound Settings"));
            misc.Add(new MenuSeparator("sound", "Sound Settings"));
            misc.Add(new MenuBool("rsound", "Enable [R] Cast Sound Effect", true));

            var drawing = Config.Add(new Menu("draw", "Draw Settings"));
            var utility = Config.Add(new Menu("util", "Utility Drawings"));
            drawing.Add(new MenuSeparator("Draw Menu", "Draw Menu"));
            drawing.Add(new MenuBool("disable", "Disable all drawings", false));
            drawing.Add(new MenuList<string>("drawmode", "Drawing Mode:",  new[] {"Normal", "Custom"}));
            drawing.Add(new MenuBool("disableq", "[Q] draw", true));
            drawing.Add(new MenuBool("disablew", "[W] draw", true));
            drawing.Add(new MenuBool("disablee", "[E] draw", true));
            drawing.Add(new MenuBool("disabler", "[R] draw", true));
            drawing.Add(new MenuSeparator("Color Settings", "Color Settings"));

            //I'll call your parents if you copy this. KappaHD
            //Do you need an Onii-chan or a Senpai? Feel free to contact me on Skype: djkleeven
            drawing.Add(new MenuColor("drawq", "[Q] Range Draw Color", new ColorBGRA(32, 20, 10, 255)));
            drawing.Add(new MenuColor("draww", "[W] Range Draw Color", new ColorBGRA(32, 20, 10, 255)));
            drawing.Add(new MenuColor("drawe", "[E] Range Draw Color", new ColorBGRA(32, 20, 10, 255)));
            drawing.Add(new MenuColor("drawr", "[R] Range Draw Color", new ColorBGRA(32, 20, 10, 255)));

            utility.Add(new MenuSeparator("Utility Drawings", "Utility Drawings"));

            utility.Add(new MenuList<string>("dmgdrawer", "Damage Indicator",  new[] { "Custom", "SDK" }));
            utility.Add(new MenuColor("dmgcolor", "Damage Indicator Color", new ColorBGRA(32, 155, 120, 255)));
            utility.Add(new MenuBool("drawRdmg", "Draw [R] Damage Indicator", true));
               // utility.Add(new MenuColor("rdmgcolor", "Damage Indicator Color", new ColorBGRA(32, 155, 120, 255)));
              //  utility.Add(new MenuBool("HUD", "Heads-Up Display", true));
            utility.Add(new MenuBool("indicator", "Enemy Indicator", true));
            utility.Add(new MenuBool("orbmode", "Draw Active Orbwalk Mode", true));

            Config.Add(new MenuButton("resetAll", "Settings", "Reset All Settings")
            {
                Action = () =>
                {
                    Config.RestoreDefault();
                }
            });

            Config.Attach();
            //Drawings.DrawEvent();
            Dash.OnDash += AntiGapcloser;
            Game.OnUpdate += OnUpdate;
            GameObject.OnDelete += GameObject_OnDelete;
            GameObject.OnCreate += GameObject_OnCreate;
            Obj_AI_Turret.OnAggro += Turretaggro;
            Obj_AI_Base.OnProcessSpellCast += TurretOnProcessSpellCast;
            Drawing.OnDraw += MiscDrawings;
            Drawings.DrawEvent();
        }