Esempio n. 1
0
File: Garen.cs Progetto: uvbs/WSUBot
        static Garen()
        {
            MenuIni       = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu      = MenuIni.AddSubMenu("Auto");
            ComboMenu     = MenuIni.AddSubMenu("Combo");
            HarassMenu    = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");

            AutoMenu.CreateCheckBox("Q", "Flee Q");
            AutoMenu.CreateCheckBox("IntQ", "Interrupter Q");

            foreach (var spell in SpellList)
            {
                ComboMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                if (spell != R)
                {
                    HarassMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                    LaneClearMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                }
                KillStealMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
            }

            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Orbwalker.OnPostAttack           += Orbwalker_OnPostAttack;
        }
Esempio n. 2
0
        static Ryze()
        {
            MenuIni       = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu      = MenuIni.AddSubMenu("Auto");
            ComboMenu     = MenuIni.AddSubMenu("Combo");
            HarassMenu    = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");

            AutoMenu.CreateCheckBox("gapw", "Anti GapCloser W");
            foreach (var spell in SpellList)
            {
                if (spell != R)
                {
                    ComboMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                    HarassMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                    HarassMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                    LaneClearMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                    LaneClearMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                    KillStealMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                }
            }
            E.CastDelay = 250;

            Gapcloser.OnGapcloser += Gapcloser_OnGapcloser;
        }
Esempio n. 3
0
        static Lux()
        {
            MenuIni       = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu      = MenuIni.AddSubMenu("Auto");
            ComboMenu     = MenuIni.AddSubMenu("Combo");
            HarassMenu    = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");

            Q = new Spell.Skillshot(SpellSlot.Q, 1175, SkillShotType.Linear, 250, 1200, 70)
            {
                AllowedCollisionCount = 1
            };
            W = new Spell.Skillshot(SpellSlot.W, 1075, SkillShotType.Linear, 0, 1400, 85)
            {
                AllowedCollisionCount = int.MaxValue
            };
            E = new Spell.Skillshot(SpellSlot.E, 1100, SkillShotType.Circular, 250, 1400, 335)
            {
                AllowedCollisionCount = int.MaxValue
            };
            R = new Spell.Skillshot(SpellSlot.R, 3340, SkillShotType.Linear, int.MaxValue, 500, 110)
            {
                AllowedCollisionCount = int.MaxValue
            };

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

            AutoMenu.CreateCheckBox("FleeQ", "Flee Q");
            AutoMenu.CreateCheckBox("FleeW", "Flee W");
            AutoMenu.CreateCheckBox("FleeE", "Flee E");
            AutoMenu.CreateCheckBox("W", "W incoming Dmg self");
            AutoMenu.CreateCheckBox("Wallies", "W incoming Dmg allies");
            AutoMenu.CreateCheckBox("GapQ", "Anti-GapCloser Q");
            AutoMenu.CreateCheckBox("GapE", "Anti-GapCloser E");
            AutoMenu.CreateCheckBox("GapW", "Anti-GapCloser W");
            AutoMenu.CreateCheckBox("IntQ", "Interrupter Q");
            ComboMenu.CreateSlider("RAOE", "R AOE HIT {0}", 3, 1, 5);

            foreach (var spell in SpellList)
            {
                ComboMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                if (spell != R && spell != W)
                {
                    HarassMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                    HarassMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                    LaneClearMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                    LaneClearMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                }
                KillStealMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
            }

            Gapcloser.OnGapcloser            += Gapcloser_OnGapcloser;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Game.OnTick += Lux_SkillshotDetector;
            Game.OnTick += Lux_PopE;
            SpellsDetector.OnTargetedSpellDetected += SpellsDetector_OnTargetedSpellDetected;
        }
Esempio n. 4
0
        static Teemo()
        {
            /*Messages.OnMessage += delegate (Messages.WindowMessage message) //helpful to extract positions for shrooms
             * {
             *  if (message.Message == WindowMessages.LeftButtonDoubleClick)
             *      Console.WriteLine($"            new Location(new Vector3({Game.CursorPos.X}f, {Game.CursorPos.Y}f, {Game.CursorPos.Z}f)),");
             * };*/


            MenuIni       = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu      = MenuIni.AddSubMenu("Auto");
            ComboMenu     = MenuIni.AddSubMenu("Combo");
            HarassMenu    = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");

            foreach (var spell in SpellList.Where(s => s == Q))
            {
                ComboMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                HarassMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                HarassMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                LaneClearMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot, false);
                LaneClearMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                KillStealMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
            }

            ComboMenu.CreateCheckBox(SpellSlot.R, "Use R");

            AutoMenu.CreateCheckBox("autoR", "Auto Place Shrooms");

            R.SetSkillshot().Width = 300;

            GameObject.OnCreate += GameObject_OnCreate;
            GameObject.OnDelete += GameObject_OnDelete;
        }
Esempio n. 5
0
        static Kalista()
        {
            MenuIni       = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu      = MenuIni.AddSubMenu("Auto");
            ComboMenu     = MenuIni.AddSubMenu("Combo");
            HarassMenu    = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");

            Q = new Spell.Skillshot(SpellSlot.Q, 1150, SkillShotType.Linear, 250, 2100, 80)
            {
                AllowedCollisionCount = 0
            };
            W = new Spell.Skillshot(SpellSlot.W, 5000, SkillShotType.Circular, 250, 2100, 80);
            E = new Spell.Active(SpellSlot.E, 1000);
            R = new Spell.Active(SpellSlot.R, 1100);
            SpellList.Add(Q);
            SpellList.Add(E);

            foreach (var spell in SpellList)
            {
                ComboMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                HarassMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                HarassMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                LaneClearMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                LaneClearMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                KillStealMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
            }
            Gapcloser.OnGapcloser += Gapcloser_OnGapcloser;
        }
Esempio n. 6
0
        static Orianna()
        {
            MenuIni       = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu      = MenuIni.AddSubMenu("Auto");
            ComboMenu     = MenuIni.AddSubMenu("Combo");
            HarassMenu    = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");

            foreach (var spell in SpellList)
            {
                ComboMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                HarassMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                HarassMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                LaneClearMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                LaneClearMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                KillStealMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
            }

            AutoMenu.CreateCheckBox("W", "Flee W");
            AutoMenu.CreateCheckBox("IntR", "Interrupter R");
            AutoMenu.CreateCheckBox("R", "Use R");
            AutoMenu.CreateSlider("RAOE", "R AOE HIT {0}", 3, 1, 5);

            ComboMenu.CreateCheckBox("R", "Use R");
            ComboMenu.CreateSlider("RAOE", "R AOE HIT {0}", 2, 1, 5);

            KillStealMenu.CreateCheckBox("R", "Use R");
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            //SpellsDetector.OnTargetedSpellDetected += SpellsDetector_OnTargetedSpellDetected;
        }
Esempio n. 7
0
        static Jhin()
        {
            MenuIni       = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu      = MenuIni.AddSubMenu("Auto");
            ComboMenu     = MenuIni.AddSubMenu("Combo");
            HarassMenu    = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");

            foreach (var spell in SpellList)
            {
                ComboMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                HarassMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                HarassMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                LaneClearMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                LaneClearMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                KillStealMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
            }
            AutoMenu.CreateCheckBox("Qunk", "Q UnKillable Minions");
            AutoMenu.CreateCheckBox("AutoW", "Auto W Targets With Buff");
            AutoMenu.CreateCheckBox("WGap", "W Gap Closers");
            AutoMenu.AddGroupLabel("R Settings");
            AutoMenu.CreateCheckBox("R", "Use R");
            AutoMenu.CreateCheckBox("RKS", "R Kill Steal");
            AutoMenu.CreateSlider("RHit", "R HitChance {0}%", 45);

            ComboMenu.CreateCheckBox("WAA", "W If Target is Out Of AA Range");
            ComboMenu.CreateCheckBox("WBUFF", "W Snare Targets Only");

            Player.OnIssueOrder            += Player_OnIssueOrder;
            Gapcloser.OnGapcloser          += Gapcloser_OnGapcloser;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
            Orbwalker.OnUnkillableMinion   += Orbwalker_OnUnkillableMinion;
            Spellbook.OnCastSpell          += Spellbook_OnCastSpell;
        }
Esempio n. 8
0
        static TwistedFate()
        {
            MenuIni       = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu      = MenuIni.AddSubMenu("Auto");
            ComboMenu     = MenuIni.AddSubMenu("Combo");
            HarassMenu    = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");

            Q = new Spell.Skillshot(SpellSlot.Q, 1400, SkillShotType.Linear, 0, 1000, 40)
            {
                AllowedCollisionCount = int.MaxValue
            };
            W = new Spell.Active(SpellSlot.W, 800);
            SpellList.Add(Q);
            SpellList.Add(W);

            foreach (var spell in SpellList)
            {
                ComboMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                HarassMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                HarassMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                LaneClearMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                LaneClearMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                KillStealMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
            }
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
        }
Esempio n. 9
0
        static Garen()
        {
            MenuIni       = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu      = MenuIni.AddSubMenu("Auto");
            ComboMenu     = MenuIni.AddSubMenu("Combo");
            HarassMenu    = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");

            AutoMenu.CreateCheckBox("Q", "Flee Q");
            AutoMenu.CreateCheckBox("GapW", "Anti-GapCloser W");
            AutoMenu.CreateCheckBox("IntQ", "Interrupter Q");
            AutoMenu.CreateCheckBox("TDmgW", "W against targeted Spells");
            AutoMenu.CreateCheckBox("SDmgW", "W against Skillshots");
            foreach (var spell in SpellList)
            {
                ComboMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                if (spell != R)
                {
                    HarassMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                    LaneClearMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                }
                KillStealMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
            }

            Gapcloser.OnGapcloser                  += Gapcloser_OnGapcloser;
            Interrupter.OnInterruptableSpell       += Interrupter_OnInterruptableSpell;
            Orbwalker.OnPostAttack                 += Orbwalker_OnPostAttack;
            SpellsDetector.OnTargetedSpellDetected += SpellsDetector_OnTargetedSpellDetected;
            Game.OnTick += Garen_SkillshotDetector;
        }
Esempio n. 10
0
        static Xayah()
        {
            MenuIni       = MainMenu.AddMenu(MenuName, MenuName);
            ComboMenu     = MenuIni.AddSubMenu("Combo");
            HarassMenu    = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");

            foreach (var spell in SpellList.Where(s => s != E))
            {
                ComboMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                if (spell != R)
                {
                    HarassMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                    HarassMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                    LaneClearMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                    LaneClearMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                }
                KillStealMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
            }
            ComboMenu.CreateCheckBox("Esnare", "Use E To Snare Target");

            GameObject.OnCreate += GameObject_OnCreate;
            Orbwalker.OnAttack  += Orbwalker_OnAttack;
        }
Esempio n. 11
0
        static Yasuo()
        {
            MenuIni       = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu      = MenuIni.AddSubMenu("Auto");
            ComboMenu     = MenuIni.AddSubMenu("Combo");
            HarassMenu    = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");

            foreach (var spell in SpellList.Where(s => s != W))
            {
                ComboMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                if (spell != R)
                {
                    HarassMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                    LaneClearMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                }
                KillStealMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
            }

            AutoMenu.CreateCheckBox("IntQ3", "Interrupter Q3");
            AutoMenu.CreateCheckBox("GapQ3", "Anti-Gapcloser Q3");
            AutoMenu.CreateCheckBox("RAOE", "Enable Auto R AOE");
            AutoMenu.CreateSlider("Q3AOE", "Auto Q3 AOE Hit", 2, 1, 6);
            AutoMenu.CreateSlider("Rhits", "Auto R AOE Hit", 2, 1, 6);

            ComboMenu.CreateCheckBox("RAOE", "Enable Combo R AOE");
            ComboMenu.CreateSlider("Rhits", "Combo R AOE Hit", 2, 1, 6);

            Obj_AI_Base.OnProcessSpellCast   += Obj_AI_Base_OnProcessSpellCast;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapcloser;
            E.OnSpellCasted += (spell, args) => args.Process = user.PredictHealthPercent() > 50;
        }
Esempio n. 12
0
        static Syndra()
        {
            MenuIni       = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu      = MenuIni.AddSubMenu("Auto");
            ComboMenu     = MenuIni.AddSubMenu("Combo");
            HarassMenu    = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");

            Q = new Spell.Skillshot(SpellSlot.Q, 820, SkillShotType.Circular, 600, int.MaxValue, 125);
            W = new Spell.Skillshot(SpellSlot.W, 925, SkillShotType.Circular, 350, 1500, 130);
            E = new Spell.Skillshot(SpellSlot.E, 695, SkillShotType.Cone, 250, 2500, 50);
            R = new Spell.Targeted(SpellSlot.R, 695);
            SpellList.Add(Q);
            SpellList.Add(W);
            SpellList.Add(E);
            SpellList.Add(R);

            foreach (var spell in SpellList)
            {
                ComboMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                if (spell != R)
                {
                    HarassMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                    HarassMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                    LaneClearMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                    LaneClearMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                }
                KillStealMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
            }
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
        }
Esempio n. 13
0
        static Taliyah()
        {
            MenuIni       = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu      = MenuIni.AddSubMenu("Auto");
            ComboMenu     = MenuIni.AddSubMenu("Combo");
            HarassMenu    = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");

            Q = new Spell.Skillshot(SpellSlot.Q, 900, SkillShotType.Linear, 250, 2000, 60)
            {
                AllowedCollisionCount = 0
            };
            W = new Spell.Skillshot(SpellSlot.W, 800, SkillShotType.Circular, 250, int.MaxValue, 180);
            E = new Spell.Skillshot(SpellSlot.E, 700, SkillShotType.Cone, 250, 1000, 120);
            SpellList.Add(Q);
            SpellList.Add(W);
            SpellList.Add(E);

            foreach (var spell in SpellList)
            {
                ComboMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                HarassMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                HarassMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                LaneClearMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                LaneClearMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                KillStealMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
            }
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
        }
Esempio n. 14
0
        static Fiora()
        {
            MenuIni       = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu      = MenuIni.AddSubMenu("Auto");
            ComboMenu     = MenuIni.AddSubMenu("Combo");
            HarassMenu    = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");

            foreach (var spell in SpellList)
            {
                ComboMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                if (spell != R)
                {
                    HarassMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                    HarassMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                    LaneClearMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                    LaneClearMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                }
                KillStealMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
            }
            //Events.OnIncomingDamage += Events_OnIncomingDamage;
            //SpellsDetector.OnTargetedSpellDetected += SpellsDetector_OnTargetedSpellDetected;
            Orbwalker.OnPostAttack += Orbwalker_OnPostAttack;
        }
Esempio n. 15
0
        public static void OnLoad(EventArgs args)
        {
            switch (Game.MapId)
            {
            case GameMapId.SummonersRift:
                Common.JungleMobsNames = Common.SRJungleMobsNames;
                break;

            case GameMapId.CrystalScar:
                Common.JungleMobsNames = Common.ASCJungleMobsNames;
                break;

            case GameMapId.TwistedTreeline:
                Common.JungleMobsNames = Common.TTJungleMobsNames;
                break;
            }

            var spells = SpellDatabase.GetSpellInfoList(Player.Instance.BaseSkinName);

            if (spells.Count == 0)
            {
                return;
            }

            foreach (var spell in spells)
            {
                var skillshot = new Spell.Skillshot(spell.Slot, (uint)spell.Range, Common.type(spell.Type), (int)spell.Delay, (int)spell.MissileSpeed);
                var ispell    = new ISpells(skillshot, spell);
                Spells.Add(ispell);
            }

            MenuIni         = MainMenu.AddMenu("Auto Steal " + Player.Instance.Hero, "Auto Steal " + Player.Instance.Hero);
            KillStealMenu   = MenuIni.AddSubMenu("Kill Steal ", "Kill Steal");
            JungleStealMenu = MenuIni.AddSubMenu("Jungle Steal ", "Jungle Steal");

            KillStealMenu.AddGroupLabel("Spells");
            foreach (var spell in Spells.Select(s => s.Skillshot))
            {
                KillStealMenu.CreateCheckBox(spell.Slot.ToString(), "Use " + spell.Slot);
            }

            KillStealMenu.AddGroupLabel("Enemies");
            foreach (var enemy in EntityManager.Heroes.Enemies)
            {
                KillStealMenu.CreateCheckBox(enemy.Name(), "KS " + enemy.Name());
            }

            JungleStealMenu.AddGroupLabel("Spells");
            foreach (var spell in Spells.Select(s => s.Skillshot))
            {
                JungleStealMenu.CreateCheckBox(spell.Slot.ToString(), "Use " + spell.Slot);
            }

            JungleStealMenu.AddGroupLabel("Mobs");
            foreach (var name in Common.JungleMobsNames)
            {
                JungleStealMenu.CreateCheckBox(name, "JS " + name);
            }
            Game.OnUpdate += Game_OnUpdate;
        }
Esempio n. 16
0
        static Temp()
        {
            MenuIni       = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu      = MenuIni.AddSubMenu("Auto");
            ComboMenu     = MenuIni.AddSubMenu("Combo");
            HarassMenu    = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");

            Q = new Spell.Active(SpellSlot.Q, 600);
            W = new Spell.Skillshot(SpellSlot.W, 1200, SkillShotType.Linear, 0, int.MaxValue, 60);
            E = new Spell.Skillshot(SpellSlot.E, 1000, SkillShotType.Linear);
            R = new Spell.Skillshot(SpellSlot.R, 4500, SkillShotType.Linear, 250, 1600, 100)
            {
                AllowedCollisionCount = 0
            };
            SpellList.Add(Q);
            SpellList.Add(W);
            SpellList.Add(E);
            SpellList.Add(R);

            foreach (var spell in SpellList)
            {
                ComboMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                HarassMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                HarassMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                LaneClearMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                LaneClearMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                KillStealMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
            }
        }
Esempio n. 17
0
        static Aatrox()
        {
            MenuIni       = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu      = MenuIni.AddSubMenu("Auto");
            ComboMenu     = MenuIni.AddSubMenu("Combo");
            HarassMenu    = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");


            foreach (var spell in SpellList)
            {
                ComboMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                if (spell != R)
                {
                    HarassMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                    LaneClearMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                }
                KillStealMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
            }
            AutoMenu.CreateCheckBox("GapQ", "Anti-GapCloser Q");
            AutoMenu.CreateCheckBox("IntQ", "Interrupter Q");
            AutoMenu.CreateCheckBox("flee", "Flee E");
            AutoMenu.CreateSlider("RAOE", "R AOE HIT {0}", 3, 0, 5);
            ComboMenu.CreateSlider("RAOE", "R AOE HIT {0}", 3, 0, 5);

            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapcloser;
        }
Esempio n. 18
0
        static Soraka()
        {
            MenuIni = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu = MenuIni.AddSubMenu("Auto");
            ComboMenu = MenuIni.AddSubMenu("Combo");
            HarassMenu = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");

            foreach (var spell in SpellList.Where(spell => spell != W && spell != R))
            {
                ComboMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                HarassMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                HarassMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                LaneClearMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                LaneClearMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                KillStealMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
            }
            AutoMenu.CreateCheckBox("GapQ", "Anti-GapCloser Q");
            AutoMenu.CreateCheckBox("GapE", "Anti-GapCloser E");
            AutoMenu.CreateCheckBox("AutoHeal", "Heal Allies");
            AutoMenu.CreateCheckBox("AutoR", "Auto Ult saver");
            AutoMenu.CreateCheckBox("AutoRteam", "Auto Ult Team");
            AutoMenu.CreateSlider("AutoRteamHp", "Auto Ult at Team HP {0}", 20, 1);

            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Gapcloser.OnGapcloser += Gapcloser_OnGapcloser;
            Dash.OnDash += Dash_OnDash;
            Events.OnIncomingDamage += Events_OnIncomingDamage;
        }
Esempio n. 19
0
        static Amumu()
        {
            MenuIni       = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu      = MenuIni.AddSubMenu("Auto");
            ComboMenu     = MenuIni.AddSubMenu("Combo");
            HarassMenu    = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");

            foreach (var spell in SpellList)
            {
                ComboMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                if (spell != R)
                {
                    HarassMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                    HarassMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                    LaneClearMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                    LaneClearMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                }
                KillStealMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
            }
            AutoMenu.CreateSlider("RAOE", "R AOE hit count {0}", 3, 1, 5);
            AutoMenu.CreateCheckBox("GapQ", "Anti-GapCloser Q");
            AutoMenu.CreateCheckBox("IntQ", "Interrupter Q");
            AutoMenu.CreateCheckBox("GapR", "Anti-GapCloser R");
            AutoMenu.CreateCheckBox("IntR", "Interrupter R");

            ComboMenu.CreateSlider("RAOE", "R AOE hit count {0}", 3, 1, 5);

            Gapcloser.OnGapcloser            += Gapcloser_OnGapcloser;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Dash.OnDash += Dash_OnDash;
        }
Esempio n. 20
0
File: Ahri.cs Progetto: uvbs/WSUBot
        static Ahri()
        {
            MenuIni       = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu      = MenuIni.AddSubMenu("Auto");
            ComboMenu     = MenuIni.AddSubMenu("Combo");
            HarassMenu    = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");

            foreach (var spell in SpellList)
            {
                ComboMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                if (spell != R)
                {
                    HarassMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                    HarassMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                    LaneClearMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                    LaneClearMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                }
                KillStealMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
            }
            AutoMenu.CreateCheckBox("GapE", "Anti-GapCloser E");
            AutoMenu.CreateCheckBox("IntE", "Interrupter E");
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapcloser;
        }
Esempio n. 21
0
        static Akali()
        {
            MenuIni       = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu      = MenuIni.AddSubMenu("Auto");
            ComboMenu     = MenuIni.AddSubMenu("Combo");
            HarassMenu    = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");

            Q = new Spell.Targeted(SpellSlot.Q, 600);
            W = new Spell.Skillshot(SpellSlot.W, 700, SkillShotType.Circular);
            E = new Spell.Active(SpellSlot.E, 325);
            R = new Spell.Targeted(SpellSlot.R, 700);
            SpellList.Add(Q);
            SpellList.Add(W);
            SpellList.Add(E);
            SpellList.Add(R);

            foreach (var spell in SpellList)
            {
                ComboMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                if (spell != R)
                {
                    HarassMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                    LaneClearMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                }
                KillStealMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
            }
        }
Esempio n. 22
0
File: Ashe.cs Progetto: uvbs/WSUBot
        static Ashe()
        {
            MenuIni       = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu      = MenuIni.AddSubMenu("Auto");
            ComboMenu     = MenuIni.AddSubMenu("Combo");
            HarassMenu    = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");

            AutoMenu.CreateCheckBox("W", "Flee W");
            AutoMenu.CreateCheckBox("GapR", "Anti-GapCloser R");
            AutoMenu.CreateCheckBox("IntR", "Interrupter R");
            foreach (var spell in SpellList)
            {
                ComboMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                if (spell != R && spell != E)
                {
                    HarassMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                    LaneClearMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                    if (spell != Q)
                    {
                        HarassMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                        LaneClearMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                    }
                }
                KillStealMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
            }

            Gapcloser.OnGapcloser            += Gapcloser_OnGapcloser;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Dash.OnDash            += Dash_OnDash;
            Orbwalker.OnPostAttack += Orbwalker_OnPostAttack;;
        }
Esempio n. 23
0
        static Sona()
        {
            MenuIni       = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu      = MenuIni.AddSubMenu("Auto");
            ComboMenu     = MenuIni.AddSubMenu("Combo");
            HarassMenu    = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");

            foreach (var spell in SpellList.Where(spell => spell == Q))
            {
                ComboMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                HarassMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                HarassMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                LaneClearMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                LaneClearMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                KillStealMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
            }
            AutoMenu.CreateCheckBox("FleeE", "Flee E");
            AutoMenu.CreateCheckBox("GapE", "Anti-GapCloser E");
            AutoMenu.CreateCheckBox("AutoHeal", "Heal Allies");
            AutoMenu.CreateCheckBox("AutoR", "Auto Ult");
            AutoMenu.CreateSlider("AutoR#", "Auto Ult {0} Enemies", 3, 1, 5);

            Gapcloser.OnGapcloser   += Gapcloser_OnGapcloser;
            Dash.OnDash             += Dash_OnDash;
            Events.OnIncomingDamage += Events_OnIncomingDamage;
        }
Esempio n. 24
0
        static Viktor()
        {
            Q = new Spell.Targeted(SpellSlot.Q, 670);
            W = new Spell.Skillshot(SpellSlot.W, 700, SkillShotType.Circular, 500, int.MaxValue, 250)
            {
                AllowedCollisionCount = int.MaxValue
            };
            E = new Spell.Skillshot(SpellSlot.E, 1225, SkillShotType.Linear, 250, int.MaxValue, 100)
            {
                AllowedCollisionCount = int.MaxValue
            };
            R = new Spell.Skillshot(SpellSlot.R, 700, SkillShotType.Circular, 250, int.MaxValue, 450)
            {
                AllowedCollisionCount = int.MaxValue
            };
            SpellList.Add(Q);
            SpellList.Add(W);
            SpellList.Add(E);
            SpellList.Add(R);

            MenuIni       = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu      = MenuIni.AddSubMenu("Auto");
            ComboMenu     = MenuIni.AddSubMenu("Combo");
            HarassMenu    = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");

            SpellList.ForEach(
                i =>
            {
                ComboMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                if (i != R && i != W)
                {
                    HarassMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                    HarassMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                    HarassMenu.AddSeparator(0);
                    LaneClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                    LaneClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                    LaneClearMenu.AddSeparator(0);
                }
                KillStealMenu.CreateCheckBox(i.Slot, i.Slot + " KillSteal");
            });

            AutoMenu.Add("Wmode", new ComboBox("GapCloser W Mode", 1, "Place On Self", "Place On Enemy"));
            AutoMenu.CreateCheckBox("GapW", "Auto W Anti-GapCloser");
            AutoMenu.CreateCheckBox("IntW", "Auto W Interrupter");
            AutoMenu.CreateCheckBox("IntR", "Auto R Interrupter");
            AutoMenu.CreateCheckBox("Qunk", "Auto Q UnKillable Minions");

            ComboMenu.CreateSlider("RAOE", "R AoE Hit Count {0}", 2, 1, 6);
            ComboMenu.CreateSlider("RMulti", "Mutilply R Damage By X{0} Times", 3, 1, 10);

            LaneClearMenu.CreateSlider("Ehits", "E Hit Count {0}", 3, 1, 20);

            Obj_AI_Base.OnProcessSpellCast   += Obj_AI_Base_OnProcessSpellCast;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapcloser;
            Orbwalker.OnUnkillableMinion     += Orbwalker_OnUnkillableMinion;
        }
Esempio n. 25
0
        static Gangplank()
        {
            Init();

            Q = new Spell.Targeted(SpellSlot.Q, 625);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Skillshot(SpellSlot.E, 1000, SkillShotType.Circular, 250, int.MaxValue, 325);
            R = new Spell.Skillshot(SpellSlot.R, int.MaxValue, SkillShotType.Circular, 250, int.MaxValue, 600);

            MenuIni   = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu  = MenuIni.AddSubMenu("Auto");
            ComboMenu = MenuIni.AddSubMenu("Combo");
            //HarassMenu = MenuIni.AddSubMenu("Harass");
            JungleClearMenu = MenuIni.AddSubMenu("JungleClear");
            LaneClearMenu   = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu   = MenuIni.AddSubMenu("KillSteal");
            DrawMenu        = MenuIni.AddSubMenu("Drawings");
            SpellList.Add(Q);
            SpellList.Add(E);
            SpellList.Add(R);

            SpellList.ForEach(
                i =>
            {
                ComboMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                if (i != R)
                {
                    //HarassMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                    //HarassMenu.AddSeparator(0);
                    LaneClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                    LaneClearMenu.AddSeparator(0);
                    JungleClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                    JungleClearMenu.AddSeparator(0);
                    DrawMenu.CreateCheckBox(i.Slot, "Draw " + i.Slot);
                    if (i != E)
                    {
                        //HarassMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                        LaneClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                        JungleClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                    }
                }
                KillStealMenu.CreateCheckBox(i.Slot, i.Slot + " KillSteal");
            });

            AutoMenu.CreateCheckBox("CC", "Auto W CC Buffs");
            AutoMenu.CreateCheckBox("Qunk", "Auto Q UnKillable Minions");
            AutoMenu.CreateKeyBind("EQMOUSE", "E > Q To Mouse", false, KeyBind.BindTypes.HoldActive, 'S');
            ComboMenu.CreateSlider("RAOE", "R AoE Hit {0}", 3, 1, 6);
            KillStealMenu.CreateSlider("Rdmg", "Multipy R Damage By X{0}", 3, 1, 12);
            LaneClearMenu.CreateCheckBox("QLH", "LastHit Mode Q");
            LaneClearMenu.CreateSlider("EKill", "Minions Kill Count {0}", 2, 0, 10);
            LaneClearMenu.CreateSlider("EHits", "Minions To Hit With E {0}", 3, 0, 10);
            DrawMenu.CreateCheckBox("Barrels", "Enable Barrels Drawings");

            Orbwalker.OnUnkillableMinion += Orbwalker_OnUnkillableMinion;
            Spellbook.OnCastSpell        += Spellbook_OnCastSpell;
        }
Esempio n. 26
0
        static Blitzcrank()
        {
            MenuIni       = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu      = MenuIni.AddSubMenu("Auto");
            ComboMenu     = MenuIni.AddSubMenu("Combo");
            HarassMenu    = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");

            Q = new Spell.Skillshot(SpellSlot.Q, 925, SkillShotType.Linear, 250, 1800, 70);
            {
                Q.AllowedCollisionCount = 0;
            }

            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Active(SpellSlot.E, 300);
            R = new Spell.Active(SpellSlot.R, 600);

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


            ComboMenu.CreateCheckBox("UseRaoe", "Use R AOE");
            ComboMenu.CreateSlider("RAOE", "R AOE {0}", 3, 1, 5);
            AutoMenu.CreateCheckBox("DashQ", "Q on dashing Targets");
            AutoMenu.CreateCheckBox("FleeW", "Flee W");
            AutoMenu.CreateCheckBox("TurretQ", "Under Turret Q");
            AutoMenu.CreateCheckBox("TurretE", "Under Turret E");
            AutoMenu.CreateCheckBox("TurretR", "Under Turret R");
            AutoMenu.CreateCheckBox("GapQ", "Anti-GapCloser Q");
            AutoMenu.CreateCheckBox("GapE", "Anti-GapCloser E");
            AutoMenu.CreateCheckBox("GapR", "Anti-GapCloser R");
            AutoMenu.CreateCheckBox("IntQ", "Interrupter Q");
            AutoMenu.CreateCheckBox("IntE", "Interrupter E");
            AutoMenu.CreateCheckBox("IntR", "Interrupter R");

            foreach (var spell in SpellList)
            {
                ComboMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                if (spell != R)
                {
                    HarassMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                    HarassMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                    LaneClearMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                    LaneClearMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                }
                KillStealMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
            }

            Gapcloser.OnGapcloser            += Gapcloser_OnGapcloser;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Dash.OnDash += Dash_OnDash;
            Game.OnTick += FuckEmUpUnderTurret;
        }
Esempio n. 27
0
        static Gangplank()
        {
            Init();

            Q = new Spell.Targeted(SpellSlot.Q, 625);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Skillshot(SpellSlot.E, 1000, SkillShotType.Circular, 500, int.MaxValue, 325);
            R = new Spell.Skillshot(SpellSlot.R, int.MaxValue, SkillShotType.Circular, 500, int.MaxValue, 600);

            MenuIni   = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu  = MenuIni.AddSubMenu("Auto");
            ComboMenu = MenuIni.AddSubMenu("Combo");
            //HarassMenu = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");
            SpellList.Add(Q);
            SpellList.Add(E);
            SpellList.Add(R);

            SpellList.ForEach(
                i =>
            {
                ComboMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                if (i != R)
                {
                    //HarassMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                    //HarassMenu.AddSeparator(0);
                    LaneClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                    LaneClearMenu.AddSeparator(0);
                    if (i != E)
                    {
                        //HarassMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                        LaneClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                    }
                }
                KillStealMenu.CreateCheckBox(i.Slot, i.Slot + " KillSteal");
            });

            MenuIni.AddGroupLabel("For W CC Cleaner Check Activator > Qss");
            //AutoMenu.CreateCheckBox("CC", "Auto W CC Buffs");
            AutoMenu.CreateCheckBox("AutoQ", "Auto Q Barrels", false);
            AutoMenu.CreateCheckBox("Qunk", "Auto Q UnKillable Minions");

            ComboMenu.CreateCheckBox("FB", "Place First Barrel");
            ComboMenu.CreateSlider("RAOE", "R AoE Hit {0}", 3, 1, 6);

            KillStealMenu.CreateCheckBox("RSwitch", "Use Only Upgrades Damage");
            KillStealMenu.CreateSlider("Rdmg", "Multipy R Damage By X{0}", 3, 1, 12);

            LaneClearMenu.CreateCheckBox("QLH", "LastHit Mode Q");
            LaneClearMenu.CreateSlider("EKill", "Minions Kill Count {0}", 2, 0, 10);
            LaneClearMenu.CreateSlider("EHits", "Minions To Hit With E {0}", 3, 0, 10);

            Orbwalker.OnUnkillableMinion += Orbwalker_OnUnkillableMinion;
            Spellbook.OnCastSpell        += Spellbook_OnCastSpell;
        }
Esempio n. 28
0
        static Kalista()
        {
            if (!Directory.Exists(appdata))
            {
                Directory.CreateDirectory(appdata);
            }

            MenuIni       = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu      = MenuIni.AddSubMenu("Auto");
            ComboMenu     = MenuIni.AddSubMenu("Combo");
            HarassMenu    = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");

            foreach (var spell in SpellList)
            {
                ComboMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                HarassMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                HarassMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                LaneClearMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
                LaneClearMenu.CreateSlider(spell.Slot + "mana", spell.Slot + " Mana Manager", 60);
                KillStealMenu.CreateCheckBox(spell.Slot, "Use " + spell.Slot);
            }
            AutoMenu.CreateCheckBox("SoulBound", "R Save Soul Bound");
            AutoMenu.CreateCheckBox("AutoR", "Auto R");
            AutoMenu.CreateCheckBox("EDeath", "E Before Death");
            AutoMenu.CreateCheckBox("AutoEBig", "Auto Use E Big Minions");
            AutoMenu.CreateCheckBox("AutoEUnKillable", "Auto Use E On UnKillable Minions", false);

            var balistahero = Ballistaheros.FirstOrDefault(a => EntityManager.Heroes.Allies.Any(b => a.Hero == b.Hero));

            if (balistahero != null)
            {
                AutoMenu.CreateCheckBox(balistahero.Hero.ToString(), "Use Ballista With " + balistahero.Hero);
                AutoMenu.CreateSlider(balistahero.Hero + "dis", "Min Distance To Use Ballista", 600, 0, 1100);
            }

            ComboMenu.CreateCheckBox("Gapclose", "Auto Attack Minions To GapClose");
            ComboMenu.CreateSlider("EKillCount", "Use E To Kill {0}+ Enemies Only", 1, 1, 6);

            HarassMenu.CreateCheckBox("Emin", "E Kill Minion For Harass");
            HarassMenu.CreateSlider("Estacks", "{0} Stacks to Use E", 5, 1, 25);

            LaneClearMenu.CreateSlider("Qhits", "Q Hit Count {0}", 3, 1, 15);
            LaneClearMenu.CreateSlider("Ekills", "E Kill Count {0}", 2, 1, 10);

            KillStealMenu.CreateCheckBox("ETransfer", "Stacks Transfer Killsteal (Q > E)");

            Orbwalker.OnUnkillableMinion   += Orbwalker_OnUnkillableMinion;
            Spellbook.OnCastSpell          += Spellbook_OnCastSpell;
            Events.OnIncomingDamage        += Events_OnIncomingDamage;
            Gapcloser.OnGapcloser          += Gapcloser_OnGapcloser;
            Obj_AI_Base.OnBuffGain         += Obj_AI_Base_OnBuffGain;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
            Events.OnGameEnd += Events_OnGameEnd;
        }
Esempio n. 29
0
        static Syndra()
        {
            Eball = new Spell.Skillshot(SpellSlot.E, 1100, SkillShotType.Linear, 600, 2400, 80)
            {
                AllowedCollisionCount = int.MaxValue, DamageType = DamageType.Magical
            };

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

            MenuIni       = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu      = MenuIni.AddSubMenu("Auto");
            ComboMenu     = MenuIni.AddSubMenu("Combo");
            HarassMenu    = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");

            SpellList.ForEach(
                i =>
            {
                ComboMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                if (i != R)
                {
                    HarassMenu.CreateCheckBox(i.Slot, "Use " + i.Slot, i != E);
                    HarassMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                    HarassMenu.AddSeparator(0);
                    LaneClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot, i != E);
                    LaneClearMenu.CreateSlider(i.Slot + "hit", i.Slot + " Hit {0} Minions", 3, 1, 20);
                    LaneClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                    LaneClearMenu.AddSeparator(0);
                }
                KillStealMenu.CreateCheckBox(i.Slot, i.Slot + " KillSteal");
            });

            AutoMenu.CreateCheckBox("QEgap", "Auto QE Anti-Gapcloser");
            AutoMenu.CreateCheckBox("QEint", "Auto QE Interrupter");
            AutoMenu.CreateCheckBox("Egap", "Auto E Anti-Gapcloser");
            AutoMenu.CreateCheckBox("Eint", "Auto E Interrupter");
            AutoMenu.CreateCheckBox("Wunk", "Auto W Unkillable Minions");

            ComboMenu.CreateCheckBox("QE", "Use QE");
            HarassMenu.CreateCheckBox("QE", "Use QE");
            KillStealMenu.CreateCheckBox("QE", "QE KillSteal");

            Obj_AI_Base.OnProcessSpellCast   += Obj_AI_Base_OnProcessSpellCast;
            Spellbook.OnCastSpell            += Spellbook_OnCastSpell;
            Gapcloser.OnGapcloser            += Gapcloser_OnGapcloser;
            Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell;
            Orbwalker.OnUnkillableMinion     += Orbwalker_OnUnkillableMinion;
        }
Esempio n. 30
0
        static Orianna()
        {
            QR = new Spell.Skillshot(SpellSlot.Q, 820, SkillShotType.Circular, 450, 1400, 350, DamageType.Magical)
            {
                AllowedCollisionCount = int.MaxValue
            };

            BallManager.Init();

            MenuIni       = MainMenu.AddMenu(MenuName, MenuName);
            AutoMenu      = MenuIni.AddSubMenu("Auto");
            ComboMenu     = MenuIni.AddSubMenu("Combo");
            HarassMenu    = MenuIni.AddSubMenu("Harass");
            LaneClearMenu = MenuIni.AddSubMenu("LaneClear");
            KillStealMenu = MenuIni.AddSubMenu("KillSteal");

            LaneClearMenu.Add("Qfarm", new ComboBox("Q Farm Logic", 0, "Circular Area", "Linear Logic"));

            SpellList.ForEach(
                i =>
            {
                if (i != R)
                {
                    ComboMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                    HarassMenu.CreateCheckBox(i.Slot, "Use " + i.Slot);
                    HarassMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                    HarassMenu.AddSeparator(0);
                    LaneClearMenu.CreateCheckBox(i.Slot, "Use " + i.Slot, i != E);
                    LaneClearMenu.CreateSlider(i.Slot + "hit", i.Slot + " Hit {0} Minions", 3, 1, 20);
                    LaneClearMenu.CreateSlider(i.Slot + "mana", i.Slot + " Mana Manager {0}%", 60);
                    LaneClearMenu.AddSeparator(0);
                }
                KillStealMenu.CreateCheckBox(i.Slot, i.Slot + " KillSteal");
            });

            AutoMenu.CreateCheckBox("flee", "Enable Smart Flee");
            AutoMenu.CreateCheckBox("fleeenemy", "Use Flee Only When Enemies Near", false);
            AutoMenu.CreateCheckBox("blockR", "Block R if no Hits");
            AutoMenu.CreateCheckBox("Ehelp", "Use E For Anti-Gapcloser & Interrupter");
            AutoMenu.CreateCheckBox("Rgap", "Auto R Anti-Gapcloser");
            AutoMenu.CreateCheckBox("Rint", "Auto R Interrupter");
            AutoMenu.CreateCheckBox("aoeR", "Auto R AOE");
            AutoMenu.CreateSlider("Raoe", "Auto R AOE Hit {0} Enemies", 3, 1, 6);

            ComboMenu.CreateCheckBox("R", "R Combo Finisher");
            ComboMenu.CreateCheckBox("aoeR", "R AOE");
            ComboMenu.CreateCheckBox("QR", "Use Q for Positon R AoE");
            ComboMenu.CreateSlider("Whit", "W Hit {0} Enemies", 1, 1, 6);
            ComboMenu.CreateSlider("Raoe", "R AOE Hit {0} Enemies", 2, 1, 6);

            Spellbook.OnCastSpell += Spellbook_OnCastSpell;
        }