Beispiel #1
0
        public void LoadMiscMenu(AzirMain azir)
        {
            List <String> spellsin = new List <string>();

            foreach (AIHeroClient hero in HeroManager.Enemies)
            {
                for (int i = 0; i < 4; i++)
                {
                    //  hero.GetSpell(Trans(i)).Name;
                    foreach (String s in azir.Interrupt)
                    {
                        if (s == hero.GetSpell(azir.Trans(i)).Name)
                        {
                            spellsin.Add("[" + hero.ChampionName + "]" + s);
                        }
                    }
                }
            }
            azir.InterruptSpell = spellsin;
            int num           = 0;
            var interruptMenu = GetMenu.AddSubMenu("Spell Interrupt", "R Interrupt spells");

            {
                interruptMenu.Add("UseRInterrupt", new CheckBox("Use R Interrupt"));
                foreach (String s in spellsin)
                {
                    interruptMenu.Add("S" + num, new CheckBox(s));
                    num++;
                }
            }
            azir.InterruptNum = num;
            List <String> spellgap = new List <string>();

            foreach (AIHeroClient hero in HeroManager.Enemies)
            {
                for (int i = 0; i < 4; i++)
                {
                    foreach (String s in azir.Gapcloser)
                    {
                        if (s == hero.GetSpell(azir.Trans(i)).Name)
                        {
                            spellgap.Add("[" + hero.ChampionName + "]" + s);
                        }
                    }
                }
            }
            int numg = 0;

            azir.InterruptSpell = spellgap;
            GapCloserMenu       = GetMenu.AddSubMenu("Spell Gapcloser", "R to Gapcloser");
            {
                GapCloserMenu.Add("UseRGapcloser", new CheckBox("Use R Gapcloser"));
                foreach (String s in spellgap)
                {
                    GapCloserMenu.Add("G" + numg, new CheckBox(s));
                    numg++;
                }
            }
            numg      = azir.GapcloserNum;
            _miscMenu = GetMenu.AddSubMenu("Misc", "Harash Menu");
            {
                _miscMenu.Add("FMJ", new CheckBox("Max Range Jump Only"));
                _miscMenu.Add("ARUT", new CheckBox("auto R under the Turret"));
            }
        }
Beispiel #2
0
        public void LoadMiscMenu(AzirMain azir)
        {
            List <String> spellsin = new List <string>();

            foreach (AIHeroClient hero in HeroManager.Enemies)
            {
                for (int i = 0; i < 4; i++)
                {
                    //  hero.GetSpell(Trans(i)).Name;
                    foreach (String s in azir.Interrupt)
                    {
                        if (s == hero.GetSpell(azir.Trans(i)).Name)
                        {
                            spellsin.Add("[" + hero.ChampionName + "]" + s);
                        }
                    }
                }
            }
            azir.InterruptSpell = spellsin;
            int num           = 0;
            var interruptMenu = new LeagueSharp.Common.Menu("Spell Interrupt", "R Interrupt spells");

            {
                interruptMenu.AddItem(new MenuItem("UseRInterrupt", "Use R Interrupt").SetValue(true));
                foreach (String s in spellsin)
                {
                    interruptMenu.AddItem(new MenuItem("S" + num, s).SetValue(true));
                    num++;
                }
            }
            azir.InterruptNum = num;
            List <String> spellgap = new List <string>();

            foreach (AIHeroClient hero in HeroManager.Enemies)
            {
                for (int i = 0; i < 4; i++)
                {
                    foreach (String s in azir.Gapcloser)
                    {
                        if (s == hero.GetSpell(azir.Trans(i)).Name)
                        {
                            spellgap.Add("[" + hero.ChampionName + "]" + s);
                        }
                    }
                }
            }
            int numg = 0;

            azir.InterruptSpell = spellgap;
            var GapCloserMenu = new LeagueSharp.Common.Menu("Spell Gapcloser", "R to Gapcloser");

            {
                GapCloserMenu.AddItem(new MenuItem("UseRGapcloser", "Use R Gapcloser").SetValue(true));
                foreach (String s in spellgap)
                {
                    GapCloserMenu.AddItem(new MenuItem("G" + numg, s).SetValue(true));
                    numg++;
                }
            }
            numg      = azir.GapcloserNum;
            _miscMenu = new LeagueSharp.Common.Menu("Misc", "Harash Menu");
            {
                _miscMenu.AddItem(new MenuItem("FMJ", "Max Range Jump Only").SetTooltip("Cast only jump to max range at flee").SetValue(true));
                _miscMenu.AddItem(new MenuItem("ARUT", "auto R under the Turret").SetTooltip("Automattly Cast R when enemy is near ally tower").SetValue(true));
                _miscMenu.AddSubMenu(interruptMenu);
                _miscMenu.AddSubMenu(GapCloserMenu);
            }
        }
Beispiel #3
0
 public void LoadMiscMenu(AzirMain azir)
 {
     List<String> spellsin = new List<string>();
     foreach (AIHeroClient hero in HeroManager.Enemies)
     {
         for (int i = 0; i < 4; i++)
         {
             //  hero.GetSpell(Trans(i)).Name;
             foreach (String s in azir.Interrupt)
             {
                 if (s == hero.GetSpell(azir.Trans(i)).Name)
                 {
                     spellsin.Add("[" + hero.ChampionName + "]" + s);
                 }
             }
         }
     }
     azir.InterruptSpell = spellsin;
     int num = 0;
     var interruptMenu = GetMenu.AddSubMenu("Spell Interrupt", "R Interrupt spells");
     {
         interruptMenu.Add("UseRInterrupt", new CheckBox("Use R Interrupt"));
         foreach (String s in spellsin)
         {
             interruptMenu.Add("S" + num, new CheckBox(s));
             num++;
         }
     }
     azir.InterruptNum = num;
     List<String> spellgap = new List<string>();
     foreach (AIHeroClient hero in HeroManager.Enemies)
     {
         for (int i = 0; i < 4; i++)
         {
             foreach (String s in azir.Gapcloser)
             {
                 if (s == hero.GetSpell(azir.Trans(i)).Name)
                 {
                     spellgap.Add("[" + hero.ChampionName + "]" + s);
                 }
             }
         }
     }
     int numg = 0;
     azir.InterruptSpell = spellgap;
     GapCloserMenu = GetMenu.AddSubMenu("Spell Gapcloser", "R to Gapcloser");
     {
         GapCloserMenu.Add("UseRGapcloser", new CheckBox("Use R Gapcloser"));
         foreach (String s in spellgap)
         {
             GapCloserMenu.Add("G" + numg, new CheckBox(s));
             numg++;
         }
     }
     numg = azir.GapcloserNum;
     _miscMenu = GetMenu.AddSubMenu("Misc", "Harash Menu");
     {
         _miscMenu.Add("FMJ", new CheckBox("Max Range Jump Only"));
         _miscMenu.Add("ARUT", new CheckBox("auto R under the Turret"));
     }
 }