Exemple #1
0
        public Akali()

        //Summs
        {
            Q = new Spell(SpellSlot.Q, 600f);
            E = new Spell(SpellSlot.E, 310f);
            R = new Spell(SpellSlot.R, 700f);

            var Key = Menu.Add(new Menu("Key", "Key"));
            {
                Key.Add(new MenuKeyBind("Combo", "Combo", System.Windows.Forms.Keys.Space, KeyBindType.Press));
                Key.Add(new MenuKeyBind("Harass", "Harass", System.Windows.Forms.Keys.C, KeyBindType.Press));
                Key.Add(new MenuKeyBind("LaneClear", "LaneClear", System.Windows.Forms.Keys.V, KeyBindType.Press));
                Key.Add(new MenuKeyBind("LastHit", "LastHit", System.Windows.Forms.Keys.X, KeyBindType.Press));
            }

            var Combo = Menu.Add(new Menu("Combo", "Combo"));
            {
                Combo.Add(new MenuBool("UseQCombo", "Use Q", true));

                Combo.Add(new MenuBool("UseECombo", "Use E", true));

                Combo.Add(new MenuBool("UseRCombo", "Use R", true));
            }

            var Harass = Menu.Add(new Menu("Harass", "Harass"));
            {
                Harass.Add(new MenuBool("HarassUseQ", "Use Q to Harass", true));
            }

            var Misc = Menu.Add(new Menu("Misc", "Misc"));
            {
                Misc.Add(new MenuBool("RGapClose", "Use R to anti-gaplcose", true));
            }

            var LastHit = Menu.Add(new Menu("LastHit", "LastHit"));
            {
                LastHit.Add(new MenuBool("qlh", "Use Q to Lasthit", true));
            }

            var LaneClear = Menu.Add(new Menu("LaneClear", "LaneClear"));
            {
                LaneClear.Add(new MenuBool("useelc", "Use E to laneclear", true));
            }

            var Draw = Menu.Add(new Menu("Draw", "Draw"));

            {
                Draw.Add(new MenuBool("DrawQ", "Draw Q Range"));
                Draw.Add(new MenuBool("DrawE", "Draw E Range"));
                Draw.Add(new MenuBool("DrawR", "Draw R Range"));
            }
            hextech = new Items.Item(3146, 700);
            cutlass = new Items.Item(3144, 450);

            Game.OnUpdate                += Game_OnUpdate;
            Drawing.OnDraw               += Drawing_OnDraw;
            Events.OnGapCloser           += OnGapCloser;
            Variables.Orbwalker.OnAction += Orbwalker_OnAction;
        }
Exemple #2
0
 public void InitMenu()
 {
     ComboMenu     = MainMenu.Add(new Menu("caitcombomenu", "Combo Settings: "));
     UseQCombo     = ComboMenu.Add(new MenuBool("caitqcombo", "Use Q", true));
     UseWCombo     = ComboMenu.Add(new MenuBool("caitwcombo", "Use W"));
     UseECombo     = ComboMenu.Add(new MenuBool("caitecombo", "Use E", true));
     UseRCombo     = ComboMenu.Add(new MenuKeyBind("caitrcombo", "Use R", Keys.R, KeyBindType.Press));
     AutoWConfig   = MainMenu.Add(new Menu("caitautow", "W Settings: "));
     UseWInterrupt = AutoWConfig.Add(new MenuBool("caitusewinterrupt", "Use W to Interrupt", true));
     new Utils.Logic.PositionSaver(AutoWConfig, W);
     FocusOnHeadShotting =
         MainMenu.Add(new MenuBool("caitfocusonheadshottingenemies", "Try to save Headshot for poking", true));
     AlwaysQAfterE = MainMenu.Add(new MenuBool("caitalwaysqaftere", "Always Q after E (EQ combo)", true));
     QHarassMode   =
         MainMenu.Add(
             new MenuList <string>(
                 "caitqharassmode",
                 "Q HARASS MODE",
                 new[] { "FULLDAMAGE", "ALLOWMINIONS", "DISABLED" }));
     UseEAntiGapclose = MainMenu.Add(new MenuBool("caiteantigapclose", "Use E AntiGapclose", false));
     UseEOnEnemiesCloserThanSlider =
         MainMenu.Add(new MenuSlider("caitecomboshit", "Use E on enemies closer than", 770, 200, 770));
     OnlyUseEOnMelees = MainMenu.Add(new MenuBool("caiteonlymelees", "Only use E on melees", false));
     DrawRange        = MainMenu.Add(new MenuSlider("caitdrawrange", "Draw a circle with radius: ", 800, 0, 1240));
     MainMenu.Attach();
 }
Exemple #3
0
 public void InitMenu()
 {
     ComboMenu        = MainMenu.Add(new Menu("Luciancombomenu", "Combo Settings: "));
     UseQCombo        = ComboMenu.Add(new MenuBool("Lucianqcombo", "Use Q", true));
     UseWCombo        = ComboMenu.Add(new MenuBool("Lucianwcombo", "Use W", true));
     IgnoreWCollision = ComboMenu.Add(new MenuBool("Lucianignorewcollision", "Ignore W collision (for passive)", false));
     UseEMode         =
         ComboMenu.Add(new MenuList <string>("Lucianecombo", "E Mode", new[] { "Side", "Cursor", "Enemy", "Never" }));
     UseEAntiMelee = ComboMenu.Add(new MenuBool("Lucianecockblocker", "Use E to get away from melees", true));
     UseEGapclose  = ComboMenu.Add(new MenuBool("Lucianegoham", "Use E to go HAM", false));
     SemiAutoRKey  = ComboMenu.Add(
         new MenuKeyBind("Luciansemiauto", "Semi-Auto R Key", Keys.R, KeyBindType.Press));
     BlockManualR   = this.ComboMenu.Add(new MenuBool("Lucianblockmanualr", "Block manual R", true));
     ForceR         = ComboMenu.Add(new MenuBool("Lucianrcombo", "Auto R", true));
     HarassMenu     = MainMenu.Add(new Menu("Lucianharassmenu", "Harass Settings: "));
     UseQExtended   = HarassMenu.Add(new MenuBool("Lucianqextended", "Use Extended Q", true));
     QExManaPercent =
         HarassMenu.Add(new MenuSlider("Lucianqexmanapercent", "Only use extended Q if mana > %", 75, 0, 100));
     QExtendedBlacklist = HarassMenu.Add(new Menu("Lucianqexblacklist", "Extended Q Blacklist: "));
     foreach (var ally in ObjectManager.Get <Obj_AI_Hero>().Where(h => h.IsEnemy))
     {
         var championName = ally.CharData.BaseSkinName;
         QExtendedBlacklist.Add(new MenuBool("qexbl" + championName, championName, false));
     }
     UseQHarass        = HarassMenu.Add(new MenuBool("Lucianqharass", "Use Q Harass", true));
     UsePassiveOnEnemy = HarassMenu.Add(new MenuBool("Lucianpassivefocus", "Use Passive On Champions", true));
     JungleMenu        = MainMenu.Add(new Menu("Lucianjunglemenu", "Jungle Settings: "));
     QJg = JungleMenu.Add(new MenuBool("Lucianqjungle", "Use Q", true));
     WJg = JungleMenu.Add(new MenuBool("Lucianwjungle", "Use W", true));
     EJg = JungleMenu.Add(new MenuBool("Lucianejungle", "Use E", true));
     QKS = new MenuBool("Lucianqks", "Use Q for KS", true);
     MainMenu.Attach();
 }
 public static MenuSliderButton GetSliderButton(this Menu Menu, string name, string display, int cur, int min = 0, int max = 100, bool state = true)
 {
     return(Menu.Add(new MenuSliderButton(name, display, cur, min, max, state)
     {
         BValue = true
     }));
 }
Exemple #5
0
        private static void OnLoad()
        {
            if (ObjectManager.Player.ChampionName != "Ryze")
            {
                return;
            }

            Q = new Spell(SpellSlot.Q, 900f);
            Q.SetSkillshot(0.25f, 70f, Q.Instance.SData.MissileSpeed, true, SkillshotType.SkillshotLine);
            QShort = new Spell(SpellSlot.Q, 600f);
            QShort.SetSkillshot(0.25f, 90f, Q.Instance.SData.MissileSpeed, true, SkillshotType.SkillshotLine);
            W = new Spell(SpellSlot.W, 600f);
            E = new Spell(SpellSlot.E, 600f);

            s_Menu = new Menu("ryze.root", "Ryze", true);
            Menu laneclear = new Menu("ryze.laneclear", "LaneClear");

            laneclear.Add(new MenuKeyBind("enable", "Enable LaneClear", System.Windows.Forms.Keys.L, KeyBindType.Toggle, ObjectManager.Player.ChampionName));

            Menu lasthit = new Menu("ryze.lasthit", "Last Hit");

            lasthit.Add(new MenuBool("useq", "Use Q", true, ObjectManager.Player.ChampionName));

            s_Menu.Add(new MenuSeparator("combo.info", "Combo Notation > (Q)>E>Q>W>E>Q", ObjectManager.Player.ChampionName));
            s_Menu.Add(laneclear);
            s_Menu.Add(lasthit);
            s_Menu.Attach();
            Game.OnUpdate += Game_OnUpdate;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
        }
Exemple #6
0
        public CSPlugin()
        {
            MainMenu = new Menu("challengerseries", ObjectManager.Player.ChampionName + " To The Challenger", true, ObjectManager.Player.ChampionName);
            CrossAssemblySettings = MainMenu.Add(new Menu("crossassemblysettings", "Challenger Utils: "));
            DrawEnemyWaypoints    =
                CrossAssemblySettings.Add(new MenuBool("drawenemywaypoints", "Draw Enemy Waypoints", true));
            PlayUrfThemeNextGame = CrossAssemblySettings.Add(new MenuBool("playsoundatstart", "Play URF Theme Next Game", true));
            DelayAction.Add(15000, () => Orbwalker.Enabled = true);
            Drawing.OnDraw += args =>
            {
                if (DrawEnemyWaypoints)
                {
                    foreach (
                        var e in
                        ValidTargets.Where(
                            en => en.Distance(ObjectManager.Player) < 5000))
                    {
                        var ip = Drawing.WorldToScreen(e.Position); //start pos

                        var wp = e.GetWaypoints();
                        var c  = wp.Count - 1;
                        if (wp.Count() <= 1)
                        {
                            break;
                        }

                        var w = Drawing.WorldToScreen(wp[c].ToVector3()); //endpos

                        Drawing.DrawLine(ip.X, ip.Y, w.X, w.Y, 2, Color.Red);
                        Drawing.DrawText(w.X, w.Y, Color.Red, e.CharData.BaseSkinName);
                    }
                }
            };
        }
Exemple #7
0
 public static MenuList List(this Menu subMenu, string name, string display, string[] array, int value = 0)
 {
     return(subMenu.Add(new MenuList <string>(name, display, array)
     {
         Index = value
     }));
 }
Exemple #8
0
        public override void InitializeMenu()
        {
            base.InitializeMenu();
            ComboMenu = MainMenu.Add(new Menu("koggiecombomenu", "Combo Settings: "));
            UseQBool  = ComboMenu.Add(new MenuBool("koggieuseq", "Use Q", true));
            UseWBool  = ComboMenu.Add(new MenuBool("koggieusew", "Use W", true));
            UseEBool  = ComboMenu.Add(new MenuBool("koggieusee", "Use E", true));
            UseRBool  = ComboMenu.Add(new MenuBool("koggieuser", "Use R", true));
            GetInPositionForWBeforeActivatingBool =
                ComboMenu.Add(new MenuBool("koggiewintime", "Dont Activate W if In Danger!", false));
            HarassMenu          = MainMenu.Add(new Menu("koggieharassmenu", "Harass Settings"));
            UseRHarass          = HarassMenu.Add(new MenuBool("koggieuserharass", "Use R", true));
            JungleclearMenu     = MainMenu.Add(new Menu("koggiejgclearmenu", "Jungleclear Settings: "));
            UseWJungleClearMenu = JungleclearMenu.Add(new Menu("koggiewjgcleartargets", "W if TARGET is: "));

            if (GetJungleCampsOnCurrentMap() != null)
            {
                foreach (var mob in GetJungleCampsOnCurrentMap())
                {
                    UseWJungleClearMenu.Add(new MenuBool(mob, mob, true));
                }
            }
            DrawMenu              = MainMenu.Add(new Menu("koggiedrawmenu", "Drawing Settings"));
            DrawWRangeBool        = DrawMenu.Add(new MenuBool("koggiedraww", "Draw W Range", true));
            DrawRRangeBool        = DrawMenu.Add(new MenuBool("koggiedrawr", "Draw R Range", true));
            HumanizerMenu         = MainMenu.Add(new Menu("koggiehumanizermenu", "Humanizer Settings: "));
            HumanizerMinAttacks   = HumanizerMenu.Add(new MenuSlider("koggieminattacks", "Min attacks before moving", 2, 1, 10));
            HumanizerMovementTime =
                HumanizerMenu.Add(new MenuSlider("koggiehumanizermovetime", "Time for moving (milliseconds)", 200, 0,
                                                 1000));
            HumanizerEnabled       = HumanizerMenu.Add(new MenuBool("koggiehumanizerenabled", "Enable Humanizer? ", true));
            MaxRStacksSlider       = MainMenu.Add(new MenuSlider("koggiermaxstacks", "R Max Stacks: ", 2, 0, 11));
            AlwaysSaveManaForWBool = MainMenu.Add(new MenuBool("koggiesavewmana", "Always Save Mana For W!", true));
            MainMenu.Attach();
        }
Exemple #9
0
 public void InitMenu()
 {
     ComboMenu = MainMenu.Add(new Menu("caitcombomenu", "Combo Settings: "));
     UseQCombo = ComboMenu.Add(new MenuBool("caitqcombo", "Use Q", true));
     UseWCombo = ComboMenu.Add(new MenuBool("caitwcombo", "Use W"));
     UseECombo = ComboMenu.Add(new MenuBool("caitecombo", "Use E", true));
     UseRCombo = ComboMenu.Add(new MenuKeyBind("caitrcombo", "Use R", Keys.R, KeyBindType.Press));
     AutoWConfig = MainMenu.Add(new Menu("caitautow", "W Settings: "));
     UseWInterrupt = AutoWConfig.Add(new MenuBool("caitusewinterrupt", "Use W to Interrupt", true));
     new Utils.Logic.PositionSaver(AutoWConfig, W);
     FocusOnHeadShotting =
         MainMenu.Add(new MenuBool("caitfocusonheadshottingenemies", "Try to save Headshot for poking", true));
     AlwaysQAfterE = MainMenu.Add(new MenuBool("caitalwaysqaftere", "Always Q after E (EQ combo)", true));
     QHarassMode =
         MainMenu.Add(
             new MenuList<string>(
                 "caitqharassmode",
                 "Q HARASS MODE",
                 new[] { "FULLDAMAGE", "ALLOWMINIONS", "DISABLED" }));
     UseEAntiGapclose = MainMenu.Add(new MenuBool("caiteantigapclose", "Use E AntiGapclose", false));
     UseEOnEnemiesCloserThanSlider =
         MainMenu.Add(new MenuSlider("caitecomboshit", "Use E on enemies closer than", 770, 200, 770));
     OnlyUseEOnMelees = MainMenu.Add(new MenuBool("caiteonlymelees", "Only use E on melees", false));
     DrawRange = MainMenu.Add(new MenuSlider("caitdrawrange", "Draw a circle with radius: ", 800, 0, 1240));
     MainMenu.Attach();
 }
Exemple #10
0
        public override void InitializeMenu()
        {
            HealBlacklistMenu = MainMenu.Add(new Menu("healblacklist", "Do NOT Heal (W): ", false, "Soraka"));
            foreach (var ally in ObjectManager.Get <AIHeroClient>().Where(h => h.IsAlly && !h.IsMe))
            {
                var championName = ally.CharData.BaseSkinName;
                HealBlacklistMenu.Add(new MenuBool("dontheal" + championName, championName, false));
            }

            UltBlacklistMenu = MainMenu.Add(new Menu("ultblacklist", "Do NOT Ult (R): ", false, "Soraka"));
            foreach (var ally in ObjectManager.Get <AIHeroClient>().Where(h => h.IsAlly && !h.IsMe))
            {
                var championName = ally.CharData.BaseSkinName;
                UltBlacklistMenu.Add(new MenuBool("dontult" + championName, championName, false));
            }

            PriorityMenu = MainMenu.Add(new Menu("sttcselector", "Heal Priority", false, "Soraka"));

            foreach (var ally in ObjectManager.Get <AIHeroClient>().Where(h => h.IsAlly && !h.IsMe))
            {
                PriorityMenu.Add(
                    new MenuSlider("STTCSelector" + ally.ChampionName + "Priority", ally.ChampionName,
                                   GetPriorityFromDb(ally.ChampionName), 1, 5));
            }

            OnlyQIfMyHPLessThanSlider =
                MainMenu.Add(new MenuSlider("rakaqonlyifmyhp", "Only Q if my HP < %", 100, 0, 100));

            NoNeedForSpacebarBool =
                MainMenu.Add(new MenuBool("noneed4spacebar", "PLAY ONLY WITH MOUSE! NO SPACEBAR", true));

            DontHealIfImBelowHpSlider = MainMenu.Add(new MenuSlider("wmyhp", "Don't Heal (W) if Below HP%: ", 20, 1));

            DontWTanksBool = MainMenu.Add(new MenuBool("dontwtanks", "Don't Heal (W) Tanks", true));

            ATankTakesXHealsToHealSlider =
                MainMenu.Add(new MenuSlider("atanktakesxheals", "A TANK takes X Heals (W) to  FULLHP", 15, 5, 30));

            EDelay = MainMenu.Add(new MenuSlider("rakaedelay", "E Delay (milliseconds)", 0, 0, 250));

            UseUltForMeIfMyHpIsLessThanSlider = MainMenu.Add(new MenuSlider("ultmyhp", "Ult if MY HP% < ", 15, 1, 25));

            UltIfAnAllyHpIsLessThanSlider = MainMenu.Add(new MenuSlider("ultallyhp", "Ult If Ally HP% < ", 15, 5, 35));

            CheckIfAllyCanSurviveBool =
                MainMenu.Add(new MenuBool("checkallysurvivability", "Check if ult will save ally", true));

            TryToUltAfterIgniteBool = MainMenu.Add(new MenuBool("ultafterignite", "ULT (R) after IGNITE", false));

            BlockAutoAttacksBool = MainMenu.Add(new MenuBool("blockaas", "Block AutoAttacks?", true));

            DrawW = MainMenu.Add(new MenuBool("draww", "Draw W?", true));

            DrawQ = MainMenu.Add(new MenuBool("drawq", "Draw Q?", true));

            DrawDebugBool = MainMenu.Add(new MenuBool("drawdebug", "Draw Heal Info", false));

            MainMenu.Attach();
        }
Exemple #11
0
        public Evelynn()

        //Summs
        {
            Q = new Spell(SpellSlot.Q, 500);
            W = new Spell(SpellSlot.W, Q.Range);
            E = new Spell(SpellSlot.E, 225f + 2 * 65f);
            R = new Spell(SpellSlot.R, 650f);

            R.SetSkillshot(0.25f, 350f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            var Key = Menu.Add(new Menu("Key", "Key"));
            {
                Key.Add(new MenuKeyBind("Combo", "Combo", System.Windows.Forms.Keys.Space, KeyBindType.Press));
                Key.Add(new MenuKeyBind("Harass", "Harass", System.Windows.Forms.Keys.C, KeyBindType.Press));
                Key.Add(new MenuKeyBind("LaneClear", "LaneClear", System.Windows.Forms.Keys.V, KeyBindType.Press));
            }


            var Combo = Menu.Add(new Menu("Combo", "Combo"));
            {
                Combo.Add(new MenuBool("UseQCombo", "Use Q", true));

                Combo.Add(new MenuBool("UseWCombo", "Use W ", true));

                Combo.Add(new MenuBool("UseECombo", "Use E", true));

                Combo.Add(new MenuBool("UseRCombo", "Use R", true));
            }

            var Harass = Menu.Add(new Menu("Harass", "Harass"));
            {
                Harass.Add(new MenuBool("HarassUseQ", "Use Q", true));
                Harass.Add(new MenuSlider("HarassQMana", comb + "Min Mana Percent", 40, 0, 100));
            }

            var LaneClear = Menu.Add(new Menu("LaneClear", "LaneClear"));
            {
                LaneClear.Add(new MenuSlider("lanejungleclearQmana", "LaneClear Min Mana", 40));
                LaneClear.Add(new MenuBool("useqlc", "Use Q to laneclear + to JungleClear!", true));
                LaneClear.Add(new MenuSlider("lanejungleclearEmana", "LaneClear Min Mana", 40));
                LaneClear.Add(new MenuBool("useelc", "Use E to laneclear + to JungleClear!", true));
            }


            var Draw = Menu.Add(new Menu("Draw", "Draw"));

            {
                Draw.Add(new MenuBool("DrawQ", "Draw Q Range"));
                Draw.Add(new MenuBool("DrawW", "Draw W Range"));
                Draw.Add(new MenuBool("DrawE", "Draw E Range"));
                Draw.Add(new MenuBool("DrawR", "Draw R Range"));
            }

            Game.OnUpdate  += Game_OnUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
            Variables.Orbwalker.OnAction += Orbwalker_OnAction;
        }
Exemple #12
0
 public void InitMenu()
 {
     ComboMenu = MainMenu.Add(new Menu("ChampionNamecombomenu", "Combo Settings: "));
     UseQCombo = ComboMenu.Add(new MenuBool("ChampionNameqcombo", "Use Q", true));
     UseWCombo = ComboMenu.Add(new MenuBool("ChampionNamewcombo", "Use W", true));
     UseECombo = ComboMenu.Add(new MenuBool("ChampionNameecombo", "Use E", true));
     UseRCombo = ComboMenu.Add(new MenuBool("ChampionNamercombo", "Use R", true));
     MainMenu.Attach();
 }
Exemple #13
0
 public void InitMenu()
 {
     ComboMenu = MainMenu.Add(new Menu("ChampionNamecombomenu", "Combo Settings: "));
     UseQCombo = ComboMenu.Add(new MenuBool("ChampionNameqcombo", "Use Q", true));
     UseWCombo = ComboMenu.Add(new MenuBool("ChampionNamewcombo", "Use W", true));
     UseECombo = ComboMenu.Add(new MenuBool("ChampionNameecombo", "Use E", true));
     UseRCombo = ComboMenu.Add(new MenuBool("ChampionNamercombo", "Use R", true));
     MainMenu.Attach();
 }
Exemple #14
0
 public static MenuKeyBind KeyBind(
     this Menu subMenu,
     string name,
     string display,
     Keys key,
     KeyBindType type = KeyBindType.Press)
 {
     return(subMenu.Add(new MenuKeyBind(name, display, key, type)));
 }
Exemple #15
0
 public PositionSaver(Menu menu, Spell spellToUse)
 {
     _core = new PositionSaverCore();
     _isEnabled = menu.Add(new MenuBool("positionsaverenabled", "Auto use in custom positions", true));
     _saveKey = menu.Add(new MenuKeyBind("positionsaversavekey", "Save cursor pos as custom pos!", Keys.I, KeyBindType.Press));
     _deleteOneKey = menu.Add(new MenuKeyBind("positionsaverdeleteone", "Delete cursor position", Keys.J, KeyBindType.Press));
     _deleteKey = menu.Add(new MenuKeyBind("positionsaverpurge", "Delete all positions", Keys.Delete, KeyBindType.Press));
     _spellToUse = spellToUse;
     Drawing.OnDraw += OnDraw;
 }
Exemple #16
0
 public static MenuSlider Slider(
     this Menu subMenu,
     string name,
     string display,
     int cur,
     int min = 0,
     int max = 100)
 {
     return(subMenu.Add(new MenuSlider(name, display, cur, min, max)));
 }
Exemple #17
0
 public PositionSaver(Menu menu, Spell spellToUse)
 {
     _core           = new PositionSaverCore();
     _isEnabled      = menu.Add(new MenuBool("positionsaverenabled", "Auto use in custom positions", true));
     _saveKey        = menu.Add(new MenuKeyBind("positionsaversavekey", "Save cursor pos as custom pos!", Keys.I, KeyBindType.Press));
     _deleteOneKey   = menu.Add(new MenuKeyBind("positionsaverdeleteone", "Delete cursor position", Keys.J, KeyBindType.Press));
     _deleteKey      = menu.Add(new MenuKeyBind("positionsaverpurge", "Delete all positions", Keys.Delete, KeyBindType.Press));
     _spellToUse     = spellToUse;
     Drawing.OnDraw += OnDraw;
 }
Exemple #18
0
 public void InitMenu()
 {
     ComboMenu   = MainMenu.Add(new Menu("teemocombomenu", "Combo Settings: "));
     UseQCombo   = ComboMenu.Add(new MenuBool("teemoqcombo", "Use Q", true));
     UseWChase   = ComboMenu.Add(new MenuBool("usewchase", "Use W when chasing"));
     UseECombo   = ComboMenu.Add(new MenuBool("teemorcombo", "Use R", true));
     AutoRConfig = MainMenu.Add(new Menu("teemoautor", "R Settings: "));
     new Utils.Logic.PositionSaver(AutoRConfig, R);
     MainMenu.Attach();
 }
Exemple #19
0
        internal static void Init()
        {
            Q = new Spell(SpellSlot.Q, 680).SetTargetted(0.5f, 1500f);
            W = new Spell(SpellSlot.W);
            E = new Spell(SpellSlot.E);
            R = new Spell(SpellSlot.R, 400).SetSkillshot(0.5f, 120f, 1000f, false, SkillshotType.SkillshotCircle);

            var QMenu = Menu.Add(new Menu("Q", "Q.Set"));
            {
                QMenu.GetBool("ComboQ", "Comno Q");
                QMenu.GetBool("HarassQ", "Harass Q");
                QMenu.GetBool("JCQ", "JungleClear Q", false);
                QMenu.GetSlider("ManaQ", "JungleClear Mana", 40, 0, 80);
                QMenu.GetBool("ADQ", "Use Q AD");
                QMenu.GetBool("KSQ", "KillStel Q");
                QMenu.GetBool("CheckAA", "Check AA", false);
            }

            var WMenu = Menu.Add(new Menu("W", "W.Set"));
            {
                WMenu.GetBool("ComboW", "Combo W", false);
                WMenu.GetBool("WRange", "Use W if enemy is in range only", false);
                WMenu.GetKeyBind("FleeKey", "Flee Use W Key", Keys.Z, KeyBindType.Press);
            }
            var RMenu = Menu.Add(new Menu("R", "R.Set"));
            {
                RMenu.GetSlider("Charge", "Charges of R before using R :)", 2, 1, 3);
                RMenu.Add(new MenuKeyBind("AutoR", "Auto R Key", Keys.T, KeyBindType.Toggle));
                RMenu.GetSlider("RCount", "R Count >=", 1, 1, 5);
                RMenu.GetBool("Gapcloser", "Gapcloser R");
                RMenu.GetBool("LCR", "LaneClear R", false);
                RMenu.GetBool("JCR", "JungleClear R", false);
                RMenu.GetSlider("MinionR", "R Min Minion Count >=", 3, 2, 8);
            }

            var DrawMenu = Menu.Add(new Menu("Draw", "Draw"));

            {
                DrawMenu.GetBool("Q", "Q Range");
                DrawMenu.GetBool("R", "R Range");
                DrawMenu.GetBool("DrawDamge", "Draw Damge", false);
            }

            PlaySharp.Write(GameObjects.Player.ChampionName + "OK! :)");

            Game.OnUpdate += OnUpdate;
            Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast;
            Events.OnGapCloser             += OnGapCloser;
            Drawing.OnDraw += OnDraw;
            Variables.Orbwalker.OnAction += OnAction;
        }
Exemple #20
0
 public static void OnLoad()
 {
     Menu = new Menu("HTracker", "HTracker", true);
     {
         var spellMenu = Menu.Add(new Menu("spell.track", "Spell Tracker"));
         {
             spellMenu.Add(new MenuBool("track.ally.skill", "Track Ally Spells", false));
             spellMenu.Add(new MenuBool("track.my.skill", "Track My Spells", false));
             spellMenu.Add(new MenuBool("track.enemy.skill", "Track Enemy Spells", true));
         }
         Menu.Attach();
     }
     Drawing.OnDraw += OnDraw;
 }
Exemple #21
0
 public static void OnLoad()
 {
     Menu = new Menu("HTracker", "HTracker", true);
     {
         var spellMenu = Menu.Add(new Menu("spell.track", "Spell Tracker"));
         {
             spellMenu.Add(new MenuBool("track.ally.skill", "Track Ally Spells", false));
             spellMenu.Add(new MenuBool("track.my.skill", "Track My Spells", false));
             spellMenu.Add(new MenuBool("track.enemy.skill", "Track Enemy Spells", true));
         }
         Menu.Attach();
     }
     Drawing.OnDraw += OnDraw;
 }
Exemple #22
0
 public void InitMenu()
 {
     ComboMenu        = MainMenu.Add(new Menu("ashecombomenu", "Combo Settings: "));
     UseQCombo        = ComboMenu.Add(new MenuBool("asheqcombo", "Use Q", true));
     UseWCombo        = ComboMenu.Add(new MenuBool("ashewcombo", "Use W", true));
     UseRCombo        = ComboMenu.Add(new MenuBool("ashercombo", "Use R", true));
     UseWHarass       = MainMenu.Add(new MenuBool("ashewharass", "Use W Harass", true));
     UseRAntiGapclose = MainMenu.Add(new MenuBool("asherantigapclose", "Use R AntiGapclose", false));
     UseRInterrupt    = MainMenu.Add(new MenuBool("asherinterrupt", "Use R Interrupt", true));
     DrawWRange       = MainMenu.Add(new MenuBool("ashedraww", "Draw W Range?", false));
     ScoutMode        =
         MainMenu.Add(new MenuList <string>("ashescoutmode", "Scout (E) Mode: ",
                                            new[] { "EnemyJungleClosest", "EnemyJungleFarthest", "DragonBaron", "Custom", "Disabled" }));
     MainMenu.Attach();
 }
Exemple #23
0
 public void InitMenu()
 {
     ComboMenu = MainMenu.Add(new Menu("Xerathcombomenu", "Combo Settings: "));
     UseQCombo = ComboMenu.Add(new MenuBool("Xerathqcombo", "Use Q", true));
     QMode     =
         ComboMenu.Add(new MenuList <string>("Xerathqmode", "Q Mode: ", new[] { "PREDICTION", "TARGETPOSITION" }));
     UseWCombo      = ComboMenu.Add(new MenuBool("Xerathwcombo", "Use W", true));
     UseECombo      = ComboMenu.Add(new MenuBool("Xerathecombo", "Use E", true));
     UseRCombo      = ComboMenu.Add(new MenuBool("Xerathrcombo", "Use R", true));
     QHarass        = MainMenu.Add(new MenuBool("Xerathqharass", "Use Q Harass", true));
     WHarass        = MainMenu.Add(new MenuBool("Xerathwharass", "Use W Harass", false));
     EInterrupt     = MainMenu.Add(new MenuBool("Xeratheinterrupt", "Use E Interrupt", true));
     EAntiGapcloser = MainMenu.Add(new MenuBool("Xerathegc", "Use E Anti-Gapcloser", true));
     MainMenu.Attach();
 }
Exemple #24
0
 public void InitMenu()
 {
     ComboMenu = MainMenu.Add(new Menu("ashecombomenu", "Combo Settings: "));
     UseQCombo = ComboMenu.Add(new MenuBool("asheqcombo", "Use Q", true));
     UseWCombo = ComboMenu.Add(new MenuBool("ashewcombo", "Use W", true));
     UseRCombo = ComboMenu.Add(new MenuBool("ashercombo", "Use R", true));
     UseWHarass = MainMenu.Add(new MenuBool("ashewharass", "Use W Harass", true));
     UseRAntiGapclose = MainMenu.Add(new MenuBool("asherantigapclose", "Use R AntiGapclose", false));
     UseRInterrupt = MainMenu.Add(new MenuBool("asherinterrupt", "Use R Interrupt", true));
     DrawWRange = MainMenu.Add(new MenuBool("ashedraww", "Draw W Range?", false));
     ScoutMode =
         MainMenu.Add(new MenuList<string>("ashescoutmode", "Scout (E) Mode: ",
             new[] {"EnemyJungleClosest", "EnemyJungleFarthest", "DragonBaron", "Custom", "Disabled"}));
     MainMenu.Attach();
 }
Exemple #25
0
 private void InitMenu()
 {
     ComboMenu          = MainMenu.Add(new Menu("kalicombomenu", "Combo Settings: "));
     WomboComboMenu     = ComboMenu.Add(new Menu("kaliwombos", "Wombo Combos: "));
     BalistaBool        = WomboComboMenu.Add(new MenuBool("kalibalista", "Balista", true));
     TalistaBool        = WomboComboMenu.Add(new MenuBool("kalitalista", "Talista", true));
     SalistaBool        = WomboComboMenu.Add(new MenuBool("kalisalista", "Salista", true));
     OrbwalkOnMinions   = ComboMenu.Add(new MenuBool("kaliorbwalkonminions", "Orbwalk On Minions", false));
     UseQCantAABool     = ComboMenu.Add(new MenuBool("kaliuseqcombo", "Use Q if cant AA", false));
     UseQIfECanKillBool = ComboMenu.Add(new MenuBool("kaliuseqecombo", "Use Q > E combo", true));
     UseQManaSlider     = ComboMenu.Add(new MenuSlider("kaliuseqmanaslider", "Use Q if Mana% > ", 20));
     //UseQWalljumpKey = ComboMenu.Add(new MenuKeyBind("useqwalljump", "Q Walljump Key", Keys.N, KeyBindType.Press));
     FocusWBuffedEnemyBool = ComboMenu.Add(new MenuBool("kalifocuswbuffedenemy", "Focus Enemy with W Buff", true));
     UseEBool = ComboMenu.Add(new MenuBool("kaliuseecombo", "Use E if can kill enemy", true));
     //UseEBeforeYouDieBool = ComboMenu.Add(new MenuBool("kaliuseebeforedeath", "Use E Before You Die", false));
     UseRAllySaverBool                = ComboMenu.Add(new MenuBool("kaliusersaveally", "Use R to save Soulbound", true));
     UseREngageBool                   = ComboMenu.Add(new MenuBool("userengage", "Use R to engage", false));
     UseRCounterEngageBool            = ComboMenu.Add(new MenuBool("kaliusercounternengage", "Use R counter-engage", true));
     UseRInterruptBool                = ComboMenu.Add(new MenuBool("kaliuserinterrupt", "Use R to Interrupt"));
     HarassMenu                       = MainMenu.Add(new Menu("kaliharassmenu", "Harass Settings: "));
     UseQStackTransferBool            = HarassMenu.Add(new MenuBool("kaliuseqstacktransfer", "Use Q Stack Transfer"));
     UseQStackTransferMinStacksSlider =
         HarassMenu.Add(new MenuSlider("kaliuseqstacktransferminstacks", "Min stacks for Stack Transfer", 3, 0,
                                       15));
     FocusWBuffedEnemyInHarassBool =
         HarassMenu.Add(new MenuBool("kalifocuswharass", "Focus W Buffed Enemy", true));
     UseEIfResettedByAMinionBool =
         HarassMenu.Add(new MenuBool("useeresetharass", "Use E if resetted by a minion"));
     EResetByAMinionMinManaSlider =
         HarassMenu.Add(new MenuSlider("useeresetmana", "Use E Reset by Minion if Mana% > ", 50));
     MinEnemyStacksForEMinionResetSlider =
         HarassMenu.Add(new MenuSlider("useeresetminenstacks", "Use E Reset if Enemy stacks > ", 3, 0, 25));
     FarmMenu            = MainMenu.Add(new Menu("kalifarmmenu", "Farm Settings"));
     FocusWBuffedMinions = FarmMenu.Add(new MenuBool("focuswbufminions", "Focus minions with W buff", false));
     AlwaysUseEIf2MinionsKillableBool =
         FarmMenu.Add(new MenuBool("alwaysuseeif2minkillable", "Always use E if resetted with no mana cost", true));
     RendDamageMenu           = MainMenu.Add(new Menu("kalirenddmgmenu", "Adjust Rend (E) DMG Prediction: "));
     ReduceRendDamageBySlider =
         RendDamageMenu.Add(new MenuSlider("kalirendreducedmg", "Reduce E DMG by: ", 0, 0, 300));
     IncreaseRendDamageBySlider =
         RendDamageMenu.Add(new MenuSlider("kalirendincreasedmg", "Increse E DMG by: ", 0, 0, 300));
     DrawMenu       = MainMenu.Add(new Menu("kalidrawmenu", "Drawing Settings: "));
     DrawERangeBool = DrawMenu.Add(new MenuBool("drawerangekali", "Draw E Range", true));
     DrawRRangeBool = DrawMenu.Add(new MenuBool("kalidrawrrange", "Draw R Range", true));
     DrawEDamage    = DrawMenu.Add(new MenuBool("kalidrawedmg", "Draw E Damage", true));
     MainMenu.Attach();
 }
Exemple #26
0
        public CSPlugin()
        {
            Bootstrap.Init(new string[1]);
            MainMenu = new Menu("challengerseries", ObjectManager.Player.ChampionName + " To The Challenger", true, ObjectManager.Player.ChampionName);
            CrossAssemblySettings = MainMenu.Add(new Menu("crossassemblysettings", "Challenger Utils: "));
            DrawEnemyWaypoints    =
                CrossAssemblySettings.Add(new MenuBool("drawenemywaypoints", "Draw Enemy Waypoints", true));
            this.IsPerformanceChallengerEnabled =
                this.CrossAssemblySettings.Add(
                    new MenuBool("performancechallengerx", "Use Performance Challenger", false));
            this.TriggerOnUpdate =
                this.CrossAssemblySettings.Add(
                    new MenuSlider("triggeronupdate", "Trigger OnUpdate X times a second", 26, 20, 33));
            Utils.Prediction.PredictionMode =
                this.CrossAssemblySettings.Add(new MenuList <string>("pred", "Use Prediction: ", new[] { "SDK", "Common" }));


            DelayAction.Add(15000, () => Orbwalker.Enabled = true);

            Game.OnUpdate += this.DelayOnUpdate;

            Drawing.OnDraw += args =>
            {
                if (DrawEnemyWaypoints)
                {
                    foreach (
                        var e in
                        ValidTargets.Where(
                            en => en.Distance(ObjectManager.Player) < 5000))
                    {
                        var ip = Drawing.WorldToScreen(e.Position); //start pos

                        var wp = e.GetWaypoints();
                        var c  = wp.Count - 1;
                        if (wp.Count() <= 1)
                        {
                            break;
                        }

                        var w = Drawing.WorldToScreen(wp[c].ToVector3()); //endpos

                        Drawing.DrawLine(ip.X, ip.Y, w.X, w.Y, 2, Color.Red);
                        Drawing.DrawText(w.X, w.Y, Color.Red, e.CharData.BaseSkinName);
                    }
                }
            };
        }
Exemple #27
0
 private void InitMenu()
 {
     ComboMenu       = MainMenu.Add(new Menu("combomenu", "Combo Settings: "));
     CondemnMenu     = ComboMenu.Add(new Menu("condemnmenu", "Condemn Settings: "));
     HarassMenu      = MainMenu.Add(new Menu("harassmenu", "Harass Settings: "));
     FarmMenu        = MainMenu.Add(new Menu("farmmenu", "Farm Settings: "));
     DrawMenu        = MainMenu.Add(new Menu("drawmenu", "Drawing Settings: "));
     UseQBool        = ComboMenu.Add(new MenuBool("useq", "Auto Q", true));
     QModeStringList =
         ComboMenu.Add(new MenuList <string>("qmode", "Q Mode: ",
                                             new[] { "PRADA", "MARKSMAN", "VHR", "SharpShooter" }));
     UseQAntiGapcloserStringList =
         ComboMenu.Add(new MenuList <string>("qantigc", "Use Q Antigapcloser",
                                             new[] { "NEVER", "E-NOT-READY", "ALWAYS" }));
     TryToFocus2WBool = ComboMenu.Add(new MenuBool("focus2w", "Try To Focus 2W", false));
     UseEBool         = CondemnMenu.Add(new MenuBool("usee", "Auto E", true));
     EDelaySlider     = CondemnMenu.Add(new MenuSlider("edelay", "E Delay (in ms): ", 0, 0, 100));
     EModeStringList  =
         CondemnMenu.Add(new MenuList <string>("emode", "E Mode: ",
                                               new[]
     {
         "PRADASMART", "PRADAPERFECT", "MARKSMAN", "SHARPSHOOTER", "GOSU", "VHR", "PRADALEGACY",
         "FASTEST",
         "OLDPRADA"
     }));
     UseEInterruptBool       = CondemnMenu.Add(new MenuBool("useeinterrupt", "Use E To Interrupt", true));
     UseEAntiGapcloserBool   = CondemnMenu.Add(new MenuBool("useeantigapcloser", "Use E AntiGapcloser", true));
     UseEWhenMeleesNearBool  = CondemnMenu.Add(new MenuBool("ewhenmeleesnear", "Use E when Melee near", false));
     EPushDistanceSlider     = CondemnMenu.Add(new MenuSlider("epushdist", "E Push Distance: ", 425, 300, 475));
     EHitchanceSlider        = CondemnMenu.Add(new MenuSlider("ehitchance", "Condemn Hitchance", 50, 0, 100));
     SemiAutomaticCondemnKey =
         CondemnMenu.Add(new MenuKeyBind("semiautoekey", "Semi Automatic Condemn", Keys.E, KeyBindType.Press));
     DontAttackWhileInvisibleAndMeelesNearBool =
         ComboMenu.Add(new MenuBool("dontattackwhileinvisible", "Smart Invisible Attacking", true));
     UseRBool           = ComboMenu.Add(new MenuBool("user", "Use R In Combo", false));
     UseEAs3rdWProcBool =
         HarassMenu.Add(new MenuBool("usee3rdwproc", "Use E as 3rd W Proc Before LVL: ", false));
     UseQBonusOnEnemiesNotCS =
         HarassMenu.Add(new MenuBool("useqonenemiesnotcs", "Use Q Bonus On ENEMY not CS", false));
     UseQOnlyAt2WStacksBool = HarassMenu.Add(new MenuBool("useqonlyon2stackedenemies", "Use Q If Enemy Have 2W Stacks", false));
     UseQFarm        = FarmMenu.Add(new MenuBool("useqfarm", "Use Q"));
     UseEJungleFarm  = FarmMenu.Add(new MenuBool("useejgfarm", "Use E Jungle", true));
     DrawWStacksBool = DrawMenu.Add(new MenuBool("drawwstacks", "Draw W Stacks", true));
     MainMenu.Attach();
 }
Exemple #28
0
        public override void InitializeMenu()
        {
            base.InitializeMenu();
            ComboMenu = MainMenu.Add(new Menu("koggiecombomenu", "Combo Settings: "));
            UseQBool = ComboMenu.Add(new MenuBool("koggieuseq", "Use Q", true));
            UseWBool = ComboMenu.Add(new MenuBool("koggieusew", "Use W", true));
            UseEBool = ComboMenu.Add(new MenuBool("koggieusee", "Use E", true));
            UseRBool = ComboMenu.Add(new MenuBool("koggieuser", "Use R", true));
            GetInPositionForWBeforeActivatingBool =
                ComboMenu.Add(new MenuBool("koggiewintime", "Dont Activate W if In Danger!", false));
            HarassMenu = MainMenu.Add(new Menu("koggieharassmenu", "Harass Settings"));
            UseRHarass = HarassMenu.Add(new MenuBool("koggieuserharass", "Use R", true));
            JungleclearMenu = MainMenu.Add(new Menu("koggiejgclearmenu", "Jungleclear Settings: "));
            UseWJungleClearMenu = JungleclearMenu.Add(new Menu("koggiewjgcleartargets", "W if TARGET is: "));

            if (GetJungleCampsOnCurrentMap() != null)
            {
                foreach (var mob in GetJungleCampsOnCurrentMap())
                {
                    UseWJungleClearMenu.Add(new MenuBool(mob, mob, true));
                }
            }
            DrawMenu = MainMenu.Add(new Menu("koggiedrawmenu", "Drawing Settings"));
            DrawWRangeBool = DrawMenu.Add(new MenuBool("koggiedraww", "Draw W Range", true));
            DrawRRangeBool = DrawMenu.Add(new MenuBool("koggiedrawr", "Draw R Range", true));
            HumanizerMenu = MainMenu.Add(new Menu("koggiehumanizermenu", "Humanizer Settings: "));
            HumanizerMinAttacks = HumanizerMenu.Add(new MenuSlider("koggieminattacks", "Min attacks before moving", 2, 1, 10));
            HumanizerMovementTime =
                HumanizerMenu.Add(new MenuSlider("koggiehumanizermovetime", "Time for moving (milliseconds)", 200, 0,
                    1000));
            HumanizerEnabled = HumanizerMenu.Add(new MenuBool("koggiehumanizerenabled", "Enable Humanizer? ", true));
            MaxRStacksSlider = MainMenu.Add(new MenuSlider("koggiermaxstacks", "R Max Stacks: ", 2, 0, 11));
            AlwaysSaveManaForWBool = MainMenu.Add(new MenuBool("koggiesavewmana", "Always Save Mana For W!", true));
            MainMenu.Attach();
        }
Exemple #29
0
        /// <inheritdoc />
        public void AddToMenu(Menu tsMenu)
        {
            this.menu = tsMenu;

            this.weightsMenu = new Menu("weights", "Weights");

            var heroPercentMenu = new Menu("heroPercentage", "Hero Percentage");

            foreach (var enemy in GameObjects.EnemyHeroes)
            {
                heroPercentMenu.Add(
                    new MenuSlider(
                        enemy.ChampionName,
                        enemy.ChampionName,
                        DefaultPercentage,
                        MinPercentage,
                        MaxPercentage));
            }

            this.weightsMenu.Add(heroPercentMenu);

            this.weightsMenu.Add(
                new MenuButton("export", "Export to Clipboard", "Export")
            {
                Action = this.ExportSettings
            });
            this.weightsMenu.Add(
                new MenuButton("import", "Import from Clipboard", "Import")
            {
                Action = this.ImportSettings
            });
            this.weightsMenu.Add(new MenuButton("reset", "Reset to Default", "Reset")
            {
                Action = this.ResetSettings
            });

            foreach (var weight in this.pItems)
            {
                this.weightsMenu.Add(
                    new MenuSlider(
                        weight.Name,
                        weight.DisplayName,
                        Math.Min(MaxWeight, Math.Max(MinWeight, weight.Weight)),
                        MinWeight,
                        MaxWeight));
            }

            this.weightsMenu.MenuValueChanged += (sender, args) =>
            {
                var slider = sender as MenuSlider;
                if (slider != null)
                {
                    foreach (var weight in this.pItems.Where(weight => slider.Name.Equals(weight.Name)))
                    {
                        weight.Weight = slider.Value;
                    }
                }
            };

            this.menu.Add(this.weightsMenu);

            foreach (var weight in this.pItems)
            {
                weight.Weight = this.weightsMenu[weight.Name].GetValue <MenuSlider>().Value;
            }

            foreach (var enemy in GameObjects.EnemyHeroes)
            {
                this.weightsMenu["heroPercentage"][enemy.ChampionName].GetValue <MenuSlider>().Value = DefaultPercentage;
            }
        }
Exemple #30
0
 public static MenuBool Bool(this Menu subMenu, string name, string display, bool state = true)
 {
     return(subMenu.Add(new MenuBool(name, display, state)));
 }
Exemple #31
0
        private static void OnLoad(object sender, EventArgs e)
        {
            if (ObjectManager.Player.ChampionName != "Taliyah")
                return;

            main_menu = new Menu("taliyah", "Taliyah", true);

            Menu combo = new Menu("taliyah.combo", "Combo");
            combo.Add(new MenuBool("taliyah.combo.useq", "Use Q", true, ObjectManager.Player.ChampionName));
            combo.Add(new MenuBool("taliyah.combo.usew", "Use W", true, ObjectManager.Player.ChampionName));
            combo.Add(new MenuBool("taliyah.combo.usee", "Use E", true, ObjectManager.Player.ChampionName));
            main_menu.Add(combo);

            Menu harass = new Menu("taliyah.harass", "Harass");
            harass.Add(new MenuBool("taliyah.harass.useq", "Use Q", true, ObjectManager.Player.ChampionName));
            harass.Add(new MenuSlider("taliyah.harass.manaperc", "Min. Mana", 40, 0, 100, ObjectManager.Player.ChampionName));
            main_menu.Add(harass);

            Menu laneclear = new Menu("taliyah.laneclear", "LaneClear");
            laneclear.Add(new MenuBool("taliyah.laneclear.useq", "Use Q", true, ObjectManager.Player.ChampionName));
            laneclear.Add(new MenuBool("taliyah.laneclear.useew", "Use EW", false, ObjectManager.Player.ChampionName));
            laneclear.Add(new MenuSlider("taliyah.laneclear.minq", "Min. Q Hit", 3, 1, 6, ObjectManager.Player.ChampionName));
            laneclear.Add(new MenuSlider("taliyah.laneclear.minew", "Min. EW Hit", 5, 1, 6, ObjectManager.Player.ChampionName));
            laneclear.Add(new MenuSlider("taliyah.laneclear.manaperc", "Min. Mana", 40, 0, 100, ObjectManager.Player.ChampionName));
            main_menu.Add(laneclear);

            Menu drawing = new Menu("taliyah.drawing", "Drawings");
            drawing.Add(new MenuBool("taliyah.drawing.drawq", "Draw Q", true, ObjectManager.Player.ChampionName));
            drawing.Add(new MenuBool("taliyah.drawing.draww", "Draw W", true, ObjectManager.Player.ChampionName));
            drawing.Add(new MenuBool("taliyah.drawing.drawe", "Draw E", true, ObjectManager.Player.ChampionName));
            drawing.Add(new MenuBool("taliyah.drawing.drawr", "Draw R Minimap", true, ObjectManager.Player.ChampionName));
            main_menu.Add(drawing);

            main_menu.Add(new MenuBool("taliyah.onlyq5", "Only cast 5x Q", false, ObjectManager.Player.ChampionName));
            main_menu.Add(new MenuBool("taliyah.antigap", "Auto E to Gapclosers", true, ObjectManager.Player.ChampionName));
            main_menu.Add(new MenuBool("taliyah.interrupt", "Auto W to interrupt spells", true, ObjectManager.Player.ChampionName));
            main_menu.Add(new MenuKeyBind("taliyah.pullenemy", "Pull Selected Target", System.Windows.Forms.Keys.T, KeyBindType.Press, ObjectManager.Player.ChampionName));
            main_menu.Add(new MenuKeyBind("taliyah.pushenemy", "Push Selected Target", System.Windows.Forms.Keys.G, KeyBindType.Press, ObjectManager.Player.ChampionName));
            main_menu.Attach();

            Q = new Spell(SpellSlot.Q, 900f);
            Q.SetSkillshot(0f, 60f, Q.Instance.SData.MissileSpeed, true, SkillshotType.SkillshotLine);

            W = new Spell(SpellSlot.W, 800f);
            W.SetSkillshot(1f, 50f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            E = new Spell(SpellSlot.E, 700f);
            E.SetSkillshot(0.25f, 150f, 2000f, false, SkillshotType.SkillshotLine);

            Game.OnWndProc += Game_OnWndProc;
            Game.OnUpdate += Game_OnUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
            Obj_AI_Hero.OnProcessSpellCast += Obj_AI_Hero_OnProcessSpellCast;
            Events.OnGapCloser += Events_OnGapCloser;
            Events.OnInterruptableTarget += Events_OnInterruptableTarget;
            GameObject.OnCreate += GameObject_OnCreate;
            GameObject.OnDelete += GameObject_OnDelete;
            Drawing.OnEndScene += Drawing_OnEndScene;
        }
Exemple #32
0
        /// <inheritdoc />
        public void AddToMenu(Menu tsMenu)
        {
            this.menu = tsMenu;

            this.weightsMenu = new Menu("weights", "Weights");

            var heroPercentMenu = new Menu("heroPercentage", "Hero Percentage");
            foreach (var enemy in GameObjects.EnemyHeroes)
            {
                heroPercentMenu.Add(
                    new MenuSlider(
                        enemy.ChampionName,
                        enemy.ChampionName,
                        DefaultPercentage,
                        MinPercentage,
                        MaxPercentage));
            }

            this.weightsMenu.Add(heroPercentMenu);

            this.weightsMenu.Add(
                new MenuButton("export", "Export to Clipboard", "Export") { Action = this.ExportSettings });
            this.weightsMenu.Add(
                new MenuButton("import", "Import from Clipboard", "Import") { Action = this.ImportSettings });
            this.weightsMenu.Add(new MenuButton("reset", "Reset to Default", "Reset") { Action = this.ResetSettings });

            foreach (var weight in this.pItems)
            {
                this.weightsMenu.Add(
                    new MenuSlider(
                        weight.Name,
                        weight.DisplayName,
                        Math.Min(MaxWeight, Math.Max(MinWeight, weight.Weight)),
                        MinWeight,
                        MaxWeight));
            }

            this.weightsMenu.MenuValueChanged += (sender, args) =>
                {
                    var slider = sender as MenuSlider;
                    if (slider != null)
                    {
                        foreach (var weight in this.pItems.Where(weight => slider.Name.Equals(weight.Name)))
                        {
                            weight.Weight = slider.Value;
                        }
                    }
                };

            this.menu.Add(this.weightsMenu);

            foreach (var weight in this.pItems)
            {
                weight.Weight = this.weightsMenu[weight.Name].GetValue<MenuSlider>().Value;
            }

            foreach (var enemy in GameObjects.EnemyHeroes)
            {
                this.weightsMenu["heroPercentage"][enemy.ChampionName].GetValue<MenuSlider>().Value = DefaultPercentage;
            }
        }
Exemple #33
0
 /// <summary>
 /// initialize the MainMenu for the Champion Menu. Should be called at first.
 /// </summary>
 public static void InitMenu()
 {
     MainMenu = new Menu("rarezyra", "rareZyra", true, Player.ChampionName).Attach();
     MainMenu.Separator("We love LeagueSharp.");
     MainMenu.Separator("Developer: @Kyon");
 }
Exemple #34
0
        private static void OnLoad(object sender, EventArgs e)
        {
            if (ObjectManager.Player.ChampionName != "Taliyah")
            {
                return;
            }
            Game.PrintChat("<font color=\"#1eff00\">濞涙▊婕㈠寲鏈€寮篤IP鑴氭湰缇わ細215226086</font> - <font color=\"#00BFFF\">姝¤繋鍚勪綅鐨勫姞鍏ワ紒</font>");

            main_menu = new Menu("taliyah", "Taliyah", true);

            Menu combo = new Menu("taliyah.combo", "Combo");

            combo.Add(new MenuBool("taliyah.combo.useq", "Use Q", true, ObjectManager.Player.ChampionName));
            combo.Add(new MenuBool("taliyah.combo.usew", "Use W", true, ObjectManager.Player.ChampionName));
            combo.Add(new MenuBool("taliyah.combo.usee", "Use E", true, ObjectManager.Player.ChampionName));
            main_menu.Add(combo);

            Menu harass = new Menu("taliyah.harass", "Harass");

            harass.Add(new MenuBool("taliyah.harass.useq", "Use Q", true, ObjectManager.Player.ChampionName));
            harass.Add(new MenuSlider("taliyah.harass.manaperc", "Min. Mana", 40, 0, 100, ObjectManager.Player.ChampionName));
            main_menu.Add(harass);

            Menu laneclear = new Menu("taliyah.laneclear", "LaneClear");

            laneclear.Add(new MenuBool("taliyah.laneclear.useq", "Use Q", true, ObjectManager.Player.ChampionName));
            laneclear.Add(new MenuBool("taliyah.laneclear.useew", "Use EW", false, ObjectManager.Player.ChampionName));
            laneclear.Add(new MenuSlider("taliyah.laneclear.minq", "Min. Q Hit", 3, 1, 6, ObjectManager.Player.ChampionName));
            laneclear.Add(new MenuSlider("taliyah.laneclear.minew", "Min. EW Hit", 5, 1, 6, ObjectManager.Player.ChampionName));
            laneclear.Add(new MenuSlider("taliyah.laneclear.manaperc", "Min. Mana", 40, 0, 100, ObjectManager.Player.ChampionName));
            main_menu.Add(laneclear);

            Menu drawing = new Menu("taliyah.drawing", "Drawings");

            drawing.Add(new MenuBool("taliyah.drawing.drawq", "Draw Q", true, ObjectManager.Player.ChampionName));
            drawing.Add(new MenuBool("taliyah.drawing.draww", "Draw W", true, ObjectManager.Player.ChampionName));
            drawing.Add(new MenuBool("taliyah.drawing.drawe", "Draw E", true, ObjectManager.Player.ChampionName));
            drawing.Add(new MenuBool("taliyah.drawing.drawr", "Draw R Minimap", true, ObjectManager.Player.ChampionName));
            main_menu.Add(drawing);

            main_menu.Add(new MenuBool("taliyah.onlyq5", "Only cast 5x Q", false, ObjectManager.Player.ChampionName));
            main_menu.Add(new MenuBool("taliyah.antigap", "Auto E to Gapclosers", true, ObjectManager.Player.ChampionName));
            main_menu.Add(new MenuBool("taliyah.interrupt", "Auto W to interrupt spells", true, ObjectManager.Player.ChampionName));
            main_menu.Add(new MenuKeyBind("taliyah.pullenemy", "Pull Selected Target", System.Windows.Forms.Keys.T, KeyBindType.Press, ObjectManager.Player.ChampionName));
            main_menu.Add(new MenuKeyBind("taliyah.pushenemy", "Push Selected Target", System.Windows.Forms.Keys.G, KeyBindType.Press, ObjectManager.Player.ChampionName));
            main_menu.Attach();

            Q = new Spell(SpellSlot.Q, 900f);
            Q.SetSkillshot(0f, 60f, Q.Instance.SData.MissileSpeed, true, SkillshotType.SkillshotLine);

            W = new Spell(SpellSlot.W, 800f);
            W.SetSkillshot(0.6f, 50f, float.MaxValue, false, SkillshotType.SkillshotCircle);

            E = new Spell(SpellSlot.E, 700f);
            E.SetSkillshot(0.25f, 150f, 2000f, false, SkillshotType.SkillshotLine);

            Game.OnWndProc += Game_OnWndProc;
            Game.OnUpdate  += Game_OnUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
            Obj_AI_Hero.OnProcessSpellCast += Obj_AI_Hero_OnProcessSpellCast;
            Events.OnGapCloser             += Events_OnGapCloser;
            Events.OnInterruptableTarget   += Events_OnInterruptableTarget;
            GameObject.OnCreate            += GameObject_OnCreate;
            GameObject.OnDelete            += GameObject_OnDelete;
            Drawing.OnEndScene             += Drawing_OnEndScene;
        }
Exemple #35
0
        public static void ExecuteMenu()
        {
            Menu = new Menu("hVayne [SDK]", "hVayne [SDK]", true);
            {
                var combomenu = Menu.Add(new Menu("combo.settings", "Combo Settings"));
                {
                    combomenu.Add(new MenuBool("combo.q", "Use (Q)", true));
                    combomenu.Add(new MenuBool("combo.e", "Use (E)", true));
                    combomenu.Add(new MenuBool("combo.r", "Use (R)", true));
                    combomenu.Add(new MenuSlider("combo.r.count", "Min. Enemy Count (R)", 3,1,5));
                }

                var harassmenu = Menu.Add(new Menu("harass.settings", "Harass Settings"));
                {
                    harassmenu.Add(new MenuBool("harass.q", "Use (Q)", true));
                    harassmenu.Add(new MenuBool("harass.e", "Use (E)", true));
                    harassmenu.Add(new MenuSlider("harass.mana", "Min. Mana", 50, 1, 99));
                }

                var junglemenu = Menu.Add(new Menu("jungle.settings", "Jungle Settings"));
                {
                    junglemenu.Add(new MenuBool("jungle.q", "Use (Q)", true));
                    junglemenu.Add(new MenuBool("jungle.e", "Use (E)", true));
                    junglemenu.Add(new MenuSlider("jungle.mana", "Min. Mana", 50, 1, 99));
                }

                var condemnmenu = Menu.Add(new Menu("condemn.settings", "Condemn Settings"));
                {
                    foreach (var enemy in GameObjects.EnemyHeroes)
                    {
                        condemnmenu.Add(new MenuBool("condemn." + enemy.ChampionName, "(Codenmn): "+enemy.ChampionName, true));
                    }
                }

                var miscmenu = Menu.Add(new Menu("misc.settings", "Miscellaneous"));
                {
                    miscmenu.Add(new MenuBool("interrupter.e", "Interrupter (E)", true));

                    miscmenu.Add(new MenuSeparator("auto.orb.seperator", "Scrying Orb Settings"));
                    miscmenu.Add(new MenuBool("auto.orb.buy", "Auto Orb. Buy", true));
                    miscmenu.Add(new MenuSlider("orb.level", "Orb. Level", 9, 9, 18));

                }

                var activator = Menu.Add(new Menu("activator.settings", "Activator Settings"));
                {
                    activator.Add(new MenuSeparator("qss.seperator", "Quicksilver Sash Settings"));
                    activator.Add(new MenuBool("use.qss", "Use QSS", true));

                    activator.Add(new MenuSeparator("qss.seperator2", "Quicksilver Sash Debuffs"));
                    activator.Add(new MenuBool("qss.charm", "Charm", true));
                    activator.Add(new MenuBool("qss.snare", "Snare", true));
                    activator.Add(new MenuBool("qss.polymorph", "Polymorph", true));
                    activator.Add(new MenuBool("qss.stun", "Stun", true));
                    activator.Add(new MenuBool("qss.suppression", "Suppression", true));
                    activator.Add(new MenuBool("qss.taunt", "Taunt", true));

                    activator.Add(new MenuSeparator("botrk.seperator", "BOTRK Settings"));
                    activator.Add(new MenuBool("use.botrk", "Use BOTRK", true));
                    activator.Add(new MenuSlider("botrk.vayne.hp", "Min. Vayne HP", 20, 1, 99));
                    activator.Add(new MenuSlider("botrk.enemy.hp", "Min. Enemy HP", 20, 1, 99));

                    activator.Add(new MenuSeparator("youmuu.seperator", "Youmuu Settings"));
                    activator.Add(new MenuBool("use.youmuu", "Use Youmuu", true));

                }

                Menu.Add(new MenuSeparator("genel.seperator1", "hVayne Modes"));

                PushDistance = Menu.Add(new MenuSlider("condemn.push.distance", "Condemn Push Distance", 410, 350, 420));
                CondemnMethod = Menu.Add(new MenuList<string>("condemn.style", "Condemn Mode : ", new[] {"Shine", "Asuna", "360"}));
                MethodQ = Menu.Add(new MenuList<string>("q.style", "(Q) Mode : ", new[] { "Cursor Position", "Safe Position" }));
                ComboMethod = Menu.Add(new MenuList<string>("combo.type", "Combo Mode : ", new[] { "Normal", "Burst" }));
                HarassMenu = Menu.Add(new MenuList<string>("harass.type", "Harass Mode : ", new[] { "2W + Q", "2W + E" }));
                Menu.Attach();
            }
        }
Exemple #36
0
        /// <summary>
        ///     Initializes a new instance of the <see cref="Orbwalker" /> class.
        /// </summary>
        /// <param name="menu">The menu.</param>
        internal Orbwalker(Menu menu)
        {
            var drawing = new Menu("drawings", "Drawings");

            drawing.Add(new MenuBool("drawAARange", "Auto-Attack Range", true));
            drawing.Add(new MenuBool("drawAARangeEnemy", "Auto-Attack Range Enemy"));
            drawing.Add(new MenuBool("drawExtraHoldPosition", "Extra Hold Position"));
            drawing.Add(new MenuBool("drawKillableMinion", "Killable Minions"));
            drawing.Add(new MenuBool("drawKillableMinionFade", "Killable Minions Fade Effect"));
            this.Menu.Add(drawing);

            var advanced = new Menu("advanced", "Advanced");

            advanced.Add(new MenuSeparator("separatorMovement", "Movement"));
            advanced.Add(new MenuBool("movementRandomize", "Randomize Location", true));
            advanced.Add(new MenuSlider("movementExtraHold", "Extra Hold Position", 0, 0, 250));
            advanced.Add(new MenuSlider("movementMaximumDistance", "Maximum Distance", 1500, 500, 1500));

            advanced.Add(new MenuSeparator("separatorDelay", "Delay"));
            advanced.Add(new MenuSlider("delayMovement", "Movement", 0, 0, 500));
            advanced.Add(new MenuSlider("delayWindup", "Windup", 80, 0, 200));
            advanced.Add(new MenuSlider("delayFarm", "Farm", 30, 0, 200));

            advanced.Add(new MenuSeparator("separatorPrioritization", "Prioritization"));
            advanced.Add(new MenuBool("prioritizeFarm", "Farm Over Harass", true));
            advanced.Add(new MenuBool("prioritizeMinions", "Minions Over Objectives"));
            advanced.Add(new MenuBool("prioritizeSmallJungle", "Small Jungle"));
            advanced.Add(new MenuBool("prioritizeWards", "Wards"));
            advanced.Add(new MenuBool("prioritizeSpecialMinions", "Special Minions"));

            advanced.Add(new MenuSeparator("separatorAttack", "Attack"));
            advanced.Add(new MenuBool("attackWards", "Wards"));
            advanced.Add(new MenuBool("attackBarrels", "Barrels"));
            advanced.Add(new MenuBool("attackClones", "Clones"));
            advanced.Add(new MenuBool("attackSpecialMinions", "Special Minions", true));

            advanced.Add(new MenuSeparator("separatorMisc", "Miscellaneous"));
            advanced.Add(new MenuBool("miscMissile", "Use Missile Checks", true));
            advanced.Add(new MenuBool("miscAttackSpeed", "Don't Kite if Attack Speed > 2.5", true));

            this.Menu.Add(advanced);

            this.Menu.Add(new MenuSeparator("separatorKeys", "Key Bindings"));
            this.Menu.Add(new MenuKeyBind("lasthitKey", "Last Hit", Keys.X, KeyBindType.Press));
            this.Menu.Add(new MenuKeyBind("laneclearKey", "Lane Clear", Keys.V, KeyBindType.Press));
            this.Menu.Add(new MenuKeyBind("hybridKey", "Hybrid", Keys.C, KeyBindType.Press));
            this.Menu.Add(new MenuKeyBind("comboKey", "Combo", Keys.Space, KeyBindType.Press));
            this.Menu.Add(new MenuBool("enabledOption", "Enabled", true));

            this.Menu.MenuValueChanged += (sender, args) =>
            {
                var keyBind = sender as MenuKeyBind;
                if (keyBind != null)
                {
                    var            modeName = keyBind.Name.Substring(0, keyBind.Name.IndexOf("Key", StringComparison.Ordinal));
                    OrbwalkingMode mode;
                    this.ActiveMode = Enum.TryParse(modeName, true, out mode)
                                              ? keyBind.Active
                                                    ? mode
                                                    : mode == this.ActiveMode
                                                          ? this.Menu["lasthitKey"].GetValue <MenuKeyBind>().Active
                                                                ? OrbwalkingMode.LastHit
                                                                : this.Menu["laneclearKey"].GetValue <MenuKeyBind>()
                                      .Active
                                                                      ? OrbwalkingMode.LaneClear
                                                                      : this.Menu["hybridKey"].GetValue <MenuKeyBind>()
                                      .Active
                                                                            ? OrbwalkingMode.Hybrid
                                                                            : this.Menu["comboKey"]
                                      .GetValue <MenuKeyBind>().Active
                                                                                  ? OrbwalkingMode.Combo
                                                                                  : OrbwalkingMode.None
                                                          : this.ActiveMode
                                              : this.ActiveMode;
                }

                var boolean = sender as MenuBool;
                if (boolean != null)
                {
                    if (boolean.Name.Equals("enabledOption"))
                    {
                        this.Enabled = boolean.Value;
                    }
                }
            };

            menu.Add(this.Menu);
            this.Selector = new OrbwalkerSelector(this);
            this.Enabled  = this.Menu["enabledOption"].GetValue <MenuBool>().Value;
        }
Exemple #37
0
        public override void InitializeMenu()
        {
            HealBlacklistMenu = MainMenu.Add(new Menu("healblacklist", "Do NOT Heal (W): ", false, "Soraka"));
            foreach (var ally in ObjectManager.Get<Obj_AI_Hero>().Where(h => h.IsAlly && !h.IsMe))
            {
                var championName = ally.CharData.BaseSkinName;
                HealBlacklistMenu.Add(new MenuBool("dontheal" + championName, championName, false));
            }

            UltBlacklistMenu = MainMenu.Add(new Menu("ultblacklist", "Do NOT Ult (R): ", false, "Soraka"));
            foreach (var ally in ObjectManager.Get<Obj_AI_Hero>().Where(h => h.IsAlly && !h.IsMe))
            {
                var championName = ally.CharData.BaseSkinName;
                UltBlacklistMenu.Add(new MenuBool("dontult" + championName, championName, false));
            }

            PriorityMenu = MainMenu.Add(new Menu("sttcselector", "Heal Priority", false, "Soraka"));

            foreach (var ally in ObjectManager.Get<Obj_AI_Hero>().Where(h => h.IsAlly && !h.IsMe))
            {
                PriorityMenu.Add(
                    new MenuSlider("STTCSelector" + ally.ChampionName + "Priority", ally.ChampionName,
                        GetPriorityFromDb(ally.ChampionName), 1, 5));
            }

            OnlyQIfMyHPLessThanSlider =
                MainMenu.Add(new MenuSlider("rakaqonlyifmyhp", "Only Q if my HP < %", 100, 0, 100));

            NoNeedForSpacebarBool =
                MainMenu.Add(new MenuBool("noneed4spacebar", "PLAY ONLY WITH MOUSE! NO SPACEBAR", true));

            DontHealIfImBelowHpSlider = MainMenu.Add(new MenuSlider("wmyhp", "Don't Heal (W) if Below HP%: ", 20, 1));

            DontWTanksBool = MainMenu.Add(new MenuBool("dontwtanks", "Don't Heal (W) Tanks", true));

            ATankTakesXHealsToHealSlider =
                MainMenu.Add(new MenuSlider("atanktakesxheals", "A TANK takes X Heals (W) to  FULLHP", 15, 5, 30));

            EDelay = MainMenu.Add(new MenuSlider("rakaedelay", "E Delay (milliseconds)", 0, 0, 250));

            UseUltForMeIfMyHpIsLessThanSlider = MainMenu.Add(new MenuSlider("ultmyhp", "Ult if MY HP% < ", 15, 1, 25));

            UltIfAnAllyHpIsLessThanSlider = MainMenu.Add(new MenuSlider("ultallyhp", "Ult If Ally HP% < ", 15, 5, 35));

            CheckIfAllyCanSurviveBool =
                MainMenu.Add(new MenuBool("checkallysurvivability", "Check if ult will save ally", true));

            TryToUltAfterIgniteBool = MainMenu.Add(new MenuBool("ultafterignite", "ULT (R) after IGNITE", false));

            BlockAutoAttacksBool = MainMenu.Add(new MenuBool("blockaas", "Block AutoAttacks?", true));

            DrawW = MainMenu.Add(new MenuBool("draww", "Draw W?", true));

            DrawQ = MainMenu.Add(new MenuBool("drawq", "Draw Q?", true));

            DrawDebugBool = MainMenu.Add(new MenuBool("drawdebug", "Draw Heal Info", false));

            MainMenu.Attach();
        }
Exemple #38
0
 public void InitMenu()
 {
     ComboMenu = MainMenu.Add(new Menu("Zaccombomenu", "Combo Settings: "));
     UseWCombo = ComboMenu.Add(new MenuBool("Zacwcombo", "Use W", true));
     MainMenu.Attach();
 }
Exemple #39
0
        public Urgot()

        //Summoner Spells
        {
            Q  = new Spell(SpellSlot.Q, 950); //Mainly 1000 but it does better with 950)
            Q2 = new Spell(SpellSlot.Q, 1200);
            W  = new Spell(SpellSlot.W);
            E  = new Spell(SpellSlot.E, 850);

            Q.SetSkillshot(0.2667f, 60f, 1600f, true, SkillshotType.SkillshotLine);
            Q2.SetSkillshot(0.3f, 60f, 1800f, false, SkillshotType.SkillshotLine);
            E.SetSkillshot(0.2658f, 120f, 1500f, false, SkillshotType.SkillshotCircle);



            //MENU STARTS HERE
            var Key = Menu.Add(new Menu("Key", "Key"));
            {
                Key.Add(new MenuKeyBind("Combo", "Combo", System.Windows.Forms.Keys.Space, KeyBindType.Press));
                Key.Add(new MenuKeyBind("Harass", "Harass", System.Windows.Forms.Keys.C, KeyBindType.Press));
                Key.Add(new MenuKeyBind("LaneClear", "LaneClear", System.Windows.Forms.Keys.V, KeyBindType.Press));
                //Key.Add(new MenuKeyBind("LastHit", "LastHit", System.Windows.Forms.Keys.X, KeyBindType.Press));
            }


            var Combo = Menu.Add(new Menu("Combo", "Combo"));
            {
                Combo.Add(new MenuBool("UseQCombo", "Use Q", true));

                Combo.Add(new MenuBool("UseQ2Combo", "Use Q if enemy has been hit by E", true));

                Combo.Add(new MenuBool("ComboW", "Use W if E has been hit", true));

                Combo.Add(new MenuBool("UseECombo", "Use E", true));
            }

            var Harass = Menu.Add(new Menu("Harass", "Harass"));
            {
                Harass.Add(new MenuBool("HarassUseQ", "Use Q", true));
                Harass.Add(new MenuSlider("HarassQMana", comb + "Min Mana Percent", 40, 0, 100));
            }

            var LaneClear = Menu.Add(new Menu("LaneClear", "LaneClear"));
            {
                LaneClear.Add(new MenuSlider("laneclearmana", "LaneClear Min Mana", 40));
                LaneClear.Add(new MenuBool("useqlc", "Use Q to laneclear", true));
            }

            var Misc = Menu.Add(new Menu("Misc", "Misc"));
            {
                Misc.Add(new MenuBool("RInterrupt", "Use R to Interrupt", true));
            }


            var Draw = Menu.Add(new Menu("Draw", "Draw"));

            {
                Draw.Add(new MenuBool("DrawQ", "Draw Q Range"));
                Draw.Add(new MenuBool("DrawW", "Draw W Range"));
                Draw.Add(new MenuBool("DrawE", "Draw E Range"));
            }


            Game.OnUpdate  += Game_OnUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
            Events.OnInterruptableTarget += Events_OnInterruptableTarget;
            Variables.Orbwalker.OnAction += Orbwalker_OnAction;
        }
Exemple #40
0
 public static MenuSeparator Separator(this Menu subMenu, string display)
 {
     cBlank += 1;
     return(subMenu.Add(new MenuSeparator("blank" + cBlank, display)));
 }
Exemple #41
0
 public void InitMenu()
 {
     ComboMenu = MainMenu.Add(new Menu("Xerathcombomenu", "Combo Settings: "));
     UseQCombo = ComboMenu.Add(new MenuBool("Xerathqcombo", "Use Q", true));
     QMode =
         ComboMenu.Add(new MenuList<string>("Xerathqmode", "Q Mode: ", new[] {"PREDICTION", "TARGETPOSITION"}));
     UseWCombo = ComboMenu.Add(new MenuBool("Xerathwcombo", "Use W", true));
     UseECombo = ComboMenu.Add(new MenuBool("Xerathecombo", "Use E", true));
     UseRCombo = ComboMenu.Add(new MenuBool("Xerathrcombo", "Use R", true));
     QHarass = MainMenu.Add(new MenuBool("Xerathqharass", "Use Q Harass", true));
     WHarass = MainMenu.Add(new MenuBool("Xerathwharass", "Use W Harass", false));
     EInterrupt = MainMenu.Add(new MenuBool("Xeratheinterrupt", "Use E Interrupt", true));
     EAntiGapcloser = MainMenu.Add(new MenuBool("Xerathegc", "Use E Anti-Gapcloser", true));
     MainMenu.Attach();
 }
Exemple #42
0
 public void InitMenu()
 {
     ComboMenu = MainMenu.Add(new Menu("Luciancombomenu", "Combo Settings: "));
     UseQCombo = ComboMenu.Add(new MenuBool("Lucianqcombo", "Use Q", true));
     UseWCombo = ComboMenu.Add(new MenuBool("Lucianwcombo", "Use W", true));
     IgnoreWCollision = ComboMenu.Add(new MenuBool("Lucianignorewcollision", "Ignore W collision (for passive)", false));
     UseEMode =
         ComboMenu.Add(new MenuList<string>("Lucianecombo", "E Mode", new[] {"Side", "Cursor", "Enemy", "Never"}));
     UseEAntiMelee = ComboMenu.Add(new MenuBool("Lucianecockblocker", "Use E to get away from melees", true));
     UseEGapclose = ComboMenu.Add(new MenuBool("Lucianegoham", "Use E to go HAM", false));
     SemiAutoRKey = ComboMenu.Add(
         new MenuKeyBind("Luciansemiauto", "Semi-Auto R Key", Keys.R, KeyBindType.Press));
     BlockManualR = this.ComboMenu.Add(new MenuBool("Lucianblockmanualr", "Block manual R", true));
     ForceR = ComboMenu.Add(new MenuBool("Lucianrcombo", "Auto R", true));
     HarassMenu = MainMenu.Add(new Menu("Lucianharassmenu", "Harass Settings: "));
     UseQExtended = HarassMenu.Add(new MenuBool("Lucianqextended", "Use Extended Q", true));
     QExManaPercent =
         HarassMenu.Add(new MenuSlider("Lucianqexmanapercent", "Only use extended Q if mana > %", 75, 0, 100));
     QExtendedBlacklist = HarassMenu.Add(new Menu("Lucianqexblacklist", "Extended Q Blacklist: "));
     foreach (var ally in ObjectManager.Get<Obj_AI_Hero>().Where(h => h.IsEnemy))
     {
         var championName = ally.CharData.BaseSkinName;
         QExtendedBlacklist.Add(new MenuBool("qexbl" + championName, championName, false));
     }
     UseQHarass = HarassMenu.Add(new MenuBool("Lucianqharass", "Use Q Harass", true));
     UsePassiveOnEnemy = HarassMenu.Add(new MenuBool("Lucianpassivefocus", "Use Passive On Champions", true));
     JungleMenu = MainMenu.Add(new Menu("Lucianjunglemenu", "Jungle Settings: "));
     QJg = JungleMenu.Add(new MenuBool("Lucianqjungle", "Use Q", true));
     WJg = JungleMenu.Add(new MenuBool("Lucianwjungle", "Use W", true));
     EJg = JungleMenu.Add(new MenuBool("Lucianejungle", "Use E", true));
     QKS = new MenuBool("Lucianqks", "Use Q for KS", true);
     MainMenu.Attach();
 }
Exemple #43
0
 private void InitMenu()
 {
     ComboMenu = MainMenu.Add(new Menu("kalicombomenu", "Combo Settings: "));
     WomboComboMenu = ComboMenu.Add(new Menu("kaliwombos", "Wombo Combos: "));
     BalistaBool = WomboComboMenu.Add(new MenuBool("kalibalista", "Balista", true));
     TalistaBool = WomboComboMenu.Add(new MenuBool("kalitalista", "Talista", true));
     SalistaBool = WomboComboMenu.Add(new MenuBool("kalisalista", "Salista", true));
     OrbwalkOnMinions = ComboMenu.Add(new MenuBool("kaliorbwalkonminions", "Orbwalk On Minions", false));
     UseQManaSlider = ComboMenu.Add(new MenuSlider("kaliuseqmanaslider", "Use Q if Mana% > ", 20));
     //UseQWalljumpKey = ComboMenu.Add(new MenuKeyBind("useqwalljump", "Q Walljump Key", Keys.N, KeyBindType.Press));
     FocusWBuffedEnemyBool = ComboMenu.Add(new MenuBool("kalifocuswbuffedenemy", "Focus Enemy with W Buff", true));
     //UseEBeforeYouDieBool = ComboMenu.Add(new MenuBool("kaliuseebeforedeath", "Use E Before You Die", false));
     UseRAllySaverBool = ComboMenu.Add(new MenuBool("kaliusersaveally", "Use R to save Soulbound", true));
     UseREngageBool = ComboMenu.Add(new MenuBool("userengage", "Use R to engage", false));
     UseRCounterEngageBool = ComboMenu.Add(new MenuBool("kaliusercounternengage", "Use R counter-engage", true));
     UseRInterruptBool = ComboMenu.Add(new MenuBool("kaliuserinterrupt", "Use R to Interrupt"));
     HarassMenu = MainMenu.Add(new Menu("kaliharassmenu", "Harass Settings: "));
     UseQStackTransferBool = HarassMenu.Add(new MenuBool("kaliuseqstacktransfer", "Use Q Stack Transfer"));
     UseQStackTransferMinStacksSlider =
         HarassMenu.Add(new MenuSlider("kaliuseqstacktransferminstacks", "Min stacks for Stack Transfer", 3, 0,
             15));
     UseEIfResettedByAMinionBool =
         HarassMenu.Add(new MenuBool("useeresetharass", "Use E if resetted by a minion"));
     EResetByAMinionMinManaSlider =
         HarassMenu.Add(new MenuSlider("useeresetmana", "Use E Reset by Minion if Mana% > ", 90));
     MinEnemyStacksForEMinionResetSlider =
         HarassMenu.Add(new MenuSlider("useeresetminenstacks", "Use E Reset if Enemy stacks > ", 3, 0, 25));
     FarmMenu = MainMenu.Add(new Menu("kalifarmmenu", "Farm Settings"));
     AlwaysUseEIf2MinionsKillableBool =
         FarmMenu.Add(new MenuBool("alwaysuseeif2minkillable", "Always use E if resetted with no mana cost", true));
     RendDamageMenu = MainMenu.Add(new Menu("kalirenddmgmenu", "Adjust Rend (E) DMG Prediction: "));
     ReduceRendDamageBySlider =
         RendDamageMenu.Add(new MenuSlider("kalirendreducedmg", "Reduce E DMG by: ", 15, 0, 300));
     DrawMenu = MainMenu.Add(new Menu("kalidrawmenu", "Drawing Settings: "));
     DrawERangeBool = DrawMenu.Add(new MenuBool("drawerangekali", "Draw E Range", true));
     DrawRRangeBool = DrawMenu.Add(new MenuBool("kalidrawrrange", "Draw R Range", true));
     DrawEDamage = DrawMenu.Add(new MenuBool("kalidrawedmg", "Draw E Damage", true));
     MainMenu.Attach();
 }
Exemple #44
0
 private void InitMenu()
 {
     ComboMenu = MainMenu.Add(new Menu("combomenu", "Combo Settings: "));
     CondemnMenu = ComboMenu.Add(new Menu("condemnmenu", "Condemn Settings: "));
     HarassMenu = MainMenu.Add(new Menu("harassmenu", "Harass Settings: "));
     FarmMenu = MainMenu.Add(new Menu("farmmenu", "Farm Settings: "));
     DrawMenu = MainMenu.Add(new Menu("drawmenu", "Drawing Settings: "));
     UseQBool = ComboMenu.Add(new MenuBool("useq", "Auto Q", true));
     QModeStringList =
         ComboMenu.Add(new MenuList<string>("qmode", "Q Mode: ",
             new[] { "PRADA", "MARKSMAN", "VHR", "SharpShooter" }));
     UseQAntiGapcloserStringList =
         ComboMenu.Add(new MenuList<string>("qantigc", "Use Q Antigapcloser",
             new[] { "NEVER", "E-NOT-READY", "ALWAYS" }));
     TryToFocus2WBool = ComboMenu.Add(new MenuBool("focus2w", "Try To Focus 2W", false));
     UseEBool = CondemnMenu.Add(new MenuBool("usee", "Auto E", true));
     EDelaySlider = CondemnMenu.Add(new MenuSlider("edelay", "E Delay (in ms): ", 0, 0, 100));
     EModeStringList =
         CondemnMenu.Add(new MenuList<string>("emode", "E Mode: ",
             new[]
             {
                 "PRADASMART", "PRADAPERFECT", "MARKSMAN", "SHARPSHOOTER", "GOSU", "VHR", "PRADALEGACY",
                 "FASTEST",
                 "OLDPRADA"
             }));
     UseEInterruptBool = CondemnMenu.Add(new MenuBool("useeinterrupt", "Use E To Interrupt", true));
     UseEAntiGapcloserBool = CondemnMenu.Add(new MenuBool("useeantigapcloser", "Use E AntiGapcloser", true));
     UseEWhenMeleesNearBool = CondemnMenu.Add(new MenuBool("ewhenmeleesnear", "Use E when Melee near", false));
     EPushDistanceSlider = CondemnMenu.Add(new MenuSlider("epushdist", "E Push Distance: ", 425, 300, 475));
     EHitchanceSlider = CondemnMenu.Add(new MenuSlider("ehitchance", "Condemn Hitchance", 50, 0, 100));
     SemiAutomaticCondemnKey =
         CondemnMenu.Add(new MenuKeyBind("semiautoekey", "Semi Automatic Condemn", Keys.E, KeyBindType.Press));
     DontAttackWhileInvisibleAndMeelesNearBool =
         ComboMenu.Add(new MenuBool("dontattackwhileinvisible", "Smart Invisible Attacking", true));
     UseRBool = ComboMenu.Add(new MenuBool("user", "Use R In Combo", false));
     UseEAs3rdWProcBool =
         HarassMenu.Add(new MenuBool("usee3rdwproc", "Use E as 3rd W Proc Before LVL: ", false));
     UseQBonusOnEnemiesNotCS =
         HarassMenu.Add(new MenuBool("useqonenemiesnotcs", "Use Q Bonus On ENEMY not CS", false));
     UseQOnlyAt2WStacksBool = HarassMenu.Add(new MenuBool("useqonlyon2stackedenemies", "Use Q If Enemy Have 2W Stacks", false));
     UseQFarm = FarmMenu.Add(new MenuBool("useqfarm", "Use Q"));
     UseEJungleFarm = FarmMenu.Add(new MenuBool("useejgfarm", "Use E Jungle", true));
     DrawWStacksBool = DrawMenu.Add(new MenuBool("drawwstacks", "Draw W Stacks", true));
     MainMenu.Attach();
 }