예제 #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 (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;
            }
        }
예제 #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;
            }
        }
예제 #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;
            }
        }
예제 #5
0
        private static void OnAfterAttack(object sender, AfterAttackEventArgs args)
        {
            switch (Orbwalker.ActiveMode)
            {
            case OrbwalkerMode.Combo:
                if (Q.IsReady())
                {
                    Extra.CastQ(args);
                }
                break;

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

            case OrbwalkerMode.LaneClear:
                var target = args.Target as AIMinionClient;
                if (Q.IsReady())
                {
                    Structureclear.CastQ(args);
                    if (target.IsJungle())
                    {
                        Jungleclear.CastQ(args);
                    }

                    if (target.IsMinion())
                    {
                        Laneclear.CastQ(args);
                        return;
                    }
                }

                if (E.IsReady())
                {
                    if (target.IsJungle())
                    {
                        Jungleclear.CastE(args);
                    }
                }
                break;

            case OrbwalkerMode.LastHit:
                if (Q.IsReady())
                {
                    Lasthit.CastQ(args);
                }
                break;
            }
        }
예제 #6
0
        private static void OnGameUpdate(EventArgs args)
        {
            Killsteal.CastQ();
            Killsteal.CastE();
            Harass.CastE();
            Automatic.CastR();
            Automatic.CastW();
            switch (Orbwalker.ActiveMode)
            {
            case OrbwalkerMode.Combo:
                if (Configs.AutomaticMenu.MinionsChase.Enabled)
                {
                    if (Orbwalker.GetTarget() == null)
                    {
                        if (GameObjects.EnemyHeroes.Any(x => x.IsValidTarget(1300f) && GameObjects.Player.Distance(x) > GameObjects.Player.AttackRange))
                        {
                            var minion = GameObjects.EnemyMinions.OrderBy(x => x.Distance(GameObjects.Player)).FirstOrDefault();
                            if (minion != null)
                            {
                                Orbwalker.Orbwalk(minion, Game.CursorPos);
                            }
                        }
                    }
                }
                Combo.CastQ();
                break;

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

            case OrbwalkerMode.LaneClear:
                Jungleclear.CastQ();
                Jungleclear.CastE();
                Laneclear.CastE();
                break;

            case OrbwalkerMode.LastHit:
                Lasthit.CastE();
                break;
            }
        }
예제 #7
0
        private static void OnBeforeAttack(object sender, BeforeAttackEventArgs args)
        {
            var forceTarget =
                GameObjects.EnemyHeroes.FirstOrDefault(x => x.IsCharged() &&
                                                       x.IsValidTarget(Player.GetRealAutoAttackRange(x)));

            if (forceTarget != null &&
                Orbwalker.ActiveMode == OrbwalkerMode.Combo &&
                Orbwalker.GetTarget() != forceTarget)
            {
                Orbwalker.ForceTarget = forceTarget;
            }

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

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

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

                if (E.IsReady())
                {
                    Harass.CastE(args);
                }
                break;

            case OrbwalkerMode.LaneClear:
                if (Q.IsReady() || E.IsReady())
                {
                    Structureclear.Cast(args);
                }

                var target = args.Target as AIMinionClient;
                if (target == null)
                {
                    return;
                }

                if (target.IsMinion())
                {
                    if (Q.IsReady())
                    {
                        Laneclear.CastQ();
                    }

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

                    if (Extension.HasEBuff(target))
                    {
                        Orbwalker.ForceTarget = target;
                    }
                }

                if (target.IsJungle() && target.Health > Player.GetAutoAttackDamage(target) * 3)
                {
                    if (Q.IsReady())
                    {
                        Jungleclear.CastQ();
                    }
                }

                if ((target.GetJungleType() & JungleType.Legendary) != 0 && target.Health >
                    Player.GetAutoAttackDamage(target) * 3)
                {
                    if (E.IsReady())
                    {
                        Jungleclear.CastE(args);
                    }
                }
                break;
            }
        }
예제 #8
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;
            }
        }
예제 #9
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;
            }
        }
예제 #10
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;
            }
        }