Example #1
0
        public static void Create(Menu menuToAttach)
        {
            s_Config = MainMenu.AddMenu("Target Selector", "TargetSelector.Root");
            s_Config.Add("TargetSelector.Root.blFocusSelected", new CheckBox("Focus Selected Target"));
            s_Config.Add("TargetSelector.Root.iFocusSelectedExtraRange",
                new Slider("Extra Focus Selected Range", 0, 0, 250));
            s_Config.Add("TargetSelector.Root.blOnlyAttackSelected", new CheckBox("Only Attack Selected Target", false));
            s_Config.Add("TargetSelector.Root.SelectedTargetColor", new CheckBox("Selected Target Color", false));

            s_Config.AddGroupLabel("Champion Priority");
            foreach (var enemy in HeroManager.Enemies)
            {
                s_Config.Add(string.Format("TargetSelector.Priority.{0}", enemy.ChampionName),
                    new Slider(enemy.ChampionName, 1, 1, 5));
            }
            s_Config.AddLabel("0 : Auto");
            s_Config.AddLabel("1 : Low HP");
            s_Config.AddLabel("2 : Most AD");
            s_Config.AddLabel("3 : Most AP");
            s_Config.AddLabel("4 : Closest");
            s_Config.AddLabel("5 : Near Mouse");
            s_Config.AddLabel("6 : Less Attack");
            s_Config.AddLabel("7 : Less Cast");
            s_Config.Add("TargetSelector.Root.iTargettingMode", new Slider("Targetting Mode", 0, 0, 7));
        }
Example #2
0
 public static void Create()
 {
     s_Config = MainMenu.AddMenu("Target Selector", "TargetSelector.Root");
     s_Config.AddGroupLabel("Target Selector Mode");
     s_Config.Add("TargetSelector.Root.iTargettingMode", new ComboBox("Selected Mode:", 0, "Auto", "Lowest HP", "Most AD", "Most AP", "Closest", "Near Mouse", "Less Attack", "Less Cast"));
     s_Config.AddGroupLabel("Priorities");
     s_Config.AddLabel("(Higher value means higher priority)");
     foreach (var enemy in HeroManager.Enemies)
     {
         s_Config.Add(string.Format("TargetSelector.Priority.{0}", enemy.ChampionName), new Slider(enemy.ChampionName, 1, 1, 5));
     }
     s_Config.AddSeparator();
     s_Config.AddGroupLabel("Selected Target Settings");
     s_Config.Add("TargetSelector.Root.blFocusSelected", new CheckBox("Focus Selected Target"));
     s_Config.Add("TargetSelector.Root.iFocusSelectedExtraRange", new Slider("Extra Focus Selected Range", 0, 0, 250));
     s_Config.Add("TargetSelector.Root.blOnlyAttackSelected", new CheckBox("Only Attack Selected Target", false));
     s_Config.Add("TargetSelector.Root.SelectedTargetColor", new CheckBox("Selected Target Color", false));
 }
Example #3
0
        public static void OnLoad()
        {
            if (myHero.Hero != Champion.Draven)
            {
                return;
            }

            Chat.Print("<font color=\"#7CFC00\"><b>League Of Draven:</b></font> Loaded");

            Menu = MainMenu.AddMenu("League Of Draven", "draven");
            Menu.AddLabel("Ported from Exory's Ultima Series + Extra's - Berb");
            Menu.AddSeparator();

            Menu.AddGroupLabel("Combo");
            Menu.Add("useQ", new CheckBox("Use Q"));
            Menu.Add("useW", new CheckBox("Use W"));
            Menu.Add("useE", new CheckBox("Use E"));
            Menu.Add("useR", new CheckBox("Use R"));
            Menu.Add("enemyCount", new Slider("Use R if it will hit X enemies", 2, 1, 5));
            Menu.AddSeparator();
            Menu.AddGroupLabel("Harass");
            Menu.Add("useQH", new CheckBox("Use Q"));
            Menu.Add("useWH", new CheckBox("Use W"));
            Menu.Add("useEH", new CheckBox("Use E"));
            Menu.Add("manaH", new Slider("Mininum Mana for Harass", 65));
            Menu.AddSeparator();
            Menu.AddGroupLabel("Lane Clear");
            Menu.Add("useQLC", new CheckBox("Use Q"));
            Menu.Add("useELC", new CheckBox("Use E"));
            Menu.Add("manaLC", new Slider("Mininum Mana for Lane Clear", 90));
            Menu.AddSeparator();
            Menu.AddGroupLabel("Jungle Clear");
            Menu.Add("useQJG", new CheckBox("Use Q"));
            Menu.Add("useEJG", new CheckBox("Use E"));
            Menu.Add("manaJG", new Slider("Mininum Mana for Jungle Clear", 65));
            Menu.AddSeparator();
            Menu.AddGroupLabel("Misc.");
            Menu.Add("interrupt", new CheckBox("Interrupter"));
            Menu.Add("gapcloser", new CheckBox("Gapcloser"));
            Menu.Add("catchaxe", new CheckBox("Auto Catch Axe"));
            Menu.Add("onlycatch", new CheckBox("Only catch when orbwalking?"));
            Menu.AddSeparator();
            Menu.Add("drawe", new CheckBox("Draw E"));
            Menu.Add("drawr", new CheckBox("Draw R"));
            Menu.Add("drawaxe", new CheckBox("Draw Axe Catch Range"));
            Menu.Add("drawaxedrop", new CheckBox("Draw Axe Object"));
            Menu.AddSeparator();
            Menu.Add("mine", new Slider("Mininum Mana for E", 65));
            Menu.Add("catchaxerange", new Slider("Axe Catch Range", 600, 0, 2000));

            Menu.AddSeparator();

            Q = new EloBuddy.SDK.Spell.Active(SpellSlot.Q, (uint)myHero.GetAutoAttackRange());
            W = new EloBuddy.SDK.Spell.Active(SpellSlot.W);
            E = new EloBuddy.SDK.Spell.Skillshot(SpellSlot.E, 1020, SkillShotType.Linear, 250, 1400, 120);
            R = new EloBuddy.SDK.Spell.Skillshot(SpellSlot.R, 2500, SkillShotType.Linear, 400, 2000, 160);

            Game.OnTick += OnUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
            Orbwalker.OnPreAttack += Orbwalker_OnPreAttack;
            GameObject.OnCreate += GameObject_OnCreate;
            GameObject.OnDelete += GameObject_OnDelete;
            Player.OnIssueOrder += Player_OnIssueOrder;
            EloBuddy.SDK.Events.Gapcloser.OnGapcloser += OnEnemyGapcloser;
            EloBuddy.SDK.Events.Interrupter.OnInterruptableSpell += OnInterruptableTarget;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
        }
Example #4
0
        public static void OnLoad()
        {
            if (!AliInGame())
            {
                return;
            }

            FlashSlot = ObjectManager.Player.GetSpellSlot("summonerflash");

            if (SupportedChampions.Contains(ObjectManager.Player.ChampionName))
            {
                ChampionSpell = GetChampionSpell();
            }

            // Menu

            Menu = MainMenu.AddMenu("Anti Alistar", "com.antiali");
            Menu.Add("com.antiali.useFlash", new CheckBox("Use Flash", false));
            Menu.AddLabel("Will only use flash if spell is on cd");
            Menu.Add("com.antiali.flashPercent", new Slider("Health For Flash", 15, 0, 100));
            Menu.Add("com.antiali.flashAmount", new Slider("Flash if x enemies", 2, 1, 5));
            Menu.Add("com.antiali.useSpell", new CheckBox("Use Spell", false));
            Menu.AddLabel("Will dash / flash to pos if its not founud it will cast to cursor pos.");
            Menu.Add("com.antiali.flashPosition", new ComboBox("Flash Position", 0, "Backwards", "Teammates", "Towards Turret"));
            Menu.Add("com.antiali.drawRange", new CheckBox("Draw Text for ali range", false));

            // Obj_AI_Base.OnProcessSpellCast += OnProcessSpell;
            AntiGapcloser.OnEnemyGapcloser += OnGapcloser;
            Drawing.OnDraw += AlistarDrawing;
        }
Example #5
0
        private void InitMenu()
        {
            ComboMenu = MainMenu.AddSubMenu("Combo Settings:", "Combo Settings: ");
            ComboMenu.Add("useq", new CheckBox("Auto Q", true));
            ComboMenu.AddSeparator();
            ComboMenu.AddLabel("1 : PRADA | 2 : MARKSMAN | 3 : VHR | 4: SharpShooter");
            ComboMenu.Add("qmode", new Slider("Q Mode: ", 1, 1, 4));
            ComboMenu.AddSeparator();
            ComboMenu.AddLabel("1 : NEVER | 2 : E-NOT-READY | 3 : ALWAYS ");
            ComboMenu.Add("qantigc", new Slider("Use Q Antigapcloser ", 1, 1, 3));
            ComboMenu.AddSeparator();
            ComboMenu.Add("focus2w", new CheckBox("Try To Focus 2W", false));
            ComboMenu.Add("dontattackwhileinvisible", new CheckBox("Smart Invisible Attacking", true));
            ComboMenu.Add("user", new CheckBox("Use R In Combo", false));

            CondemnMenu = MainMenu.AddSubMenu("Condemn Settings:", "Condemn Settings:");
            CondemnMenu.Add("usee", new CheckBox("Auto E", true));
            CondemnMenu.Add("edelay", new Slider("E Delay (in ms) ", 0, 0, 100));
            CondemnMenu.AddSeparator();
            CondemnMenu.AddLabel("1 : PRADASMART | 2 : PRADAPERFECT | 3 : MARKSMAN");
            CondemnMenu.AddLabel("4 : SHARPSHOOTER | 5 : GOSU | 6 : VHR");
            CondemnMenu.AddLabel("7 : PRADALEGACY | 8 : FASTEST | 9 : OLDPRADA");
            CondemnMenu.Add("emode", new Slider("E Mode : ", 8, 1, 9));
            CondemnMenu.AddSeparator();
            CondemnMenu.Add("useeinterrupt", new CheckBox("Use E To Interrupt", true));
            CondemnMenu.Add("useeantigapcloser", new CheckBox("Use E AntiGapcloser", true));
            CondemnMenu.Add("ewhenmeleesnear", new CheckBox("Use E when Melee near", false));
            CondemnMenu.Add("epushdist", new Slider("E Push Distance : ", 425, 300, 470));
            CondemnMenu.Add("ehitchance", new Slider("Condemn Hitchance : ", 50, 0, 100));
            CondemnMenu.Add("semiautoekey", new KeyBind("Semi Automatic Condemn", false, KeyBind.BindTypes.HoldActive, "E".ToCharArray()[0]));

            HarassMenu = MainMenu.AddSubMenu("Harass Settings:", "Harass Settings: ");
            HarassMenu.Add("usee3rdwproc", new CheckBox("Use E as 3rd W Proc", false));
            HarassMenu.Add("useqonlyon2stackedenemies", new CheckBox("Use Q If Enemy Have 2W Stacks", false));
            HarassMenu.Add("useqonenemiesnotcs", new CheckBox("Use Q Bonus On ENEMY not CS", false));

            FarmMenu = MainMenu.AddSubMenu("Farm Settings:", "Farm Settings: ");
            FarmMenu.Add("useqfarm", new CheckBox("Use Q",true));
            FarmMenu.Add("useejgfarm", new CheckBox("Use E Jungle",true));

            DrawMenu = MainMenu.AddSubMenu("Drawing Settings:", "Drawing Settings: ");
            DrawMenu.Add("drawwstacks", new CheckBox("Draw W Stacks", true));
        }
Example #6
0
        public static void OnLoad()
        {
            if (myHero.Hero != Champion.KogMaw)
            {
                return;
            }

            Menu = MainMenu.AddMenu("SharpShooter Kog", "kogmaw");
            Menu.AddLabel("Ported from SharpShooter - Berb");
            Menu.AddSeparator();
            Menu.AddGroupLabel("Combo");
            Menu.Add("useQ", new CheckBox("Use Q"));
            Menu.Add("useW", new CheckBox("Use W"));
            Menu.Add("useE", new CheckBox("Use E"));
            Menu.Add("useR", new CheckBox("Use R"));
            Menu.Add("manaW", new CheckBox("Keep Mana For W"));
            Menu.Add("dontw", new KeyBind("Don't move in combo", false, KeyBind.BindTypes.PressToggle, 'A'));
            Menu.Add("rLimit", new Slider("R stack limit", 3, 1, 6));

            Menu.Add("onlyRHP", new CheckBox("Only R if HP of target < than X"));
            Menu.Add("hpOfTarget", new Slider("HP% Of Target"));
            Menu.AddSeparator();
            Menu.AddGroupLabel("Harass");
            Menu.Add("useQH", new CheckBox("Use Q"));
            Menu.Add("useEH", new CheckBox("Use E"));
            Menu.Add("useRH", new CheckBox("Use R"));
            Menu.Add("rLimitH", new Slider("R stack limit", 1, 1, 6));
            Menu.Add("manaH", new Slider("Do Harass if mana is greater than :", 60, 1));
            Menu.AddSeparator();
            Menu.AddGroupLabel("Lane Clear");
            Menu.Add("useELC", new CheckBox("Use E"));
            Menu.Add("useRLC", new CheckBox("Use R"));
            Menu.Add("rLimitLC", new Slider("R stack limit", 1, 1, 6));
            Menu.Add("manaLC", new Slider("Do Lane Clear if mana is greater than :", 60, 1));
            Menu.AddSeparator();
            Menu.AddGroupLabel("Jungle Clear");
            Menu.Add("useWJG", new CheckBox("Use W"));
            Menu.Add("useEJG", new CheckBox("Use E"));
            Menu.Add("useRJG", new CheckBox("Use R"));
            Menu.Add("rLimitJG", new Slider("R stack limit", 2, 1, 6));
            Menu.Add("manaJG", new Slider("Do Jungle if mana is greater than :", 60, 1));
            Menu.AddSeparator();

            Q = new EloBuddy.SDK.Spell.Skillshot(SpellSlot.Q, 950, SkillShotType.Linear, 250, 1650, 70);
            W = new EloBuddy.SDK.Spell.Active(SpellSlot.W, (uint)myHero.GetAutoAttackRange());
            E = new EloBuddy.SDK.Spell.Skillshot(SpellSlot.E, 650, SkillShotType.Linear, 500, 1400, 120);
            R = new EloBuddy.SDK.Spell.Skillshot(SpellSlot.R, 1800, SkillShotType.Circular, 1200, int.MaxValue, 120);

            Drawing.OnDraw += OnDraw;
            Game.OnTick += OnTick;
            Orbwalker.OnPreAttack += OnPreAttack;
        }
Example #7
0
 public static void AddToMenu(Menu config)
 {
     config.AddLabel("----Use TS in Common Menu----");
 }
Example #8
0
        public CoreItem CreateMenu(Menu root)
        {
            try
            {
                Menu = root;//.AddSubMenu(Name, "m" + Name);
                Menu.AddGroupLabel(Name);
                Menu.Add("use" + Name, new CheckBox("Use " + DisplayName ?? Name));
                Menu.Add("prior" + Name, new Slider(DisplayName + " Priority [7 == Highest]", Priority, 1, 7));

                if (Category.Any(t => t == MenuType.SelfLowHP) && (Name.Contains("Pot") || Name.Contains("Flask") || Name.Contains("Biscuit")))
                {
                    Menu.Add("use" + Name + "cbat", new CheckBox("Use Only In Combat", false));
                }

                if (Category.Any(t => t == MenuType.EnemyLowHP))
                {
                    Menu.Add("enemylowhp" + Name + "pct", new Slider("Use on Enemy HP % <=", Name == "Botrk" || Name == "Cutlass" ? 65 : DefaultHP));
                }

                if (Category.Any(t => t == MenuType.SelfLowHP))
                    Menu.Add("selflowhp" + Name + "pct", new Slider("Use on Hero HP % <=", DefaultHP <= 35 || DefaultHP >= 90 ? (Name == "Botrk" || Name == "Cutlass" ? 65 : 35) : 55));

                if (Category.Any(t => t == MenuType.SelfMuchHP))
                    Menu.Add("selfmuchhp" + Name + "pct", new Slider("Use on Hero Dmg Dealt % >=", Duration == 101 ? 30 : 45));

                if (Category.Any(t => t == MenuType.SelfLowMP))
                    Menu.Add("selflowmp" + Name + "pct", new Slider("Use on Hero Mana % <=", DefaultMP));

                if (Category.Any(t => t == MenuType.SelfCount))
                    Menu.Add("selfcount" + Name, new Slider("Use On Enemy Near Count >=", 2, 1, 5));

                if (Category.Any(t => t == MenuType.SelfMinMP))
                    Menu.Add("selfminmp" + Name + "pct", new Slider("Minimum Mana %", 55));

                if (Category.Any(t => t == MenuType.SelfMinHP))
                    Menu.Add("selfminhp" + Name + "pct", new Slider("Minimum HP %", 55));

                if (Category.Any(t => t == MenuType.Zhonyas))
                {
                    Menu.Add("use" + Name + "norm", new CheckBox("Use on Dangerous (Spells)", false));
                    Menu.Add("use" + Name + "ulti", new CheckBox("Use on Dangerous (Ultimates Only)"));
                }

                if (Category.Any(t => t == MenuType.Cleanse))
                {
                    if (Id == 3222)
                    {
                        Menu.AddGroupLabel(Name + " Unique Buffs");
                        foreach (var b in Data.Buffdata.BuffList.Where(x => x.MenuName != null && (x.Cleanse || x.DoT)).OrderByDescending(x => x.DoT).ThenBy(x => x.Evade).ThenBy(x => x.MenuName))
                        {
                            string xdot = b.DoT && b.Cleanse ? "[Danger]" : (b.DoT ? "[DoT]" : "[Danger]");

                            if (b.Champion != null)
                                foreach (var ene in Activator.Heroes.Where(x => x.Player.IsEnemy && b.Champion == x.Player.ChampionName))
                                    Menu.Add(Name + b.Name + "cc", new CheckBox(b.MenuName + " " + xdot));
                            else
                                Menu.Add(Name + b.Name + "cc", new CheckBox(b.MenuName + " " + xdot));
                        }
                    }

                    Menu.AddGroupLabel(Name + " Buff Types");
                    Menu.Add(Name + "cexh", new CheckBox("Exhaust", true));
                    Menu.Add(Name + "csupp", new CheckBox("Supression"));
                    Menu.Add(Name + "cstun", new CheckBox("Stuns"));
                    Menu.Add(Name + "ccharm", new CheckBox("Charms"));
                    Menu.Add(Name + "ctaunt", new CheckBox("Taunts"));
                    Menu.Add(Name + "cflee", new CheckBox("Flee/Fear"));
                    Menu.Add(Name + "csnare", new CheckBox("Snares"));
                    Menu.Add(Name + "cpolymorph", new CheckBox("Polymorphs"));
                    Menu.Add(Name + "csilence", new CheckBox("Silences", false));
                    Menu.Add(Name + "cblind", new CheckBox("Blinds", false));
                    Menu.Add(Name + "cslow", new CheckBox("Slows", false));
                    if (Id == 3222)
                        Menu.Add(Name + "cpoison", new CheckBox("Poisons", false));

                    Menu.Add("use" + Name + "number", new Slider("Min Buffs to Use", DefaultHP / 5, 1, 5));
                    Menu.AddSeparator();
                    Menu.Add("use" + Name + "time", new Slider("Min Durration to Use", 500, 250, 2000));
                    Menu.AddLabel("^ Will not use unless the buff durration (stun, snare, etc) last at least this long (ms, 500 = 0.5 seconds)");
                    Menu.AddSeparator();
                    if (Id == 3222)
                    {
                        Menu.Add("use" + Name + "od", new CheckBox("Use for Unique Only", false));
                        Menu.Add("use" + Name + "dot", new Slider("Use for DoTs only if HP% <", 35));
                    }

                    Menu.Add("use" + Name + "delay", new Slider("Activation Delay (in ms)", 55, 0, 500));
                }

                if (Category.Any(t => t == MenuType.ActiveCheck))
                    Menu.Add("mode" + Name, new ComboBox("Mode: ", 0, "Always", "Combo"));

                Menu.AddSeparator();
            }

            catch (Exception e)
            {
                Console.WriteLine(e);
                Chat.Print("<font color=\"#FFF280\">Exception thrown at CoreItem.CreateMenu: </font>: " + e.Message);
            }

            return this;
        }
Example #9
0
 public override bool LaneClearMenu(Menu config)
 {
     config.AddLabel(ObjectManager.Player.ChampionName + " Doesn't Support Lane Clear");
     return true;
 }
Example #10
0
        private static void LoadMenu()
        {
            Config = MainMenu.AddMenu("Thresh", "thresh_menu");

            SpellConfig = Config.AddSubMenu("Spell Settings", "SpellSettings");
            SpellConfig.Add("autoQ", new CheckBox("Auto Q Dash Enemy", true));
            SpellConfig.Add("dontQ2", new CheckBox("Don't Auto Q2", true));
            SpellConfig.Add("dQ2if", new Slider("Don't Q2 if Enemies > allies", 1, 0, 5));
            SpellConfig.Add("farmE", new CheckBox("Farm with E", true));
            SpellConfig.AddLabel("Q BlackList :");
            foreach (var hero in HeroManager.Enemies)
            {
                SpellConfig.Add("QList" + hero.NetworkId, new CheckBox("BlackList: " + hero.ChampionName, false));
            }

            SpellConfig.Add("FlayPush", new KeyBind("Flay Push Key", false, KeyBind.BindTypes.HoldActive, 'T'));
            SpellConfig.Add("FlayPull", new KeyBind("Flay Pull Key", false, KeyBind.BindTypes.HoldActive, 'H'));

            FleeConfig = Config.AddSubMenu("Flee Settings", "FleeSettings");
            FleeConfig.Add("flee", new KeyBind("Flee", false, KeyBind.BindTypes.HoldActive, 'Z'));
            FleeConfig.Add("autoEpush", new CheckBox("Auto E push", true));

            PredictConfig = Config.AddSubMenu("Predict Settings", "PredictSettings");
            PredictConfig.Add("PredictionMode", new ComboBox("Prediction Mode", 0, "Common", "OKTW", "SDK", "SPrediction"));
            PredictConfig.Add("HitChance", new ComboBox("Hit Chance", 0, "Very High", "High", "Medium"));

            BoxConfig = Config.AddSubMenu("Box Settings", "BoxSettings");
            BoxConfig.Add("BoxCount", new Slider("Box Count", 2, 1, 6));
            BoxConfig.Add("BoxMode", new ComboBox("Box Mode", 0, "Prediction", "Now"));

            SupportConfig = Config.AddSubMenu("Support Mode", "SupportMode");
            SupportConfig.Add("SupportMode", new CheckBox("Suppor tMode", true));
            SupportConfig.Add("SupportModeRange", new Slider("Support Mode Range", (int)Player.AttackRange + 200, (int)Player.AttackRange, 2000));
            SupportConfig.Add("AttackADC", new CheckBox("Attack ADC's Target [TEST]", true));

            DrawConfig = Config.AddSubMenu("Drawing Settings", "DrawingSettings");
            DrawConfig.Add("Drawwhenskillisready", new CheckBox("Draw when skill is ready", true));
            DrawConfig.Add("drawQ", new CheckBox("Draw Q Range", true));
            DrawConfig.Add("drawW", new CheckBox("Draw W Range", true));
            DrawConfig.Add("drawE", new CheckBox("Draw E Range", true));
            DrawConfig.Add("drawR", new CheckBox("Draw R Range", true));
            DrawConfig.Add("drawtg", new CheckBox("Draw Target", true));

            SmartKeyConfig = Config.AddSubMenu("Smart Cast", "SmartCast");
            SmartKeyConfig.Add("EnableFollow", new CheckBox("Enable Follow Options,Prss Q/W/E Auto Cast Spell", true));
            SmartKeyConfig.Add("SmartCastQ", new CheckBox("Smart Cast Q", true));
            SmartKeyConfig.Add("SmartCastW", new CheckBox("Smart Cast W", true));
            SmartKeyConfig.Add("SmartCastE", new CheckBox("Smart Cast E", true));

            TowerConfig = Config.AddSubMenu("Turret Settings", "TurretSettings");
            TowerConfig.Add("QEallyTurrettarget", new CheckBox("Q/E ally Turret’s target", true));
            TowerConfig.Add("QEtargetintoallyturret", new CheckBox("Q/E target into ally turret", true));
            TowerConfig.Add("DontQ2inenemyturret", new CheckBox("Don't Q2 in enemy turret", true));
        }
Example #11
0
        public SkyLv_Taric()
        {
            if (Player.ChampionName != ChampionName) return;

            Q = new Spell(SpellSlot.Q, 300f);
            W = new Spell(SpellSlot.W, 1100f);
            E = new Spell(SpellSlot.E, 650f);
            R = new Spell(SpellSlot.R, 400f);

            Q.SetTargetted(0.5f, 300);
            W.SetTargetted(0.5f, 300);
            E.SetSkillshot(0.1f, 100, float.MaxValue, false, SkillshotType.SkillshotLine);
            R.SetTargetted(2.5f, 300);

            var ignite = Player.Spellbook.Spells.FirstOrDefault(spell => spell.Name == "summonerdot");
            if (ignite != null)
                Ignite.Slot = ignite.Slot;

            SpellList.Add(Q);
            SpellList.Add(W);
            SpellList.Add(E);
            SpellList.Add(R);

            Menu = MainMenu.AddMenu("SkyLv " + ChampionName + " By LuNi", "SkyLv " + ChampionName + " By LuNi");

            Combo = Menu.AddSubMenu("Combo", "Combo");
            //
            Combo.AddGroupLabel("Q Settings :");
            Combo.Add("Taric.UseQCombo", new CheckBox("Use Self Q In Combo"));
            Combo.Add("Taric.MinimumStackSelfQCombo", new Slider("Minimum Q Stack To Use Self Q In Combo", 2, 1, 3));
            Combo.Add("Taric.MinimumHpPercentSelfQCombo", new Slider("Minimum Hp Percent To Use Self Q In Combo", 100, 0, 100));
            Combo.Add("Taric.UseQAlly", new CheckBox("Use Q On Ally"));
            Combo.Add("Taric.UseQAllyMode", new ComboBox("Q On Ally Mode", 1, "On Combo Key", "Auto Cast"));

            foreach (var Ally in ObjectManager.Get<AIHeroClient>().Where(a => a.Team == Player.Team && a.NetworkId != Player.NetworkId))
            {
                Combo.AddLabel(Ally.ChampionName);
                Combo.Add(Ally.NetworkId + "MinimumHpQAlly", new Slider("Q Ally If Health Percent Under", 60, 0, 100));
                Combo.Add(Ally.NetworkId + "MinimumStacksQAlly", new Slider("Minimum Q Stack To Use Q On Ally", 2, 1, 3));
                Combo.AddSeparator();
            }
            //

            //
            Combo.AddGroupLabel("W Settings :");
            Combo.Add("Taric.UseWCombo", new CheckBox("Use Self W In Combo"));
            Combo.Add("Taric.UseWIncomingDamageCombo", new CheckBox("Use Self W Only On Incoming Damages In Combo"));
            Combo.Add("Taric.UseWAlly", new CheckBox("Use W On Ally"));
            Combo.Add("Taric.UseWAllyMode", new ComboBox("W On Ally Mode", 1, "On Combo Key", "Auto Cast"));
            foreach (var Ally in ObjectManager.Get<AIHeroClient>().Where(a => a.Team == Player.Team && a.NetworkId != Player.NetworkId))
            {
                Combo.AddLabel(Ally.ChampionName);
                Combo.Add(Ally.NetworkId + "MinimumHpWAlly", new Slider("W Ally If Health Percent Under", 100, 0, 100));
                Combo.Add(Ally.NetworkId + "IncomingDamageWAlly", new CheckBox("Only On Ally Incoming Damage", true));
                Combo.AddSeparator();
            }
            //

            //
            Combo.AddSeparator();
            Combo.AddGroupLabel("E Settings :");
            Combo.Add("Taric.UseECombo", new CheckBox("Use Self E In Combo"));
            Combo.Add("Taric.UseEFromAlly", new CheckBox("Use E From Ally In Combo"));
            foreach (var Ally in ObjectManager.Get<AIHeroClient>().Where(a => a.Team == Player.Team && a.NetworkId != Player.NetworkId))
            {
                Combo.AddLabel(Ally.ChampionName);
                Combo.Add(Ally.NetworkId + "AlwaysComboFromAlly", new CheckBox("Always E From This Ally If Can't Cast MySelf", true));
                Combo.Add(Ally.NetworkId + "AllyCCEComboFromAlly", new CheckBox("On Ally CC'ed", true));
                Combo.Add(Ally.NetworkId + "TargetCCEComboFromAlly", new CheckBox("On Target CC'ed", true));
                Combo.Add(Ally.NetworkId + "TargetInterruptEComboFromAlly", new CheckBox("Auto E From Ally On Interruptable Target", true));
                Combo.Add(Ally.NetworkId + "TargetDashEPEComboFromAlly", new CheckBox("On Target Dash End Position", true));
                Combo.AddSeparator();
            }
            //
            Combo.Add("Taric.UseTaricAAPassiveCombo", new CheckBox("Use All Taric AA Passive In Combo"));

            Combo.AddGroupLabel("Auto Spell Usage");
            Combo.AddLabel("Auto Q Settings");
            Combo.Add("Taric.UseAutoQ", new CheckBox("Use Auto Q Safe Mode"));
            Combo.Add("Taric.MinimumHpSafeAutoQ", new Slider("Minimum Health Percent To Use Auto Q Safe Mode", 25, 0, 100));
            Combo.Add("Taric.MinimumEnemySafeAutoQ", new Slider("Minimum Enemy In Range To Use Auto Q Safe Mode", 1, 0, 5));
            Combo.Add("Taric.MinimumStackSafeAutoQ", new Slider("Minimum Q Stack To Use Auto Q Safe Mode", 1, 1, 3));
            Combo.AddLabel("Auto W Settings");
            Combo.Add("Taric.UseAutoW", new CheckBox("Use Auto W Safe Mode", false));
            Combo.Add("Taric.MinimumHpSafeAutoW", new Slider("Minimum Health Percent To Use Auto W Safe Mode", 25, 0, 100));
            Combo.Add("Taric.MinimumEnemySafeAutoW", new Slider("Minimum Enemy In Range To Use Auto W Safe Mode", 1, 0, 5));
            Combo.AddLabel("Auto E Settings");
            Combo.Add("Taric.UseAutoEGapCloser", new CheckBox("Use E Anti Gap Closer"));
            Combo.Add("Taric.MinimumHpEGapCloser", new Slider("E Anti Gap Closer If Health Percent Under Or Equal", 100, 0, 100));
            Combo.Add("Taric.MinimumEnemyEGapCloser", new Slider("Minimum Enemy In Range To E Anti Gap Closer", 0, 0, 5));
            Combo.AddLabel("Auto R Settings");
            Combo.Add("Taric.UseAutoR", new CheckBox("Use Auto R Safe Mode"));
            Combo.Add("Taric.MinimumHpSafeAutoR", new Slider("Minimum Health Percent To Use Auto R Safe Mode", 40, 0, 100));
            Combo.Add("Taric.MinimumEnemySafeAutoR", new Slider("Minimum Enemy In Range To Use Auto R Safe Mode", 1, 0, 5));
            Combo.AddSeparator();
            Combo.AddGroupLabel("KS Mode");
            Combo.Add("Taric.KS", new CheckBox("Kill Steal"));
            Combo.AddGroupLabel("KS Mode > Spell Settings");
            Combo.Add("Taric.UseAAKS", new CheckBox("KS With AA"));
            Combo.Add("Taric.UseIgniteKS", new CheckBox("KS With Ignite"));
            Combo.Add("Taric.UseEKS", new CheckBox("KS With E"));
            Combo.AddSeparator();
            Combo.AddGroupLabel("Combo Misc");
            Combo.Add("Taric.EOnDashendPosition", new CheckBox("Use E On Enemy Dash End Position"));

            Harass = Menu.AddSubMenu("Harass", "Harass");
            Harass.AddGroupLabel("Q :");
            Harass.Add("Taric.UseQHarass", new CheckBox("Use Q In Harass", false));
            Harass.Add("Taric.QMiniManaHarass", new Slider("Minimum Mana To Use Q In Harass", 50, 0, 100));
            Harass.AddGroupLabel("W :");
            Harass.Add("Taric.UseWHarass", new CheckBox("Use W In Harass", false));
            Harass.Add("Taric.WMiniManaHarass", new Slider("Minimum Mana To Use W In Harass", 50, 0, 100));
            Harass.AddGroupLabel("E :");
            Harass.Add("Taric.UseEHarass", new CheckBox("Use E In Harass", true));
            Harass.Add("Taric.EMiniManaHarass", new Slider("Minimum Mana To Use E In Harass", 0, 0, 100));
            Harass.AddGroupLabel("Settings :");
            Harass.Add("Taric.UseTaricAAPassiveHarass", new CheckBox("Use All Taric AA Passive In Harass"));
            Harass.Add("Taric.HarassActiveT", new KeyBind("Harass (toggle) !", false, KeyBind.BindTypes.PressToggle, 'J'));

            LaneClear = Menu.AddSubMenu("LaneClear", "LaneClear");
            LaneClear.AddGroupLabel("Q :");
            LaneClear.Add("Taric.UseQLaneClear", new CheckBox("Use Q in LaneClear", false));
            LaneClear.Add("Taric.QMiniManaLaneClear", new Slider("Minimum Mana Percent To Use Q In LaneClear"));
            LaneClear.Add("Taric.QMiniMinimionAroundLaneClear", new Slider("Minimum Minion Around To Use Q In LaneClear", 6, 1, 10));
            LaneClear.AddGroupLabel("W :");
            LaneClear.Add("Taric.UseWLaneClear", new CheckBox("Use W in LaneClear", false));
            LaneClear.Add("Taric.WMiniManaLaneClear", new Slider("Minimum Mana Percent To Use W In LaneClear"));
            LaneClear.Add("Taric.WMiniMinimionAroundLaneClear", new Slider("Minimum Minion Around To Use W In LaneClear", 6, 1, 10));
            LaneClear.AddGroupLabel("E :");
            LaneClear.Add("Taric.UseELaneClear", new CheckBox("Use E in LaneClear", false));
            LaneClear.Add("Taric.EMiniManaLaneClear", new Slider("Minimum Mana Percent To Use E In LaneClear"));
            LaneClear.Add("Taric.EMiniHitLaneClear", new Slider("Minimum Minion Hit To Use E In LaneClear", 3, 1, 6));
            LaneClear.AddGroupLabel("Settings :");
            LaneClear.Add("Taric.SafeLaneClear", new CheckBox("Dont Use Spell In Lane Clear If Enemy in Dangerous Range"));
            LaneClear.Add("Taric.UseTaricAAPassiveLaneClear", new CheckBox("Use All Taric AA Passive In LaneClear"));

            JungleClear = Menu.AddSubMenu("JungleClear", "JungleClear");
            JungleClear.AddGroupLabel("Q :");
            JungleClear.Add("Taric.UseQJungleClear", new CheckBox("Use Q In JungleClear"));
            JungleClear.Add("Taric.QMiniManaJungleClear", new Slider("Minimum Mana To Use Q In JungleClear"));
            JungleClear.AddGroupLabel("W :");
            JungleClear.Add("Taric.UseWJungleClear", new CheckBox("Use W In JungleClear"));
            JungleClear.Add("Taric.WMiniManaJungleClear", new Slider("Minimum Mana To Use W In JungleClear"));
            JungleClear.AddGroupLabel("E :");
            JungleClear.Add("Taric.UseEJungleClear", new CheckBox("Use E In JungleClear"));
            JungleClear.Add("Taric.EMiniManaJungleClear", new Slider("Minimum Mana To Use E In JungleClear"));
            JungleClear.AddGroupLabel("Settings :");
            JungleClear.Add("Taric.SafeJungleClear", new CheckBox("Dont Use Spell In Jungle Clear If Enemy in Dangerous Range"));
            JungleClear.Add("Taric.SpellOnlyBigMonster", new CheckBox("Use Spell Only On Big Monster"));
            JungleClear.Add("Taric.UseTaricAAPassiveJungleClear", new CheckBox("Use All Taric AA Passive In JungleClear"));
            JungleClear.AddGroupLabel("-----------------------------------------------");
            JungleClear.AddGroupLabel("Jungle KS Mode :");
            JungleClear.Add("Taric.JungleKS", new CheckBox("Jungle KS"));
            JungleClear.AddGroupLabel("Jungle KS Mode > Advanced Settings :");
            JungleClear.Add("Taric.UseAAJungleKS", new CheckBox("KS With AA"));
            JungleClear.Add("Taric.UseEJungleKS", new CheckBox("KS With E"));

            Misc = Menu.AddSubMenu("Misc", "Misc");
            Misc.Add("Taric.UsePacketCast", new CheckBox("Use PacketCast", false));
            Misc.Add("Taric.AutoEInterrupt", new CheckBox("Auto E On Interruptable"));
            Misc.Add("Taric.AutoPotion", new CheckBox("Use Auto Potion"));
            Misc.AddGroupLabel("Auto Move Best Pos In Fountain");
            if (Game.MapId == GameMapId.SummonersRift)
            {
                Misc.Add("Taric.AutoMoveFountainMovePosSummonersRift", new CheckBox("Auto Move Best Pos in Fountain", false));
                Misc.Add("Taric.FountainMovePosSummonersRift", new ComboBox("Player Lane", 1, "Mid", "Top", "Bot"));
            }

            if (Game.MapId == GameMapId.TwistedTreeline)
            {
                Misc.Add("Taric.AutoMoveFountainMovePosTwistedTreeline", new CheckBox("Auto Move Best Pos in Fountain"));
                Misc.Add("Taric.FountainMovePosTwistedTreeline", new ComboBox("Player Lane", 0, "Top", "Bot"));
            }

            if (Game.MapId == GameMapId.HowlingAbyss)
            {
                Misc.Add("Taric.AutoMoveFountainMovePosHowlingAbyss", new CheckBox("Auto Move Best Pos in Fountain"));
            }

            Draw = Menu.AddSubMenu("Drawings", "Drawings");
            Draw.Add("QRange", new CheckBox("Q range"));//.SetValue(new Circle(true, System.Drawing.Color.Orange)));
            Draw.Add("WRange", new CheckBox("W range"));//.SetValue(new Circle(true, System.Drawing.Color.Green)));
            Draw.Add("ERange", new CheckBox("E range"));//.SetValue(new Circle(true, System.Drawing.Color.Blue)));
            Draw.Add("RRange", new CheckBox("R range"));//.SetValue(new Circle(true, System.Drawing.Color.Gold)));
            Draw.Add("DrawOrbwalkTarget", new CheckBox("Draw Orbwalk target"));//.SetValue(new Circle(true, System.Drawing.Color.Pink)));
            Draw.Add("SpellDraw.Radius", new Slider("Spell Draw Radius", 10, 1, 20));
            Draw.Add("OrbwalkDraw.Radius", new Slider("Orbwalk Draw Radius", 10, 1, 20));

            new OnUpdateFeatures();
            new OnProcessSpellCast();
            new Interrupter();
            new CastOnDash();
            new AntiGapCLoser();
            new CastOnDash();
            new KillSteal();
            new JungleSteal();
            new Combo();
            new Harass();
            new JungleClear();
            new LaneClear();
            new PotionManager();
            new Draw();
            new FountainMoves();
        }
Example #12
0
        public static void Menu()
        {
            Miscc = MainMenu.AddMenu("PortAIO Misc", "berbsicmisc");
            Miscc.Add("intro", new CheckBox("Load Intro?", true));
            Miscc.AddSeparator();
            Miscc.AddGroupLabel("Champion Changes");
            if (Champion.Contains(ObjectManager.Player.ChampionName))
            {
                if (Player.ChampionName.Equals(Champion[0]))
                {
                    Miscc.Add("soraka", new ComboBox("Use addon for Soraka : ", 0, "Sophie Soraka", "ChallengerSeries"));
                }
                if (Player.ChampionName.Equals(Champion[1]))
                {
                    Miscc.Add("kogmaw", new ComboBox("Use addon for Kog'Maw : ", 0, "Sharpshooter", "ChallengerSeries"));
                }
                if (Player.ChampionName.Equals(Champion[2]))
                {
                    Miscc.Add("leesin", new ComboBox("Use addon for Lee Sin : ", 0, "ValvraveSharp", "El Lee Sin : Reborn"));
                }
                if (Player.ChampionName.Equals(Champion[3]))
                {
                    Miscc.Add("kalista", new ComboBox("Use addon for Kalista : ", 0, "iKalista", "iKalista - Reborn", "ChallengerSeries"));
                }
                if (Player.ChampionName.Equals(Champion[4]))
                {
                    Miscc.Add("diana", new ComboBox("Use addon for Diana : ", 0, "ElDiana", "Nechrito Diana"));
                }
                if (Player.ChampionName.Equals(Champion[5]))
                {
                    Miscc.Add("cait", new ComboBox("Use addon for Caitlyn : ", 0, "OKTW", "ExorSeries : AIO"));
                }
                if (Player.ChampionName.Equals(Champion[6]))
                {
                    Miscc.Add("twitch", new ComboBox("Use addon for Twitch : ", 0, "OKTW", "Nechrito Twitch"));
                }
                if (Player.ChampionName.Equals(Champion[7]))
                {
                    Miscc.Add("nidalee", new ComboBox("Use addon for Nidalee : ", 0, "Kurisu", "Nechrito"));
                }
                if (Player.ChampionName.Equals(Champion[8]))
                {
                    Miscc.Add("lucian", new ComboBox("Use addon for Lucian : ", 0, "LCS Lucian", "ChallengerSeries", "iLucian"));
                }
                if (Player.ChampionName.Equals(Champion[9]))
                {
                    Miscc.Add("ashe", new ComboBox("Use addon for Ashe : ", 0, "OKTW", "ChallengerSeries"));
                }
                if (Player.ChampionName.Equals(Champion[10]))
                {
                    Miscc.Add("vayne", new ComboBox("Use addon for Vayne : ", 0, "ChallengerVayne", "VayneHunterReborn"));
                }
                if (Player.ChampionName.Equals(Champion[11]))
                {
                    Miscc.Add("jayce", new ComboBox("Use addon for Jayce : ", 0, "OKTW", "Hoe's Jayce"));
                }
                if (Player.ChampionName.Equals(Champion[12]))
                {
                    Miscc.Add("yasuo", new ComboBox("Use addon for Yasuo : ", 0, "ValvraveSharp", "YasuoPro"));
                }
                if (Player.ChampionName.Equals(Champion[13]))
                {
                    Miscc.Add("katarina", new ComboBox("Use addon for Katarina : ", 0, "Staberina", "e.Motion Katarina"));
                }
                if (Player.ChampionName.Equals(Champion[14]))
                {
                    Miscc.Add("xerath", new ComboBox("Use addon for Xerath : ", 0, "OKTW", "ElXerath"));
                }
                if (Player.ChampionName.Equals(Champion[15]))
                {
                    Miscc.Add("gragas", new ComboBox("Use addon for Gragas : ", 0, "Drunk Carry", "Nechrito"));
                }
            }
            else
            {
                Miscc.AddLabel("This champion is not supported for these feature.");
            }
            Miscc.AddSeparator();
            Miscc.AddGroupLabel("Util Changes");
            Miscc.AddLabel("Please F5 after making any changes below >>");
            Miscc.Add("champ", new CheckBox("Champ only mode? (No utils will load)", false));
            Miscc.Add("util", new CheckBox("Util only mode? (No champs will load)", false));
            Miscc.AddSeparator();
            Miscc.Add("activator", new CheckBox("Enable ElUtilitySuite?"));
            Miscc.Add("tracker", new CheckBox("Enable NabbTracker?"));
            Miscc.Add("recall", new CheckBox("Enable Recall Tracker?"));
            Miscc.AddSeparator();
            Miscc.Add("skin", new CheckBox("Enable Skin Hack?"));
            //Miscc.Add("evade", new CheckBox("Enable Evade?", false));
            Miscc.Add("godTracker", new CheckBox("Enable God Jungle Tracker?", false));
            Miscc.AddSeparator();
            Miscc.Add("ping", new CheckBox("Enable Ping Block?", false));
            Miscc.Add("human", new CheckBox("Enable Humanizer?", false));
            Miscc.Add("gank", new CheckBox("Enable GankAlerter?", false));

            /*
            Miscc.Add("stream", new CheckBox("Enable StreamBuddy?", false));
            public static bool stream { get { return Miscc["stream"].Cast<CheckBox>().CurrentValue; } }
            public static bool randomUlt { get { return Miscc["randomUlt"].Cast<CheckBox>().CurrentValue; } }
            public static bool baseUlt { get { return Miscc["baseUlt"].Cast<CheckBox>().CurrentValue; } }

            if (RandomUltChampsList.Contains(ObjectManager.Player.ChampionName))
            {
                Miscc.Add("randomUlt", new CheckBox("Enable Random Ult?", false));
            }

            if (BaseUltList.Contains(ObjectManager.Player.ChampionName))
            {
                Miscc.Add("baseUlt", new CheckBox("Enable Base Ult?", false));
            }
            */
        }
Example #13
0
        public static void InitMenu()
        {
            Menu = MainMenu.AddMenu("MAC - " + G_charname, "vania");

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

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

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

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

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

            KSMenu = Menu.AddSubMenu("KS - " + G_charname, "vaniaKillSteal");
            KSMenu.AddGroupLabel("Kill Steal");
            KSMenu.Add("ksQ", new CheckBox("Use Q if killable", false));
            KSMenu.Add("ksE", new CheckBox("Use E if killable", false));
        }
Example #14
0
        public static void Init(EventArgs args)
        {
            var AddonName = Champion.AddonName;
            var Author = Champion.Author;
            AddonMenu = MainMenu.AddMenu(AddonName, AddonName + " by " + Author + " v1.0 ");
            AddonMenu.AddLabel(AddonName + " made by " + Author);

            SubMenu["Prediction"] = AddonMenu.AddSubMenu("Prediction", "Prediction");
            SubMenu["Prediction"].AddGroupLabel("Q Settings");
            SubMenu["Prediction"].Add("QCombo", new Slider("Combo HitChancePercent", 60, 0, 100));
            SubMenu["Prediction"].Add("QHarass", new Slider("Harass HitChancePercent", 70, 0, 100));
            SubMenu["Prediction"].AddGroupLabel("W Settings");
            SubMenu["Prediction"].Add("WCombo", new Slider("Combo HitChancePercent", 60, 0, 100));
            SubMenu["Prediction"].Add("WHarass", new Slider("Harass HitChancePercent", 70, 0, 100));
            SubMenu["Prediction"].AddGroupLabel("QE Settings");
            SubMenu["Prediction"].Add("ECombo", new Slider("Combo HitChancePercent", 60, 0, 100));
            SubMenu["Prediction"].Add("EHarass", new Slider("Harass HitChancePercent", 70, 0, 100));

            SubMenu["Combo"] = AddonMenu.AddSubMenu("Combo", "Combo");
            SubMenu["Combo"].Add("Q", new CheckBox("Use Q", true));
            SubMenu["Combo"].Add("W", new CheckBox("Use W", true));
            SubMenu["Combo"].Add("E", new CheckBox("Use E", true));
            SubMenu["Combo"].Add("QE", new CheckBox("Use QE", true));
            SubMenu["Combo"].Add("WE", new CheckBox("Use WE", true));
            SubMenu["Combo"].AddStringList("R", "Use R", new[] { "Never", "If killable", "If needed", "Always" }, 2);
            SubMenu["Combo"].Add("Zhonyas", new Slider("Use Zhonyas if HealthPercent <=", 10, 0, 100));
            SubMenu["Combo"].Add("Cooldown", new Slider("Cooldown on spells for R needed", 3, 0, 10));

            SubMenu["Harass"] = AddonMenu.AddSubMenu("Harass", "Harass");
            SubMenu["Harass"].Add("Q", new CheckBox("Use Q", true));
            SubMenu["Harass"].Add("W", new CheckBox("Use W", false));
            SubMenu["Harass"].Add("E", new CheckBox("Use E", false));
            SubMenu["Harass"].Add("QE", new CheckBox("Use QE", false));
            SubMenu["Harass"].Add("WE", new CheckBox("Use WE", false));
            SubMenu["Harass"].Add("Turret", new CheckBox("Don't harass under enemy turret", true));
            SubMenu["Harass"].Add("Mana", new Slider("Min. Mana Percent:", 20, 0, 100));

            SubMenu["LaneClear"] = AddonMenu.AddSubMenu("LaneClear", "LaneClear");
            SubMenu["LaneClear"].Add("Q", new Slider("Use Q if Hit >=", 3, 0, 10));
            SubMenu["LaneClear"].Add("W", new Slider("Use W if Hit >=", 3, 0, 10));
            SubMenu["LaneClear"].AddGroupLabel("Unkillable minions");
            SubMenu["LaneClear"].Add("Q2", new CheckBox("Use Q", true));
            SubMenu["LaneClear"].Add("Mana", new Slider("Min. Mana Percent:", 50, 0, 100));

            SubMenu["JungleClear"] = AddonMenu.AddSubMenu("JungleClear", "JungleClear");
            SubMenu["JungleClear"].Add("Q", new CheckBox("Use Q", true));
            SubMenu["JungleClear"].Add("W", new CheckBox("Use W", true));
            SubMenu["JungleClear"].Add("E", new CheckBox("Use E", true));
            SubMenu["JungleClear"].Add("Mana", new Slider("Min. Mana Percent:", 20, 0, 100));

            SubMenu["LastHit"] = AddonMenu.AddSubMenu("LastHit", "LastHit");
            SubMenu["LastHit"].AddGroupLabel("Unkillable minions");
            SubMenu["LastHit"].Add("Q", new CheckBox("Use Q", true));
            SubMenu["LastHit"].Add("Mana", new Slider("Min. Mana Percent:", 50, 0, 100));

            SubMenu["KillSteal"] = AddonMenu.AddSubMenu("KillSteal", "KillSteal");
            SubMenu["KillSteal"].Add("Q", new CheckBox("Use Q", true));
            SubMenu["KillSteal"].Add("W", new CheckBox("Use W", true));
            SubMenu["KillSteal"].Add("E", new CheckBox("Use E", true));
            SubMenu["KillSteal"].Add("R", new CheckBox("Use R", false));
            SubMenu["KillSteal"].Add("Ignite", new CheckBox("Use Ignite", true));

            SubMenu["Flee"] = AddonMenu.AddSubMenu("Flee", "Flee");
            SubMenu["Flee"].Add("Movement", new CheckBox("Disable movement", true));
            SubMenu["Flee"].Add("E", new CheckBox("Use QE/WE on enemy near mouse", true));

            SubMenu["Drawings"] = AddonMenu.AddSubMenu("Drawings", "Drawings");
            SubMenu["Drawings"].Add("Disable", new CheckBox("Disable all drawings", false));
            SubMenu["Drawings"].Add("Target", new CheckBox("Draw circle on target", true));
            SubMenu["Drawings"].Add("Killable", new CheckBox("Draw text if enemy is killable", true));
            SubMenu["Drawings"].Add("E.Lines", new CheckBox("Draw E lines", true));
            SubMenu["Drawings"].Add("W.Object", new CheckBox("Draw circle on w object", true));

            SubMenu["Misc"] = AddonMenu.AddSubMenu("Misc", "Misc");
            SubMenu["Misc"].Add("GapCloser", new CheckBox("Use QE/WE to Interrupt GapClosers", true));
            SubMenu["Misc"].Add("Interrupter", new CheckBox("Use QE/WE to Interrupt Channeling Spells", true));
            SubMenu["Misc"].Add("QE.Range", new Slider("Less QE Range", 0, 0, 650));
            SubMenu["Misc"].Add("Overkill", new Slider("Overkill % for damage prediction", 10, 0, 100));
            if (EntityManager.Heroes.Enemies.Count > 0)
            {
                SubMenu["Misc"].AddGroupLabel("Don't use R on");
                foreach (AIHeroClient enemy in EntityManager.Heroes.Enemies)
                {
                    SubMenu["Misc"].Add("Dont.R." + enemy.ChampionName, new CheckBox(enemy.ChampionName, false));
                }
            }
        }
Example #15
0
        public CoreSum CreateMenu(Menu root)
        {
            try
            {
                Menu = root;//.AddSubMenu(DisplayName, "m" + Name);

                Menu.AddGroupLabel(DisplayName);

                if (!Name.Contains("smite") && !Name.Contains("teleport"))
                    Menu.Add("use" + Name, new CheckBox("Use " + DisplayName));

                if (Name == "summonersnowball")
                    Activator.UseEnemyMenu = true;

                if (Name == "summonerheal")
                {
                    Activator.UseAllyMenu = true;
                    Menu.Add("selflowhp" + Name + "pct", new Slider("Use on Hero HP % <=", 20));
                    Menu.Add("selfmuchhp" + Name + "pct", new Slider("Use on Hero Dmg Dealt % >=", 45));
                    Menu.Add("use" + Name + "tower", new CheckBox("Include Tower Damage", false));
                    Menu.Add("mode" + Name, new ComboBox("Mode: ", 1, "Always", "Combo"));
                    Menu.AddSeparator();
                }

                if (Name == "summonerboost")
                {
                    Activator.UseAllyMenu = true;
                    Menu.AddGroupLabel(DisplayName + " Buff Types");
                    Menu.Add(Name + "cstun", new CheckBox("Stuns"));
                    Menu.Add(Name + "ccharm", new CheckBox("Charms"));
                    Menu.Add(Name + "ctaunt", new CheckBox("Taunts"));
                    Menu.Add(Name + "cflee", new CheckBox("Flee/Fear"));
                    Menu.Add(Name + "csnare", new CheckBox("Snares"));
                    Menu.Add(Name + "cexh", new CheckBox("Exhaust", false));
                    Menu.Add(Name + "csupp", new CheckBox("Supression", false));
                    Menu.Add(Name + "csilence", new CheckBox("Silences", false));
                    Menu.Add(Name + "cpolymorph", new CheckBox("Polymorphs", false));
                    Menu.Add(Name + "cblind", new CheckBox("Blinds", false));
                    Menu.Add(Name + "cslow", new CheckBox("Slows", false));
                    Menu.Add(Name + "cpoison", new CheckBox("Poisons", false));
                    Menu.AddSeparator();

                    Menu.Add("use" + Name + "number", new Slider("Min Buffs to Use", 1, 1, 5));
                    Menu.AddSeparator();
                    Menu.Add("use" + Name + "time", new Slider("Min Durration to Use", 500, 250, 2000));
                    Menu.AddLabel("^ Will not use unless the buff durration (stun, snare, etc) last at least this long (ms, 500 = 0.5 seconds)");
                    Menu.AddSeparator();
                    Menu.Add("use" + Name + "od", new CheckBox("Use for Dangerous Only", false));
                    Menu.Add("use" + Name + "delay", new Slider("Activation Delay (in ms)", 150, 0, 500));
                    Menu.Add("mode" + Name, new ComboBox("Mode: ", 0, "Always", "Combo"));
                    Menu.AddSeparator();
                }

                if (Name == "summonerdot")
                {
                    Activator.UseEnemyMenu = true;
                    Menu.Add("idmgcheck", new Slider("Combo Damage Check %", 100, 1, 200));

                    switch (Player.ChampionName)
                    {
                        case "Ahri":
                            Menu.Add("ii" + Player.ChampionName, new CheckBox(Player.ChampionName + ": Check Charm", false));
                            break;
                        case "Cassiopeia":
                            Menu.Add("ii" + Player.ChampionName, new CheckBox(Player.ChampionName + ": Check Poison", false));
                            break;
                        case "Diana":
                            Menu.Add("ii" + Player.ChampionName, new CheckBox(Player.ChampionName + ": Check Moonlight?", false));
                            break;
                    }

                    Menu.Add("itu", new CheckBox("Dont Ignite Near Turret"));
                    Menu.Add("igtu", new Slider("-> Ignore after Level", 11, 1, 18));
                    Menu.Add("mode" + Name, new ComboBox("Mode: ", 0, "Killsteal", "Combo"));
                    Menu.AddSeparator();
                }

                if (Name == "summonermana")
                {
                    Activator.UseAllyMenu = true;
                    Menu.Add("selflowmp" + Name + "pct", new Slider("Minimum Mana % <=", 40));
                    Menu.AddSeparator();
                }

                if (Name == "summonerbarrier")
                {
                    Activator.UseAllyMenu = true;
                    Menu.Add("selflowhp" + Name + "pct", new Slider("Use on Hero HP % <=", 20));
                    Menu.Add("selfmuchhp" + Name + "pct", new Slider("Use on Hero Dmg Dealt % >=", 45));
                    Menu.Add("use" + Name + "ulti", new CheckBox("Use on Dangerous (Ultimates Only)"));
                    Menu.Add("f" + Name, new CheckBox("-> Force Barrier", false));
                    Menu.Add("use" + Name + "tower", new CheckBox("Include Tower Damage"));
                    Menu.Add("mode" + Name, new ComboBox("Mode: ", 1, "Always", "Combo"));
                    Menu.AddSeparator();
                }

                if (Name == "summonerexhaust")
                {
                    Activator.UseEnemyMenu = true;
                    Menu.Add("a" + Name + "pct", new Slider("Exhaust on ally HP %", 35));
                    Menu.Add("e" + Name + "pct", new Slider("Exhaust on enemy HP %", 45));
                    Menu.Add("use" + Name + "ulti", new CheckBox("Use on Dangerous (Utimates Only)"));
                    Menu.Add("f" + Name, new CheckBox("-> Force Exhaust"));
                    Menu.Add("mode" + Name, new ComboBox("Mode: ", 0, "Always", "Combo"));
                    Menu.AddSeparator();
                }

                if (Name == "summonersmite")
                {
                    Activator.UseEnemyMenu = true;
                    Menu.Add("usesmite", new KeyBind("Use Smite", true, KeyBind.BindTypes.PressToggle, 'M'));
                    Menu.Add("smiteskill", new CheckBox("Smite + Ability"));
                    Menu.Add("smitesmall", new CheckBox("Smite Small Camps"));
                    Menu.Add("smitelarge", new CheckBox("Smite Large Camps"));
                    Menu.Add("smitesuper", new CheckBox("Smite Epic Camps"));
                    Menu.Add("smitemode", new ComboBox("Smite Enemies: ", 1, "Killsteal", "Combo", "Nope"));
                    Menu.Add("savesmite", new CheckBox("Save a Smite Charge"));
                    Menu.AddSeparator();
                }

                if (Name == "summonerteleport")
                {
                    Activator.UseAllyMenu = true;
                    Menu.Add("telesound", new CheckBox("Enable Sound", false));
                    Menu.Add("telelowhp2", new CheckBox("Ping Low Health Allies", false));
                    Menu.Add("teleulthp2", new CheckBox("Ping Dangerous Activity", false));
                    Menu.AddSeparator();
                }
            }

            catch (Exception e)
            {
                Console.WriteLine(e);
                Chat.Print("<font color=\"#FFF280\">Exception thrown at CoreSum.CreateMenu: </font>: " + e.Message);
            }

            return this;
        }
Example #16
0
        public static void GameOnOnGameLoad()
        {
            _spells = EloBuddy.SDK.Spells.SpellDatabase.GetSpellInfoList(ObjectManager.Player.BaseSkinName);

            enemySpawn = ObjectManager.Get<Obj_SpawnPoint>().FirstOrDefault(x => x.IsEnemy);
            Q = new Spell(SpellSlot.Q);
            E = new Spell(SpellSlot.E);
            W = new Spell(SpellSlot.W);
            R = new Spell(SpellSlot.R);

            Config = MainMenu.AddMenu("OneKeyToWin AIO", "OneKeyToWin_AIO" + ObjectManager.Player.ChampionName);

            #region MENU ABOUT OKTW

            Config.Add("debug", new CheckBox("Debug", false));
            Config.Add("debugChat", new CheckBox("Debug Chat", false));
            Config.Add("print", new CheckBox("OKTW NEWS in chat"));

            #endregion

            Config.Add("AIOmode", new Slider("AIO mode (0 : Util & Champ | 1 : Only Champ | 2 : Only Util)", 0, 0, 2));
            AIOmode = getSliderItem("AIOmode");

            var slots = new HashSet<SpellSlot>();
            foreach (var info in _spells)
            {
                slots.Add(info.Slot);
            }

            Config.Add("PredictionMODE", new Slider("Pred Mode (0 : L# Pred | 1 : OKTW Pred | 2 : SPred | 3 : SDK | 4 : EB)", 0, 0, 4));
            Config.Add("HitChance", new Slider("AIO mode (0 : Very High | 1 : High | 2 : Medium)", 0, 0, 2));
            Config.Add("debugPred", new CheckBox("Draw Aiming OKTW© PREDICTION", false));
            Config.Add("harassLaneclear", new CheckBox("Skill-Harass in lane clear"));

            if (getSliderItem("PredictionMODE") == 2)
            {
                SPrediction.Prediction.Initialize(Config);
                SPredictionLoad = true;
            }
            else
            {
                Config.AddLabel("SPREDICTION NOT LOADED");
            }

            if (AIOmode != 2)
            {
                Config.Add("supportMode", new CheckBox("Support Mode", false));
                Config.Add("comboDisableMode", new CheckBox("Disable auto-attack in combo mode", false));
                Config.Add("manaDisable", new CheckBox("Disable mana manager in combo"));
                Config.Add("collAA", new CheckBox("Disable auto-attack if Yasuo wall collision"));

                #region LOAD CHAMPIONS

                switch (Player.ChampionName)
                {
                    case "Anivia":
                        PortAIO.Champion.Anivia.Anivia.LoadOKTW();
                        break;
                    case "Annie":
                        PortAIO.Champion.Annie.Program.LoadOKTW();
                        break;
                    case "Ashe":
                        PortAIO.Champion.Ashe.Program.LoadOKTW();
                        break;
                    case "Braum":
                        PortAIO.Champion.Braum.Program.LoadOKTW();
                        break;
                    case "Caitlyn":
                        new Caitlyn().LoadOKTW();
                        break;
                    case "Ekko":
                        PortAIO.Champion.Ekko.Program.LoadOKTW();
                        break;
                    case "Ezreal":
                        Ezreal.LoadOKTW();
                        break;
                    case "Graves":
                        Graves.LoadOKTW();
                        break;
                    case "Jayce":
                        OneKeyToWin_AIO_Sebby.Champions.Jayce.LoadOKTW();
                        break;
                    case "Jinx":
                        new Jinx().LoadOKTW();
                        break;
                    case "Karthus":
                        Karthus.LoadOKTW();
                        break;
                    case "Lucian":
                        Lucian.LoadOKTW();
                        break;
                    case "MissFortune":
                        MissFortune.LoadOKTW();
                        break;
                    case "Malzahar":
                        Malzahar.LoadOKTW();
                        break;
                    case "Orianna":
                        Orianna.LoadOKTW();
                        break;
                    case "Sivir":
                        Sivir.LoadOKTW();
                        break;
                    case "Twitch":
                        Twitch.LoadOKTW();
                        break;
                    case "Syndra":
                        new OneKeyToWin_AIO_Sebby.Champions.Syndra().LoadOKTW();
                        break;
                    case "Velkoz":
                        Velkoz.LoadOKTW();
                        break;
                    case "Xerath":
                        Xerath.LoadOKTW();
                        break;
                    case "Swain":
                        Swain.LoadOKTW();
                        break;
                    case "Urgot":
                        Urgot.LoadOKTW();
                        break;
                    case "Ahri":
                        Ahri.LoadOKTW();
                        break;
                    case "Thresh":
                        Thresh.LoadOKTW();
                        break;
                    case "Brand":
                        Brand.LoadOKTW();
                        break;
                    case "Blitzcrank":
                        Blitzcrank.LoadOKTW();
                        break;
                    case "Corki":
                        Corki.LoadOKTW();
                        break;
                    case "Darius":
                        Darius.LoadOKTW();
                        break;
                    case "Evelynn":
                        OneKeyToWin_AIO_Sebby.Champions.Evelynn.LoadOKTW();
                        break;
                    case "Jhin":
                        Jhin.LoadOKTW();
                        break;
                    case "Kindred":
                        Kindred.LoadOKTW();
                        break;
                    case "KogMaw":
                        OneKeyToWin_AIO_Sebby.KogMaw.LoadOKTW();
                        break;
                    case "Lux":
                        Lux.LoadOKTW();
                        break;
                    case "Morgana":
                        Morgana.LoadOKTW();
                        break;
                    case "Quinn":
                        Quinn.LoadOKTW();
                        break;
                    case "TwistedFate":
                        OneKeyToWin_AIO_Sebby.Champions.TwistedFate.LoadOKTW();
                        break;
                    case "Varus":
                        new OneKeyToWin_AIO_Sebby.Champions.Varus().LoadOKTW();
                        break;
                }
            }

            #endregion

            foreach (var hero in HeroManager.Enemies)
            {
                if (hero.IsEnemy && hero.Team != Player.Team)
                {
                    Enemies.Add(hero);
                    if (IsJungler(hero))
                        jungler = hero;
                }
            }

            foreach (var hero in HeroManager.Allies)
            {
                if (hero.IsAlly && hero.Team == Player.Team)
                    Allies.Add(hero);
            }

            if (AIOmode != 1)
            {
                new OKTWward().LoadOKTW();
                new OKTWtracker().LoadOKTW();
            }

            Game.OnUpdate += OnUpdate;
            LSEvents.BeforeAttack += Orbwalking_BeforeAttack;
            Drawing.OnDraw += OnDraw;
            Game.OnTick += Game_OnTick;
        }
Example #17
0
        private static void OnLoad()
        {
            Menu = MainMenu.AddMenu("Aatrox", "Aatrox");
            Menu.AddLabel("Ported from BrianSharp - Berb");
            Menu.AddSeparator();

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

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

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

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

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

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

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

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

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

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

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

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

            Ignite = myHero.GetSpellSlot("summonerdot");

            Game.OnTick += OnTick;
            Gapcloser.OnGapcloser += Gapcloser_OnGapcloser;
            Interrupter.OnPossibleToInterrupt += OnPossibleToInterrupt;
            Drawing.OnDraw += OnDraw;
        }
Example #18
0
        public static void Menu()
        {
            Miscc = MainMenu.AddMenu("PortAIO Misc", "berbsicmisc");
            Miscc.AddGroupLabel("Options ");
            Miscc.Add("intro", new CheckBox("Load Intro?", true));
            Miscc.Add("resetorb", new CheckBox("Reset Orbwalker", false)).OnValueChange += Loader_OnValueChange;
            Miscc.AddSeparator();
            Miscc.AddGroupLabel("Champion Dual Port : ");
            if (Champion.Contains(ObjectManager.Player.ChampionName))
            {
                if (Player.ChampionName.Equals(Champion[0]))
                {
                    Miscc.Add("soraka", new ComboBox("Use addon for Soraka : ", 0, "Sophie Soraka", "ChallengerSeries"));
                }
                if (Player.ChampionName.Equals(Champion[1]))
                {
                    Miscc.Add("kogmaw", new ComboBox("Use addon for Kog'Maw : ", 0, "Sharpshooter", "ChallengerSeries", "OKTW", "Marksman II", "ExorAIO"));
                }
                if (Player.ChampionName.Equals(Champion[2]))
                {
                    Miscc.Add("leesin", new ComboBox("Use addon for Lee Sin : ", 0, "ValvraveSharp", "El Lee Sin : Reborn", "FreshBooster"));
                }
                if (Player.ChampionName.Equals(Champion[3]))
                {
                    Miscc.Add("kalista", new ComboBox("Use addon for Kalista : ", 0, "Marksman II", "iKalista - Reborn", "ChallengerSeries", "HastaKalista", "ExorAIO"));
                }
                if (Player.ChampionName.Equals(Champion[4]))
                {
                    Miscc.Add("diana", new ComboBox("Use addon for Diana : ", 0, "ElDiana", "Nechrito Diana", "ExorAIO"));
                }
                if (Player.ChampionName.Equals(Champion[5]))
                {
                    Miscc.Add("cait", new ComboBox("Use addon for Caitlyn : ", 0, "OKTW", "ExorAIO", "ChallengerSeries", "Marksman II"));
                }
                if (Player.ChampionName.Equals(Champion[6]))
                {
                    Miscc.Add("twitch", new ComboBox("Use addon for Twitch : ", 0, "OKTW", "Infected Twitch", "iTwitch", "ExorAIO", "Marksman II"));
                }
                if (Player.ChampionName.Equals(Champion[7]))
                {
                    Miscc.Add("nidalee", new ComboBox("Use addon for Nidalee : ", 0, "Kurisu", "Nechrito", "D_Nidalee"));
                }
                if (Player.ChampionName.Equals(Champion[8]))
                {
                    Miscc.Add("lucian", new ComboBox("Use addon for Lucian : ", 0, "LCS Lucian", "ChallengerSeries", "iLucian", "Marksman II", "OKTW", "Hoola Lucian", "ExorAIO"));
                }
                if (Player.ChampionName.Equals(Champion[9]))
                {
                    Miscc.Add("ashe", new ComboBox("Use addon for Ashe : ", 0, "OKTW", "ChallengerSeries", "Marksman II", "ExorAIO"));
                }
                if (Player.ChampionName.Equals(Champion[10]))
                {
                    Miscc.Add("vayne", new ComboBox("Use addon for Vayne : ", 0, "Vayne 2.0", "VayneHunterReborn", "hi im gosu", "hVayne SDK", "ExorAIO", "Challenger Series", "Marksman II"));
                }
                if (Player.ChampionName.Equals(Champion[11]))
                {
                    Miscc.Add("jayce", new ComboBox("Use addon for Jayce : ", 0, "OKTW", "Hoe's Jayce"));
                }
                if (Player.ChampionName.Equals(Champion[12]))
                {
                    Miscc.Add("yasuo", new ComboBox("Use addon for Yasuo : ", 0, "ValvraveSharp", "YasuoPro", "GosuMechanics", "YasuoSharpV2", "Firestorm AIO"));
                }
                if (Player.ChampionName.Equals(Champion[13]))
                {
                    Miscc.Add("katarina", new ComboBox("Use addon for Katarina : ", 0, "Staberina", "e.Motion Katarina"));
                }
                if (Player.ChampionName.Equals(Champion[14]))
                {
                    Miscc.Add("xerath", new ComboBox("Use addon for Xerath : ", 0, "OKTW", "ElXerath"));
                }
                if (Player.ChampionName.Equals(Champion[15]))
                {
                    Miscc.Add("gragas", new ComboBox("Use addon for Gragas : ", 0, "Drunk Carry", "Nechrito"));
                }
                if (Player.ChampionName.Equals(Champion[16]))
                {
                    Miscc.Add("draven", new ComboBox("Use addon for Draven : ", 0, "Sharp Shooter/Exor", "Tyler1", "Marksman II", "ExorAIO", "MoonDraven"));
                }
                if (Player.ChampionName.Equals(Champion[17]))
                {
                    Miscc.Add("ezreal", new ComboBox("Use addon for Ezreal : ", 0, "OKTW", "iDzEzreal", "Marksman II", "ExorAIO"));
                }
                if (Player.ChampionName.Equals(Champion[18]))
                {
                    Miscc.Add("brand", new ComboBox("Use addon for Brand : ", 0, "TheBrand", "OKTW", "yol0Brand"));
                }
                if (Player.ChampionName.Equals(Champion[19]))
                {
                    Miscc.Add("blitzcrank", new ComboBox("Use addon for Blitzcrank : ", 0, "FreshBooster", "OKTW", "KurisuBlitz"));
                }
                if (Player.ChampionName.Equals(Champion[20]))
                {
                    Miscc.Add("corki", new ComboBox("Use addon for Corki : ", 0, "ElCorki", "OKTW", "D-Corki", "Marksman II", "ExorAIO"));
                }
                if (Player.ChampionName.Equals(Champion[21]))
                {
                    Miscc.Add("darius", new ComboBox("Use addon for Darius : ", 0, "ExorAIO", "OKTW", "KurisuDarius"));
                }
                if (Player.ChampionName.Equals(Champion[22]))
                {
                    Miscc.Add("evelynn", new ComboBox("Use addon for Evelynn : ", 0, "Evelynn#", "OKTW", "ExorAIO"));
                }
                if (Player.ChampionName.Equals(Champion[23]))
                {
                    Miscc.Add("jhin", new ComboBox("Use addon for Jhin : ", 0, "Jhin Virtuoso", "OKTW", "hJhin", "Marksman II", "ExorAIO"));
                }
                if (Player.ChampionName.Equals(Champion[24]))
                {
                    Miscc.Add("kindred", new ComboBox("Use addon for Kindred : ", 0, "Kindred Yin Yang", "OKTW", "Marksman II"));
                }
                if (Player.ChampionName.Equals(Champion[25]))
                {
                    Miscc.Add("lux", new ComboBox("Use addon for Lux : ", 0, "MoonLux", "OKTW", "ElLux", "ExorAIO"));
                }
                if (Player.ChampionName.Equals(Champion[26]))
                {
                    Miscc.Add("morgana", new ComboBox("Use addon for Morgana : ", 0, "Kurisu Morgana", "OKTW"));
                }
                if (Player.ChampionName.Equals(Champion[27]))
                {
                    Miscc.Add("quinn", new ComboBox("Use addon for Quinn : ", 0, "GFuel Quinn", "OKTW", "ExorAIO", "Marksman II"));
                }
                if (Player.ChampionName.Equals(Champion[28]))
                {
                    Miscc.Add("twistedfate", new ComboBox("Use addon for TwistedFate : ", 0, "Esk0r", "OKTW"));
                }
                if (Player.ChampionName.Equals(Champion[29]))
                {
                    Miscc.Add("kayle", new ComboBox("Use addon for Kayle : ", 0, "SephKayle", "OKTW", "D_Kayle"));
                }
                if (Player.ChampionName.Equals(Champion[30]))
                {
                    Miscc.Add("jax", new ComboBox("Use addon for Jax : ", 0, "xQx Jax", "NoobJaxReloaded", "ExorAIO"));
                }
                if (Player.ChampionName.Equals(Champion[31]))
                {
                    Miscc.Add("sion", new ComboBox("Use addon for Sion : ", 0, "UnderratedAIO", "SimpleSion"));
                }
                if (Player.ChampionName.Equals(Champion[32]))
                {
                    Miscc.Add("ryze", new ComboBox("Use addon for Ryze : ", 0, "ExorAIO", "ElEasy Ryze", "SluttyRyze", "Arcane Ryze", "Sergix Ryze", "HeavenStrikeRyze"));
                }
                if (Player.ChampionName.Equals(Champion[33]))
                {
                    Miscc.Add("sona", new ComboBox("Use addon for Sona : ", 0, "vSupport", "ElEasy Sona"));
                }
                if (Player.ChampionName.Equals(Champion[34]))
                {
                    Miscc.Add("trundle", new ComboBox("Use addon for Trundle : ", 0, "ElTrundle", "FastTrundle", "UnderratedAIO"));
                }
                if (Player.ChampionName.Equals(Champion[35]))
                {
                    Miscc.Add("gangplank", new ComboBox("Use addon for GangPlank : ", 0, "UnderratedAIO"));
                }
                if (Player.ChampionName.Equals(Champion[36]))
                {
                    Miscc.Add("poppy", new ComboBox("Use addon for Poppy : ", 0, "UnderratedAIO", "BadaoKingdom"));
                }
                if (Player.ChampionName.Equals(Champion[37]))
                {
                    Miscc.Add("shaco", new ComboBox("Use addon for Shaco : ", 0, "UnderratedAIO", "ChewyMoon's Shaco"));
                }
                if (Player.ChampionName.Equals(Champion[38]))
                {
                    Miscc.Add("leblanc", new ComboBox("Use addon for LeBlanc : ", 0, "PopBlanc", "xQx LeBlanc", "FreshBooster", "LeBlanc II", "Badao LeBlanc"));
                }
                if (Player.ChampionName.Equals(Champion[39]))
                {
                    Miscc.Add("Ekko", new ComboBox("Use addon for Ekko : ", 0, "OKTW", "ElEkko", "EkkoGod"));
                }
                if (Player.ChampionName.Equals(Champion[40]))
                {
                    Miscc.Add("Rumble", new ComboBox("Use addon for Rumble : ", 0, "Underrated Rumble", "ElRumble"));
                }
                if (Player.ChampionName.Equals(Champion[41]))
                {
                    Miscc.Add("Riven", new ComboBox("Use addon for Riven : ", 0, "NechritoRiven", "Heaven Strike Riven", "KurisuRiven", "Hoola Riven"));
                }
                if (Player.ChampionName.Equals(Champion[42]))
                {
                    Miscc.Add("Graves", new ComboBox("Use addon for Graves : ", 0, "OKTW", "D-Graves", "Marksman II", "ExorAIO"));
                }
                if (Player.ChampionName.Equals(Champion[43]))
                {
                    Miscc.Add("Elise", new ComboBox("Use addon for Elise : ", 0, "GFuel Elise", "D-Elise", "GOD Elise"));
                }
                if (Player.ChampionName.Equals(Champion[44]))
                {
                    Miscc.Add("rengar", new ComboBox("Use addon for Rengar : ", 0, "ElRengar", "D-Rengar", "PrideStalker"));
                }
                if (Player.ChampionName.Equals(Champion[45]))
                {
                    Miscc.Add("zed", new ComboBox("Use addon for Zed : ", 0, "ValvraveSharp", "Ze-D is Back", "iDZed"));
                }
                if (Player.ChampionName.Equals(Champion[46]))
                {
                    Miscc.Add("ahri", new ComboBox("Use addon for Ahri : ", 0, "OKTW", "AhriSharp"));
                }
                if (Player.ChampionName.Equals(Champion[47]))
                {
                    Miscc.Add("reksai", new ComboBox("Use addon for RekSai : ", 0, "D-RekSai", "HeavenStrike"));
                }
                if (Player.ChampionName.Equals(Champion[48]))
                {
                    Miscc.Add("volibear", new ComboBox("Use addon for VoliBear : ", 0, "Underrated Voli", "VoliPower"));
                }
                if (Player.ChampionName.Equals(Champion[49]))
                {
                    Miscc.Add("anivia", new ComboBox("Use addon for Anivia : ", 0, "OKTW", "ExorAIO", "Firestorm AIO"));
                }
                if (Player.ChampionName.Equals(Champion[50]))
                {
                    Miscc.Add("taliyah", new ComboBox("Use addon for Taliyah : ", 0, "Taliyah", "TophSharp"));
                }
                if (Player.ChampionName.Equals(Champion[51]))
                {
                    Miscc.Add("janna", new ComboBox("Use addon for Janna : ", 0, "LCS Janna", "FreshBooster"));
                }
                if (Player.ChampionName.Equals(Champion[52]))
                {
                    Miscc.Add("irelia", new ComboBox("Use addon for Irelia : ", 0, "ChallengerSeries", "IreliaGOD", "Irelia II", "Irelia Reloaded"));
                }
                if (Player.ChampionName.Equals(Champion[53]))
                {
                    Miscc.Add("sivir", new ComboBox("Use addon for Sivir : ", 0, "OKTW", "ExorAIO", "iSivir", "Marksman II"));
                }
                if (Player.ChampionName.Equals(Champion[54]))
                {
                    Miscc.Add("jarvan", new ComboBox("Use addon for Jarvan : ", 0, "BrianSharp", "D_Jarvan"));
                }
                if (Player.ChampionName.Equals(Champion[55]))
                {
                    Miscc.Add("braum", new ComboBox("Use addon for Braum : ", 0, "OKTW", "FreshBooster"));
                }
                if (Player.ChampionName.Equals(Champion[56]))
                {
                    Miscc.Add("karma", new ComboBox("Use addon for Karma : ", 0, "Spirit Karma", "Esk0r Karma", "ExorAIO"));
                }
                if (Player.ChampionName.Equals(Champion[57]))
                {
                    Miscc.Add("teemo", new ComboBox("Use addon for Teemo : ", 0, "Sharpshooter", "Swiftly Teemo", "Marksman II"));
                }
                if (Player.ChampionName.Equals(Champion[58]))
                {
                    Miscc.Add("cassiopeia", new ComboBox("Use addon for Cassiopeia : ", 0, "SAutoCarry", "Seph Cassio", "ExorAIO"));
                }
                if (Player.ChampionName.Equals(Champion[59]))
                {
                    Miscc.Add("bard", new ComboBox("Use addon for Bard : ", 0, "Asuna Bard", "FreshBooster"));
                }
                if (Player.ChampionName.Equals(Champion[60]))
                {
                    Miscc.Add("olaf", new ComboBox("Use addon for Olaf : ", 0, "ExorAIO", "Olaf is Back", "UnderratedAIO Olaf"));
                }
                if (Player.ChampionName.Equals(Champion[61]))
                {
                    Miscc.Add("gnar", new ComboBox("Use addon for Gnar : ", 0, "SluttyGnar", "Marksman II"));
                }
                if (Player.ChampionName.Equals(Champion[62]))
                {
                    Miscc.Add("renekton", new ComboBox("Use addon for Renekton : ", 0, "ExorAIO", "UnderratedAIO"));
                }
                if (Player.ChampionName.Equals(Champion[63]))
                {
                    Miscc.Add("jinx", new ComboBox("Use addon for Jinx : ", 0, "OKTW", "Marksman II", "GENESIS Jinx", "ExorAIO"));
                }
                if (Player.ChampionName.Equals(Champion[64]))
                {
                    Miscc.Add("syndra", new ComboBox("Use addon for Syndra : ", 0, "OKTW", "Kortatu Syndra"));
                }
                if (Player.ChampionName.Equals(Champion[65]))
                {
                    Miscc.Add("aatrox", new ComboBox("Use addon for Aatrox : ", 0, "BrianSharp", "KappaSeries"));
                }
                if (Player.ChampionName.Equals(Champion[66]))
                {
                    Miscc.Add("missfortune", new ComboBox("Use addon for MissFortune : ", 0, "OKTW", "Marksman II", "ExorAIO"));
                }
                if (Player.ChampionName.Equals(Champion[67]))
                {
                    Miscc.Add("mundo", new ComboBox("Use addon for Dr.Mundo : ", 0, "Hestia's Mundo", "ExorAIO"));
                }
                if (Player.ChampionName.Equals(Champion[68]))
                {
                    Miscc.Add("akali", new ComboBox("Use addon for Akali : ", 0, "xQx Akali", "ExorAIO"));
                }
                if (Player.ChampionName.Equals(Champion[69]))
                {
                    Miscc.Add("thresh", new ComboBox("Use addon for Thresh : ", 0, "OKTW", "Thesh the Ruler", "Thresh the Chain Warden", "Slutty Thresh", "yol0 Thresh", "Dark Star Thresh", "Thresh by Asuvril"));
                }
                if (Player.ChampionName.Equals(Champion[70]))
                {
                    Miscc.Add("amumu", new ComboBox("Use addon for Amumu : ", 0, "Shine#", "ExorAIO"));
                }
                if (Player.ChampionName.Equals(Champion[71]))
                {
                    Miscc.Add("azir", new ComboBox("Use addon for Azir : ", 0, "HeavenStrikeAzir", "Creator Of Elo"));
                }
                if (Player.ChampionName.Equals(Champion[72]))
                {
                    Miscc.Add("kassadin", new ComboBox("Use addon for Kassadin : ", 0, "Kassawin", "Preserved Kassadin"));
                }
                if (Player.ChampionName.Equals(Champion[73]))
                {
                    Miscc.Add("tristana", new ComboBox("Use addon for Tristana : ", 0, "ElTristana", "ExorAIO", "Marksman II"));
                }
                if (Player.ChampionName.Equals(Champion[74]))
                {
                    Miscc.Add("zac", new ComboBox("Use addon for Zac : ", 0, "Underrated Zac", "The Secret Flubber"));
                }
                if (Player.ChampionName.Equals(Champion[75]))
                {
                    Miscc.Add("annie", new ComboBox("Use addon for Annie : ", 0, "OKTW Annie", "OAnnie"));
                }
                if (Player.ChampionName.Equals(Champion[76]))
                {
                    Miscc.Add("karthus", new ComboBox("Use addon for Karthus : ", 0, "OKTW Karthus", "KarthusSharp"));
                }
                if (Player.ChampionName.Equals(Champion[77]))
                {
                    Miscc.Add("udyr", new ComboBox("Use addon for Udyr : ", 0, "D_Udyr", "ExorAIO"));
                }
                if (Player.ChampionName.Equals(Champion[78]))
                {
                    Miscc.Add("veigar", new ComboBox("Use addon for Veigar : ", 0, "FreshBooster", "ExorAIO"));
                }
                if (Player.ChampionName.Equals(Champion[79]))
                {
                    Miscc.Add("warwick", new ComboBox("Use addon for Warwick : ", 0, "Warwick | The Blood Hunter", "ExorAIO"));
                }
                if (Player.ChampionName.Equals(Champion[80]))
                {
                    Miscc.Add("illaoi", new ComboBox("Use addon for Illaoi : ", 0, "Tentacle Kitty", "Flowers Illaoi"));
                }
                if (Player.ChampionName.Equals(Champion[81]))
                {
                    Miscc.Add("hecarim", new ComboBox("Use addon for Hecarim : ", 0, "Justy Hecarim", "UnderratedAIO"));
                }
                if (Player.ChampionName.Equals(Champion[82]))
                {
                    Miscc.Add("urgot", new ComboBox("Use addon for Urgot : ", 0, "OKTW", "Marksman II"));
                }
                if (Player.ChampionName.Equals(Champion[83]))
                {
                    Miscc.Add("varus", new ComboBox("Use addon for Varus : ", 0, "ElVarus", "Marksman II", "OKTW"));
                }
                if (Player.ChampionName.Equals(Champion[84]))
                {
                    Miscc.Add("malzahar", new ComboBox("Use addon for Malzahar : ", 0, "OKTW", "SurvivorMalzahar"));
                }
            }
            else
            {
                Miscc.AddLabel("This champion is not supported for these feature.");
            }
            Miscc.AddSeparator();
            Miscc.AddGroupLabel("Util Dual-Port :");
            Miscc.Add("evadeCB", new ComboBox("Which Evade?", 0, "ezEvade", "Evade#"));
            Miscc.Add("activatorCB", new ComboBox("Which Activator?", 0, "ElUtilitySuite", "NabbActivator", "Activator#"));
            Miscc.Add("trackerCB", new ComboBox("Which Tracker?", 0, "NabbTracker", "Tracker#"));
            Miscc.Add("predictionerCB", new ComboBox("Which Predictioner?", 0, "EB", "SDK", "OKTW", "SPred", "L#"));
            Miscc.Add("orbwalkerCB", new ComboBox("Which Orbwalk/TargetSelect?", 1, "NOPE", "L#"));
            Miscc.AddSeparator();
            Miscc.AddGroupLabel("Util Changes");
            Miscc.AddLabel("Please F5 after making any changes below >>");
            Miscc.Add("champ", new CheckBox("Champ only mode? (No utils will load)", false));
            Miscc.Add("util", new CheckBox("Util only mode? (No champs will load)", false));
            Miscc.AddSeparator();
            Miscc.Add("activator", new CheckBox("Enable Activator?"));
            Miscc.Add("tracker", new CheckBox("Enable Tracker?"));
            Miscc.Add("recall", new CheckBox("Enable Recall Tracker?"));
            Miscc.Add("skin", new CheckBox("Enable Skin Hack?", false));
            Miscc.AddSeparator();
            Miscc.Add("evade", new CheckBox("Enable Evade?", false));
            Miscc.Add("predictioner", new CheckBox("Enable Predictioner?", true));
            Miscc.Add("dzaware", new CheckBox("Enable DZAwareness?", false));
            Miscc.Add("godTracker", new CheckBox("Enable God Jungle Tracker?", false));
            Miscc.AddSeparator();
            Miscc.Add("human", new CheckBox("Enable Humanizer?", false));
            Miscc.Add("gank", new CheckBox("Enable GankAlerter?", false));
            Miscc.Add("cheat", new CheckBox("Enable TheCheater?", false));
            Miscc.Add("randomult", new CheckBox("Enable Random Ult?", false));
            Miscc.AddSeparator();
            Miscc.Add("banwards", new CheckBox("Enable Sebby BanWars?", false));
            Miscc.Add("antialistar", new CheckBox("Enable AntiAlistar?", false));
            Miscc.Add("traptrack", new CheckBox("Enable TrapTracker?", false));
            Miscc.Add("limitedShat", new CheckBox("Enable LimitedShat?", false));
            Miscc.AddSeparator();
            Miscc.Add("autoLevel", new CheckBox("Enable Auto Level?", false));
            Miscc.Add("chatLogger", new CheckBox("Enable Chat Logger?", false));
            Miscc.Add("autoFF", new CheckBox("Enable Auto FF?", false));
            Miscc.Add("urfSpell", new CheckBox("Enable URF Spam Speller?", false));
            Miscc.AddSeparator();
            Miscc.Add("pastingSharp", new CheckBox("Enable PastingSharp?", false));
            Miscc.Add("emoteSpammer", new CheckBox("Enable Emote Spammer?", false));
            Miscc.Add("antiStealth", new CheckBox("Enable Anti Stealth (ElUtil)?", false));
            Miscc.Add("reform", new CheckBox("Enable Toxic Player Reform Program?", false));
            Miscc.AddSeparator();
            Miscc.Add("ping", new CheckBox("Enable Ping Block?", false));
            Miscc.Add("feed", new CheckBox("Enable Black Feeder 2.0?", false));
            Miscc.Add("mes", new CheckBox("Enable Mastery Emote Spammer?", false));
            Miscc.Add("dev", new CheckBox("Enable Developer Sharp?", false));
            Miscc.AddSeparator();
            Miscc.Add("cursor", new CheckBox("Enable VCursor?", false));
            Miscc.Add("condemn", new CheckBox("Enable Asuna Condemn (Vayne Only)?", false));

            var credits = Miscc.AddSubMenu("Credits");
            credits.AddLabel("Nathan or jQuery");
            credits.AddLabel("Exory");
            credits.AddLabel("TheSaltyWaffle");
            credits.AddLabel("Nechrito");
            credits.AddLabel("AlphaGod");
            credits.AddLabel("Trees");
            credits.AddLabel("Kurisu");
            credits.AddLabel("Kortatu- Admin");
            credits.AddLabel("TheNinow");
            credits.AddLabel("Sebby");
            credits.AddLabel("iJava");
            credits.AddLabel("Shine");
            credits.AddLabel("ARSkid");
            credits.AddLabel("ILuvBananas");
            credits.AddLabel("imsosharp - f**k you but no f**k you because your scripts are cool/amazing");
            credits.AddLabel("karmapanda - L# version kappa");
            credits.AddLabel("Somaher");
            credits.AddLabel("TheKushStyle");
            credits.AddLabel("Brian");
            credits.AddLabel("xQx");
            credits.AddLabel("Hoes");
            credits.AddLabel("God");
            credits.AddLabel("Diabaths");
            credits.AddLabel("Beaving - Admin");
            credits.AddLabel("RussianBlue");
            credits.AddLabel("Badao");
            credits.AddLabel("Asuna");
            credits.AddLabel("Seph");
            credits.AddLabel("Soresu");
            credits.AddLabel("Hestia");
            credits.AddLabel("xcsoft");
            credits.AddLabel("legacy");
            credits.AddLabel("Hikigaya");
            credits.AddLabel("mathieu002");
            credits.AddLabel("BestSkarnerNA");
            credits.AddLabel("Justy");
            credits.AddLabel("spawny");
            credits.AddLabel("ChewyMoon");
            credits.AddLabel("Shegeki14");
            credits.AddLabel("trooperhdx");
            credits.AddLabel("StopMotionCuber");
            credits.AddLabel("Detuks");
            credits.AddLabel("Veto");
            credits.AddLabel("tulisan69");
            credits.AddLabel("trus");
            credits.AddLabel("Synx");
            credits.AddLabel("iMeh - Admin (a really nice guy - this guy makes L#'s customer service beautiful)");
            credits.AddLabel("Kyon");
            credits.AddLabel("Doug");
            credits.AddLabel("LuNi");
            credits.AddLabel("Berb");
            credits.AddLabel("Muse30");

            /*
            //Miscc.Add("orbwalker", new CheckBox("Enable L# Orbwalker (HIGHLY BETA)?", false));
            public static bool orbwalker { get { return Miscc["orbwalker"].Cast<CheckBox>().CurrentValue; } }
            public static bool VCursor { get { return Miscc["VCursor"].Cast<CheckBox>().CurrentValue; } }
            //Miscc.Add("VCursor", new CheckBox("Enable VCursor?", false));
            Miscc.Add("stream", new CheckBox("Enable StreamBuddy?", false));
            public static bool stream { get { return Miscc["stream"].Cast<CheckBox>().CurrentValue; } }
            public static bool baseUlt { get { return Miscc["baseUlt"].Cast<CheckBox>().CurrentValue; } }

            if (BaseUltList.Contains(ObjectManager.Player.ChampionName))
            {
                Miscc.Add("baseUlt", new CheckBox("Enable Base Ult?", false));
            }
            */
        }
Example #19
0
        public static void Game_OnGameLoad()
        {
            Config = MainMenu.AddMenu("Marksman", "Marksman");
            ChampionClass = new Marksman.Champions.Champion();
            Common.CommonGeometry.Init();
            var BaseType = ChampionClass.GetType();

            /* Update this with Activator.CreateInstance or Invoke
               http://stackoverflow.com/questions/801070/dynamically-invoking-any-function-by-passing-function-name-as-string
               For now stays cancer.
             */
            var championName = ObjectManager.Player.ChampionName.ToLowerInvariant();

            switch (championName)
            {
                case "ashe":
                    ChampionClass = new Ashe();
                    break;
                case "caitlyn":
                    ChampionClass = new Caitlyn();
                    break;
                case "corki":
                    ChampionClass = new Corki();
                    break;
                case "draven":
                    ChampionClass = new Draven();
                    break;
                case "ezreal":
                    ChampionClass = new Ezreal();
                    break;
                case "gnar":
                    ChampionClass = new Gnar();
                    break;
                case "graves":
                    ChampionClass = new Graves();
                    break;
                case "jhin":
                    ChampionClass = new Jhin();
                    break;
                case "jinx":
                    ChampionClass = new Jinx();
                    break;
                case "kalista":
                    ChampionClass = new Kalista();
                    break;
                case "kindred":
                    ChampionClass = new Kindred();
                    break;
                case "kogmaw":
                    ChampionClass = new Kogmaw();
                    break;
                case "lucian":
                    ChampionClass = new Lucian();
                    break;
                case "sivir":
                    ChampionClass = new Sivir();
                    break;
                case "missfortune":
                    ChampionClass = new MissFortune();
                    break;
                case "quinn":
                    ChampionClass = new Quinn();
                    break;
                case "teemo":
                    ChampionClass = new Teemo();
                    break;
                case "tristana":
                    ChampionClass = new Tristana();
                    break;
                case "twitch":
                    ChampionClass = new Twitch();
                    break;
                case "urgot":
                    ChampionClass = new Urgot();
                    break;
                case "vayne":
                    ChampionClass = new Vayne();
                    break;
                case "varus":
                    ChampionClass = new Varus();
                    break;
            }
            Config.DisplayName = "Marksman Lite";

            ChampionClass.Config = Config;

            MenuExtraTools = Config.AddSubMenu("Extra Tools", "ExtraTools");
            {
                MenuExtraTools.AddLabel("Press F5 for Load Extra Tools!");
                MenuExtraTools.Add("ExtraTools.Prediction", new ComboBox("Prediction:", 0, "LeagueSharp Common", "SPrediction (Synx)"));
                MenuExtraTools.Add("ExtraTools.AutoLevel", new CheckBox("Auto Leveler:", false));
                MenuExtraTools.Add("ExtraTools.AutoBush", new CheckBox("Auto Bush Ward:", false));
                MenuExtraTools.Add("ExtraTools.AutoPink", new CheckBox("Auto Pink Ward:", false));
                MenuExtraTools.Add("ExtraTools.Emote", new CheckBox("Emote:", false));
                MenuExtraTools.Add("ExtraTools.BuffTimer", new CheckBox("Buff Time Manager:", false));
                MenuExtraTools.Add("ExtraTools.Potition", new CheckBox("Potition Manager:", false));
                MenuExtraTools.Add("ExtraTools.Summoners", new CheckBox("Summoner Manager:", false));
                MenuExtraTools.Add("ExtraTools.Tracker", new CheckBox("Tracker:", false));
            }

            Common.CommonSettings.Init(Config);

            MenuActivator = Config.AddSubMenu("Activator", "Activator");
            {
                MenuActivator.Add("BOTRK", new CheckBox("BOTRK"));
                MenuActivator.Add("GHOSTBLADE", new CheckBox("Ghostblade"));
                MenuActivator.Add("SWORD", new CheckBox("Sword of the Divine"));
                MenuActivator.Add("MURAMANA", new CheckBox("Muramana"));
                MenuActivator.Add("UseItemsMode", new ComboBox("Use items on", 2, "No", "Mixed mode", "Combo mode", "Both"));

                if (MenuExtraTools["ExtraTools.AutoLevel"].Cast<CheckBox>().CurrentValue)
                {
                    Common.CommonAutoLevel.Init(MenuActivator);
                }

                if (MenuExtraTools["ExtraTools.AutoPink"].Cast<CheckBox>().CurrentValue)
                {
                    Common.CommonAutoPink.Initialize(MenuActivator);
                }

                if (MenuExtraTools["ExtraTools.AutoBush"].Cast<CheckBox>().CurrentValue)
                {
                    Common.CommonAutoBush.Init(MenuActivator);
                }

                if (MenuExtraTools["ExtraTools.Emote"].Cast<CheckBox>().CurrentValue)
                {
                    Common.CommonEmote.Init(MenuActivator);
                }
            }

            // If Champion is supported draw the extra menus
            if (BaseType != ChampionClass.GetType())
            {
                SetSmiteSlot();

                combo = Config.AddSubMenu("Combo", "Combo");
                if (ChampionClass.ComboMenu(combo))
                {
                    if (SmiteSlot != SpellSlot.Unknown)
                        combo.Add("ComboSmite", new CheckBox("Use Smite"));
                }

                harass = Config.AddSubMenu("Harass", "Harass");
                if (ChampionClass.HarassMenu(harass))
                {
                    harass.Add("HarassMana", new Slider("Min. Mana Percent", 50, 0, 100));
                }

                laneclear = Config.AddSubMenu("Lane Mode", "LaneClear");
                if (ChampionClass.LaneClearMenu(laneclear))
                {
                    laneclear.Add("Lane.Enabled", new KeyBind(":: Enable Lane Farm!", true, KeyBind.BindTypes.PressToggle, 'L'));

                    laneclear.AddGroupLabel("Min. Mana Settings");
                    {
                        laneclear.Add("LaneMana.Alone", new Slider("If I'm Alone %:", 30, 0, 100));
                        laneclear.Add("LaneMana.Enemy", new Slider("If Enemy Close %:", 60, 0, 100));
                    }
                }

                jungleClear = Config.AddSubMenu("Jungle Mode", "JungleClear");
                if (ChampionClass.JungleClearMenu(jungleClear))
                {
                    jungleClear.AddGroupLabel("Min. Mana Settings");
                    {
                        jungleClear.Add("Jungle.Mana.Ally", new Slider("Ally Mobs %:", 50, 0, 100));
                        jungleClear.Add("Jungle.Mana.Enemy", new Slider("Enemy Mobs %:", 30, 0, 100));
                        jungleClear.Add("Jungle.Mana.BigBoys", new Slider("Baron/Dragon %:", 70, 0, 100));
                    }
                    jungleClear.Add("Jungle.Items", new ComboBox(":: Use Items:", 3, "Off", "Use for Baron", "Use for Baron", "Both"));
                    jungleClear.Add("Jungle.Enabled", new KeyBind(":: Enable Jungle Farm!", true, KeyBind.BindTypes.PressToggle, 'J'));
                }

                /*----------------------------------------------------------------------------------------------------------*/
                /*
                Obj_AI_Base ally = (from aAllies in HeroManager.Allies from aSupportedChampions in new[] { "janna", "tahm", "leona", "lulu", "lux", "nami", "shen", "sona", "braum", "bard" } where aSupportedChampions == aAllies.ChampionName.ToLower() select aAllies).FirstOrDefault();

                if (ally != null)
                {
                    menuAllies = Config.AddSubMenu("Ally Combo", "Ally.Combo");
                    {
                        AIHeroClient Leona = HeroManager.Allies.Find(e => e.ChampionName.ToLower() == "leona");
                        if (Leona != null)
                        {
                            menuAllies.Add("Leona.ComboBuff", new CheckBox("Force Focus Marked Enemy for Bonus Damage"));
                        }

                        AIHeroClient Lux = HeroManager.Allies.Find(e => e.ChampionName.ToLower() == "lux");
                        if (Lux != null)
                        {
                            menuAllies.Add("Lux.ComboBuff", new CheckBox("Force Focus Marked Enemy for Bonus Damage"));
                        }

                        AIHeroClient Shen = HeroManager.Allies.Find(e => e.ChampionName.ToLower() == "shen");
                        if (Shen != null)
                        {
                            menuAllies.Add("Shen.ComboBuff", new CheckBox("Force Focus Q Marked Enemy Objects for Heal"));
                            menuAllies.Add("Shen.ComboBuff", new Slider("Minimum Heal:", 80));
                        }

                        AIHeroClient Tahm = HeroManager.Allies.Find(e => e.ChampionName.ToLower() == "Tahm");
                        if (Tahm != null)
                        {
                            menuAllies.Add("Tahm.ComboBuff", new CheckBox("Force Focus Marked Enemy for Stun"));
                        }

                        AIHeroClient Sona = HeroManager.Allies.Find(e => e.ChampionName.ToLower() == "Sona");
                        if (Sona != null)
                        {
                            menuAllies.Add("Sona.ComboBuff", new CheckBox("Force Focus to Marked Enemy"));
                        }

                        AIHeroClient Lulu = HeroManager.Allies.Find(e => e.ChampionName.ToLower() == "Lulu");
                        if (Lulu != null)
                        {
                            menuAllies.Add("Lulu.ComboBuff", new CheckBox("Force Focus to Enemy If I have E buff"));
                        }

                        AIHeroClient Nami = HeroManager.Allies.Find(e => e.ChampionName.ToLower() == "nami");
                        if (Nami != null)
                        {
                            menuAllies.Add("Nami.ComboBuff", new CheckBox("Force Focus to Enemy If I have E Buff"));
                        }
                    }
                }
                */
                /*----------------------------------------------------------------------------------------------------------*/

                misc = Config.AddSubMenu("Misc", "Misc");
                if (ChampionClass.MiscMenu(misc))
                {
                    misc.Add("Misc.SaveManaForUltimate", new CheckBox("Save Mana for Ultimate", false));
                }

                marksmanDrawings = Config.AddSubMenu("Drawings", "MDrawings");
                if (ChampionClass.DrawingMenu(marksmanDrawings))
                {
                    //marksmanDrawings.AddSubMenu(drawing);
                }
                marksmanDrawings.AddGroupLabel("Global");
                {
                    marksmanDrawings.Add("Draw.TurnOff", new ComboBox("Drawings", 1, "Disable", "Enable", "Disable on Combo Mode", "Disable on Lane/Jungle Mode", "Both"));
                    marksmanDrawings.Add("Draw.KillableEnemy", new CheckBox("Killable Enemy Text", false));
                    marksmanDrawings.Add("Draw.MinionLastHit", new ComboBox("Minion Last Hit", 2, "Off", "On", "Just Out of AA Range Minions"));
                    marksmanDrawings.Add("Draw.DrawMinion", new CheckBox("Draw Minions Sprite", false));
                    marksmanDrawings.Add("Draw.DrawTarget", new CheckBox("Draw Target Sprite"));
                    marksmanDrawings.AddGroupLabel("Compare me with");
                    {
                        string[] strCompare = new string[HeroManager.Enemies.Count + 1];
                        strCompare[0] = "Off";
                        var i = 1;
                        foreach (var e in HeroManager.Enemies)
                        {
                            strCompare[i] = e.ChampionName;
                            i += 1;
                        }
                        marksmanDrawings.Add("Marksman.Compare.Set", new ComboBox("Set", 1, "Off", "Auto Compare at Startup"));
                        marksmanDrawings.Add("Marksman.Compare", new ComboBox("Compare me with", 0, strCompare));
                    }
                }
            }

            ChampionClass.MainMenu(Config);

            Drawing.OnDraw += Drawing_OnDraw;
            Game.OnUpdate += Game_OnGameUpdate;
            Game.OnUpdate += eventArgs =>
            {
                if (ChampionClass.LaneClearActive)
                {
                    ExecuteLaneClear();
                }

                if (ChampionClass.JungleClearActive)
                {
                    ExecuteJungleClear();
                }

                PermaActive();
            };

            Orbwalker.OnPostAttack += Orbwalking_AfterAttack;
            Orbwalker.OnPreAttack += Orbwalking_BeforeAttack;
            GameObject.OnCreate += OnCreateObject;
            GameObject.OnDelete += OnDeleteObject;

            Obj_AI_Base.OnBuffGain += Obj_AI_Base_OnBuffAdd;
            Obj_AI_Base.OnBuffLose += Obj_AI_Base_OnBuffRemove;

            Spellbook.OnCastSpell += Spellbook_OnCastSpell;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;

            Console.Clear();
        }
Example #20
0
        public static void GameOnOnGameLoad()
        {
            enemySpawn = ObjectManager.Get<Obj_SpawnPoint>().FirstOrDefault(x => x.IsEnemy);
            Q = new Spell(SpellSlot.Q);
            E = new Spell(SpellSlot.E);
            W = new Spell(SpellSlot.W);
            R = new Spell(SpellSlot.R);

            Config = MainMenu.AddMenu("OneKeyToWin AIO", "OneKeyToWin_AIO" + ObjectManager.Player.ChampionName);

            #region MENU ABOUT OKTW

            Config.Add("debug", new CheckBox("Debug", false));
            Config.Add("debugChat", new CheckBox("Debug Chat", false));
            Config.Add("print", new CheckBox("OKTW NEWS in chat"));

            #endregion

            Config.Add("AIOmode", new Slider("AIO mode (0 : Util & Champ | 1 : Only Champ | 2 : Only Util)", 0, 0, 2));
            AIOmode = getSliderItem("AIOmode");

            Config.Add("PredictionMODE", new Slider("Prediction MODE (0 : Common Pred | 1 : OKTW© PREDICTION | 2 : SPrediction | 3 : SDK)", 0, 0, 3));
            Config.Add("HitChance", new Slider("AIO mode (0 : Very High | 1 : High | 2 : Medium)", 0, 0, 2));
            Config.Add("debugPred", new CheckBox("Draw Aiming OKTW© PREDICTION", false));

            if (getSliderItem("PredictionMODE") == 2)
            {
                SPrediction.Prediction.Initialize(Config);
                SPredictionLoad = true;
            }
            else
            {
                Config.AddLabel("SPREDICTION NOT LOADED");
            }

            if (AIOmode != 2)
            {
                Config.Add("supportMode", new CheckBox("Support Mode", false));
                Config.Add("comboDisableMode", new CheckBox("Disable auto-attack in combo mode", false));
                Config.Add("manaDisable", new CheckBox("Disable mana manager in combo"));
                Config.Add("collAA", new CheckBox("Disable auto-attack if Yasuo wall collision"));

                #region LOAD CHAMPIONS

                switch (Player.ChampionName)
                {
                    case "Anivia":
                        PortAIO.Champion.Anivia.Program.LoadOKTW();
                        break;
                    case "Annie":
                        PortAIO.Champion.Annie.Program.LoadOKTW();
                        break;
                    case "Ashe":
                        PortAIO.Champion.Ashe.Program.LoadOKTW();
                        break;
                    case "Braum":
                        PortAIO.Champion.Braum.Program.LoadOKTW();
                        break;
                    case "Caitlyn":
                        PortAIO.Champion.Caitlyn.Program.LoadOKTW();
                        break;
                    case "Ekko":
                        PortAIO.Champion.Ekko.Program.LoadOKTW();
                        break;
                    case "Ezreal":
                        Ezreal.LoadOKTW();
                        break;
                    case "Graves":
                        Graves.LoadOKTW();
                        break;
                    case "Jayce":
                        OneKeyToWin_AIO_Sebby.Champions.Jayce.LoadOKTW();
                        break;
                    case "Jinx":
                        Jinx.LoadOKTW();
                        break;
                    case "Karthus":
                        Karthus.LoadOKTW();
                        break;
                    case "MissFortune":
                        MissFortune.LoadOKTW();
                        break;
                    case "Malzahar":
                        Malzahar.LoadOKTW();
                        break;
                    case "Orianna":
                        Orianna.LoadOKTW();
                        break;
                    case "Sivir":
                        Sivir.LoadOKTW();
                        break;
                    case "Twitch":
                        Twitch.LoadOKTW();
                        break;
                    case "Syndra":
                        Syndra.LoadOKTW();
                        break;
                    case "Velkoz":
                        Velkoz.LoadOKTW();
                        break;
                    case "Xerath":
                        Xerath.LoadOKTW();
                        break;
                    case "Swain":
                        Swain.LoadOKTW();
                        break;
                    case "Urgot":
                        Urgot.LoadOKTW();
                        break;
                    case "Ahri":
                        Ahri.LoadOKTW();
                        break;
                    case "Thresh":
                        Thresh.LoadOKTW();
                        break;
                }
            }

            #endregion

            foreach (var hero in HeroManager.Enemies)
            {
                if (hero.IsEnemy && hero.Team != Player.Team)
                {
                    Enemies.Add(hero);
                    if (IsJungler(hero))
                        jungler = hero;
                }
            }

            foreach (var hero in HeroManager.Allies)
            {
                if (hero.IsAlly && hero.Team == Player.Team)
                    Allies.Add(hero);
            }

            if (AIOmode != 1)
            {
                new OKTWward().LoadOKTW();
                new OKTWtracker().LoadOKTW();
            }

            Game.OnUpdate += OnUpdate;
            Orbwalker.OnPreAttack += Orbwalking_BeforeAttack;
            Drawing.OnDraw += OnDraw;
        }