예제 #1
0
        private static void Loading_OnLoadingComplete(EventArgs args)
        {
            if (Player.Instance.ChampionName != "Vi")
            {
                return;
            }

            Vi             = Player.Instance;
            ModeHandler.Vi = Player.Instance;

            MenuHandler.Initialize();

            Q = new Spell.Chargeable(SpellSlot.Q, 250, 725, 4, 250, 1250, 55, DamageType.Physical)
            {
                AllowedCollisionCount = int.MaxValue,
            };
            W = new Spell.Active(SpellSlot.W, 0);
            E = new Spell.Active(SpellSlot.E, 175, DamageType.Physical);
            R = new Spell.Targeted(SpellSlot.R, 800, DamageType.Physical);

            Game.OnTick            += Game_OnTick;
            Drawing.OnDraw         += Drawing_OnDraw;
            Drawing.OnEndScene     += Drawing_OnEndScene;
            Orbwalker.OnPostAttack += Orbwalker_OnPostAttack;
        }