Пример #1
0
        private static void OnGameUpdate(EventArgs args)
        {
            if (GameObjects.Player.IsDead)
            {
                return;
            }

            if (Extension.AttackedTimer < Game.Time)
            {
                Extension.Attacked = false;
            }

            if (E.IsReady())
            {
                Automatic.CastE();
                Automatic.SemiE();
                if (KillstealMenu.EBool.Enabled)
                {
                    Killsteal.CastE();
                }
            }

            switch (Orbwalker.ActiveMode)
            {
            case OrbwalkerMode.Combo:
                if (E.IsReady())
                {
                    Combo.CastE();
                }

                if (Q.IsReady())
                {
                    Combo.CastQ();
                }
                break;

            case OrbwalkerMode.Harass:
                if (E.IsReady())
                {
                    Harass.CastE();
                }
                break;
            }
        }
Пример #2
0
        private static void OnGameUpdate(EventArgs args)
        {
            if (Player.IsDead)
            {
                return;
            }

            if (E.IsReady())
            {
                Automatic.CastE();
            }

            Killsteal.Cast();

            switch (Orbwalker.ActiveMode)
            {
            case OrbwalkerMode.Combo:
                if (Q.IsReady() && Extension.IsReloading())
                {
                    Combo.CastQ();
                }

                if (W.IsReady())
                {
                    Combo.CastW();
                }

                if (R.IsReady() && Extension.IsUltShooting())
                {
                    Combo.CastR();
                }
                break;

            case OrbwalkerMode.Harass:
                if (Q.IsReady())
                {
                    Harass.CastQ();
                }
                break;

            case OrbwalkerMode.LaneClear:
                if (Q.IsReady())
                {
                    Laneclear.CastQ();
                }

                if (W.IsReady())
                {
                    Laneclear.CastW();
                }

                if (E.IsReady())
                {
                    Laneclear.CastE();
                }
                break;

            case OrbwalkerMode.LastHit:
                if (Q.IsReady())
                {
                    Lasthit.CastQ();
                }
                break;
            }
        }