Beispiel #1
1
        public static void Game_OnGameLoad()
        {
            if (ObjectManager.Player.BaseSkinName != "Sion")
            {
                return;
            }

            //Spells
            Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 1050);
            Q.SetSkillshot(0.6f, 100f, float.MaxValue, false, SkillshotType.SkillshotLine);
            Q.SetCharged("SionQ", "SionQ", 500, 720, 0.5f);

            E = new LeagueSharp.Common.Spell(SpellSlot.E, 800);
            E.SetSkillshot(0.25f, 80f, 1800, false, SkillshotType.SkillshotLine);

            //Make the menu
            Config = MainMenu.AddMenu("Sion", "Sion");

            comboMenu = Config.AddSubMenu("Combo", "Combo");
            comboMenu.Add("UseQCombo", new CheckBox("Use Q"));
            comboMenu.Add("UseWCombo", new CheckBox("Use W"));
            comboMenu.Add("UseECombo", new CheckBox("Use E"));

            Game.OnUpdate += Game_OnGameUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
            Obj_AI_Base.OnProcessSpellCast += ObjAiHeroOnOnProcessSpellCast;
        }
Beispiel #2
0
        public static void Init(Menu mainMenu)
        {
            MenuLocal = mainMenu.AddSubMenu("Lane", "Lane");
            {
                MenuLocal.Add("Lane.LaneQuick", new KeyBind("Fast Lane Clear Mode:", false, KeyBind.BindTypes.PressToggle, 'T'));
                MenuLocal.Add("Lane.UseQ", new ComboBox("Q Last Hit:", 1, "Off", "On"));

                string[] strW = new string[6];
                {
                    strW[0] = "Off";
                    for (var i = 1; i < 6; i++)
                    {
                        strW[i] = "If need to AA count >= " + (i + 3);
                    }
                    MenuLocal.Add("Lane.UseW", new ComboBox("W:", 4, strW));
                }

                MenuLocal.Add("Lane.UseE", new ComboBox("E:", 1, "Off", "On: Last hit"));
                MenuLocal.Add("Lane.Item", new ComboBox("Items:", 1, "Off", "On"));
                MenuLocal.Add("Lane.MinMana.Alone", new Slider("Min. Mana: I'm Alone %", 30, 0, 100));
                MenuLocal.Add("Lane.MinMana.Enemy", new Slider("Min. Mana: I'm NOT Alone (Enemy Close) %", 60));
            }

            Game.OnUpdate += OnUpdate;
        }
Beispiel #3
0
        /// <summary>
        ///     Creates the menu.
        /// </summary>
        public void CreateMenu()
        {
            buffMenu = this.Menu.AddSubMenu("Buff Stealing Settings", "BuffStealSettings");
            AddSpellsToMenu(buffMenu, "BuffSteal");
            buffMenu.Add("StealBlueBuff", new CheckBox("Steal Blue Buff"));
            buffMenu.Add("StealRedBuff", new CheckBox("Steal Red Buff"));
            buffMenu.Add("StealAllyBuffs", new CheckBox("Steal Ally Buffs", false));

            objectiveMenu = this.Menu.AddSubMenu("Objective Stealing Settings", "ObjectiveStealSettings");
            AddSpellsToMenu(objectiveMenu, "ObjectiveSteal");
            objectiveMenu.Add("StealBaron", new CheckBox("Steal Baron"));
            objectiveMenu.Add("StealDragon", new CheckBox("Steal Dragon"));
            objectiveMenu.Add("SmartObjectiveSteal", new CheckBox("Smart Objective Steal"));
            objectiveMenu.Add("StealObjectiveKeyBind", new KeyBind("Steal Objectives", false, KeyBind.BindTypes.HoldActive, 90));

            ksMenu = this.Menu.AddSubMenu("Kill Stealing Settings", "KillStealingSettings");
            ksMenu.AddGroupLabel("KS Champs : ");
            HeroManager.Enemies.ForEach(x => ksMenu.Add("KS" + x.ChampionName, new CheckBox("KS : " + x.ChampionName)));
            AddSpellsToMenu(ksMenu, "KS");
            ksMenu.Add("DontStealOnCombo", new CheckBox("Dont Steal if Combo'ing"));

            miscMenu = this.Menu.AddSubMenu("Miscellaneous Settings", "MiscSettings");
            miscMenu.Add("ETALimit", new Slider("Missile Arrival Time Limit (MS)", 3000, 0, 15000));
            miscMenu.Add("DistanceLimit", new Slider("Distance Limit", 5000, 0, 15000));
            miscMenu.Add("StealFOW", new CheckBox("Steal in FOW", false));
            miscMenu.Add("DrawADPS", new CheckBox("Draw Average DPS"));
        }
Beispiel #4
0
        public static void Initialize()
        {
            _spells = EloBuddy.SDK.Spells.SpellDatabase.GetSpellInfoList(MyHero.BaseSkinName);

            #region Initialize Menu
            Config = MainMenu.AddMenu("EBPredictioner", "asdasdasdsad");
            Config.AddGroupLabel("Taken logic from AIMBot, huge credits to iCreative.");
            Config.Add("ENABLED", new CheckBox("Enabled"));
            //Config.Add("SPREDHITC", new ComboBox("HitChance", 0, "High", "Medium", "Low"));
            Config.Add("SPREDHITC", new Slider("HitChance", 60));
            Config.AddSeparator();

            #region Initialize Spells
            Config.AddGroupLabel("Skillshots");
            var slots = new HashSet<SpellSlot>();
            foreach (var info in _spells)
            {
                slots.Add(info.Slot);
            }
            foreach (var slot in slots)
            {
                if (Config[String.Format("{0}{1}", ObjectManager.Player.ChampionName, slot)] == null)
                {
                    Config.Add(String.Format("{0}{1}", ObjectManager.Player.ChampionName, slot), new CheckBox("Convert Spell " + slot.ToString()));
                }
            }
            #endregion
            #endregion

            #region Initialize Events
            Spellbook.OnCastSpell += EventHandlers.Spellbook_OnCastSpell;
            AIHeroClient.OnProcessSpellCast += EventHandlers.Obj_AI_Hero_OnProcessSpellCast;
            Game.OnTick += Game_OnTick;
            #endregion
        }
Beispiel #5
0
        public static void Init(Menu nParentMenu)
        {
            MenuCastSettings = nParentMenu.AddSubMenu("Spell Cast:", "MenuSettings.CastDelay");
            {
                string[] strQ = new string[1000/250];
                for (float i = 250; i <= 1000; i += 250)
                {
                    strQ[(int) (i/250 - 1)] = (i/1000) + " sec. ";
                }
                MenuCastSettings.Add("Settings.SpellCast.VisibleDelay", new ComboBox("Cast Delay: Instatly Visible Enemy", 2, strQ));
                MenuCastSettings.Add("Settings.SpellCast.Default", new CheckBox("Load Recommended Settings"))
                    .OnValueChange += (sender, args) =>
                    {
                        if (args.NewValue)
                        {
                            LoadDefaultCastDelaySettings();
                        }
                    };
            }

            MenuHitchanceSettings = nParentMenu.AddSubMenu("Hitchance:", "MenuSettings.Hitchance");
            {
                string[] nHitchanceList = new[] { "Medium", "High", "VeryHigh" };

                MenuHitchanceSettings.Add("MenuSettings.Hitchance.Q", new ComboBox("Q Hitchance:", 1, nHitchanceList));
                MenuHitchanceSettings.Add("MenuSettings.Hitchance.W", new ComboBox("W Hitchance:", 1, nHitchanceList));
                MenuHitchanceSettings.Add("MenuSettings.Hitchance.E", new ComboBox("E Hitchance:", 1, nHitchanceList));
                MenuHitchanceSettings.Add("MenuSettings.Hitchance.R", new ComboBox("R Hitchance:", 1, nHitchanceList));
            }
        }
Beispiel #6
0
        public static void Generate()
        {
            Variables.Menu = MainMenu.AddMenu("iLucian", "com.ilucian");

            comboOptions = Variables.Menu.AddSubMenu(":: iLucian - Combo Options", "com.ilucian.combo");
            comboOptions.Add("com.ilucian.combo.q", new CheckBox("Use Q", true));
            comboOptions.Add("com.ilucian.combo.qExtended", new CheckBox("Use Extended Q", true));
            comboOptions.Add("com.ilucian.combo.w", new CheckBox("Use W", true));
            comboOptions.Add("com.ilucian.combo.e", new CheckBox("Use E", true));
            comboOptions.Add("com.ilucian.combo.eMode", new ComboBox("E Mode", 0, "Kite", "Side", "Cursor", "Enemy"));

            harassOptions = Variables.Menu.AddSubMenu(":: iLucian - Harass Options", "com.ilucian.harass");
            harassOptions.Add("com.ilucian.harass.q", new CheckBox("Use Q", true));
            harassOptions.Add("com.ilucian.harass.qExtended", new CheckBox("Use Extended Q", true));
            harassOptions.Add("com.ilucian.harass.w", new CheckBox("Use W", true));

            laneclearOptions = Variables.Menu.AddSubMenu(":: iLucian - Laneclear Options", "com.ilucian.laneclear");
            laneclearOptions.Add("com.ilucian.laneclear.q", new CheckBox("Use Q", true));
            laneclearOptions.Add("com.ilucian.laneclear.qMinions", new Slider("Cast Q on x minions", 3, 1, 10));

            miscOptions = Variables.Menu.AddSubMenu(":: iLucian - Misc Options", "com.ilucian.misc");
            miscOptions.Add("com.ilucian.misc.usePrediction", new CheckBox("Use W Pred", true));
            miscOptions.Add("com.ilucian.misc.gapcloser", new CheckBox("Use E For Gapcloser", true));
            miscOptions.Add("com.ilucian.misc.eqKs", new CheckBox("EQ - Killsteal", true));
        }
Beispiel #7
0
        public static void Init(Menu mainMenu)
        {
            MenuLocal = mainMenu.AddSubMenu("Lane", "Lane");
            {
                string[] strQ = new string[6];
                {
                    strQ[0] = "Off";
                    strQ[1] = "Just for out of AA range";
                    for (var i = 2; i < 6; i++)
                    {
                        strQ[i] = "Minion Count >= " + i;
                    }
                    MenuLocal.Add("Lane.UseQ", new ComboBox("Q:", 1, strQ));
                    MenuLocal.Add("Lane.UseQ.Mode", new ComboBox("Q: Cast Mode:", 1, "Cast for Hit", "Cast for Kill"));
                }

                string[] strW = new string[6];
                {
                    strW[0] = "Off";
                    for (var i = 1; i < 6; i++)
                    {
                        strW[i] = "If need to AA count >= " + (i + 3);
                    }
                    MenuLocal.Add("Lane.UseW", new ComboBox("W:", 1, strW));
                }

                MenuLocal.Add("Lane.UseE", new ComboBox("E:", 1, "Off", "On: Last hit", "On: Health Prediction", "Both"));

                MenuLocal.Add("Lane.Item", new ComboBox("Items:", 1, "Off", "On"));
            }

            Game.OnUpdate += OnUpdate;
        }
Beispiel #8
0
        public static void Initialize()
        {
            #region Initialize Menu
            Config = MainMenu.AddMenu("SDKPredictioner", "sdkpaksldjaskdjlkasjdk");
            Config.Add("ENABLED", new CheckBox("Enabled"));
            Config.Add("SPREDHITC", new ComboBox("HitChance", 1, "Very High", "High", "Medium"));
            Config.AddSeparator();
            #region Initialize Spells
            Config.AddGroupLabel("Skillshots");
            foreach (var spell in SpellDatabase.Spells)
            {
                if (spell.ChampionName == ObjectManager.Player.CharData.BaseSkinName && Config[String.Format("{0}{1}", ObjectManager.Player.ChampionName, spell.Slot)] == null)
                {
                    Spells[(int)spell.Slot] = new Spell(spell.Slot, spell.Range);
                    Spells[(int)spell.Slot].SetSkillshot(spell.Delay / 1000f, spell.Radius, spell.MissileSpeed, spell.Collisionable, spell.Type);
                    Config.Add(String.Format("{0}{1}", ObjectManager.Player.ChampionName, spell.Slot), new CheckBox("Convert Spell " + spell.Slot.ToString()));
                }
            }
            #endregion
            #endregion

            #region Initialize Events
            Spellbook.OnCastSpell += EventHandlers.Spellbook_OnCastSpell;
            AIHeroClient.OnProcessSpellCast += EventHandlers.Obj_AI_Hero_OnProcessSpellCast;
            #endregion
        }
Beispiel #9
0
        public void Load()
        {
            _mainMenu = MainMenu.AddMenu("The Cheater", "thecheater");
            var detectionType = _mainMenu.Add("detection", new ComboBox("Detection", 0, "Preferred", "Safe", "AntiHumanizer"));
            detectionType.OnValueChange += (sender, args) =>
            {
                foreach (var detector in _detectors)
                {
                    detector.Value.ForEach(item => item.ApplySetting((DetectorSetting)args.NewValue));
                }
            };
            _mainMenu.Add("enabled", new CheckBox("Enabled"));
            _mainMenu.Add("drawing", new CheckBox("Drawing"));

            var posX = _mainMenu.Add("positionx", new Slider("Position X", Drawing.Width - 270, 0, Drawing.Width - 20));
            var posY = _mainMenu.Add("positiony", new Slider("Position Y", Drawing.Height / 2, 0, Drawing.Height - 20));

            posX.OnValueChange += (sender, args) => _screenPos.X = args.NewValue;
            posY.OnValueChange += (sender, args) => _screenPos.Y = args.NewValue;

            _screenPos.X = posX.Cast<Slider>().CurrentValue;
            _screenPos.Y = posY.Cast<Slider>().CurrentValue;

            Obj_AI_Base.OnNewPath += OnNewPath;
            Drawing.OnDraw += Draw;
        }
Beispiel #10
0
        public static void LoadMenu()
        {
            Menu = MainMenu.AddMenu("iTwitch 2.0", "com.itwitch");

            comboOptions = Menu.AddSubMenu("iTwitch 2.0 - Combo", "com.itwitch.combo");
            comboOptions.Add("com.itwitch.combo.useW", new CheckBox("Use W", true));
            comboOptions.Add("com.itwitch.combo.useEKillable", new CheckBox("Use E Killable", true));

            harassOptions = Menu.AddSubMenu("iTwitch 2.0 - Harass", "com.itwitch.harass");
            harassOptions.Add("com.itwitch.harass.useW", new CheckBox("Use W", true));
            harassOptions.Add("com.itwitch.harass.useEKillable", new CheckBox("Use E", true));

            miscOptions = Menu.AddSubMenu("iTwitch 2.0 - Misc", "com.itwitch.misc");
            miscOptions.Add("com.itwitch.misc.autoYo", new CheckBox("Youmuus with R", true));
            miscOptions.Add("com.itwitch.misc.noWTurret", new CheckBox("Don't W Under Tower", true));
            miscOptions.Add("com.itwitch.misc.noWAA", new Slider("No W if x aa can kill", 2, 0, 10));
            miscOptions.Add("com.itwitch.misc.saveManaE", new CheckBox("Save Mana for E", true));
            miscOptions.Add("com.itwitch.misc.recall", new KeyBind("Stealth Recall", false, KeyBind.BindTypes.HoldActive, 'T'));

            drawOptions = Menu.AddSubMenu("iTwitch 2.0 - Drawing", "com.itwitch.drawing");
            drawOptions.Add("com.itwitch.drawing.drawERange", new CheckBox("Draw E Range", true));
            drawOptions.Add("com.itwitch.drawing.drawRRange", new CheckBox("Draw R Range", true));
            drawOptions.Add("com.itwitch.drawing.drawQTime", new CheckBox("Draw Q Time", true));
            drawOptions.Add("com.itwitch.drawing.drawEStacks", new CheckBox("Draw E Stacks", true));
            drawOptions.Add("com.itwitch.drawing.drawEStackT", new CheckBox("Draw E Stack Time", true));
            drawOptions.Add("com.itwitch.drawing.drawRTime", new CheckBox("Draw R Time", true));
            drawOptions.Add("com.itwitch.drawing.eDamage", new CheckBox("Draw E Damage on Enemies", true));
        }
Beispiel #11
0
        public static void Game_OnGameLoad()
        {
            if (Player.ChampionName != "Thresh") return;
            FlashSlot = Player.GetSpellSlot("SummonerFlash");

            Q = new Spell(SpellSlot.Q, 1100);
            Q2 = new Spell(SpellSlot.Q, 1400);
            W = new Spell(SpellSlot.W, 950);
            E = new Spell(SpellSlot.E, 400);
            R = new Spell(SpellSlot.R, 450);

            Q.SetSkillshot(0.500f, 70, 1900f, true, SkillshotType.SkillshotLine);
            Q2.SetSkillshot(0.500f, 70, 1900f, true, SkillshotType.SkillshotLine);

            Config = MainMenu.AddMenu("Thresh", "thresh_menu");

            comboMenu = Config.AddSubMenu("Combo", "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("EPush", new CheckBox("E Push/Pull(on/off)"));

            harassMenu = Config.AddSubMenu("Harass", "Harass");
            harassMenu.Add("UseQHarass", new CheckBox("Use Q"));
            harassMenu.Add("UseEHarass", new CheckBox("Use E"));

            flayMenu = Config.AddSubMenu("Flay", "Flay");
            flayMenu.Add("Push", new KeyBind("Push", false, KeyBind.BindTypes.HoldActive, 'I'));
            flayMenu.Add("Pull", new KeyBind("Pull", false, KeyBind.BindTypes.HoldActive, 'U'));

            miscMenu = Config.AddSubMenu("Misc", "Misc");
            miscMenu.Add("FlashQCombo", new KeyBind("Flash + Hook", false, KeyBind.BindTypes.HoldActive, 'G'));
            miscMenu.Add("EInterrupt", new CheckBox("Interrupt Spells with E"));
            miscMenu.Add("EGapCloser", new CheckBox("Auto use E away on Gap Closers"));
            miscMenu.Add("RGapCloser", new CheckBox("Auto use R on Gap Closers", false));

            lanternMenu = Config.AddSubMenu("Lantern Settings", "LanternSettings");
            lanternMenu.Add("ThrowLantern", new KeyBind("Throw Lantern to Ally", false, KeyBind.BindTypes.HoldActive, 'T'));
            lanternMenu.Add("ThrowLanternNear", new CheckBox("Prioritize Nearest Ally", true));
            lanternMenu.Add("ThrowLanternLife", new CheckBox("Prioritize Low Ally", false));

            drawMenu = Config.AddSubMenu("Drawings", "Drawings");
            drawMenu.Add("drawEnable", new CheckBox("Enable Drawing", true));
            drawMenu.Add("drawQpred", new CheckBox("Draw Q line prediction", true));
            drawMenu.Add("drawQ", new CheckBox("Draw Q", false));
            drawMenu.Add("drawW", new CheckBox("Draw W", false));
            drawMenu.Add("drawE", new CheckBox("Draw E", false));
            drawMenu.Add("drawR", new CheckBox("Draw R", false));

            debugMenu = Config.AddSubMenu("Debug", "Debug");
            debugMenu.Add("debugE", new CheckBox("Debug E", false));
            debugMenu.Add("debugFlash", new CheckBox("Debug flash+hook", false));

            Orbwalker.OnPreAttack += OnBeforeAttack; //You can use OnBeforeAttack event here instead of declaring new delegate in function
            Game.OnUpdate += OnGameUpdate;
            Drawing.OnDraw += OnDraw;
            AntiGapcloser.OnEnemyGapcloser += OnEnemyGapcloser;
            Interrupter2.OnInterruptableTarget += OnPossibleToInterrupt;
        }
Beispiel #12
0
 public override bool ComboMenu(Menu config)
 {
     config.Add("Combo.UseQ", new ComboBox("Use Q", 1, "Off", "Tumble to Mouse Cursor", "Just Complete 3rd Silver Buff Mark", "Marksman Settings"));
     config.Add("UseEC", new ComboBox("Use E", 1, "Off", "On", "Just Selected Target"));
     config.Add("FocusW", new CheckBox("Force Focus Marked Enemy"));
     return true;
 }
Beispiel #13
0
        public EarlyEvade()
        {
            this.Load();

            EE = root.AddSubMenu("Early Evade", "EarlyEvade");
            EE.Add("Enabled", new CheckBox("Enabled"));
            EE.Add("drawline", new CheckBox("Draw Line"));
            EE.Add("drawtext", new CheckBox("Draw Text"));

            foreach (var e in HeroManager.Enemies)
            {
                foreach (var eList in this.EarlyList)
                {
                    if (eList.ChampionName == e.ChampionName)
                    {
                        EE.Add(eList.ChampionName + eList.SpellName, new CheckBox(eList.ChampionName + eList.SpellName));
                    }

                    if (e.ChampionName == "Vayne")
                    {
                        EE.Add("VayneE", new CheckBox("Vayne E"));
                    }
                }
            }

            Drawing.OnDraw += Drawing_OnDraw;
        }
Beispiel #14
0
        public static void Init(Menu ParentMenu)
        {
            MenuLocal = ParentMenu.AddSubMenu("Flee", "Flee");
            {
                MenuLocal.Add("Flee.UseW", new CheckBox("W:"));
                MenuLocal.Add("Flee.UseR", new CheckBox("R:"));
                MenuLocal.Add("Flee.DrawMouse", new CheckBox("Show Mouse Cursor Position:"));
            }

            Game.OnUpdate += OnUpdate;
            Drawing.OnDraw += delegate(EventArgs args)
            {
                if (!Modes.ModeDraw.MenuLocal["Draw.Enable"].Cast<CheckBox>().CurrentValue)
                {
                    return;
                }

                if (!PortAIO.OrbwalkerManager.isFleeActive)
                {
                    return;
                }

                if (MenuLocal["Flee.DrawMouse"].Cast<CheckBox>().CurrentValue)
                {
                    Render.Circle.DrawCircle(Game.CursorPos, 150f, System.Drawing.Color.Red);
                }
            };
        }
Beispiel #15
0
        public static void Load()
        {
            ks = Menu.AddSubMenu("KillSteal", "KillSteal");
            ks.Add("SpellsKS", new CheckBox("KS Spells"));
            ks.Add("ComboSmite", new CheckBox("Smite"));
            ks.Add("ComboIgnite", new CheckBox("Ignite"));

            jngl = Menu.AddSubMenu("Jungle", "Jungle");
            jngl.Add("jnglQ", new Slider("Use Javelin Mana %", 15, 0, 100));
            jngl.Add("jnglHeal", new Slider("Auto Heal", 15, 0, 95));

            heal = Menu.AddSubMenu("Heal", "Heal Manager");
            heal.Add("allyHeal", new Slider("Heal Allies Hp <= %", 45, 0, 80));
            heal.Add("SelfHeal", new Slider("Self Heal Hp <= %", 80, 0, 90));
            heal.Add("ManaHeal", new Slider("Mana <= %", 20, 0, 100));

            misc = Menu.AddSubMenu("Misc", "Misc");
            misc.Add("Gapcloser", new CheckBox("Gapcloser"));
            misc.Add("manaW", new Slider("Use W Mana %", 15, 0, 100));

            draw = Menu.AddSubMenu("Draw", "Draw");
            draw.Add("dind", new CheckBox("Draw damage indicator"));
            draw.Add("EngageDraw", new CheckBox("Engage Range"));
            draw.Add("fleeDraw", new CheckBox("Draw Flee Spots"));

            flee = Menu.AddSubMenu("Flee", "Flee");
            flee.Add("FleeMouse", new KeyBind("Flee (BETA)", false, KeyBind.BindTypes.HoldActive, 'A'));
        }
Beispiel #16
0
 public override bool DrawingMenu(Menu config)
 {
     config.Add("DrawQ", new CheckBox("Q range"));//.SetValue(new Circle(true, Color.FromArgb(100, 255, 0, 255))));
     config.Add("DrawW", new CheckBox("W range"));//.SetValue(new Circle(true, Color.FromArgb(100, 255, 0, 255))));
     config.Add("DrawE", new CheckBox("E range"));//.SetValue(new Circle(true, Color.FromArgb(100, 255, 0, 255))));
     return true;
 }
Beispiel #17
0
        public static void LoadOKTW()
        {
            Q = new LeagueSharp.Common.Spell(SpellSlot.Q, 980);
            W = new LeagueSharp.Common.Spell(SpellSlot.W, 1000);
            E = new LeagueSharp.Common.Spell(SpellSlot.E, 1200);
            R = new LeagueSharp.Common.Spell(SpellSlot.R, 1800);

            Q.SetSkillshot(0.25f, 50f, 2000f, true, SkillshotType.SkillshotLine);
            E.SetSkillshot(0.25f, 120f, 1400f, false, SkillshotType.SkillshotLine);
            R.SetSkillshot(1.2f, 120f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            qMenu = Config.AddSubMenu("Q Config");
            qMenu.Add("autoQ", new CheckBox("Auto Q", true));
            qMenu.Add("harrasQ", new CheckBox("Harass Q", true));

            eMenu = Config.AddSubMenu("E Config");
            eMenu.Add("autoE", new CheckBox("Auto E", true));
            eMenu.Add("HarrasE", new CheckBox("Harass E", true));
            eMenu.Add("AGC", new CheckBox("AntiGapcloserE", true));

            wMenu = Config.AddSubMenu("W Config");
            wMenu.Add("autoW", new CheckBox("Auto W", true));
            wMenu.Add("harasW", new CheckBox("Harass W on max range", true));

            rMenu = Config.AddSubMenu("R Config");
            rMenu.Add("autoR", new CheckBox("Auto R", true));
            rMenu.Add("RmaxHp", new Slider("Target max % HP", 50, 0, 100));
            rMenu.Add("comboStack", new Slider("Max combo stack R", 2, 0, 10));
            rMenu.Add("harasStack", new Slider("Max haras stack R", 1, 0, 10));
            rMenu.Add("Rcc", new CheckBox("R cc", true));
            rMenu.Add("Rslow", new CheckBox("R slow", true));
            rMenu.Add("Raoe", new CheckBox("R aoe", true));
            rMenu.Add("Raa", new CheckBox("R only out off AA range", false));

            drawMenu = Config.AddSubMenu("Drawings");
            drawMenu.Add("ComboInfo", new CheckBox("R killable info", true));
            drawMenu.Add("qRange", new CheckBox("Q range", false));
            drawMenu.Add("wRange", new CheckBox("W range", false));
            drawMenu.Add("eRange", new CheckBox("E range", false));
            drawMenu.Add("rRange", new CheckBox("R range", false));
            drawMenu.Add("onlyRdy", new CheckBox("Draw only ready spells", true));

            miscMenu = Config.AddSubMenu("Misc Config");
            miscMenu.Add("sheen", new CheckBox("Sheen logic", true));
            miscMenu.Add("AApriority", new CheckBox("AA priority over spell", true));

            farmMenu = Config.AddSubMenu("Farm Config");
            farmMenu.Add("farmW", new CheckBox("LaneClear W", true));
            farmMenu.Add("farmE", new CheckBox("LaneClear E", true));
            farmMenu.Add("LCminions", new Slider("LaneClear minimum minions", 2, 0, 10));
            farmMenu.Add("Mana", new Slider("LaneClear Mana", 80, 0, 100));
            farmMenu.Add("jungleW", new CheckBox("Jungle clear W", true));
            farmMenu.Add("jungleE", new CheckBox("Jungle clear E", true));

            Game.OnUpdate += Game_OnUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
            LSEvents.BeforeAttack += BeforeAttack;
            LSEvents.AfterAttack += afterAttack;
            AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser;
        }
Beispiel #18
0
        private static void Game_OnGameLoad(EventArgs args)
        {
            Menu = MainMenu.AddMenu("Summoners", "Summoners");
            Menu.Add("SmiteManagerEnabled", new CheckBox("Load Smite Manager"));
            Menu.Add("IgniteManagerEnabled", new CheckBox("Load Ignite Manager"));

            var smite = ObjectManager.Player.Spellbook.Spells.FirstOrDefault(h => h.Name.ToLower().Contains("smite"));

            if (smite != null && !smite.Slot.Equals(SpellSlot.Unknown))
            {
                Smite = new LeagueSharp.Common.Spell(smite.Slot, 500);
                Smite.SetTargetted(.333f, 20);

                if (Menu["SmiteManagerEnabled"].Cast<CheckBox>().CurrentValue)
                {
                    SmiteManager.Initialize();
                }
            }

            var igniteSlot = ObjectManager.Player.GetSpellSlot("summonerdot");

            if (!igniteSlot.Equals(SpellSlot.Unknown))
            {
                Ignite = new LeagueSharp.Common.Spell(igniteSlot, 600);
                Ignite.SetTargetted(.172f, 20);

                if (Menu["IgniteManagerEnabled"].Cast<CheckBox>().CurrentValue)
                {
                    IgniteManager.Initialize();
                }
            }
        }
Beispiel #19
0
        public static void Game_OnGameLoad()
        {
            if (ObjectManager.Player.ChampionName != "TwistedFate") return;
            Player = ObjectManager.Player;
            Q = new Spell(SpellSlot.Q, 1450);
            Q.SetSkillshot(0.25f, 40f, 1000f, false, SkillshotType.SkillshotLine);

            W = new Spell(SpellSlot.W);

            //Make the menu
            Config = MainMenu.AddMenu("Twisted Fate", "TwistedFate");

            q = Config.AddSubMenu("Q - Wildcards", "Q");
            q.Add("AutoQI", new CheckBox("Auto-Q immobile"));
            q.Add("AutoQD", new CheckBox("Auto-Q dashing"));
            q.Add("CastQ", new KeyBind("Cast Q (tap)", false, KeyBind.BindTypes.HoldActive, 'U'));

            w = Config.AddSubMenu("W - Pick a card", "W");
            w.Add("SelectYellow", new KeyBind("Select Yellow", false, KeyBind.BindTypes.HoldActive, 'W'));
            w.Add("SelectBlue", new KeyBind("Select Blue", false, KeyBind.BindTypes.HoldActive, 'E'));
            w.Add("SelectRed", new KeyBind("Select Red", false, KeyBind.BindTypes.HoldActive, 'T'));

            laneclearMenu = Config.AddSubMenu("Laneclear", "laneclearset");
            laneclearMenu.Add("laneclearUseQ", new CheckBox("Use Q"));
            laneclearMenu.Add("laneclearQmana", new Slider("Cast Q If Mana % >", 50));
            laneclearMenu.Add("laneclearQmc", new Slider("Cast Q If Hit Minion Number >=", 5, 2, 7));
            laneclearMenu.Add("laneclearUseW", new CheckBox("Use W"));
            laneclearMenu.Add("laneclearredmc", new Slider("Red Instead of Blue If Minion Number >=", 3, 2, 5));
            laneclearMenu.Add("laneclearbluemana", new Slider("Blue Instead of Red If Mana % <", 30));

            jungleclearMenu = Config.AddSubMenu("Jungleclear", "jungleclearset");
            jungleclearMenu.Add("jungleclearUseQ", new CheckBox("Use Q"));
            jungleclearMenu.Add("jungleclearQmana", new Slider("Cast Q If Mana % >0", 30));
            jungleclearMenu.Add("jungleclearUseW", new CheckBox("Use W"));
            jungleclearMenu.Add("jungleclearbluemana", new Slider("Pick Blue If Mana % <", 30));

            menuItems = Config.AddSubMenu("Items", "Items");
            menuItems.Add("itemBotrk", new CheckBox("Botrk"));
            menuItems.Add("itemYoumuu", new CheckBox("Youmuu"));
            menuItems.Add("itemMode", new ComboBox("Use items on", 2, "No", "Mixed mode", "Combo mode", "Both"));

            r = Config.AddSubMenu("R - Destiny", "R");
            r.Add("AutoY", new CheckBox("Select yellow card after R"));

            misc = Config.AddSubMenu("Misc", "Misc");
            misc.Add("PingLH", new CheckBox("Ping low health enemies (Only local)"));
            misc.Add("DontGoldCardDuringCombo", new CheckBox("Don't select gold card on combo", false));

            drawings = Config.AddSubMenu("Drawings", "Drawings");
            drawings.Add("Qcircle", new CheckBox("Q Range"));
            //.SetValue(new Circle(true, Color.FromArgb(100, 255, 0, 255))));
            drawings.Add("Rcircle", new CheckBox("R Range"));
            //.SetValue(new Circle(true, Color.FromArgb(100, 255, 255, 255))));

            Game.OnUpdate += Game_OnGameUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
            Obj_AI_Base.OnProcessSpellCast += AIHeroClient_OnProcessSpellCast;
            Orbwalker.OnPreAttack += OrbwalkingOnBeforeAttack;
        }
Beispiel #20
0
        public static void Game_OnLoad()
        {
            #region main
            {
                Player = ObjectManager.Player;

                if (Player.ChampionName != ChampionName)
                {
                    return;
                }

                _q = new Spell(SpellSlot.Q, 600, DamageType.Physical);
                _w = new Spell(SpellSlot.W, 405, DamageType.Physical);
                _e = new Spell(SpellSlot.E, 400, DamageType.Magical);
                _r = new Spell(SpellSlot.R, 125, DamageType.Magical);

                _botrk = new Items.Item(3153, 450f);
                _cutlass = new Items.Item(3144, 450f);

            }
            #endregion

            #region content menu

            Menu = MainMenu.AddMenu("Teddy Bear - ThunderBuddy", "teddy.bear");

            comboMenu = Menu.AddSubMenu("Combo", "teddy.bear.combo");
            comboMenu.Add("teddy.bear.combo.useq", new CheckBox("Use Q", true));
            comboMenu.Add("teddy.bear.combo.usew", new CheckBox("Use W", true));
            comboMenu.Add("teddy.bear.combo.usee", new CheckBox("Use E", true));
            comboMenu.Add("teddy.bear.combo.user", new CheckBox("Use R", true));

            laneclearing = Menu.AddSubMenu("Lane clear", "teddy.bear.laneclearing");
            laneclearing.Add("teddy.bear.laneclearing.useQ", new CheckBox("Use Q", true));
            laneclearing.Add("teddy.bear.laneclearing.useW", new CheckBox("Use W", true));
            laneclearing.Add("teddy.bear.laneclearing.useE", new CheckBox("Use E", true));

            fleeMenu = Menu.AddSubMenu("Flee", "teddy.bear.flee");
            fleeMenu.Add("teddy.bear.flee.useQ", new CheckBox("Use Q", true));
            fleeMenu.Add("teddy.bear.flee.useE", new CheckBox("Use E", true));

            misc = Menu.AddSubMenu("Misc", "teddy.bear.misc");
            misc.Add("teddy.bear.misc.skW", new CheckBox("safe kill with W", true));

            drawingMenu = Menu.AddSubMenu("Drawing", "teddy.bear.drawing");
            drawingMenu.Add("DrawQ", new CheckBox("Draw Q range", true));
            drawingMenu.Add("DrawW", new CheckBox("Draw W range", true));
            drawingMenu.Add("DrawE", new CheckBox("Draw E range", true));
            drawingMenu.Add("DrawR", new CheckBox("Draw R range", true));
            drawingMenu.Add("DrawHP", new CheckBox("Draw HP Indicator", true));

            #endregion

            Interrupter2.OnInterruptableTarget += Interrupter_OnPossibleToInterrupt;
            Game.OnUpdate += Game_OnUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
            Drawing.OnEndScene += OnEndScene;
            Chat.Print("<font color='#881df2'>TeddyBear - Loaded.");
        }
Beispiel #21
0
 public void CreateMenu(Menu rootMenu)
 {
     flashM = rootMenu.AddSubMenu("Flash Check", "Flash");
     flashM.Add("WallCheck", new CheckBox("Wall Check", false));
     flashM.Add("IgniteCheck", new CheckBox("Ignite Check", false));
     flashM.Add("Extend", new CheckBox("Extend", false));
     flashM.Add("Enabled", new CheckBox("Enabled", false));
 }
Beispiel #22
0
 public void CreateMenu(Menu rootMenu)
 {
     buildingMenu = rootMenu.AddSubMenu("Turrets/Inhib tracker", "healthbuilding");
     buildingMenu.Add("DrawHealth", new CheckBox("Activated"));
     buildingMenu.Add("DrawTurrets", new CheckBox("Turrets"));
     buildingMenu.Add("DrawInhibs", new CheckBox("Inhibitors"));
     buildingMenu.Add("FontSize", new Slider("Font size", 13, 13, 30));
 }
Beispiel #23
0
        public Extra()
        {
            menu = menuExtra.AddSubMenu("Extra", "Extra");
            menu.Add("Extra.DrawKillableEnemy", new CheckBox("Killable Enemy Notification"));
            menu.Add("Extra.DrawMinionLastHist", new CheckBox("Draw Minion Last Hit"));

            Drawing.OnDraw += Drawing_OnDraw;
        }
Beispiel #24
0
        public override bool ComboMenu(Menu config)
        {
            config.Add("UseQC", new CheckBox("Use Q"));
            config.Add("UseWC", new CheckBox("Use W"));
            config.Add("UseEC", new CheckBox("Use E"));

            return true;
        }
Beispiel #25
0
 public override bool DrawingMenu(Menu config)
 {
     config.Add("DrawQ", new CheckBox("Q range"));//.SetValue(new Circle(true, System.Drawing.Color.Aqua, 1)));
     config.Add("DrawE", new CheckBox("E range"));//.SetValue(new Circle(false, System.Drawing.Color.Wheat, 1)));
     config.Add("DrawR1", new CheckBox("R range"));//.SetValue(new Circle(false, System.Drawing.Color.DarkOrange, 1)));
     config.Add("Draw.Packet", new ComboBox("Show Turbo-Packet Remaining Time", 2, "Off", "Everytime", "Show 20 secs Left"));
     return true;
 }
Beispiel #26
0
 public override bool ComboMenu(Menu config)
 {
     config.Add("UseQC", new CheckBox("Use Q"));
     config.Add("UseWC", new CheckBox("Use W"));
     config.Add("UseRC", new CheckBox("Use R"));
     config.Add("CastR", new KeyBind("Cast R (Manual)", false, KeyBind.BindTypes.HoldActive, 'T'));
     return true;
 }
Beispiel #27
0
        public override bool DrawingMenu(Menu config)
        {
            config.Add("DrawQ", new CheckBox("Q range"));//.SetValue(new Circle(true, System.Drawing.Color.DarkRed)));
            config.Add("DrawE", new CheckBox("E range"));//.SetValue(new Circle(true, System.Drawing.Color.DarkRed)));
            config.Add("DrawR", new CheckBox("R range"));//.SetValue(new Circle(true, System.Drawing.Color.DarkRed)));

            return true;
        }
Beispiel #28
0
 public override bool ComboMenu(Menu config)
 {
     config.Add("UseQC", new CheckBox("Use Q"));
     config.Add("UseEC", new CheckBox("Use E"));
     config.Add("UseRC", new CheckBox("Use R"));
     config.Add("RlimC", new Slider("Keep R Stacks", 0, 0, 7));
     return true;
 }
Beispiel #29
0
        public static void Initialize()
        {
            Menu = MainMenu.AddMenu("ElLux", "menuElLux");
            Menu.Add("ElLux.Combo.Semi.R", new KeyBind("Semi-manual R", false, KeyBind.BindTypes.HoldActive, 'T'));
            Menu.Add("ElLux.Combo.Semi.Q", new KeyBind("Semi-manual Q", false, KeyBind.BindTypes.HoldActive, 'Y'));

            cMenu = Menu.AddSubMenu("Combo", "Combo");
            cMenu.Add("ElLux.Combo.Q", new CheckBox("Use Q"));
            cMenu.Add("ElLux.Combo.E", new CheckBox("Use E"));
            cMenu.AddSeparator();
            cMenu.AddGroupLabel("Utlimate Settings : ");
            cMenu.Add("ElLux.Combo.R", new CheckBox("Use R"));
            cMenu.Add("ElLux.Combo.R.Rooted", new CheckBox("Use R when rooted", false));
            cMenu.Add("ElLux.Combo.R.Kill", new CheckBox("Use R when killable"));
            cMenu.Add("ElLux.Combo.R.AOE", new CheckBox("Use R AOE"));
            cMenu.Add("ElLux.Combo.R.Count", new Slider("Hit count", 3, 1, 5));

            hMenu = Menu.AddSubMenu("Harass", "Harass");
            hMenu.Add("ElLux.Harass.Q", new CheckBox("Use Q"));
            hMenu.Add("ElLux.Harass.E", new CheckBox("Use E"));

            wMenu = Menu.AddSubMenu("W settings", "WSettings");
            wMenu.Add("W.Activated", new CheckBox("Use W"));
            wMenu.Add("W.Damage", new Slider("W on damage dealt %", 80, 1));
            wMenu.AddSeparator();
            foreach (var x in ObjectManager.Get<AIHeroClient>().Where(x => x.IsAlly))
            {
                wMenu.Add("wOn" + x.ChampionName, new CheckBox("Use for " + x.ChampionName));
            }

            lMenu = Menu.AddSubMenu("Laneclear", "Laneclear");
            lMenu.Add("ElLux.Laneclear.Q", new CheckBox("Use Q"));
            lMenu.Add("ElLux.Laneclear.W", new CheckBox("Use W", false));
            lMenu.Add("ElLux.Laneclear.E", new CheckBox("Use E"));
            lMenu.Add("ElLux.Laneclear.E.Count", new Slider("Minion count", 1, 1, 5));

            jMenu = Menu.AddSubMenu("Jungleclear", "Jungleclear");
            jMenu.Add("ElLux.JungleClear.Q", new CheckBox("Use Q"));
            jMenu.Add("ElLux.JungleClear.W", new CheckBox("Use W"));
            jMenu.Add("ElLux.JungleClear.E", new CheckBox("Use E"));
            jMenu.Add("ElLux.JungleClear.E.Count", new Slider("Minion count", 1, 1, 5));

            miscMenu = Menu.AddSubMenu("Misc", "Misc");
            miscMenu.Add("ElLux.Auto.Q", new CheckBox("Auto Q on stuns"));
            miscMenu.Add("ElLux.Auto.E", new CheckBox("Auto E on stuns"));

            ksMenu = Menu.AddSubMenu("Killsteal", "Killsteal");
            ksMenu.Add("ElLux.KS.R", new CheckBox("KS with R"));

            drawMenu = Menu.AddSubMenu("Drawings", "Drawings");
            drawMenu.Add("ElLux.Draw.off", new CheckBox("Turn drawings off", false));
            drawMenu.Add("ElLux.Draw.Q", new CheckBox("Draw Q"));
            drawMenu.Add("ElLux.Draw.W", new CheckBox("Draw W"));
            drawMenu.Add("ElLux.Draw.E", new CheckBox("Draw E"));
            drawMenu.Add("ElLux.Draw.R", new CheckBox("Draw R"));

            Console.WriteLine("Menu Loaded");
        }
Beispiel #30
0
 public static void Initialize()
 {
     Menu = SpellManager.Menu.AddSubMenu("Smite", "Smite");
     Menu.Add("Enabled", new KeyBind("Smite Enabled", true, KeyBind.BindTypes.PressToggle, 'K'));
     Menu.Add("DrawSmite", new CheckBox("Draw Smite Range"));
     Menu.Add("DrawDamage", new CheckBox("Draw Smite Damage"));
     Drawing.OnDraw += Drawing_OnDraw;
     Game.OnUpdate += Game_OnUpdate;
 }