Ejemplo n.º 1
0
        public static void TahmKenchOnLoad()
        {
            Spells();

            Config = new Menu("vSupport Series:  " + ObjectManager.Player.ChampionName, "vSupport Series", true);
            {
                Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalker Settings"));

                var comboMenu = new Menu("Combo Settings", "Combo Settings");
                {
                    comboMenu.AddItem(new MenuItem("tahm.q.combo", "Use Q").SetValue(true));
                    comboMenu.AddItem(new MenuItem("tahm.w.combo", "Use W").SetValue(true));
                    comboMenu.AddItem(new MenuItem("tahm.w.minion", "Use W on Minion to Stack").SetValue(true));
                    Config.AddSubMenu(comboMenu);
                }

                var harass = new Menu("Harass Settings", "Harass Settings");
                {
                    harass.AddItem(new MenuItem("tahm.q.harass", "Use Q").SetValue(true));
                    harass.AddItem(new MenuItem("tahm.w.harass", "Use W (uses Minions)").SetValue(true));
                    harass.AddItem(new MenuItem("tahm.harass.mana", "Min. Mana Percent").SetValue(new Slider(50, 1, 99)));

                    Config.AddSubMenu(harass);
                }

                var misc = new Menu("Miscellaneous", "Miscellaneous");
                {
                    misc.AddItem(new MenuItem("tahm.anti.q", "Gapcloser (Q)").SetValue(true));

                    Config.AddSubMenu(misc);
                }

                var drawing = new Menu("Draw Settings", "Draw Settings");
                {
                    drawing.AddItem(new MenuItem("tahm.q.draw", "Q Range").SetValue(new Circle(true, Color.Chartreuse)));
                    drawing.AddItem(new MenuItem("tahm.w.draw", "W Range").SetValue(new Circle(true, Color.Yellow)));
                    drawing.AddItem(new MenuItem("tahm.r.draw", "R Range").SetValue(new Circle(true, Color.SandyBrown)));

                    Config.AddSubMenu(drawing);
                }

                Config.AddItem(new MenuItem("tahm.hitchance", "Skillshot Hit Chance").SetValue(new StringList(HitchanceNameArray, 2)));
                Config.AddItem(new MenuItem("prediction", ":: Choose Prediction").SetValue(new StringList(new[] { "Common", "Sebby", "sPrediction" }, 1)))
                .ValueChanged += (s, ar) =>
                {
                    Config.Item("pred.info").Show(ar.GetNewValue <StringList>().SelectedIndex == 2);
                };
                Config.AddItem(new MenuItem("pred.info", "                 PRESS F5 FOR LOAD SPREDICTION").SetFontStyle(System.Drawing.FontStyle.Bold)).Show(Config.Item("prediction").GetValue <StringList>().SelectedIndex == 0);
                if (Config.Item("prediction").GetValue <StringList>().SelectedIndex == 2)
                {
                    SPrediction.Prediction.Initialize(Config, ":: sPrediction Settings");
                }
            }

            SPrediction.Prediction.Initialize(Config, ":: Prediction Settings");
            Config.AddToMainMenu();
            Game.OnUpdate  += TahmKenchOnUpdate;
            Drawing.OnDraw += TahmKenchOnDraw;
            AntiGapcloser.OnEnemyGapcloser += TahmKenchOnEnemyGapcloser;
        }
Ejemplo n.º 2
0
        private static void BlitzcrankOnLoad()
        {
            Q = new Spell(SpellSlot.Q, 950f);
            W = new Spell(SpellSlot.W);
            E = new Spell(SpellSlot.E, 155f);
            R = new Spell(SpellSlot.R, 545f);

            Q.SetSkillshot(0.25f, 70f, 1800f, true, SkillshotType.SkillshotLine);

            Config = new Menu("vSupport Series: " + ObjectManager.Player.ChampionName, "vSupport Series", true);
            {
                Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalker Settings"));

                var comboMenu = new Menu(":: Combo Settings", ":: Combo Settings");
                {
                    comboMenu.AddItem(new MenuItem("blitzcrank.q.combo", "Use Q").SetValue(true));
                    comboMenu.AddItem(new MenuItem("blitzcrank.e.combo", "Use E").SetValue(true));
                    comboMenu.AddItem(new MenuItem("blitzcrank.r.combo", "Use R").SetValue(true));
                    var rsettings = new Menu(":: R Settings", ":: R Settings");
                    {
                        rsettings.AddItem(new MenuItem("blitz.r.count", "Min. Enemy Count").SetValue(new Slider(3, 1, 5)));
                        comboMenu.AddSubMenu(rsettings);
                    }
                    Config.AddSubMenu(comboMenu);
                }
                var whitelist = new Menu(":: (Q) Whitelist", ":: (Q) Whitelist");
                {
                    foreach (var enemy in HeroManager.Enemies)
                    {
                        whitelist.AddItem(new MenuItem("blitzcrank.q." + enemy.ChampionName, "(Q): " + enemy.ChampionName).SetValue(true));
                    }
                    Config.AddSubMenu(whitelist);
                }
                var drawing = new Menu(":: Draw Settings", ":: Draw Settings");
                {
                    drawing.AddItem(new MenuItem("blitzcrank.q.draw", "Q Range").SetValue(new Circle(true, Color.Chartreuse)));
                    drawing.AddItem(new MenuItem("blitzcrank.w.draw", "W Range").SetValue(new Circle(true, Color.Yellow)));
                    drawing.AddItem(new MenuItem("blitzcrank.e.draw", "E Range").SetValue(new Circle(true, Color.White)));
                    drawing.AddItem(new MenuItem("blitzcrank.r.draw", "R Range").SetValue(new Circle(true, Color.SandyBrown)));
                    Config.AddSubMenu(drawing);
                }
                SPrediction.Prediction.Initialize(Config, ":: Prediction Settings");
                Config.AddItem(new MenuItem("blitzcrank.interrupter", "Interrupter").SetValue(true)).SetTooltip("Only cast if enemy spell priorty > danger");
                Config.AddItem(new MenuItem("blitzcrank.q.hitchance", "Skillshot Hit Chance").SetValue(new StringList(HitchanceNameArray, 2)));
            }
            Config.AddToMainMenu();
            Game.OnUpdate += BlitzcrankOnUpdate;
            Interrupter2.OnInterruptableTarget += BlitzcrankInterrupter;
            Drawing.OnDraw += BlitzcrankOnDraw;
        }
Ejemplo n.º 3
0
        public static void PoppyOnLoad()
        {
            Q = new Spell(SpellSlot.Q, 430f);
            W = new Spell(SpellSlot.W, 400f);
            E = new Spell(SpellSlot.E, 425f);
            R = new Spell(SpellSlot.R, Orbwalking.GetRealAutoAttackRange(null));

            Q.SetSkillshot(0.25f, 50f, float.MaxValue, false, SkillshotType.SkillshotLine);
            E.SetTargetted(0.25f, float.MaxValue);
            R.SetSkillshot(0.25f, 60, float.MaxValue, false, SkillshotType.SkillshotLine);

            Config = new Menu("vSupport Series: " + ObjectManager.Player.ChampionName, "vSupport Series", true);
            {
                Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalker Settings"));

                var comboMenu = new Menu(":: Combo Settings", ":: Combo Settings");
                {
                    comboMenu.AddItem(new MenuItem("poppy.q.combo", "Use Q").SetValue(true));
                    comboMenu.AddItem(new MenuItem("poppy.e.combo", "Use E").SetValue(true));
                    comboMenu.AddItem(new MenuItem("poppy.r.combo", "Use R").SetValue(true));
                    Config.AddSubMenu(comboMenu);
                }

                var harassMenu = new Menu(":: Harass Settings", ":: Harass Settings");
                {
                    harassMenu.AddItem(new MenuItem("poppy.q.harass", "Use Q").SetValue(true));
                    harassMenu.AddItem(new MenuItem("poppy.e.harass", "Use E").SetValue(true));
                    harassMenu.AddItem(new MenuItem("poppy.harass.mana", "Min. Mana")).SetValue(new Slider(50, 1, 99));
                    Config.AddSubMenu(harassMenu);
                }

                var drawing = new Menu("Draw Settings", "Draw Settings");
                {
                    drawing.AddItem(new MenuItem("poppy.q.draw", "Q Range").SetValue(new Circle(true, Color.Chartreuse)));
                    drawing.AddItem(new MenuItem("poppy.w.draw", "W Range").SetValue(new Circle(true, Color.Yellow)));
                    drawing.AddItem(new MenuItem("poppy.e.draw", "E Range").SetValue(new Circle(true, Color.White)));
                    drawing.AddItem(new MenuItem("poppy.r.draw", "R Range").SetValue(new Circle(true, Color.SandyBrown)));
                    Config.AddSubMenu(drawing);
                }

                Config.AddItem(new MenuItem("poppy.interrupter", "Interrupter").SetValue(true)).SetTooltip("Only cast if enemy spell priorty > danger");
                Config.AddItem(new MenuItem("poppy.gapcloser", "Gapcloser").SetValue(true));
            }

            Config.AddToMainMenu();
            Game.OnUpdate  += PoppyOnUpdate;
            Drawing.OnDraw += PoppyOnDraw;
            Interrupter2.OnInterruptableTarget += PoppyInterrupter;
            AntiGapcloser.OnEnemyGapcloser     += PoppyOnEnemyGapcloser;
        }
Ejemplo n.º 4
0
        private static void NamiOnLoad()
        {
            Q = new Spell(SpellSlot.Q, 875);
            W = new Spell(SpellSlot.W, 725);
            E = new Spell(SpellSlot.E, 800);
            R = new Spell(SpellSlot.R, 2750);

            Q.SetSkillshot(1f, 125f, float.MaxValue, false, SkillshotType.SkillshotCircle);
            R.SetSkillshot(0.5f, 260f, 850f, false, SkillshotType.SkillshotLine);
            Config = new Menu("vSupport Series: " + Player.ChampionName, "vSupport Series", true);
            {
                Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalker Settings"));
                var comboMenu = new Menu("Combo Settings", "Combo Settings");
                {
                    comboMenu.AddItem(new MenuItem("nami.q.combo", "Use Q").SetValue(true));
                    comboMenu.AddItem(new MenuItem("nami.w.combo", "Use W").SetValue(true));
                    comboMenu.AddItem(new MenuItem("nami.e.combo", "Use E").SetValue(true));
                    comboMenu.AddItem(new MenuItem("nami.r.combo", "Use R").SetValue(true));
                    var rsettings = new Menu("R Settings", "R Settings");
                    {
                        rsettings.AddItem(new MenuItem("nami.min.enemy.count", "Min. Enemy Count").SetValue(new Slider(3, 1, 5)));
                        comboMenu.AddSubMenu(rsettings);
                    }
                    Config.AddSubMenu(comboMenu);
                }
                var healMenu = new Menu("Heal Settings", "Heal Settings");
                {
                    healMenu.AddItem(new MenuItem("nami.heal.disable", "Disable Heal?").SetValue(false));
                    healMenu.AddItem(new MenuItem("nami.heal.mana", "Min. Mana to use Heal").SetValue(new Slider(20, 1, 99)));
                    healMenu.AddItem(new MenuItem("nami.heal.self", "Heal self?").SetValue(true));
                    healMenu.AddItem(new MenuItem("nami.heal.self.percent", "Min. HP to heal self").SetValue(new Slider(30, 1, 99)));
                    healMenu.AddItem(new MenuItem("ayrac1", "                  Heal Whitelist"));
                    foreach (var ally in ObjectManager.Get <Obj_AI_Hero>().Where(o => o.IsAlly))
                    {
                        healMenu.AddItem(new MenuItem("heal." + ally.CharData.BaseSkinName, string.Format("Heal: {0}", ally.CharData.BaseSkinName)).SetValue(true));
                        healMenu.AddItem(new MenuItem("heal.percent." + ally.CharData.BaseSkinName, string.Format("Heal: {0} HP Percent ", ally.CharData.BaseSkinName)).SetValue(new Slider(30, 1, 99)));
                    }
                    Config.AddSubMenu(healMenu);
                }
                var wsettings = new Menu("(W) Settings", "(W) Settings");
                {
                    wsettings.AddItem(new MenuItem("ayrac3", "                  (W) Whitelist"));
                    foreach (var enemy in ObjectManager.Get <Obj_AI_Hero>().Where(o => o.IsEnemy))
                    {
                        wsettings.AddItem(new MenuItem("wwhite." + enemy.CharData.BaseSkinName, string.Format("(W): {0}", enemy.CharData.BaseSkinName)).SetValue(true));
                    }
                    Config.AddSubMenu(wsettings);
                }
                var esettings = new Menu("(E) Settings", "(E) Settings");
                {
                    esettings.AddItem(new MenuItem("e.mana", "Min. Mana to use (E)").SetValue(new Slider(20, 1, 99)));
                    esettings.AddItem(new MenuItem("ayrac2", "                  (E) Whitelist"));
                    foreach (var ally in ObjectManager.Get <Obj_AI_Hero>().Where(o => o.IsAlly && !o.IsMe))
                    {
                        esettings.AddItem(new MenuItem("ewhite." + ally.CharData.BaseSkinName, string.Format("(E): {0}", ally.CharData.BaseSkinName)).SetValue(true));
                    }
                    Config.AddSubMenu(esettings);
                }
                var harass = new Menu("Harass Settings", "Harass Settings");
                {
                    harass.AddItem(new MenuItem("nami.q.harass", "Use Q").SetValue(true));
                    harass.AddItem(new MenuItem("nami.w.harass", "Use W").SetValue(true));
                    harass.AddItem(new MenuItem("nami.harass.mana", "Min. Mana Percent").SetValue(new Slider(50, 1, 99)));
                    Config.AddSubMenu(harass);
                }

                var drawing = new Menu("Draw Settings", "Draw Settings");
                {
                    drawing.AddItem(new MenuItem("nami.q.draw", "Q Range").SetValue(new Circle(true, Color.Chartreuse)));
                    drawing.AddItem(new MenuItem("nami.w.draw", "W Range").SetValue(new Circle(true, Color.Yellow)));
                    drawing.AddItem(new MenuItem("nami.e.draw", "E Range").SetValue(new Circle(true, Color.White)));
                    drawing.AddItem(new MenuItem("nami.r.draw", "R Range").SetValue(new Circle(true, Color.SandyBrown)));
                    Config.AddSubMenu(drawing);
                }
                Config.AddItem(new MenuItem("nami.q.hitchance", "Skillshot Hit Chance").SetValue(new StringList(HitchanceNameArray, 2)));
                Config.AddItem(new MenuItem("prediction", ":: Choose Prediction").SetValue(new StringList(new[] { "Common", "Sebby", "sPrediction" }, 1)))
                .ValueChanged += (s, ar) =>
                {
                    Config.Item("pred.info").Show(ar.GetNewValue <StringList>().SelectedIndex == 2);
                };
                Config.AddItem(new MenuItem("pred.info", "                 PRESS F5 FOR LOAD SPREDICTION").SetFontStyle(System.Drawing.FontStyle.Bold)).Show(Config.Item("prediction").GetValue <StringList>().SelectedIndex == 0);
                if (Config.Item("prediction").GetValue <StringList>().SelectedIndex == 2)
                {
                    SPrediction.Prediction.Initialize(Config, ":: sPrediction Settings");
                }
                Config.AddToMainMenu();
            }

            SPrediction.Prediction.Initialize(Config);
            Orbwalking.AfterAttack += NamiAfterAttack;
            Game.OnUpdate          += NamiOnUpdate;
            Drawing.OnDraw         += NamiOnDraw;
        }
Ejemplo n.º 5
0
        private static void ThreshOnLoad()
        {
            Q = new Spell(SpellSlot.Q, 1100f);
            W = new Spell(SpellSlot.W, 950f);
            E = new Spell(SpellSlot.E, 400f);
            R = new Spell(SpellSlot.R, 450f);

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

            Config = new Menu("vSupport Series: " + ObjectManager.Player.ChampionName, "vSupport Series", true);
            {
                Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalker Settings"));

                var comboMenu = new Menu(":: Combo Settings", ":: Combo Settings");
                {
                    comboMenu.AddItem(new MenuItem("thresh.q.combo", "Use Q").SetValue(true));
                    comboMenu.AddItem(new MenuItem("thresh.w.combo", "Use W").SetValue(true));
                    comboMenu.AddItem(new MenuItem("thresh.e.combo", "Use E").SetValue(true));
                    comboMenu.AddItem(new MenuItem("thresh.r.combo", "Use R").SetValue(true));

                    var rsettings = new Menu(":: R Settings", ":: R Settings");
                    {
                        rsettings.AddItem(new MenuItem("thresh.r.count", "Min. Enemy Count").SetValue(new Slider(2, 1, 5)));

                        comboMenu.AddSubMenu(rsettings);
                    }

                    Config.AddSubMenu(comboMenu);
                }

                var whitelist = new Menu(":: (Q) Whitelist", ":: (Q) Whitelist");
                {
                    foreach (var enemy in HeroManager.Enemies)
                    {
                        whitelist.AddItem(new MenuItem("thresh.q." + enemy.ChampionName, "(Q): " + enemy.ChampionName).SetValue(true));
                    }

                    Config.AddSubMenu(whitelist);
                }

                var harassMenu = new Menu(":: Harass Settings", ":: Harass Settings");
                {
                    harassMenu.AddItem(new MenuItem("thresh.q.harass", "Use Q").SetValue(true));
                    harassMenu.AddItem(new MenuItem("thresh.e.harass", "Use E").SetValue(true));

                    Config.AddSubMenu(harassMenu);
                }

                var lanternMenu = new Menu(":: Auto Lantern Settings", ":: Auto Lantern Settings");
                {
                    lanternMenu.AddItem(new MenuItem("thresh.auto.w", "Auto W Logic").SetValue(true));
                    lanternMenu.AddItem(new MenuItem("blabla", "(W) Lantern Settings"));

                    foreach (var ally in ObjectManager.Get <Obj_AI_Hero>().Where(o => o.IsAlly && o.IsValid && !o.IsMe))
                    {
                        if (LowPriority.Contains(ally.ChampionName))
                        {
                            lanternMenu.AddItem(new MenuItem("thresh.lantern" + ally.ChampionName, "Heal: " + ally.ChampionName).SetValue(true));
                            lanternMenu.AddItem(new MenuItem("thresh.lantern.percent" + ally.ChampionName, "Min. " + ally.ChampionName + " HP Percent").SetValue(new Slider(15, 1, 99)));
                        }
                        if (MediumPriority.Contains(ally.ChampionName))
                        {
                            lanternMenu.AddItem(new MenuItem("thresh.lantern" + ally.ChampionName, "Heal: " + ally.ChampionName).SetValue(true));
                            lanternMenu.AddItem(new MenuItem("thresh.lantern.percent" + ally.ChampionName, "Min. " + ally.ChampionName + " HP Percent").SetValue(new Slider(20, 1, 99)));
                        }
                        if (HighChamps.Contains(ally.ChampionName))
                        {
                            lanternMenu.AddItem(new MenuItem("thresh.lantern" + ally.ChampionName, "Heal: " + ally.ChampionName).SetValue(true));
                            lanternMenu.AddItem(new MenuItem("thresh.lantern.percent" + ally.ChampionName, "Min. " + ally.ChampionName + " HP Percent").SetValue(new Slider(30, 1, 99)));
                        }
                    }
                    Config.AddSubMenu(lanternMenu);
                }

                var drawing = new Menu(":: Draw Settings", ":: Draw Settings");
                {
                    drawing.AddItem(new MenuItem("thresh.q.draw", "Q Range").SetValue(new Circle(true, Color.Chartreuse)));
                    drawing.AddItem(new MenuItem("thresh.w.draw", "W Range").SetValue(new Circle(true, Color.Yellow)));
                    drawing.AddItem(new MenuItem("thresh.e.draw", "E Range").SetValue(new Circle(true, Color.White)));
                    drawing.AddItem(new MenuItem("thresh.r.draw", "R Range").SetValue(new Circle(true, Color.SandyBrown)));
                    Config.AddSubMenu(drawing);
                }

                SPrediction.Prediction.Initialize(Config, ":: Prediction Settings");

                Config.AddItem(new MenuItem("thresh.interrupter", "Interrupter").SetValue(true)).SetTooltip("Only cast if enemy spell priorty > danger");
                Config.AddItem(new MenuItem("thresh.q.hitchance", "Skillshot Hit Chance").SetValue(new StringList(HitchanceNameArray, 2)));
                Config.AddItem(new MenuItem("prediction", ":: Choose Prediction").SetValue(new StringList(new[] { "Common", "Sebby", "sPrediction" }, 1)))
                .ValueChanged += (s, ar) =>
                {
                    Config.Item("pred.info").Show(ar.GetNewValue <StringList>().SelectedIndex == 2);
                };
                Config.AddItem(new MenuItem("pred.info", "                 PRESS F5 FOR LOAD SPREDICTION").SetFontStyle(System.Drawing.FontStyle.Bold)).Show(Config.Item("prediction").GetValue <StringList>().SelectedIndex == 0);
                if (Config.Item("prediction").GetValue <StringList>().SelectedIndex == 2)
                {
                    SPrediction.Prediction.Initialize(Config, ":: sPrediction Settings");
                }
            }

            Config.AddToMainMenu();
            Game.OnUpdate += ThreshOnUpdate;
            Interrupter2.OnInterruptableTarget += ThreshInterrupter;
            Drawing.OnDraw += ThreshOnDraw;
        }
Ejemplo n.º 6
0
Archivo: Lux.cs Proyecto: Hikii/vSeries
        public static void LuxOnLoad()
        {
            Q = new Spell(SpellSlot.Q, 1175f);
            W = new Spell(SpellSlot.W, 1075f);
            E = new Spell(SpellSlot.E, 1100f);
            R = new Spell(SpellSlot.R, 3340f);

            Q.SetSkillshot(0.25f, 70f, 1200f, false, SkillshotType.SkillshotLine);
            W.SetSkillshot(0.25f, 70f, 1400f, false, SkillshotType.SkillshotLine);
            E.SetSkillshot(0.25f, 275f, 1300f, false, SkillshotType.SkillshotCircle);
            R.SetSkillshot(1f, 190f, float.MaxValue, false, SkillshotType.SkillshotLine);

            Config = new Menu("vSupport Series: " + ObjectManager.Player.ChampionName, "vSupport Series", true);
            {
                Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalker Settings"));

                var comboMenu = new Menu("Combo Settings", "Combo Settings");
                {
                    comboMenu.AddItem(new MenuItem("lux.q.combo", "Use Q").SetValue(true));
                    comboMenu.AddItem(new MenuItem("lux.e.combo", "Use E").SetValue(true));
                    comboMenu.AddItem(new MenuItem("lux.r.combo", "Use R").SetValue(true));

                    Config.AddSubMenu(comboMenu);
                }

                var shieldManager = new Menu("(W) Shield Settings", "(W) Shield Settings");
                {
                    shieldManager.AddItem(new MenuItem("lux.shield.disable", "Disable shielding?").SetValue(false));
                    shieldManager.AddItem(new MenuItem("lux.shield.limit", "Min. Lux HP Percent for Shield").SetValue(new Slider(20, 1, 99)));

                    var wsettings = new Menu("(W) Priority", "(W) Priority").SetFontStyle(FontStyle.Bold, SharpDX.Color.Gold);
                    {
                        foreach (var ally in ObjectManager.Get <Obj_AI_Hero>().Where(o => o.IsAlly && o.IsValid && !o.IsMe))
                        {
                            if (LowPriority.Contains(ally.ChampionName))
                            {
                                wsettings.AddItem(new MenuItem("lux.shield" + ally.ChampionName, "Heal: " + ally.ChampionName).SetValue(true));
                                wsettings.AddItem(new MenuItem("lux.shield.percent" + ally.ChampionName, "Min. " + ally.ChampionName + " HP Percent").SetValue(new Slider(15, 1, 99)));
                            }
                            if (MediumPriority.Contains(ally.ChampionName))
                            {
                                wsettings.AddItem(new MenuItem("lux.shield" + ally.ChampionName, "Heal: " + ally.ChampionName).SetValue(true));
                                wsettings.AddItem(new MenuItem("lux.shield.percent" + ally.ChampionName, "Min. " + ally.ChampionName + " HP Percent").SetValue(new Slider(20, 1, 99)));
                            }
                            if (HighChamps.Contains(ally.ChampionName))
                            {
                                wsettings.AddItem(new MenuItem("lux.shield" + ally.ChampionName, "Heal: " + ally.ChampionName).SetValue(true));
                                wsettings.AddItem(new MenuItem("lux.shield.percent" + ally.ChampionName, "Min. " + ally.ChampionName + " HP Percent").SetValue(new Slider(30, 1, 99)));
                            }
                        }
                        shieldManager.AddSubMenu(wsettings);
                    }
                    Config.AddSubMenu(shieldManager);
                }

                var rSettings = new Menu("(R) Ult Settings", "(R) Ult Settings");
                {
                    rSettings.AddItem(new MenuItem("lux.r.killsteal", "Killsteal using R").SetValue(false));

                    Config.AddSubMenu(rSettings);
                }

                var harass = new Menu("Harass Settings", "Harass Settings");
                {
                    harass.AddItem(new MenuItem("lux.q.harass", "Use Q").SetValue(true));
                    harass.AddItem(new MenuItem("lux.e.harass", "Use E").SetValue(true));
                    harass.AddItem(new MenuItem("lux.harass.mana", "Min. Mana Percent").SetValue(new Slider(50, 1, 99)));

                    Config.AddSubMenu(harass);
                }

                var misc = new Menu("Miscellaneous", "Miscellaneous");
                {
                    misc.AddItem(new MenuItem("lux.anti", "Gapcloser (Q)").SetValue(true));

                    Config.AddSubMenu(misc);
                }

                var drawing = new Menu("Draw Settings", "Draw Settings");
                {
                    drawing.AddItem(new MenuItem("lux.q.draw", "Q Range").SetValue(new Circle(true, Color.Chartreuse)));
                    drawing.AddItem(new MenuItem("lux.w.draw", "W Range").SetValue(new Circle(true, Color.Yellow)));
                    drawing.AddItem(new MenuItem("lux.e.draw", "E Range").SetValue(new Circle(true, Color.White)));
                    drawing.AddItem(new MenuItem("lux.r.draw", "R Range").SetValue(new Circle(true, Color.SandyBrown)));

                    Config.AddSubMenu(drawing);
                }

                Config.AddItem(new MenuItem("lux.hitchance", "Skillshot Hit Chance").SetValue(new StringList(HitchanceNameArray, 2)));

                Config.AddItem(new MenuItem("prediction", ":: Choose Prediction").SetValue(new StringList(new[] { "Common", "Sebby", "sPrediction" }, 1)))
                .ValueChanged += (s, ar) =>
                {
                    Config.Item("pred.info").Show(ar.GetNewValue <StringList>().SelectedIndex == 2);
                };
                Config.AddItem(new MenuItem("pred.info", "                 PRESS F5 FOR LOAD SPREDICTION").SetFontStyle(System.Drawing.FontStyle.Bold)).Show(Config.Item("prediction").GetValue <StringList>().SelectedIndex == 0);
                if (Config.Item("prediction").GetValue <StringList>().SelectedIndex == 2)
                {
                    SPrediction.Prediction.Initialize(Config, ":: sPrediction Settings");
                }
            }

            SPrediction.Prediction.Initialize(Config, ":: Prediction Settings");
            Config.AddToMainMenu();
            Game.OnUpdate                  += LuxOnUpdate;
            GameObject.OnCreate            += OnCreate;
            GameObject.OnDelete            += OnDelete;
            Drawing.OnDraw                 += LuxOnDraw;
            AntiGapcloser.OnEnemyGapcloser += LuxOnEnemyGapcloser;
        }
Ejemplo n.º 7
0
        public static void SorakaOnLoad()
        {
            Q = new Spell(SpellSlot.Q, 800f);
            W = new Spell(SpellSlot.W, 550f);
            E = new Spell(SpellSlot.E, 925f);
            R = new Spell(SpellSlot.R);

            Q.SetSkillshot(0.5f, 235f, 1600f, false, SkillshotType.SkillshotCircle);

            Config = new Menu("vSupport Series: " + ObjectManager.Player.ChampionName, "vSupport Series", true);
            {
                Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalker Settings"));

                var comboMenu = new Menu("Combo Settings", "Combo Settings");
                {
                    comboMenu.AddItem(new MenuItem("soraka.q.combo", "Use Q").SetValue(true));
                    comboMenu.AddItem(new MenuItem("soraka.e.combo", "Use E").SetValue(true));
                    Config.AddSubMenu(comboMenu);
                }
                var healManager = new Menu("(W) Heal Settings", "(W) Heal Settings");
                {
                    healManager.AddItem(new MenuItem("soraka.heal.disable", "Disable Heal?").SetValue(false));
                    healManager.AddItem(new MenuItem("soraka.heal.limit", "Min. Soraka HP Percent for Heal").SetValue(new Slider(20, 1, 99)));
                    healManager.AddItem(new MenuItem("ayrac1", "                  (W) Heal Settings"));
                    foreach (var ally in ObjectManager.Get <Obj_AI_Hero>().Where(o => o.IsAlly && o.IsValid && !o.IsMe))
                    {
                        if (LowPriority.Contains(ally.ChampionName))
                        {
                            healManager.AddItem(new MenuItem("soraka.heal." + ally.ChampionName, "Heal: " + ally.ChampionName).SetValue(true));
                            healManager.AddItem(new MenuItem("soraka.heal.percent." + ally.ChampionName, "Min. " + ally.ChampionName + " HP Percent").SetValue(new Slider(10, 1, 99)));
                        }
                        if (MediumPriority.Contains(ally.ChampionName))
                        {
                            healManager.AddItem(new MenuItem("soraka.heal." + ally.ChampionName, "Heal: " + ally.ChampionName).SetValue(true));
                            healManager.AddItem(new MenuItem("soraka.heal.percent." + ally.ChampionName, "Min. " + ally.ChampionName + " HP Percent").SetValue(new Slider(20, 1, 99)));
                        }
                        if (HighChamps.Contains(ally.ChampionName))
                        {
                            healManager.AddItem(new MenuItem("soraka.heal." + ally.ChampionName, "Heal: " + ally.ChampionName).SetValue(true));
                            healManager.AddItem(new MenuItem("soraka.heal.percent." + ally.ChampionName, "Min. " + ally.ChampionName + " HP Percent").SetValue(new Slider(30, 1, 99)));
                        }
                    }
                    Config.AddSubMenu(healManager);
                }
                var rsettings = new Menu("(R) Heal Settings", "(R) Heal Settings");
                {
                    rsettings.AddItem(new MenuItem("soraka.r.disable", "Disable Heal?").SetValue(false));
                    rsettings.AddItem(new MenuItem("ayracx", "                  (R) Heal Settings"));
                    foreach (var ally in ObjectManager.Get <Obj_AI_Hero>().Where(o => o.IsAlly && o.IsValid && !o.IsMe))
                    {
                        if (LowPriority.Contains(ally.ChampionName))
                        {
                            rsettings.AddItem(new MenuItem("soraka.r." + ally.ChampionName, "Heal: " + ally.ChampionName).SetValue(true));
                            rsettings.AddItem(new MenuItem("soraka.r.percent." + ally.ChampionName, "Min. " + ally.ChampionName + " HP Percent").SetValue(new Slider(10, 1, 99)));
                        }
                        if (MediumPriority.Contains(ally.ChampionName))
                        {
                            rsettings.AddItem(new MenuItem("soraka.r." + ally.ChampionName, "Heal: " + ally.ChampionName).SetValue(true));
                            rsettings.AddItem(new MenuItem("soraka.r.percent." + ally.ChampionName, "Min. " + ally.ChampionName + " HP Percent").SetValue(new Slider(20, 1, 99)));
                        }
                        if (HighChamps.Contains(ally.ChampionName))
                        {
                            rsettings.AddItem(new MenuItem("soraka.r." + ally.ChampionName, "Heal: " + ally.ChampionName).SetValue(true));
                            rsettings.AddItem(new MenuItem("soraka.r.percent." + ally.ChampionName, "Min. " + ally.ChampionName + " HP Percent").SetValue(new Slider(30, 1, 99)));
                        }
                    }
                    Config.AddSubMenu(rsettings);
                }

                var harass = new Menu("Harass Settings", "Harass Settings");
                {
                    harass.AddItem(new MenuItem("soraka.q.harass", "Use Q").SetValue(true));
                    harass.AddItem(new MenuItem("soraka.harass.mana", "Min. Mana Percent").SetValue(new Slider(50, 1, 99)));
                    Config.AddSubMenu(harass);
                }
                var misc = new Menu("Miscellaneous", "Miscellaneous");
                {
                    misc.AddItem(new MenuItem("soraka.anti", "Gapcloser (E)").SetValue(true));
                    misc.AddItem(new MenuItem("soraka.inter", "Interrupt (E)").SetValue(true));
                    Config.AddSubMenu(misc);
                }
                var drawing = new Menu("Draw Settings", "Draw Settings");
                {
                    drawing.AddItem(new MenuItem("soraka.q.draw", "Q Range").SetValue(new Circle(true, Color.Chartreuse)));
                    drawing.AddItem(new MenuItem("soraka.w.draw", "W Range").SetValue(new Circle(true, Color.Yellow)));
                    drawing.AddItem(new MenuItem("soraka.e.draw", "E Range").SetValue(new Circle(true, Color.White)));
                    drawing.AddItem(new MenuItem("soraka.r.draw", "R Range").SetValue(new Circle(true, Color.SandyBrown)));
                    Config.AddSubMenu(drawing);
                }
                Config.AddItem(new MenuItem("soraka.hitchance", "Skillshot Hit Chance").SetValue(new StringList(HitchanceNameArray, 2)));
                Config.AddItem(new MenuItem("prediction", ":: Choose Prediction").SetValue(new StringList(new[] { "Common", "Sebby", "sPrediction" }, 1)))
                .ValueChanged += (s, ar) =>
                {
                    Config.Item("pred.info").Show(ar.GetNewValue <StringList>().SelectedIndex == 2);
                };
                Config.AddItem(new MenuItem("pred.info", "                 PRESS F5 FOR LOAD SPREDICTION").SetFontStyle(System.Drawing.FontStyle.Bold)).Show(Config.Item("prediction").GetValue <StringList>().SelectedIndex == 0);
                if (Config.Item("prediction").GetValue <StringList>().SelectedIndex == 2)
                {
                    SPrediction.Prediction.Initialize(Config, ":: sPrediction Settings");
                }
            }

            SPrediction.Prediction.Initialize(Config, ":: Prediction Settings");
            Config.AddToMainMenu();
            Game.OnUpdate  += SorakaOnUpdate;
            Drawing.OnDraw += SorakaOnDraw;
            AntiGapcloser.OnEnemyGapcloser     += SorakaOnEnemyGapcloser;
            Interrupter2.OnInterruptableTarget += SorakaOnInterruptableTarget;
        }
Ejemplo n.º 8
0
        public static void TaricOnLoad()
        {
            Q = new Spell(SpellSlot.Q, 750f);
            W = new Spell(SpellSlot.W, 200f);
            E = new Spell(SpellSlot.E, 625f);
            R = new Spell(SpellSlot.R, 200f);

            Config = new Menu("vSupport Series: " + ObjectManager.Player.ChampionName, "vSupport Series", true);
            {
                Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalker Settings"));

                var comboMenu = new Menu("Combo Settings", "Combo Settings");
                {
                    comboMenu.AddItem(new MenuItem("taric.q.combo", "Use Q").SetValue(true));
                    comboMenu.AddItem(new MenuItem("taric.w.combo", "Use W").SetValue(true));
                    comboMenu.AddItem(new MenuItem("taric.e.combo", "Use E").SetValue(true));
                    comboMenu.AddItem(new MenuItem("taric.r.combo", "Use R").SetValue(true));
                    comboMenu.AddItem(new MenuItem("taric.r.count", "Min. Enemies in range for R").SetValue(new Slider(2, 1, 5)));

                    Config.AddSubMenu(comboMenu);
                }

                var healManager = new Menu("(Q) Heal Settings", "(W) Heal Settings");
                {
                    healManager.AddItem(new MenuItem("taric.heal.disable", "Disable Heal?").SetValue(false));
                    healManager.AddItem(new MenuItem("taric.heal.limit", "Min. Taric HP Percent for Heal").SetValue(new Slider(20, 1, 99)));
                    healManager.AddItem(new MenuItem("blabla", "(Q) Heal Settings"));

                    foreach (var ally in ObjectManager.Get <AIHeroClient>().Where(o => o.IsAlly && o.IsValid && !o.IsMe))
                    {
                        if (LowPriority.Contains(ally.ChampionName))
                        {
                            healManager.AddItem(new MenuItem("taric.heal" + ally.ChampionName, "Heal: " + ally.ChampionName).SetValue(true));
                            healManager.AddItem(new MenuItem("taric.heal.percent" + ally.ChampionName, "Min. " + ally.ChampionName + " HP Percent").SetValue(new Slider(10, 1, 99)));
                        }
                        if (MediumPriority.Contains(ally.ChampionName))
                        {
                            healManager.AddItem(new MenuItem("taric.heal" + ally.ChampionName, "Heal: " + ally.ChampionName).SetValue(true));
                            healManager.AddItem(new MenuItem("taric.heal.percent" + ally.ChampionName, "Min. " + ally.ChampionName + " HP Percent").SetValue(new Slider(20, 1, 99)));
                        }
                        if (HighChamps.Contains(ally.ChampionName))
                        {
                            healManager.AddItem(new MenuItem("taric.heal" + ally.ChampionName, "Heal: " + ally.ChampionName).SetValue(true));
                            healManager.AddItem(new MenuItem("taric.heal.percent" + ally.ChampionName, "Min. " + ally.ChampionName + " HP Percent").SetValue(new Slider(30, 1, 99)));
                        }
                    }
                    Config.AddSubMenu(healManager);
                }

                var harass = new Menu("Harass Settings", "Harass Settings");
                {
                    harass.AddItem(new MenuItem("taric.w.harass", "Use W for Resist?").SetValue(true));
                    harass.AddItem(new MenuItem("taric.e.harass", "Use E").SetValue(true));
                    harass.AddItem(new MenuItem("taric.harass.mana", "Min. Mana Percent").SetValue(new Slider(50, 1, 99)));

                    Config.AddSubMenu(harass);
                }

                var misc = new Menu("Miscellaneous", "Miscellaneous");
                {
                    misc.AddItem(new MenuItem("taric.inter", "Interrupt (E)").SetValue(true));

                    Config.AddSubMenu(misc);
                }

                var drawing = new Menu("Draw Settings", "Draw Settings");
                {
                    drawing.AddItem(new MenuItem("taric.q.draw", "Q Range").SetValue(new Circle(true, Color.Chartreuse)));
                    drawing.AddItem(new MenuItem("taric.w.draw", "W Range").SetValue(new Circle(true, Color.Yellow)));
                    drawing.AddItem(new MenuItem("taric.e.draw", "E Range").SetValue(new Circle(true, Color.White)));
                    drawing.AddItem(new MenuItem("taric.r.draw", "R Range").SetValue(new Circle(true, Color.SandyBrown)));

                    Config.AddSubMenu(drawing);
                }

                // Config.AddItem(new MenuItem("taric.hitchance", "Skillshot Hit Chance").SetValue(new StringList(HitchanceNameArray, 1)));
            }

            SPrediction.Prediction.Initialize(Config, ":: Prediction Settings");
            Config.AddToMainMenu();
            Game.OnUpdate  += TaricOnUpdate;
            Drawing.OnDraw += TaricOnDraw;
            AntiGapcloser.OnEnemyGapcloser     += TaricOnEnemyGapcloser;
            Interrupter2.OnInterruptableTarget += TaricOnInterruptableTarget;
        }
Ejemplo n.º 9
0
        public static void LeonaOnLoad()
        {
            Q = new Spell(SpellSlot.Q, Orbwalking.GetRealAutoAttackRange(Player) + 100);
            W = new Spell(SpellSlot.W, 275f);
            E = new Spell(SpellSlot.E, 875f);
            R = new Spell(SpellSlot.R, 1200f);

            E.SetSkillshot(0.25f, 70f, 2000f, false, SkillshotType.SkillshotLine);
            R.SetSkillshot(0.75f, 250f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            Config = new Menu("vSupport Series:  " + ObjectManager.Player.ChampionName, "vSupport Series", true);
            {
                Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalker Settings"));

                var comboMenu = new Menu("Combo Settings", "Combo Settings");
                {
                    comboMenu.AddItem(new MenuItem("leona.q.combo", "Use Q").SetValue(true));
                    comboMenu.AddItem(new MenuItem("leona.w.combo", "Use W").SetValue(true));
                    comboMenu.AddItem(new MenuItem("leona.e.combo", "Use E").SetValue(true));
                    comboMenu.AddItem(new MenuItem("leona.r.combo", "Use R").SetValue(true));
                    var rsettings = new Menu(":: R Settings", ":: R Settings");
                    {
                        rsettings.AddItem(new MenuItem("leona.r.count", "Min. Enemy Count").SetValue(new Slider(3, 1, 5)));
                        comboMenu.AddSubMenu(rsettings);
                    }
                    Config.AddSubMenu(comboMenu);
                }

                var harass = new Menu("Harass Settings", "Harass Settings");
                {
                    harass.AddItem(new MenuItem("leona.q.harass", "Use Q").SetValue(true));
                    harass.AddItem(new MenuItem("leona.w.harass", "Use W for Resist?").SetValue(true));
                    harass.AddItem(new MenuItem("leona.e.harass", "Use E").SetValue(true));
                    harass.AddItem(new MenuItem("leona.harass.mana", "Min. Mana Percent").SetValue(new Slider(50, 1, 99)));

                    Config.AddSubMenu(harass);
                }

                var misc = new Menu("Miscellaneous", "Miscellaneous");
                {
                    misc.AddItem(new MenuItem("leona.anti", "Gapcloser (Q)").SetValue(true));
                    misc.AddItem(new MenuItem("leona.inter", "Interrupt (E)").SetValue(true));

                    Config.AddSubMenu(misc);
                }

                var drawing = new Menu("Draw Settings", "Draw Settings");
                {
                    drawing.AddItem(new MenuItem("leona.q.draw", "Q Range").SetValue(new Circle(true, Color.Chartreuse)));
                    drawing.AddItem(new MenuItem("leona.w.draw", "W Range").SetValue(new Circle(true, Color.Yellow)));
                    drawing.AddItem(new MenuItem("leona.e.draw", "E Range").SetValue(new Circle(true, Color.White)));
                    drawing.AddItem(new MenuItem("leona.r.draw", "R Range").SetValue(new Circle(true, Color.SandyBrown)));

                    Config.AddSubMenu(drawing);
                }

                Config.AddItem(new MenuItem("leona.hitchance", "Skillshot Hit Chance").SetValue(new StringList(HitchanceNameArray, 2)));
                Config.AddItem(new MenuItem("prediction", ":: Choose Prediction").SetValue(new StringList(new[] { "Common", "Sebby", "sPrediction" }, 1)))
                .ValueChanged += (s, ar) =>
                {
                    Config.Item("pred.info").Show(ar.GetNewValue <StringList>().SelectedIndex == 2);
                };
                Config.AddItem(new MenuItem("pred.info", "                 PRESS F5 FOR LOAD SPREDICTION").SetFontStyle(System.Drawing.FontStyle.Bold)).Show(Config.Item("prediction").GetValue <StringList>().SelectedIndex == 0);
                if (Config.Item("prediction").GetValue <StringList>().SelectedIndex == 2)
                {
                    SPrediction.Prediction.Initialize(Config, ":: sPrediction Settings");
                }
            }

            SPrediction.Prediction.Initialize(Config, ":: Prediction Settings");
            Config.AddToMainMenu();
            Game.OnUpdate  += LeonaOnUpdate;
            Drawing.OnDraw += LeonaOnDraw;
            AntiGapcloser.OnEnemyGapcloser     += LeonaOnEnemyGapcloser;
            Interrupter2.OnInterruptableTarget += LeonaOnInterruptableTarget;
            // Obj_AI_Base.OnDoCast += OnDoCast;
        }
Ejemplo n.º 10
0
        private static void AlistarOnLoad()
        {
            Q = new Spell(SpellSlot.Q);
            W = new Spell(SpellSlot.W, 650f);
            E = new Spell(SpellSlot.E, 575f);
            R = new Spell(SpellSlot.R);

            Config = new Menu("vSupport Series: " + ObjectManager.Player.ChampionName, "vSupport Series", true);
            {
                Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalker Settings"));

                var comboMenu = new Menu(":: Combo Settings", ":: Combo Settings");
                {
                    comboMenu.AddItem(new MenuItem("alistar.q.combo", "Use Q").SetValue(true));
                    comboMenu.AddItem(new MenuItem("alistar.e.combo", "Use E").SetValue(true));
                    comboMenu.AddItem(new MenuItem("alistar.r.combo", "Use R").SetValue(true));

                    Config.AddSubMenu(comboMenu);
                }

                var healManager = new Menu("(E) Heal Settings", "(E) Heal Settings");
                {
                    healManager.AddItem(new MenuItem("alistar.heal.disable", "Disable Heal?").SetValue(false));
                    healManager.AddItem(new MenuItem("alistar.heal.limit", "Min. Alistar HP Percent for Heal").SetValue(new Slider(40, 1, 99)));
                    healManager.AddItem(new MenuItem("ayrac1", "                  (W) Heal Settings"));
                    foreach (var ally in ObjectManager.Get <Obj_AI_Hero>().Where(o => o.IsAlly && o.IsValid && !o.IsMe))
                    {
                        if (LowPriority.Contains(ally.ChampionName))
                        {
                            healManager.AddItem(new MenuItem("alistar.heal" + ally.ChampionName, "Heal: " + ally.ChampionName).SetValue(true));
                            healManager.AddItem(new MenuItem("alistar.heal.percent" + ally.ChampionName, "Min. " + ally.ChampionName + " HP Percent").SetValue(new Slider(20, 1, 99)));
                        }
                        if (MediumPriority.Contains(ally.ChampionName))
                        {
                            healManager.AddItem(new MenuItem("alistar.heal" + ally.ChampionName, "Heal: " + ally.ChampionName).SetValue(true));
                            healManager.AddItem(new MenuItem("alistar.heal.percent" + ally.ChampionName, "Min. " + ally.ChampionName + " HP Percent").SetValue(new Slider(30, 1, 99)));
                        }
                        if (HighChamps.Contains(ally.ChampionName))
                        {
                            healManager.AddItem(new MenuItem("alistar.heal" + ally.ChampionName, "Heal: " + ally.ChampionName).SetValue(true));
                            healManager.AddItem(new MenuItem("alistar.heal.percent" + ally.ChampionName, "Min. " + ally.ChampionName + " HP Percent").SetValue(new Slider(45, 1, 99)));
                        }
                    }

                    Config.AddSubMenu(healManager);
                }

                var ult = new Menu("(R) Auto Ultimate", "(R) Auto Ultimate");
                {
                    ult.AddItem(new MenuItem("alistar.auto.ult", "Auto Ult (R)")).SetValue(true);
                    ult.AddItem(new MenuItem("alistar.min.ult", "Min. HP Percent to Ult")).SetValue(new Slider(40, 1, 99));
                    ult.AddItem(new MenuItem("alistar.min.enemy", "Min. Enemies to Ult")).SetValue(new Slider(2, 1, 5));
                }

                var misc = new Menu("Miscellaneous", "Miscellaneous");
                {
                    misc.AddItem(new MenuItem("alistar.anti", "Gapcloser (W)").SetValue(true));
                    misc.AddItem(new MenuItem("alistar.inter", "Interrupt (W)").SetValue(true));

                    Config.AddSubMenu(misc);
                }

                var drawing = new Menu(":: Draw Settings", ":: Draw Settings");
                {
                    drawing.AddItem(new MenuItem("alistar.w.draw", "W Range").SetValue(new Circle(true, Color.Yellow)));
                    drawing.AddItem(new MenuItem("alistar.e.draw", "E Range").SetValue(new Circle(true, Color.White)));
                    Config.AddSubMenu(drawing);
                }
            }

            Config.AddToMainMenu();
            Game.OnUpdate += AlistarOnUpdate;
            Interrupter2.OnInterruptableTarget += AlistarInterrupter;
            AntiGapcloser.OnEnemyGapcloser     += AlistarGapcloser;
            Drawing.OnDraw += AlistarOnDraw;
        }
Ejemplo n.º 11
0
        public static void TrundleOnLoad()
        {
            Q = new Spell(SpellSlot.Q, Orbwalking.GetRealAutoAttackRange(null));
            W = new Spell(SpellSlot.W, 900f);
            E = new Spell(SpellSlot.E, 1000f);
            R = new Spell(SpellSlot.R, 1000f);

            E.SetSkillshot(0.5f, 188f, 1600f, false, SkillshotType.SkillshotCircle);

            Config = new Menu("vSupport Series: " + ObjectManager.Player.ChampionName, "vSupport Series", true);
            {
                Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalker Settings"));

                var comboMenu = new Menu(":: Combo Settings", ":: Combo Settings");
                {
                    comboMenu.AddItem(new MenuItem("trundle.q.combo", "Use Q").SetValue(true));
                    comboMenu.AddItem(new MenuItem("trundle.w.combo", "Use Q").SetValue(true));
                    comboMenu.AddItem(new MenuItem("trundle.e.combo", "Use E").SetValue(true));
                    comboMenu.AddItem(new MenuItem("trundle.r.combo", "Use R").SetValue(true));
                    comboMenu.AddItem(new MenuItem("trundle.r.slider", "If Trundle health > slider amount, cast (R)")).SetValue(new Slider(50, 1, 99));
                    Config.AddSubMenu(comboMenu);
                    var rwhitelist = new Menu(":: (R) Whitelist", ":: (R) Whitelist");
                    {
                        foreach (var enemy in HeroManager.Enemies)
                        {
                            rwhitelist.AddItem(new MenuItem("trundle.r." + enemy.ChampionName, "(R): " + enemy.ChampionName).SetValue(true));
                        }
                        comboMenu.AddSubMenu(rwhitelist);
                    }
                }

                var whitelist = new Menu(":: (R) Whitelist", ":: (R) Whitelist");
                {
                    foreach (var enemy in HeroManager.Enemies)
                    {
                        whitelist.AddItem(new MenuItem("trundle.q." + enemy.ChampionName, "(Q): " + enemy.ChampionName).SetValue(true));
                    }
                    Config.AddSubMenu(whitelist);
                }

                var harassMenu = new Menu(":: Harass Settings", ":: Harass Settings");
                {
                    harassMenu.AddItem(new MenuItem("trundle.q.harass", "Use Q").SetValue(true));
                    harassMenu.AddItem(new MenuItem("trundle.w.harass", "Use W").SetValue(true));
                    harassMenu.AddItem(new MenuItem("trundle.e.harass", "Use E").SetValue(true));
                    harassMenu.AddItem(new MenuItem("trundle.harass.mana", "Min. Mana")).SetValue(new Slider(50, 1, 99));
                    Config.AddSubMenu(harassMenu);
                }

                var trickMenu = new Menu(":: Trick Settings", ":: Trick Settings");
                {
                    /*foreach (var spell in HeroManager.Allies.SelectMany(ally => SpellDatabase.TrundleSpells.Where(p => p.ChampionName == ally.ChampionName)))
                     * {
                     *  trickMenu.AddItem(new MenuItem(string.Format("trick.{0}", spell.SpellName), string.Format("Trick: {0} ({1})", spell.ChampionName, spell.Slot)).SetValue(true));
                     * }
                     * Config.AddSubMenu(trickMenu);*/
                }

                var drawing = new Menu("Draw Settings", "Draw Settings");
                {
                    drawing.AddItem(new MenuItem("trundle.q.draw", "Q Range").SetValue(new Circle(true, Color.Chartreuse)));
                    drawing.AddItem(new MenuItem("trundle.w.draw", "W Range").SetValue(new Circle(true, Color.Yellow)));
                    drawing.AddItem(new MenuItem("trundle.e.draw", "E Range").SetValue(new Circle(true, Color.White)));
                    drawing.AddItem(new MenuItem("trundle.r.draw", "R Range").SetValue(new Circle(true, Color.SandyBrown)));
                    Config.AddSubMenu(drawing);
                }
                Config.AddItem(new MenuItem("trundle.pillar.block", "Use (E) for Blitzcrank Q").SetValue(true));
                Config.AddItem(new MenuItem("trundle.interrupter", "Interrupter").SetValue(true)).SetTooltip("Only cast if enemy spell priorty > danger");
            }
            Config.AddToMainMenu();
            Game.OnUpdate  += TrundleOnUpdate;
            Drawing.OnDraw += TrundleOnDraw;
            Interrupter2.OnInterruptableTarget += TrundleInterrupter;
            Obj_AI_Base.OnProcessSpellCast     += TrundleOnProcessSpellCast;
        }
Ejemplo n.º 12
0
        public static void KarmaOnLoad()
        {
            Q = new Spell(SpellSlot.Q, 950f);
            W = new Spell(SpellSlot.W, 675f);
            E = new Spell(SpellSlot.E, 800f);
            R = new Spell(SpellSlot.R);

            Q.SetSkillshot(0.25f, 60f, 1700f, true, SkillshotType.SkillshotLine);
            W.SetTargetted(0.25f, float.MaxValue);
            E.SetTargetted(0.25f, float.MaxValue);

            Config = new Menu("vSupport Series:  " + ObjectManager.Player.ChampionName, "vSupport Series", true);
            {
                Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu(":: Orbwalker Settings"));

                var comboMenu = new Menu(":: Combo Settings", ":: Combo Settings");
                {
                    comboMenu.AddItem(new MenuItem("karma.q.combo", "Use Q").SetValue(true));
                    comboMenu.AddItem(new MenuItem("karma.w.combo", "Use W").SetValue(true));
                    comboMenu.AddItem(new MenuItem("karma.r.combo", "Use R").SetValue(true));
                    var comborsettings = new Menu(":: R Settings", ":: R Settings");
                    {
                        comborsettings.AddItem(new MenuItem("combo.r.q", "Empower Q?").SetValue(true));
                        comborsettings.AddItem(new MenuItem("combo.r.w", "Empower W?").SetValue(true));
                        comborsettings.AddItem(new MenuItem("combo.r.w.health", "Min. Health to Empower W").SetValue(new Slider(40, 1, 99)));

                        comboMenu.AddSubMenu(comborsettings);
                    }

                    Config.AddSubMenu(comboMenu);
                }

                var healManager = new Menu("(E) Shield Settings", "(E) Shield Settings");
                {
                    healManager.AddItem(new MenuItem("karma.shield.disable", "Disable shielding?").SetValue(false));
                    healManager.AddItem(new MenuItem("karma.shield.limit", "Min. Karma HP Percent for Shield").SetValue(new Slider(40, 1, 99)));
                    healManager.AddItem(new MenuItem("blabla", "(W) Shield Settings"));

                    var wsettings = new Menu("(E) Priority", "(E) Priority").SetFontStyle(FontStyle.Bold, SharpDX.Color.Gold);
                    {
                        foreach (var ally in ObjectManager.Get <Obj_AI_Hero>().Where(o => o.IsAlly && o.IsValid && !o.IsMe))
                        {
                            if (LowPriority.Contains(ally.ChampionName))
                            {
                                wsettings.AddItem(new MenuItem("karma.shield" + ally.ChampionName, "Heal: " + ally.ChampionName).SetValue(true));
                                wsettings.AddItem(new MenuItem("karma.shield.percent" + ally.ChampionName, "Min. " + ally.ChampionName + " HP Percent").SetValue(new Slider(15, 1, 99)));
                            }
                            if (MediumPriority.Contains(ally.ChampionName))
                            {
                                wsettings.AddItem(new MenuItem("karma.shield" + ally.ChampionName, "Heal: " + ally.ChampionName).SetValue(true));
                                wsettings.AddItem(new MenuItem("karma.shield.percent" + ally.ChampionName, "Min. " + ally.ChampionName + " HP Percent").SetValue(new Slider(20, 1, 99)));
                            }
                            if (HighChamps.Contains(ally.ChampionName))
                            {
                                wsettings.AddItem(new MenuItem("karma.shield" + ally.ChampionName, "Heal: " + ally.ChampionName).SetValue(true));
                                wsettings.AddItem(new MenuItem("karma.shield.percent" + ally.ChampionName, "Min. " + ally.ChampionName + " HP Percent").SetValue(new Slider(30, 1, 99)));
                            }
                        }
                        healManager.AddSubMenu(wsettings);
                    }
                    Config.AddSubMenu(healManager);
                }

                var harass = new Menu(":: Harass Settings", ":: Harass Settings");
                {
                    harass.AddItem(new MenuItem("karma.q.harass", "Use Q").SetValue(true));
                    harass.AddItem(new MenuItem("karma.w.harass", "Use W").SetValue(true));
                    var harassrsettings = new Menu(":: R Settings", ":: R Settings");
                    {
                        harassrsettings.AddItem(new MenuItem("karma.rq.harass", "Empower Q?").SetValue(true));
                        harassrsettings.AddItem(new MenuItem("karma.rw.harass", "Empower W?").SetValue(true));
                        harassrsettings.AddItem(new MenuItem("karma.rw.health", "Min. Health to Empower W").SetValue(new Slider(40, 1, 99)));

                        harass.AddSubMenu(harassrsettings);
                    }
                    harass.AddItem(new MenuItem("karma.harass.mana", "Min. Mana Percent").SetValue(new Slider(50, 1, 99)));

                    Config.AddSubMenu(harass);
                }

                var misc = new Menu(":: Miscellaneous", ":: Miscellaneous");
                {
                    misc.AddItem(new MenuItem("karma.anti.q", "Gapcloser (Q)").SetValue(true));
                    misc.AddItem(new MenuItem("karma.anti.e", "Gapcloser (E)").SetValue(true));

                    Config.AddSubMenu(misc);
                }

                var drawing = new Menu(":: Draw Settings", ":: Draw Settings");
                {
                    drawing.AddItem(new MenuItem("karma.q.draw", "Q Range").SetValue(new Circle(true, Color.Chartreuse)));
                    drawing.AddItem(new MenuItem("karma.w.draw", "W Range").SetValue(new Circle(true, Color.Yellow)));
                    drawing.AddItem(new MenuItem("karma.e.draw", "E Range").SetValue(new Circle(true, Color.White)));

                    Config.AddSubMenu(drawing);
                }

                Config.AddItem(new MenuItem("karma.q.hitchance", ":: Skillshot Hit Chance").SetValue(new StringList(HitchanceNameArray, 2)));

                Config.AddItem(new MenuItem("prediction", ":: Choose Prediction").SetValue(new StringList(new[] { "Common", "Sebby", "sPrediction" }, 1)))
                .ValueChanged += (s, ar) =>
                {
                    Config.Item("pred.info").Show(ar.GetNewValue <StringList>().SelectedIndex == 2);
                };
                Config.AddItem(new MenuItem("pred.info", "                 PRESS F5 FOR LOAD SPREDICTION").SetFontStyle(System.Drawing.FontStyle.Bold)).Show(Config.Item("prediction").GetValue <StringList>().SelectedIndex == 0);
                if (Config.Item("prediction").GetValue <StringList>().SelectedIndex == 2)
                {
                    SPrediction.Prediction.Initialize(Config, ":: sPrediction Settings");
                }
            }

            SPrediction.Prediction.Initialize(Config, ":: Prediction Settings");
            Config.AddToMainMenu();
            Game.OnUpdate  += KarmaOnUpdate;
            Drawing.OnDraw += KarmaOnDraw;
            AntiGapcloser.OnEnemyGapcloser += KarmaOnEnemyGapcloser;
        }
Ejemplo n.º 13
0
        private static void SyndraOnLoad()
        {
            Q = new Spell(SpellSlot.Q, 790, TargetSelector.DamageType.Magical);
            Q.SetSkillshot(0.6f, 125f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            W = new Spell(SpellSlot.W, 925, TargetSelector.DamageType.Magical);
            W.SetSkillshot(0.25f, 140f, 1600f, false, SkillshotType.SkillshotCircle);

            E = new Spell(SpellSlot.E, 700, TargetSelector.DamageType.Magical);
            E.SetSkillshot(0.25f, (float)(45 * 0.5), 2500f, false, SkillshotType.SkillshotCircle);

            R = new Spell(SpellSlot.R, 675, TargetSelector.DamageType.Magical);
            R.SetTargetted(0.5f, 1100f);

            Qe = new Spell(SpellSlot.E, 1290);
            Qe.SetSkillshot(float.MaxValue, 55f, 2000f, false, SkillshotType.SkillshotCircle);

            IgniteSlot = Player.GetSpellSlot("SummonerDot");

            Config = new Menu("vSupport Series: " + ObjectManager.Player.ChampionName, "vSupport Series", true);
            {
                Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu(":: Orbwalker Settings"));
                var comboMenu = new Menu(":: Combo Settings", ":: Combo Settings");
                {
                    var igniteMenu = new Menu(":: Ignite", ":: Ignite");
                    {
                        igniteMenu.AddItem(new MenuItem("use.ignite", "Use (Ignite)").SetValue(true).SetTooltip("If enemy killable with combo uses ignite"));
                        comboMenu.AddSubMenu(igniteMenu);
                    }

                    var qComboMenu = new Menu(":: Q", ":: Q");
                    {
                        qComboMenu.AddItem(new MenuItem("q.combo", "Use (Q)").SetValue(true));
                        qComboMenu.AddItem(new MenuItem("q.hit.chance", "(Q) Hit Chance").SetValue(new StringList(HitchanceNameArray, 2)));
                        comboMenu.AddSubMenu(qComboMenu);
                    }

                    var qeComboMenu = new Menu(":: QE", ":: QE");
                    {
                        qeComboMenu.AddItem(new MenuItem("qe.combo", "Use (QE)").SetValue(true));
                        qeComboMenu.AddItem(new MenuItem("q.e.delay", "QE Delay").SetValue(new Slider(0, 0, 150)));
                        qeComboMenu.AddItem(new MenuItem("q.e.max.range", "QE Max Range %").SetValue(new Slider(100)));
                        qeComboMenu.AddItem(new MenuItem("qe.combo.style", "» (E) Style").SetValue(new StringList(new[] { "If Enemy Stunable" })));
                        qeComboMenu.AddItem(new MenuItem("qe.hit.chance", "(QE) Hit Chance").SetValue(new StringList(HitchanceNameArray, 3)));
                        comboMenu.AddSubMenu(qeComboMenu);
                    }

                    var wComboMenu = new Menu(":: W", ":: W");
                    {
                        wComboMenu.AddItem(new MenuItem("w.combo", "Use (W)").SetValue(true));
                        wComboMenu.AddItem(new MenuItem("w.hit.chance", "(W) Hit Chance").SetValue(new StringList(HitchanceNameArray, 2)));
                        comboMenu.AddSubMenu(wComboMenu);
                    }

                    var eComboMenu = new Menu(":: E", ":: E");
                    {
                        eComboMenu.AddItem(new MenuItem("e.combo", "Use (E)").SetValue(true));
                        eComboMenu.AddItem(new MenuItem("e.combo.style", "» (E) Style").SetValue(new StringList(new[] { "If Enemy Stunable" })));
                        eComboMenu.AddItem(new MenuItem("e.hit.chance", "(E) Hit Chance").SetValue(new StringList(HitchanceNameArray, 2)));
                        comboMenu.AddSubMenu(eComboMenu);
                    }

                    var rComboMenu = new Menu(":: R", ":: R");
                    {
                        var rComboWhiteMenu = new Menu(":: R - Whitelist", ":: R - Whitelist");
                        {
                            foreach (var enemy in HeroManager.Enemies.Where(enemy => enemy.IsValid))
                            {
                                rComboWhiteMenu.AddItem(new MenuItem("r.combo." + enemy.ChampionName, "(R): " + enemy.ChampionName).SetValue(true));
                            }
                            rComboMenu.AddSubMenu(rComboWhiteMenu);
                        }

                        var rUndyMenu = new Menu(":: R Undy Settings", ":: R Undy Settings");
                        {
                            rUndyMenu.AddItem(new MenuItem("undy.tryn", "Trynda's Ult").SetValue(true));
                            rUndyMenu.AddItem(new MenuItem("undy.kayle", "Kayle's Ult").SetValue(true));
                            rUndyMenu.AddItem(new MenuItem("undy.zilean", "Zilean's Ult").SetValue(true));
                            rUndyMenu.AddItem(new MenuItem("undy.alistar", "Alistar's Ult").SetValue(true));
                            rUndyMenu.AddItem(new MenuItem("undy.zac", "Zac's Passive").SetValue(true));
                            rUndyMenu.AddItem(new MenuItem("undy.aatrox", "Aatrox's Passive").SetValue(true));
                            rUndyMenu.AddItem(new MenuItem("undy.sivir", "Sivir's Spell Shield").SetValue(true));
                            rUndyMenu.AddItem(new MenuItem("undy.morgana", "Morgana's Black Shield").SetValue(true));
                            rComboMenu.AddSubMenu(rUndyMenu);
                        }

                        rComboMenu.AddItem(new MenuItem("r.combo", "Use (R)").SetValue(true));
                        rComboMenu.AddItem(new MenuItem("r.combo.style", "» (R) Style").SetValue(new StringList(new[] { "Only Enemy If Killable" })));
                        comboMenu.AddSubMenu(rComboMenu);
                    }
                    Config.AddSubMenu(comboMenu);
                }
                var harassMenu = new Menu(":: Harass Settings", ":: Harass Settings");
                {
                    var toggleMenu = new Menu(":: Toggle Settings", ":: Toggle Settings").SetFontStyle(FontStyle.Bold, SharpDX.Color.Gold);
                    {
                        toggleMenu.AddItem(new MenuItem("q.toggle", "Use (Q)").SetValue(true));
                        toggleMenu.AddItem(new MenuItem("toggle.hit.chance", "(Toggle) Hit Chance").SetValue(new StringList(HitchanceNameArray, 3)));
                        toggleMenu.AddItem(new MenuItem("toggle.active", "Toggle !").SetValue(new KeyBind("T".ToCharArray()[0], KeyBindType.Toggle)));
                        harassMenu.AddSubMenu(toggleMenu);
                    }

                    var qHarassMenu = new Menu(":: Q", ":: Q");
                    {
                        qHarassMenu.AddItem(new MenuItem("q.harass", "Use (Q)").SetValue(true));
                        harassMenu.AddSubMenu(qHarassMenu);
                    }

                    var qeHarassMenu = new Menu(":: QE", ":: QE");
                    {
                        qeHarassMenu.AddItem(new MenuItem("qe.harass", "Use (QE)").SetValue(true));
                        qeHarassMenu.AddItem(new MenuItem("qe.harass.style", "» (E) Style").SetValue(new StringList(new[] { "If Enemy Stunable" })));
                        harassMenu.AddSubMenu(qeHarassMenu);
                    }

                    var wHarassMenu = new Menu(":: W", ":: W");
                    {
                        wHarassMenu.AddItem(new MenuItem("w.harass", "Use (W)").SetValue(true));
                        harassMenu.AddSubMenu(wHarassMenu);
                    }

                    harassMenu.AddItem(new MenuItem("disable.harass.under.turret", "Disable Harass If Player Under Enemy Turret").SetValue(true));
                    harassMenu.AddItem(new MenuItem("harass.mana", "Min. Mana Percentage").SetValue(new Slider(50, 1, 99)));
                    Config.AddSubMenu(harassMenu);
                }
                var clearMenu = new Menu(":: Clear Settings", ":: Clear Settings");
                {
                    var laneclearMenu = new Menu(":: Wave Clear", ":: Wave Clear");
                    {
                        laneclearMenu.AddItem(new MenuItem("keysinfo1", "                  (Q) Settings").SetTooltip("Q Settings"));
                        laneclearMenu.AddItem(new MenuItem("q.clear", "Use (Q)").SetValue(true));
                        laneclearMenu.AddItem(new MenuItem("q.hit.x.minion", "Min. Minion").SetValue(new Slider(3, 1, 5)));
                        laneclearMenu.AddItem(new MenuItem("keysinfo2", "                  (W) Settings").SetTooltip("W Settings"));
                        laneclearMenu.AddItem(new MenuItem("w.clear", "Use (W)").SetValue(true));
                        laneclearMenu.AddItem(new MenuItem("w.hit.x.minion", "Min. Minion").SetValue(new Slider(4, 1, 5)));
                        clearMenu.AddSubMenu(laneclearMenu);
                    }

                    var jungleClear = new Menu(":: Jungle Clear", ":: Jungle Clear");
                    {
                        jungleClear.AddItem(new MenuItem("keysinfo1X", "                  (Q) Settings").SetTooltip("Q Settings"));
                        jungleClear.AddItem(new MenuItem("q.jungle", "Use (Q)").SetValue(true));
                        jungleClear.AddItem(new MenuItem("keysinfo2X", "                  (W) Settings").SetTooltip("W Settings"));
                        jungleClear.AddItem(new MenuItem("w.jungle", "Use (W)").SetValue(true));
                        jungleClear.AddItem(new MenuItem("keysinfo3X", "                  (E) Settings").SetTooltip("E Settings"));
                        jungleClear.AddItem(new MenuItem("e.jungle", "Use (E)").SetValue(true));
                        clearMenu.AddSubMenu(jungleClear);
                    }
                    clearMenu.AddItem(new MenuItem("clear.mana", "Min. Mana Percentage").SetValue(new Slider(50, 1, 99)));
                    Config.AddSubMenu(clearMenu);
                }
                var ksMenu = new Menu(":: Killsteal Settings", ":: Killsteal Settings");
                {
                    ksMenu.AddItem(new MenuItem("keysinfo1q1", "                  (Q) Settings").SetTooltip("Q Settings"));
                    ksMenu.AddItem(new MenuItem("q.ks", "Use (Q)").SetValue(true));
                    ksMenu.AddItem(new MenuItem("keysinfo2q", "                  (W) Settings").SetTooltip("W Settings"));
                    ksMenu.AddItem(new MenuItem("w.ks", "Use (W)").SetValue(true));
                    ksMenu.AddItem(new MenuItem("keysinfo2q2", "                  (E) Settings").SetTooltip("W Settings"));
                    ksMenu.AddItem(new MenuItem("e.ks", "Use (E)").SetValue(true));
                    Config.AddSubMenu(ksMenu);
                }
                var drawMenu = new Menu(":: Drawings", ":: Drawings");
                {
                    drawMenu.AddItem(new MenuItem("q.draw", "(Q) Range").SetValue(new Circle(false, Color.Pink)));
                    drawMenu.AddItem(new MenuItem("qe.draw", "(QE) Range").SetValue(new Circle(false, Color.CornflowerBlue)));
                    drawMenu.AddItem(new MenuItem("e.draw", "(E) Range").SetValue(new Circle(false, Color.Crimson)));
                    drawMenu.AddItem(new MenuItem("w.draw", "(W) Range").SetValue(new Circle(false, Color.Gold)));
                    drawMenu.AddItem(new MenuItem("r.draw", "(R) Range").SetValue(new Circle(false, Color.Lime)));
                    Config.AddSubMenu(drawMenu);
                }
                Config.AddToMainMenu();
            }
            SPrediction.Prediction.Initialize(Config);
            Obj_AI_Base.OnSpellCast += SyndraOnProcessSpellCast;
            Game.OnUpdate           += SyndraOnUpdate;
            Drawing.OnDraw          += SyndraOnDraw;
        }
Ejemplo n.º 14
0
        public static void TahmKenchOnLoad()
        {
            Q = new Spell(SpellSlot.Q, 950f);
            W = new Spell(SpellSlot.W, 700f);
            E = new Spell(SpellSlot.E, 800f);
            R = new Spell(SpellSlot.R);

            E.SetSkillshot(0.25f, 60f, 1700f, true, SkillshotType.SkillshotLine);
            W.SetTargetted(0.25f, 2200f);
            E.SetTargetted(0.25f, float.MaxValue);

            Config = new Menu("vSupport Series:  " + ObjectManager.Player.ChampionName, "vSupport Series", true);
            {
                Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalker Settings"));

                var comboMenu = new Menu("Combo Settings", "Combo Settings");
                {
                    comboMenu.AddItem(new MenuItem("tahm.q.combo", "Use Q").SetValue(true));
                    comboMenu.AddItem(new MenuItem("tahm.w.combo", "Use W").SetValue(true));
                    comboMenu.AddItem(new MenuItem("tahm.w.minion", "Use W on Minion to Stack").SetValue(true));
                    Config.AddSubMenu(comboMenu);
                }

                var harass = new Menu("Harass Settings", "Harass Settings");
                {
                    harass.AddItem(new MenuItem("tahm.q.harass", "Use Q").SetValue(true));
                    harass.AddItem(new MenuItem("tahm.w.harass", "Use W (uses Minions)").SetValue(true));
                    harass.AddItem(new MenuItem("tahm.harass.mana", "Min. Mana Percent").SetValue(new Slider(50, 1, 99)));

                    Config.AddSubMenu(harass);
                }

                var shield = new Menu("Auto Shield", "Auto Shielding (E)");
                {
                    // Needs adding
                }

                var misc = new Menu("Miscellaneous", "Miscellaneous");
                {
                    misc.AddItem(new MenuItem("tahm.anti.q", "Gapcloser (Q)").SetValue(true));

                    Config.AddSubMenu(misc);
                }

                var drawing = new Menu("Draw Settings", "Draw Settings");
                {
                    drawing.AddItem(new MenuItem("tahm.q.draw", "Q Range").SetValue(new Circle(true, Color.Chartreuse)));
                    drawing.AddItem(new MenuItem("tahm.w.draw", "W Range").SetValue(new Circle(true, Color.Yellow)));
                    drawing.AddItem(new MenuItem("tahm.r.draw", "R Range").SetValue(new Circle(true, Color.SandyBrown)));

                    Config.AddSubMenu(drawing);
                }

                Config.AddItem(new MenuItem("tahm.hitchance", "Skillshot Hit Chance").SetValue(new StringList(HitchanceNameArray, 2)));
            }

            SPrediction.Prediction.Initialize(Config, ":: Prediction Settings");
            Config.AddToMainMenu();
            Game.OnUpdate  += TahmKenchOnUpdate;
            Drawing.OnDraw += TahmKenchOnDraw;
            AntiGapcloser.OnEnemyGapcloser += TahmKenchOnEnemyGapcloser;
        }
Ejemplo n.º 15
0
        private static void JannaOnLoad()
        {
            if (ObjectManager.Player.ChampionName != "Janna")
            {
                return;
            }

            Q = new Spell(SpellSlot.Q, 850);
            W = new Spell(SpellSlot.W, 600);
            E = new Spell(SpellSlot.E, 800);
            R = new Spell(SpellSlot.R, 875);

            Q.SetSkillshot(0.25f, 120f, 900f, false, SkillshotType.SkillshotLine);

            SpellDatabase.InitalizeSpellDatabase();

            Config = new Menu("vSupport Series: " + ObjectManager.Player.ChampionName, "vSupport Series", true);
            {
                Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalker Settings"));
                var comboMenu = new Menu(":: Combo Settings", ":: Combo Settings");
                {
                    comboMenu.AddItem(new MenuItem("q.combo", "Use (Q)").SetValue(true));
                    comboMenu.AddItem(new MenuItem("w.combo", "Use (W)").SetValue(true));
                    Config.AddSubMenu(comboMenu);
                }
                var qsettings = new Menu(":: Q Settings", ":: Q Settings");
                {
                    qsettings.AddItem(new MenuItem("q.settings", "(Q) Mode :").SetValue(new StringList(new string[] { "Normal", "Q Hit x Target" })))
                    .ValueChanged += (s, ar) =>
                    {
                        Config.Item("normal.q.info.1").Show(ar.GetNewValue <StringList>().SelectedIndex == 0);
                        Config.Item("normal.q.info.2").Show(ar.GetNewValue <StringList>().SelectedIndex == 0);
                        Config.Item("q.normal.hit.chance").Show(ar.GetNewValue <StringList>().SelectedIndex == 0);
                        Config.Item("q.hit.x.chance").Show(ar.GetNewValue <StringList>().SelectedIndex == 1);
                        Config.Item("q.hit.count").Show(ar.GetNewValue <StringList>().SelectedIndex == 1);
                        Config.Item("q.hit.x.chance.info.1").Show(ar.GetNewValue <StringList>().SelectedIndex == 1);
                        Config.Item("q.hit.x.chance.info.2").Show(ar.GetNewValue <StringList>().SelectedIndex == 1);
                    };

                    qsettings.AddItem(new MenuItem("q.normal.hit.chance", "(Q) Hit Chance").SetValue(new StringList(HitchanceNameArray, 2))).Show(qsettings.Item("q.settings").GetValue <StringList>().SelectedIndex == 0);
                    qsettings.AddItem(new MenuItem("q.hit.x.chance", "(Q) Hit Chance").SetValue(new StringList(HitchanceNameArray, 1))).Show(qsettings.Item("q.settings").GetValue <StringList>().SelectedIndex == 1);
                    qsettings.AddItem(new MenuItem("q.hit.count", "(Q) Hit Count").SetValue(new Slider(2, 1, 5))).Show(qsettings.Item("q.settings").GetValue <StringList>().SelectedIndex == 1);
                    qsettings.AddItem(new MenuItem("normal.q.info.1", "                        :: Information ::").SetFontStyle(System.Drawing.FontStyle.Bold)).Show(qsettings.Item("q.settings").GetValue <StringList>().SelectedIndex == 0);
                    qsettings.AddItem(new MenuItem("normal.q.info.2", "Thats casts q for 1 enemy")).Show(qsettings.Item("q.settings").GetValue <StringList>().SelectedIndex == 0);
                    qsettings.AddItem(new MenuItem("q.hit.x.chance.info.1", "                        :: Information ::").SetFontStyle(System.Drawing.FontStyle.Bold)).Show(qsettings.Item("q.settings").GetValue <StringList>().SelectedIndex == 1);
                    qsettings.AddItem(new MenuItem("q.hit.x.chance.info.2", "Thats cast q for x enemies. Set on menu")).Show(qsettings.Item("q.settings").GetValue <StringList>().SelectedIndex == 1);
                    qsettings.AddItem(new MenuItem("q.antigapcloser", "(Q) Anti-Gapcloser").SetValue(true));

                    Config.AddSubMenu(qsettings);
                }
                var esettings = new Menu(":: E Settings", ":: E Settings").SetFontStyle(FontStyle.Bold, SharpDX.Color.HotPink);
                {
                    var evademenu = new Menu(":: Protectable Skillshots", ":: Protectable Skillshots");
                    {
                        foreach (var spell in HeroManager.Enemies.SelectMany(enemy => SpellDatabase.EvadeableSpells.Where(p => p.ChampionName == enemy.ChampionName && p.IsSkillshot)))
                        {
                            evademenu.AddItem(new MenuItem(string.Format("e.protect.{0}", spell.SpellName), string.Format("{0} ({1})", spell.ChampionName, spell.Slot)).SetValue(true));
                        }
                        esettings.AddSubMenu(evademenu);
                    }
                    var targettedmenu = new Menu(":: Protectable Targetted Spells", ":: Protectable Targetted Spells");
                    {
                        foreach (var spell in HeroManager.Enemies.SelectMany(enemy => SpellDatabase.TargetedSpells.Where(p => p.ChampionName == enemy.ChampionName && p.IsTargeted)))
                        {
                            targettedmenu.AddItem(new MenuItem(string.Format("e.protect.targetted.{0}", spell.SpellName), string.Format("{0} ({1})", spell.ChampionName, spell.Slot)).SetValue(true));
                        }
                        esettings.AddSubMenu(targettedmenu);
                    }

                    var engagemenu = new Menu(":: Engage Spells", ":: Engage Spells");
                    {
                        foreach (var spell in HeroManager.Allies.SelectMany(ally => SpellDatabase.EscapeSpells.Where(p => p.ChampionName == ally.ChampionName)))
                        {
                            engagemenu.AddItem(new MenuItem(string.Format("e.engage.{0}", spell.SpellName), string.Format("{0} ({1})", spell.ChampionName, spell.Slot)).SetValue(true));
                        }
                        esettings.AddSubMenu(engagemenu);
                    }

                    var ewhitelist = new Menu(":: Whitelist", ":: Whitelist");
                    {
                        foreach (var ally in HeroManager.Allies.Where(x => x.IsValid))
                        {
                            ewhitelist.AddItem(new MenuItem("e." + ally.ChampionName, "(E): " + ally.ChampionName).SetValue(HighChamps.Contains(ally.ChampionName)));
                        }
                        esettings.AddSubMenu(ewhitelist);
                    }

                    esettings.AddItem(new MenuItem("use.e.turret", "Use (E) On Turret").SetValue(true))
                    .ValueChanged += (s, ar) =>
                    {
                        Config.Item("turret.hp.percent").Show(ar.GetNewValue <bool>());
                    };
                    esettings.AddItem(new MenuItem("turret.hp.percent", "Turret HP Percent").SetValue(new Slider(10, 1, 99))).Show(esettings.Item("use.e.turret").GetValue <bool>());

                    esettings.AddItem(new MenuItem("evade.protector.E", "If enemy spell damage bigger than carry health cast (E) for protect").SetValue(true));
                    esettings.AddItem(new MenuItem("protect.carry.from.turret", "Protect Carry From Turrets").SetValue(true));
                    esettings.AddItem(new MenuItem("min.mana.for.e", "Min. Mana").SetValue(new Slider(50, 1, 99)));
                    Config.AddSubMenu(esettings);
                }

                var rsettings = new Menu(":: R Settings", ":: R Settings").SetFontStyle(FontStyle.Bold, SharpDX.Color.Gold);;
                {
                    var evademenu = new Menu(":: Protectable Skillshots", ":: Protectable Skillshots");
                    {
                        foreach (var spell in HeroManager.Enemies.SelectMany(enemy => SpellDatabase.EvadeableSpells.Where(p => p.ChampionName == enemy.ChampionName && p.IsSkillshot)))
                        {
                            evademenu.AddItem(new MenuItem(string.Format("r.protect.{0}", spell.SpellName), string.Format("{0} ({1})", spell.ChampionName, spell.Slot)).SetValue(true));
                        }
                        rsettings.AddSubMenu(evademenu);
                    }
                    var targettedmenu = new Menu(":: Protectable Targetted Spells", ":: Protectable Targetted Spells");
                    {
                        foreach (var spell in HeroManager.Enemies.SelectMany(enemy => SpellDatabase.TargetedSpells.Where(p => p.ChampionName == enemy.ChampionName && p.IsTargeted)))
                        {
                            targettedmenu.AddItem(new MenuItem(string.Format("r.protect.targetted.{0}", spell.SpellName), string.Format("{0} ({1})", spell.ChampionName, spell.Slot)).SetValue(true));
                        }
                        rsettings.AddSubMenu(targettedmenu);
                    }

                    var rwhitelist = new Menu(":: Whitelist", ":: Whitelist");
                    {
                        foreach (var ally in HeroManager.Allies.Where(x => x.IsValid))
                        {
                            rwhitelist.AddItem(new MenuItem("r." + ally.ChampionName, "(R): " + ally.ChampionName).SetValue(HighChamps.Contains(ally.ChampionName)));
                        }
                        rsettings.AddSubMenu(rwhitelist);
                    }

                    rsettings.AddItem(
                        new MenuItem("protector.settings", "Protector Mode: ").SetValue(new StringList(new string[] { "Smart (Other logics soon™)" })));
                    rsettings.AddItem(new MenuItem("spell.damage.percent", "Min. Spell Damage Percentage").SetValue(new Slider(10, 1, 99)));
                    /*rsettings.AddItem(new MenuItem("total.carry.health.percent", "Total Carries HP Percentage").SetValue(new Slider(10, 1, 99)));*/
                    rsettings.AddItem(new MenuItem("evade.protector", "If enemy spell damage bigger than carry health cast (R) for protect").SetValue(true));
                    Config.AddSubMenu(rsettings);
                }

                var drawing = new Menu(":: Draw Settings", ":: Draw Settings");
                {
                    drawing.AddItem(new MenuItem("janna.q.draw", "Q Range").SetValue(new Circle(true, Color.Chartreuse)));
                    drawing.AddItem(new MenuItem("janna.w.draw", "W Range").SetValue(new Circle(true, Color.Yellow)));
                    drawing.AddItem(new MenuItem("janna.e.draw", "E Range").SetValue(new Circle(true, Color.White)));
                    drawing.AddItem(new MenuItem("janna.r.draw", "R Range").SetValue(new Circle(true, Color.SandyBrown)));
                    Config.AddSubMenu(drawing);
                }

                Config.AddToMainMenu();
            }

            Config.AddItem(new MenuItem("prediction", ":: Choose Prediction").SetValue(new StringList(new[] { "Common", "Sebby", "sPrediction" }, 1)))
            .ValueChanged += (s, ar) =>
            {
                Config.Item("pred.info").Show(ar.GetNewValue <StringList>().SelectedIndex == 2);
            };
            Config.AddItem(new MenuItem("pred.info", "                 PRESS F5 FOR LOAD SPREDICTION").SetFontStyle(System.Drawing.FontStyle.Bold)).Show(Config.Item("prediction").GetValue <StringList>().SelectedIndex == 0);
            if (Config.Item("prediction").GetValue <StringList>().SelectedIndex == 2)
            {
                SPrediction.Prediction.Initialize(Config, ":: sPrediction Settings");
            }

            Obj_AI_Base.OnProcessSpellCast += JannaOnProcess;
            AntiGapcloser.OnEnemyGapcloser += JannaOnGapcloser;
            Game.OnUpdate  += JannaOnUpdate;
            Drawing.OnDraw += JannaOnDraw;
        }
Ejemplo n.º 16
0
        private static void NautilusOnLoad()
        {
            Q = new Spell(SpellSlot.Q, 1100f);
            W = new Spell(SpellSlot.W, 175f);
            E = new Spell(SpellSlot.E, 600f);
            R = new Spell(SpellSlot.R, 825f);

            Q.SetSkillshot(0.25f, 90f, 2000f, true, SkillshotType.SkillshotLine);

            Config = new Menu("vSupport Series: " + ObjectManager.Player.ChampionName, "vSupport Series", true);
            {
                Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalker Settings"));

                var comboMenu = new Menu(":: Combo Settings", ":: Combo Settings");
                {
                    comboMenu.AddItem(new MenuItem("nautilus.q.combo", "Use Q").SetValue(true));
                    comboMenu.AddItem(new MenuItem("nautilus.w.combo", "Use W").SetValue(true));
                    comboMenu.AddItem(new MenuItem("nautilus.e.combo", "Use E").SetValue(true));
                    comboMenu.AddItem(new MenuItem("nautilus.r.combo", "Use R").SetValue(true));

                    var rsettings = new Menu(":: R Settings", ":: R Settings");
                    {
                        rsettings.AddItem(new MenuItem("nautilus.r.count", "Min. Enemy Count").SetValue(new Slider(2, 1, 5)));

                        comboMenu.AddSubMenu(rsettings);
                    }

                    Config.AddSubMenu(comboMenu);
                }

                var whitelist = new Menu(":: (Q) Whitelist", ":: (Q) Whitelist");
                {
                    foreach (var enemy in HeroManager.Enemies)
                    {
                        whitelist.AddItem(new MenuItem("nautilus.q." + enemy.ChampionName, "(Q): " + enemy.ChampionName).SetValue(true));
                    }

                    Config.AddSubMenu(whitelist);
                }

                var harassMenu = new Menu(":: Harass Settings", ":: Harass Settings");
                {
                    harassMenu.AddItem(new MenuItem("nautilus.q.harass", "Use Q").SetValue(true));
                    harassMenu.AddItem(new MenuItem("nautilus.e.combo", "Use E").SetValue(true));

                    Config.AddSubMenu(harassMenu);
                }

                var drawing = new Menu(":: Draw Settings", ":: Draw Settings");
                {
                    drawing.AddItem(new MenuItem("nautilus.q.draw", "Q Range").SetValue(new Circle(true, Color.Chartreuse)));
                    // drawing.AddItem(new MenuItem("nautilus.w.draw", "W Range").SetValue(new Circle(true, Color.Yellow)));
                    drawing.AddItem(new MenuItem("nautilus.e.draw", "E Range").SetValue(new Circle(true, Color.White)));
                    drawing.AddItem(new MenuItem("nautilus.r.draw", "R Range").SetValue(new Circle(true, Color.SandyBrown)));
                    Config.AddSubMenu(drawing);
                }

                SPrediction.Prediction.Initialize(Config, ":: Prediction Settings");

                Config.AddItem(new MenuItem("nautilus.interrupter", "Interrupter").SetValue(true)).SetTooltip("Only cast if enemy spell priorty > danger");
                Config.AddItem(new MenuItem("nautilus.q.hitchance", "Skillshot Hit Chance").SetValue(new StringList(HitchanceNameArray, 2)));
                Config.AddItem(new MenuItem("prediction", ":: Choose Prediction").SetValue(new StringList(new[] { "Common", "Sebby", "sPrediction" }, 1)))
                .ValueChanged += (s, ar) =>
                {
                    Config.Item("pred.info").Show(ar.GetNewValue <StringList>().SelectedIndex == 2);
                };
                Config.AddItem(new MenuItem("pred.info", "                 PRESS F5 FOR LOAD SPREDICTION").SetFontStyle(System.Drawing.FontStyle.Bold)).Show(Config.Item("prediction").GetValue <StringList>().SelectedIndex == 0);
                if (Config.Item("prediction").GetValue <StringList>().SelectedIndex == 2)
                {
                    SPrediction.Prediction.Initialize(Config, ":: sPrediction Settings");
                }
            }

            Config.AddToMainMenu();
            Game.OnUpdate += NautilusOnUpdate;
            Interrupter2.OnInterruptableTarget += NautilusInterrupter;
            Drawing.OnDraw += NautilusOnDraw;
        }
Ejemplo n.º 17
0
        public static void SonaOnLoad()
        {
            Q = new Spell(SpellSlot.Q, 850f);
            W = new Spell(SpellSlot.W, 1000f);
            E = new Spell(SpellSlot.E, 350f);
            R = new Spell(SpellSlot.R, 1000f);

            R.SetSkillshot(0.5f, 125, 3000f, false, SkillshotType.SkillshotLine);

            Config = new Menu("vSupport Series: " + ObjectManager.Player.ChampionName, "vSupport Series", true);
            {
                Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalker Settings"));

                var comboMenu = new Menu("Combo Settings", "Combo Settings");
                {
                    comboMenu.AddItem(new MenuItem("sona.q.combo", "Use Q").SetValue(true));
                    comboMenu.AddItem(new MenuItem("sona.r.combo", "Use R").SetValue(true));

                    Config.AddSubMenu(comboMenu);
                }

                var healManager = new Menu("(W) Heal Settings", "(W) Heal Settings");
                {
                    healManager.AddItem(new MenuItem("sona.heal.disable", "Disable healing?").SetValue(false));
                    healManager.AddItem(new MenuItem("sona.heal.limit", "Min. sona HP Percent for Heal").SetValue(new Slider(40, 1, 99)));
                    healManager.AddItem(new MenuItem("blabla", "(W) heal Settings"));

                    var wsettings = new Menu("(W) Priority", "(W) Priority").SetFontStyle(FontStyle.Bold, SharpDX.Color.Gold);
                    {
                        foreach (var ally in ObjectManager.Get <AIHeroClient>().Where(o => o.IsAlly && o.IsValid && !o.IsMe))
                        {
                            if (LowPriority.Contains(ally.ChampionName))
                            {
                                wsettings.AddItem(new MenuItem("sona.heal" + ally.ChampionName, "Heal: " + ally.ChampionName).SetValue(true));
                                wsettings.AddItem(new MenuItem("sona.heal.percent" + ally.ChampionName, "Min. " + ally.ChampionName + " HP Percent").SetValue(new Slider(15, 1, 99)));
                            }
                            if (MediumPriority.Contains(ally.ChampionName))
                            {
                                wsettings.AddItem(new MenuItem("sona.heal" + ally.ChampionName, "Heal: " + ally.ChampionName).SetValue(true));
                                wsettings.AddItem(new MenuItem("sona.heal.percent" + ally.ChampionName, "Min. " + ally.ChampionName + " HP Percent").SetValue(new Slider(20, 1, 99)));
                            }
                            if (HighChamps.Contains(ally.ChampionName))
                            {
                                wsettings.AddItem(new MenuItem("sona.heal" + ally.ChampionName, "Heal: " + ally.ChampionName).SetValue(true));
                                wsettings.AddItem(new MenuItem("sona.heal.percent" + ally.ChampionName, "Min. " + ally.ChampionName + " HP Percent").SetValue(new Slider(30, 1, 99)));
                            }
                        }
                        healManager.AddSubMenu(wsettings);
                    }
                    Config.AddSubMenu(healManager);
                }

                var rSettings = new Menu("(R) Ult Settings", "(R) Ult Settings");
                {
                    rSettings.AddItem(new MenuItem("sona.r.killsteal", "Killsteal using R").SetValue(false));

                    Config.AddSubMenu(rSettings);
                }

                var harass = new Menu("Harass Settings", "Harass Settings");
                {
                    harass.AddItem(new MenuItem("sona.q.harass", "Use Q").SetValue(true));
                    harass.AddItem(new MenuItem("sona.harass.mana", "Min. Mana Percent").SetValue(new Slider(50, 1, 99)));

                    Config.AddSubMenu(harass);
                }

                var misc = new Menu("Miscellaneous", "Miscellaneous");
                {
                    misc.AddItem(new MenuItem("sona.anti", "Gapcloser (Q)").SetValue(true));
                    misc.AddItem(new MenuItem("sona.inter", "Interrupt (R)").SetValue(true));

                    Config.AddSubMenu(misc);
                }

                var drawing = new Menu("Draw Settings", "Draw Settings");
                {
                    drawing.AddItem(new MenuItem("sona.q.draw", "Q Range").SetValue(new Circle(true, Color.Chartreuse)));
                    drawing.AddItem(new MenuItem("sona.w.draw", "W Range").SetValue(new Circle(true, Color.Yellow)));
                    drawing.AddItem(new MenuItem("sona.e.draw", "E Range").SetValue(new Circle(true, Color.White)));
                    drawing.AddItem(new MenuItem("sona.r.draw", "R Range").SetValue(new Circle(true, Color.SandyBrown)));

                    Config.AddSubMenu(drawing);
                }

                Config.AddItem(new MenuItem("sona.hitchance", "Skillshot Hit Chance").SetValue(new StringList(HitchanceNameArray, 2)));
            }

            SPrediction.Prediction.Initialize(Config, ":: Prediction Settings");
            Config.AddToMainMenu();
            Game.OnUpdate  += SonaOnUpdate;
            Drawing.OnDraw += SonaOnDraw;
            AntiGapcloser.OnEnemyGapcloser     += SonaOnEnemyGapcloser;
            Interrupter2.OnInterruptableTarget += SonaOnInterruptableTarget;
        }
Ejemplo n.º 18
0
        public static void LeonaOnLoad()
        {
            Q = new Spell(SpellSlot.Q, Orbwalking.GetRealAutoAttackRange(Player) + 100);
            W = new Spell(SpellSlot.W, 200f);
            E = new Spell(SpellSlot.E, 700f);
            R = new Spell(SpellSlot.R, 1200f);

            E.SetSkillshot(0.25f, 120f, 2000f, false, SkillshotType.SkillshotLine);
            R.SetSkillshot(1f, 300f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            Config = new Menu("vSupport Series:  " + ObjectManager.Player.ChampionName, "vSupport Series", true);
            {
                Orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalker Settings"));

                var comboMenu = new Menu("Combo Settings", "Combo Settings");
                {
                    comboMenu.AddItem(new MenuItem("leona.q.combo", "Use Q").SetValue(true));
                    comboMenu.AddItem(new MenuItem("leona.w.combo", "Use W").SetValue(true));
                    comboMenu.AddItem(new MenuItem("leona.e.combo", "Use E").SetValue(true));
                    comboMenu.AddItem(new MenuItem("leona.r.combo", "Use R").SetValue(true));
                    var rsettings = new Menu(":: R Settings", ":: R Settings");
                    {
                        rsettings.AddItem(new MenuItem("leona.r.count", "Min. Enemy Count").SetValue(new Slider(3, 1, 5)));
                        comboMenu.AddSubMenu(rsettings);
                    }
                    Config.AddSubMenu(comboMenu);
                }

                var harass = new Menu("Harass Settings", "Harass Settings");
                {
                    harass.AddItem(new MenuItem("leona.q.harass", "Use Q").SetValue(true));
                    harass.AddItem(new MenuItem("leona.w.harass", "Use W for Resist?").SetValue(true));
                    harass.AddItem(new MenuItem("leona.e.harass", "Use E").SetValue(true));
                    harass.AddItem(new MenuItem("leona.harass.mana", "Min. Mana Percent").SetValue(new Slider(50, 1, 99)));

                    Config.AddSubMenu(harass);
                }

                var misc = new Menu("Miscellaneous", "Miscellaneous");
                {
                    misc.AddItem(new MenuItem("leona.anti", "Gapcloser (Q)").SetValue(true));
                    misc.AddItem(new MenuItem("leona.inter", "Interrupt (E)").SetValue(true));

                    Config.AddSubMenu(misc);
                }

                var drawing = new Menu("Draw Settings", "Draw Settings");
                {
                    drawing.AddItem(new MenuItem("leona.q.draw", "Q Range").SetValue(new Circle(true, Color.Chartreuse)));
                    drawing.AddItem(new MenuItem("leona.w.draw", "W Range").SetValue(new Circle(true, Color.Yellow)));
                    drawing.AddItem(new MenuItem("leona.e.draw", "E Range").SetValue(new Circle(true, Color.White)));
                    drawing.AddItem(new MenuItem("leona.r.draw", "R Range").SetValue(new Circle(true, Color.SandyBrown)));

                    Config.AddSubMenu(drawing);
                }

                Config.AddItem(new MenuItem("leona.hitchance", "Skillshot Hit Chance").SetValue(new StringList(HitchanceNameArray, 2)));
            }

            SPrediction.Prediction.Initialize(Config, ":: Prediction Settings");
            Config.AddToMainMenu();
            Game.OnUpdate  += LeonaOnUpdate;
            Drawing.OnDraw += LeonaOnDraw;
            AntiGapcloser.OnEnemyGapcloser     += LeonaOnEnemyGapcloser;
            Interrupter2.OnInterruptableTarget += LeonaOnInterruptableTarget;
            // Obj_AI_Base.OnSpellCast += OnSpellCast;
        }