Exemplo n.º 1
0
        private static void Events_OnLoad()
        {
            if (!SupportList.Contains(GameObjects.Player.ChampionName))
            {
                Manager.WriteConsole(GameObjects.Player.ChampionName + " Not Support!", true);
                DelayAction.Add(2000, () => Variables.Orbwalker.Enabled = false);
                return;
            }

            Manager.WriteConsole(GameObjects.Player.ChampionName + " Load!  Version: " + Assembly.GetExecutingAssembly().GetName().Version.ToString(), true);

            Me = GameObjects.Player;

            Menu = new Menu("Flowers_Series", "Flowers' Series", true).Attach();
            Menu.Add(new MenuSeparator("Credit", "Credit: NightMoon"));
            Menu.Add(new MenuSeparator("Version", "Version: " + Assembly.GetExecutingAssembly().GetName().Version.ToString()));

            Utility.Tools.Inject();

            switch (Me.ChampionName)
            {
            case "Ahri":
                Ahri.Init();
                break;

            case "Akali":
                Akali.Init();
                break;

            case "Ashe":
                Ashe.Init();
                break;

            case "Blitzcrank":
                Blitzcrank.Init();
                break;

            case "Darius":
                Darius.Init();
                break;

            case "Ezreal":
                Ezreal.Init();
                break;

            case "Graves":
                Graves.Init();
                break;

            case "Hecarim":
                Hecarim.Init();
                break;

            case "Illaoi":
                Illaoi.Init();
                break;

            case "Karma":
                Karma.Init();
                break;

            case "Morgana":
                Morgana.Init();
                break;

            case "Riven":
                Riven.Init();
                break;

            case "Ryze":
                Ryze.Init();
                break;

            case "Sivir":
                Sivir.Init();
                break;

            case "Tristana":
                Tristana.Init();
                break;

            case "TwistedFate":
                TwistedFate.Init();
                break;

            case "Twitch":
                Twitch.Init();
                break;

            case "Vayne":
                Vayne.Init();
                break;

            case "Viktor":
                Viktor.Init();
                break;

            case "Vladimir":
                Vladimir.Init();
                break;

            default:
                break;
            }
        }
Exemplo n.º 2
0
        private static void InitChampions()
        {
            if (!SuppoetChampions.Contains(herosName))
            {
                Chat.Print("Flowers' ADC Series" + "[" + herosName + "]: Not Support!");
                return;
            }

            MyMenuExtensions.myMenu = Menu.AddMenu("Flowers' ADC Series: " + herosName);

            MyMenuExtensions.ComboMenu = MyMenuExtensions.myMenu.AddSubMenu(":: Combo Settings");

            MyMenuExtensions.HarassMenu = MyMenuExtensions.myMenu.AddSubMenu(":: Harass Settings");

            MyMenuExtensions.LaneClearMenu = MyMenuExtensions.myMenu.AddSubMenu(":: LaneClear Settings");

            MyMenuExtensions.JungleClearMenu = MyMenuExtensions.myMenu.AddSubMenu(":: JungleClear Settings");

            MyMenuExtensions.LastHitMenu = MyMenuExtensions.myMenu.AddSubMenu(":: LastHit Settings");

            MyMenuExtensions.FleeMenu = MyMenuExtensions.myMenu.AddSubMenu(":: Flee Settings");

            MyMenuExtensions.KillStealMenu = MyMenuExtensions.myMenu.AddSubMenu(":: KillSteal Settings");

            MyMenuExtensions.MiscMenu = MyMenuExtensions.myMenu.AddSubMenu(":: Misc Settings");
            MyManaManager.AddSpellFarm(MyMenuExtensions.MiscMenu);

            MyMenuExtensions.DrawMenu = MyMenuExtensions.myMenu.AddSubMenu(":: Drawings Settings");

            switch (ObjectManager.Player.ChampionName)
            {
            case "Ashe":
                Ashe.Init();
                break;

            case "Caitlyn":
                Caitlyn.Init();
                break;

            case "Corki":
                Corki.Init();
                break;

            case "Draven":
                Draven.Init();
                break;

            case "Ezreal":
                Ezreal.Init();
                break;

            case "Graves":
                Graves.Init();
                break;

            case "Jayce":
                Jayce.Init();
                break;

            case "Jhin":
                Jhin.Init();
                break;

            case "Jinx":
                Jinx.Init();
                break;

            case "Kalista":
                Kalista.Init();
                break;

            case "Kindred":
                Kindred.Init();
                break;

            case "KogMaw":
                KogMaw.Init();
                break;

            case "Lucian":
                Lucian.Init();
                break;

            case "MissFortune":
                MissFortune.Init();
                break;

            case "Quinn":
                Quinn.Init();
                break;

            case "Sivir":
                Sivir.Init();
                break;

            case "Teemo":
                Teemo.Init();
                break;

            case "Tristana":
                Tristana.Init();
                break;

            case "TwistedFate":
                TwistedFate.Init();
                break;

            case "Twitch":
                Twitch.Init();
                break;

            case "Urgot":
                Urgot.Init();
                break;

            case "Varus":
                Varus.Init();
                break;

            case "Vayne":
                Vayne.Init();
                break;

            case "Xayah":
                Xayah.Init();
                break;
            }

            Chat.Print("Flowers' ADC Series" + "[" + herosName + "]: Init Successful! Made by NightMoon");
        }