Example #1
0
        public ChampionStuff()
        {
            MenuHarass = MenuHero.Add(new LeagueSharp.SDK.UI.Menu("MenuHarass", "Harass list"));
            foreach (var enemy in ObjectManager.Get <Obj_AI_Hero>().Where(h => h.IsEnemy))
            {
                MenuHarass.Add(new MenuBool("H" + enemy.ChampionName, enemy.ChampionName, true));
            }

            MenuFarm.Add(new MenuKeyBind("Farm", "Lane Clear", Keys.N, KeyBindType.Toggle));

            MenuAdvance = MainMenu.Add(new LeagueSharp.SDK.UI.Menu("adv", "Advanced options"));
            MenuAdvance.Add(new MenuBool("mana", "Disable mana manager in combo", false));
            MenuAdvance.Add(new MenuBool("support", "Support Mode", false));
            MenuAdvance.Add(new MenuBool("comboAa", "Disable auto-attack in combo mode", false));
            Game.OnWndProc     += Game_OnWndProc;
            Orbwalker.OnAction += OnAction;
        }
Example #2
0
        public Jinx()
        {
            Q = new Spell(SpellSlot.Q);
            W = new Spell(SpellSlot.W, 1500f);
            E = new Spell(SpellSlot.E, 920f);
            R = new Spell(SpellSlot.R, 3000f);
            W.SetSkillshot(0.6f, 60f, 3300f, true, SkillshotType.SkillshotLine);
            E.SetSkillshot(1.2f, 100f, 1750f, false, SkillshotType.SkillshotCircle);
            R.SetSkillshot(0.7f, 140f, 1500f, false, SkillshotType.SkillshotLine);


            MenuHero = MainMenu.Add(new Menu("MenuHero", Player.ChampionName));
            MenuDraw = MenuHero.Add(new Menu("MenuDraw", "Draw"));
            MenuDraw.Add(new MenuBool("Q", "Q range", true));
            MenuDraw.Add(new MenuBool("W", "W range", true));
            MenuDraw.Add(new MenuBool("E", "E range", true));
            MenuDraw.Add(new MenuBool("R", "R range", true));

            MenuQ = MenuHero.Add(new Menu("MenuQ", "Q Config"));
            MenuQ.Add(new MenuBool("Auto", "Auto", true));
            MenuQ.Add(new MenuBool("Mix", "Mix", true));

            MenuW = MenuHero.Add(new Menu("MenuW", "W Config"));
            MenuW.Add(new MenuBool("Auto", "Auto", true));
            MenuW.Add(new MenuBool("Mix", "Mix", true));
            MenuE = MenuHero.Add(new Menu("MenuE", "E Config"));
            MenuE.Add(new MenuBool("Auto", "Auto", true));
            MenuE.Add(new MenuBool("telE", "Auto E on teleport", true));
            MenuE.Add(new MenuBool("comboE", "Auto E combo logic", true));

            MenuR = MenuHero.Add(new Menu("MenuR", "R Config"));
            MenuR.Add(new MenuBool("Auto", "Auto", true));
            MenuR.Add(new MenuBool("Rturrent", "Don't R under turret", true));
            MenuR.Add(new MenuKeyBind("cast", "Lane Clear", System.Windows.Forms.Keys.T, KeyBindType.Toggle));

            MenuFarm = MenuHero.Add(new Menu("MenuFarm", "Farm"));
            MenuFarm.Add(new MenuSlider("Mana", "LaneClear mana ", 50));
            MenuFarm.Add(new MenuBool("Q", "Farm Q", true));

            Orbwalker.OnAction += OnAction;
            Game.OnUpdate      += Game_OnUpdate;
        }