示例#1
0
        private static void OnGameUpdate(EventArgs args)
        {
            Killsteal.CastQ();
            Killsteal.CastR();
            if (R.IsReady())
            {
                if (mainMenu["Automatic"].GetValue <MenuSliderButton>("safe").Enabled)
                {
                    if (GameObjects.Player.CountEnemyHeroesInRange(
                            mainMenu["Automatic"].GetValue <MenuSliderButton>("safe").Value) == 0)
                    {
                        Automatic.OnImmobile();
                    }
                }
                else
                {
                    Automatic.OnImmobile();
                }

                Combo.SemiR();
            }

            if (Q.IsReady())
            {
                Automatic.CastQ();
            }
            switch (Orbwalker.ActiveMode)
            {
            case OrbwalkerMode.Combo:
                if (mainMenu["Combo"].GetValue <MenuSliderButton>("priority").Enabled&&
                    GameObjects.Player.ManaPercent <=
                    mainMenu["Combo"].GetValue <MenuSliderButton>("priority").Value)
                {
                    Combo.CastW();
                    Combo.CastQ();
                }
                else
                {
                    Combo.CastW();
                    Combo.CastQ();
                }
                break;

            case OrbwalkerMode.Harass:
                Harass.CastW();
                Harass.CastQ();
                break;

            case OrbwalkerMode.LaneClear:
                LaneClear.CastQ();
                JungleClear.CastW();
                JungleClear.CastQ();
                Structureclear.CastW();
                break;

            case OrbwalkerMode.LastHit:
                Lasthit.CastQ();
                break;
            }
        }
示例#2
0
        private static void OnGameUpdate(EventArgs args)
        {
            if (Player.IsDead)
            {
                return;
            }

            if (R.IsReady())
            {
                Combo.SemiRCast();
                Automatic.CastR();
                Killsteal.CastR();
            }

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

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

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

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

                if (W.IsReady())
                {
                    Harass.CastW();
                }
                break;

            case OrbwalkerMode.LaneClear:
                if (Q.IsReady())
                {
                    Laneclear.CastQ();
                }
                break;
            }
        }
示例#3
0
        private static void OnGameUpdate(EventArgs args)
        {
            if (Player.IsDead)
            {
                return;
            }

            if (R.IsReady())
            {
                Automatic.CastR();
                Combo.SemiR();
                Killsteal.CastR();
            }
        }
示例#4
0
        private static void OnGameTick(EventArgs args)
        {
            if (Player.IsDead)
            {
                return;
            }

            if (W.IsReady())
            {
                Automatic.WOnImmobile();
                Killsteal.CastW();
            }

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

            if (R.IsReady())
            {
                Killsteal.CastR();
                Combo.SemiCastR();
            }

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

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

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

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

                if (W.IsReady())
                {
                    Harass.CastW();
                }
                break;

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

                if (W.IsReady())
                {
                    Jungleclear.CastW();
                }
                break;

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