예제 #1
0
        private static void OnGameLoad(EventArgs args)
        {
            Player = ObjectManager.Player;
            if (Player.ChampionName == "LeeSin")
            {
                WLee = new Spell(SpellSlot.W, 700);
                name = ChampName.LeeSin;
            }

            else if (Player.ChampionName == "Jax")
            {
                QJax = new Spell(SpellSlot.Q, 700);
                name = ChampName.Jax;
            }
            else if (Player.ChampionName == "Katarina")
            {
                EKata = new Spell(SpellSlot.E, 700);
                name  = ChampName.Katarina;
            }
            Menu();
            Game.OnUpdate  += Game_OnGameUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
        }
예제 #2
0
        private static void OnGameLoad(EventArgs args)
        {
            Player = ObjectManager.Player;
             if (Player.ChampionName == "LeeSin")
            {
                WLee = new Spell(SpellSlot.W, 700);
                name = ChampName.LeeSin;
            }

            else if (Player.ChampionName == "Jax")
            {
                QJax = new Spell(SpellSlot.Q, 700);
                name = ChampName.Jax;
            }
            else if (Player.ChampionName == "Katarina")
            {
                EKata = new Spell(SpellSlot.E, 700);
                name = ChampName.Katarina;
            }
            Menu();
            Game.OnUpdate += Game_OnGameUpdate;
            Drawing.OnDraw += Drawing_OnDraw;
        }