Ejemplo 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;
            }
        }
Ejemplo n.º 2
0
        private static void GameEvents_GameStart()
        {
            if (Valid.All(x => Global.Player.ChampionName != x))
            {
                return;
            }

            SummonerSpells.Init();
            GameObjects.Init();
            Global.Init();
            GetRandom.Init();

            switch (Global.Player.ChampionName)
            {
            case "Ezreal":
                Ezreal.Init();
                break;

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

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

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

            case "Jinx":
                var jinx = new Jinx();
                jinx.Init();
                break;

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

            case "LeeSin":
                var lee = new LeeSin();
                lee.Init();
                break;

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

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

            case "Tristana":
                var tristana = new Tristana();
                tristana.Init();
                break;

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

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