Ejemplo n.º 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;
            }
        }
Ejemplo n.º 2
0
        private static void OnGameUpdate(EventArgs args)
        {
            if (GameObjects.Player.IsDead)
            {
                return;
            }
            Combo.SemiR();
            Killsteal.Cast();

            if (Extension.IsCulling())
            {
                if (ComboMenu.Rbool.Enabled &&
                    (Q.IsReady() || W.IsReady() || E.IsReady()) &&
                    GameObjects.EnemyHeroes.Any(x => x.IsValidTarget(GameObjects.Player.GetRealAutoAttackRange(x))))
                {
                    R.Cast();
                }
            }

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

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

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

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

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

                if (W.IsReady())
                {
                    Harass.CastW();
                }
                break;
            }
        }
Ejemplo n.º 3
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;
            }
        }
Ejemplo n.º 4
0
        private static void OnGameUpdate(EventArgs args)
        {
            if (GameObjects.Player.IsDead)
            {
                return;
            }
            Killsteal.Cast();
            switch (Orbwalker.ActiveMode)
            {
            case OrbwalkerMode.Combo:
                if (W.IsReady())
                {
                    Combo.CastW();
                }

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

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

            case  OrbwalkerMode.Harass:
                if (W.IsReady())
                {
                    Harass.CastW();
                }

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

            case OrbwalkerMode.LaneClear:
                if (E.IsReady())
                {
                    Laneclear.CastE();
                }

                if (Q.IsReady())
                {
                    Laneclear.CastQ();
                    Jungleclear.CastQ();
                }
                break;
            }
        }
Ejemplo n.º 5
0
        private static void OnGameUpdate(EventArgs args)
        {
            Automatic.CastQ();
            Killsteal.CastE();
            switch (Orbwalker.ActiveMode)
            {
            case OrbwalkerMode.Combo:
                Combo.CastQ();
                Combo.CastW();
                Combo.CastR();
                break;

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

            case OrbwalkerMode.LaneClear:
                Laneclear.CastE();
                Jungleclear.CastW();
                Jungleclear.CastE();
                break;
            }
        }
Ejemplo n.º 6
0
        private static void OnBeforeAttack(object sender, BeforeAttackEventArgs args)
        {
            switch (Orbwalker.ActiveMode)
            {
            case OrbwalkerMode.Combo:
                if (W.IsReady())
                {
                    Combo.CastW();
                }

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

            case OrbwalkerMode.Harass:
                if (W.IsReady())
                {
                    Harass.CastW();
                }

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

            case OrbwalkerMode.LaneClear:
                var target = args.Target as AIMinionClient;
                if (W.IsReady())
                {
                    Structureclear.CastW();
                    if (target.IsMinion())
                    {
                        Laneclear.CastW();
                    }
                    else if ((target.GetJungleType() & JungleType.Large) != 0)
                    {
                        Jungleclear.CastW();
                    }
                }

                if (Q.IsReady())
                {
                    if (target.IsMinion())
                    {
                        Laneclear.CastQ();
                    }
                    else if ((target.GetJungleType() & JungleType.Large) != 0)
                    {
                        Jungleclear.CastQ();
                    }
                }

                break;
            }
            if (MiscellaneousMenu.WaitAxeBool.Enabled && !Extension.HasAxeInHand() && Extension.CanCatchAxe())
            {
                args.Process = false;
            }
        }
Ejemplo n.º 7
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;
            }
        }