Exemplo n.º 1
0
        private static void OnLoadingComplete(EventArgs args)
        {
            if (Player.ChampionName != "Illaoi")
            {
                return;
            }
            AbilitySequence = new int[] { 1, 2, 3, 1, 1, 4, 1, 2, 1, 2, 4, 2, 2, 3, 3, 4, 3, 3 };
            Chat.Print("Trollaloi Loaded!", Color.CornflowerBlue);
            Chat.Print("Enjoy the game and DONT FEED!", Color.Red);
            IllaoiMenu.loadMenu();
            Game.OnTick += GameOnTick;
            MyActivator.loadSpells();
            Game.OnUpdate += OnGameUpdate;

            #region Skill
            Q = new Spell.Skillshot(SpellSlot.Q, 850, SkillShotType.Linear, 750, int.MaxValue, 100);
            W = new Spell.Active(SpellSlot.W);
            E = new Spell.Skillshot(SpellSlot.E, 950, SkillShotType.Linear, 250, 1900, 50);
            R = new Spell.Active(SpellSlot.R, 450);
            #endregion

            Gapcloser.OnGapcloser += AntiGapCloser;
            Drawing.OnDraw        += GameOnDraw;
        }
Exemplo n.º 2
0
 public static void MyActivatorPage()
 {
     MyActivator = MyMenu.AddSubMenu("Activator Settings", "Items");
     MyActivator.AddGroupLabel("Auto QSS if :");
     MyActivator.Add("Blind",
                     new CheckBox("Blind", false));
     MyActivator.Add("Charm",
                     new CheckBox("Charm"));
     MyActivator.Add("Fear",
                     new CheckBox("Fear"));
     MyActivator.Add("Polymorph",
                     new CheckBox("Polymorph"));
     MyActivator.Add("Stun",
                     new CheckBox("Stun"));
     MyActivator.Add("Snare",
                     new CheckBox("Snare"));
     MyActivator.Add("Silence",
                     new CheckBox("Silence", false));
     MyActivator.Add("Taunt",
                     new CheckBox("Taunt"));
     MyActivator.Add("Suppression",
                     new CheckBox("Suppression"));
     MyActivator.AddGroupLabel("Ults");
     MyActivator.Add("ZedUlt",
                     new CheckBox("Zed Ult"));
     MyActivator.Add("VladUlt",
                     new CheckBox("Vlad Ult"));
     MyActivator.Add("FizzUlt",
                     new CheckBox("Fizz Ult"));
     MyActivator.Add("MordUlt",
                     new CheckBox("Mordekaiser Ult"));
     MyActivator.Add("PoppyUlt",
                     new CheckBox("Poppy Ult"));
     MyActivator.AddGroupLabel("Items usage:");
     MyActivator.AddLabel("Items avaible to use with Activator:");
     MyActivator.Add("talisman",
                     new CheckBox("Use Talisman of Ascension"));
     MyActivator.Add("randuin",
                     new CheckBox("Use Randuin"));
     MyActivator.Add("glory",
                     new CheckBox("Use Righteous Glory"));
     MyActivator.Add("fotmountain",
                     new CheckBox("Use Face of the Mountain"));
     MyActivator.Add("mikael",
                     new CheckBox("Use Mikaels Crucible"));
     MyActivator.Add("ironsolari",
                     new CheckBox("Use Locket of the Iron Solari"));
     MyActivator.Add("items.sliderHP",
                     new Slider("Use items when HP is lower than {0}(%)", 30, 1, 100));
     MyActivator.Add("items.enemiesinrange",
                     new Slider("Use items when there are {0} enemies in range", 3, 1, 5));
     MyActivator.Add("bilgewater",
                     new CheckBox("Use Bilgewater Cutlass"));
     MyActivator.Add("bilgewater.HP",
                     new Slider("Use Bilgewater Cutlass if hp is lower than {0}(%)", 60, 0, 100));
     MyActivator.Add("botrk",
                     new CheckBox("Use Blade of The Ruined King"));
     MyActivator.Add("botrk.HP",
                     new Slider("Use Blade of The Ruined King if hp is lower than {0}(%)", 60, 0, 100));
     MyActivator.Add("youmus",
                     new CheckBox("Use Youmus Ghostblade"));
     MyActivator.Add("items.Youmuss.HP",
                     new Slider("Use Youmuss Ghostblade if hp is lower than {0}(%)", 60, 1, 100));
     MyActivator.Add("youmus.Enemies",
                     new Slider("Use Youmus Ghostblade when there are {0} enemies in range", 3, 1, 5));
     MyActivator.AddSeparator();
     MyActivator.AddGroupLabel("Potion Settings");
     MyActivator.Add("spells.Potions.Check",
                     new CheckBox("Use Potions"));
     MyActivator.Add("spells.Potions.HP",
                     new Slider("Use Potions when HP is lower than {0}(%)", 60, 1));
     MyActivator.Add("spells.Potions.Mana",
                     new Slider("Use Potions when Mana is lower than {0}(%)", 60, 1));
     MyActivator.AddSeparator();
     MySpells = MyMenu.AddSubMenu("Spells Settings");
     MySpells.AddSeparator();
     MySpells.AddGroupLabel("Smite settings");
     MySpells.Add("SRU_Red",
                  new CheckBox("Smite Red Buff"));
     MySpells.Add("SRU_Blue",
                  new CheckBox("Smite Blue Buff"));
     MySpells.Add("SRU_Dragon",
                  new CheckBox("Smite Dragon"));
     MySpells.Add("SRU_Baron",
                  new CheckBox("Smite Baron"));
     MySpells.Add("SRU_Gromp",
                  new CheckBox("Smite Gromp"));
     MySpells.Add("SRU_Murkwolf",
                  new CheckBox("Smite Wolf"));
     MySpells.Add("SRU_Razorbeak",
                  new CheckBox("Smite Bird"));
     MySpells.Add("SRU_Krug",
                  new CheckBox("Smite Golem"));
     MySpells.Add("Sru_Crab",
                  new CheckBox("Smite Crab"));
     MySpells.AddGroupLabel("Spells settings:");
     MySpells.AddSeparator();
     MySpells.AddGroupLabel("Heal settings:");
     MySpells.Add("spells.Heal.Hp",
                  new Slider("Use Heal when HP is lower than {0}(%)", 30, 1, 100));
     MySpells.AddGroupLabel("Ignite settings:");
     MySpells.Add("spells.Ignite.Focus",
                  new Slider("Use Ignite when target HP is lower than {0}(%)", 10, 1, 100));
 }