Ejemplo n.º 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;
            }
        }
Ejemplo n.º 2
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;
            }
        }
Ejemplo n.º 3
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.º 4
0
        private static void OnGameUpdate(EventArgs args)
        {
            Extension.GetDagger();
            if (Extension.rTrigger == false && Extension.rDealy < Game.Time)
            {
                Extension.CastingR = false;
            }

            if (GameObjects.Player.IsDead)
            {
                return;
            }

            if (Extension.CastingR)
            {
                Orbwalker.MoveEnabled   = false;
                Orbwalker.AttackEnabled = false;
                if (ComboMenu.RCancelBool.Enabled && GameObjects.Player.CountEnemyHeroesInRange(R.Range) == 0)
                {
                    GameObjects.Player.IssueOrder(GameObjectOrder.MoveTo, Game.CursorPos);
                }
            }
            else
            {
                Orbwalker.MoveEnabled   = true;
                Orbwalker.AttackEnabled = true;
            }

            if (ComboMenu.RModeList.Index == 0)
            {
                ComboMenu.RSlider.Visible = true;
            }
            else
            {
                ComboMenu.RSlider.Visible = false;
            }
            Killsteal.CastE();
            Killsteal.CastQ();
            Killsteal.CastEGap();
            switch (Orbwalker.ActiveMode)
            {
            case OrbwalkerMode.Combo:
                Combo.CastCombo();
                Combo.CastR();
                break;

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

            case OrbwalkerMode.LaneClear:
                if (LaneclearMenu.FarmToggleKey.Active)
                {
                    Laneclear.CastQ();
                    Laneclear.CastW();
                    Laneclear.CastE();
                }
                Jungleclear.CastW();
                Jungleclear.CastE();
                Jungleclear.CastQ();
                break;

            case OrbwalkerMode.LastHit:
                if (LaneclearMenu.FarmToggleKey.Active)
                {
                    Laneclear.CastQLast();
                }
                break;
            }
        }