Пример #1
0
        public static void OnUpdate()
        {
            if (Global.Player.IsDead || Global.Orbwalker.IsWindingUp)
            {
                return;
            }

            switch (Global.Orbwalker.Mode)
            {
            case OrbwalkingMode.Combo:
                Combo.OnUpdate();
                break;

            case OrbwalkingMode.Mixed:
                Harass.OnUpdate();
                break;

            case OrbwalkingMode.Laneclear:
                LaneClear.OnUpdate();
                JungleClear.OnUpdate();
                break;

            case OrbwalkingMode.None:
                SpellManager.DrawingPred = Vector3.Zero;
                break;
            }
        }
Пример #2
0
        public static void OnUpdate()
        {
            if (Global.Player.IsDead || Global.Orbwalker.IsWindingUp)
            {
                return;
            }

            switch (Global.Orbwalker.Mode)
            {
            case OrbwalkingMode.Combo:
                Combo.OnUpdate();
                break;

            case OrbwalkingMode.Mixed:
                Harass.OnUpdate();
                break;

            case OrbwalkingMode.Laneclear:
                LaneClear.OnUpdate();
                JungleClear.OnUpdate();
                break;

            case OrbwalkingMode.Lasthit:
                Lasthit.OnUpdate();
                break;
            }

            if (Global.Orbwalker.Mode != OrbwalkingMode.Mixed && !Global.Player.IsRecalling())
            {
                PermaSpells();
            }
        }
Пример #3
0
        public static void OnUpdate()
        {
            Global.Orbwalker.AttackingEnabled = !Global.Player.HasBuff("LucianR");

            if (Global.Player.IsDead || Global.Orbwalker.IsWindingUp)
            {
                return;
            }

            switch (Global.Orbwalker.Mode)
            {
            case OrbwalkingMode.Combo:
                Combo.OnUpdate();
                break;

            case OrbwalkingMode.Mixed:
                Harass.OnUpdate();
                break;

            case OrbwalkingMode.Laneclear:
                LaneClear.OnUpdate();
                JungleClear.OnUpdate();
                break;
            }
        }
Пример #4
0
        public static void OnUpdate()
        {
            if (Global.Player.IsDead || Global.Orbwalker.IsWindingUp)
            {
                return;
            }

            Misc.OnUpdate();

            switch (Global.Orbwalker.Mode)
            {
            case OrbwalkingMode.Combo:
                Combo.OnUpdate();
                break;

            case OrbwalkingMode.Mixed:
                Harass.OnUpdate();
                break;

            case OrbwalkingMode.Laneclear:
                LaneClear.OnUpdate();
                JungleClear.OnUpdate();
                break;
            }
        }
Пример #5
0
        public static void OnUpdate()
        {
            if (Global.Player.IsDead)
            {
                return;
            }

            if (Game.TickCount - SpellConfig.E.LastCastAttemptT > 2000 + Game.Ping / 2)
            {
                SpellConfig.E.LastCastAttemptT = 0;
            }

            switch (Global.Orbwalker.Mode)
            {
            case OrbwalkingMode.Combo:
                Combo.OnUpdate();
                break;

            case OrbwalkingMode.Mixed:
                Harass.OnUpdate();
                break;

            case OrbwalkingMode.Laneclear:
                Clear.OnUpdate();
                break;
            }
        }
Пример #6
0
        public static void OnUpdate()
        {
            try
            {
                if (Global.Player.IsDead || Global.Orbwalker.IsWindingUp || Global.Player.IsRecalling())
                {
                    return;
                }

                SpellManager.Q.SetSkillshot(0.25f, 60, SpellManager.PaddleStarPosition.IsZero ? 1200 : 1700, true, SkillshotType.Line);

                switch (Global.Orbwalker.Mode)
                {
                case OrbwalkingMode.Combo:
                    Combo.OnUpdate();
                    break;

                case OrbwalkingMode.Mixed:
                    Harass.OnUpdate();
                    break;

                case OrbwalkingMode.Laneclear:
                    LaneClear.OnUpdate();
                    JungleClear.OnUpdate();
                    break;
                }
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
                throw;
            }
        }
Пример #7
0
        private static void OnUpdate()
        {
            try
            {
                if (Global.Player.IsDead || Global.Orbwalker.IsWindingUp || Global.Player.IsRecalling())
                {
                    return;
                }

                switch (Global.Orbwalker.Mode)
                {
                case OrbwalkingMode.Combo:
                    Combo.OnUpdate();
                    break;

                case OrbwalkingMode.Mixed:
                    Harass.OnUpdate();
                    break;

                case OrbwalkingMode.Laneclear:
                    LaneClear.OnUpdate();
                    JungleClear.OnUpdate();
                    break;
                }
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
                throw;
            }
        }
Пример #8
0
        public static void OnUpdate()
        {
            if (Global.Player.IsDead || Global.Orbwalker.IsWindingUp && Global.Orbwalker.Mode != OrbwalkingMode.Lasthit)
            {
                return;
            }

            Stack.OnUpdate();

            switch (Global.Orbwalker.Mode)
            {
            case OrbwalkingMode.Combo:
                Combo.OnUpdate();
                break;

            case OrbwalkingMode.Mixed:
                Harass.OnUpdate();
                break;

            case OrbwalkingMode.Laneclear:
                LaneClear.OnUpdate();
                break;

            case OrbwalkingMode.Lasthit:
                Lasthit.OnUpdate();
                break;

            case OrbwalkingMode.None:
                MinionHelper.ExtendedTarget = Vector3.Zero;
                MinionHelper.ExtendedMinion = Vector3.Zero;
                break;
            }
        }
Пример #9
0
        public static void OnUpdate()
        {
            if (Global.Player.IsDead || Global.Orbwalker.IsWindingUp)
            {
                return;
            }

            switch (Global.Orbwalker.Mode)
            {
            case OrbwalkingMode.Combo:
                Combo.OnUpdate();
                break;

            case OrbwalkingMode.Custom:
                Harass.OnUpdate();
                break;

            case OrbwalkingMode.Laneclear:
                Clear.OnUpdate();
                break;

            case OrbwalkingMode.Freeze:
                Lasthit.OnUpdate();
                break;
            }
        }
Пример #10
0
        private static void OnUpdate()
        {
            if (Global.Player.IsDead || Global.Orbwalker.IsWindingUp)
            {
                return;
            }

            switch (Global.Orbwalker.Mode)
            {
            case OrbwalkingMode.Combo:
                Combo.OnUpdate();
                break;

            case OrbwalkingMode.Laneclear:
                LaneClear.OnUpdate();
                JungleClear.OnUpdate();
                break;

            case OrbwalkingMode.Mixed:
                Harass.OnUpdate();
                break;
            }

            if (SpellManager.GnarState != GnarState.Mega || !MenuConfig.Misc["Auto"].Enabled)
            {
                return;
            }
            var t = Global.TargetSelector.GetTarget(SpellManager.R.Range);

            if (t != null)
            {
                SpellManager.CastR(t, MenuConfig.Misc["Auto"].Value);
            }
        }
Пример #11
0
        public void OnUpdate()
        {
            if (Global.Player.IsDead || Global.Orbwalker.IsWindingUp)
            {
                return;
            }

            switch (Global.Orbwalker.Mode)
            {
            case OrbwalkingMode.Combo:
                combo.OnUpdate();
                break;

            case OrbwalkingMode.Mixed:
                harass.OnUpdate();
                break;

            case OrbwalkingMode.Laneclear:
                laneClear.OnUpdate();
                jungleClear.OnUpdate();
                break;

            case OrbwalkingMode.Lasthit:
            case OrbwalkingMode.None:
                if (spellConfig.IsQ2)
                {
                    spellConfig.Q.Cast();
                }
                break;
            }
        }
Пример #12
0
        public static void OnUpdate()
        {
            try
            {
                if (Global.Player.IsDead || Global.Orbwalker.IsWindingUp || Global.Player.IsRecalling())
                {
                    return;
                }

                foreach (var soldier in SoldierManager.Soldiers)
                {
                    if (soldier.Distance(Global.Player) > 660)
                    {
                        continue;
                    }

                    var enemy = GameObjects.Enemy.FirstOrDefault(x => x.Distance(soldier) <= 250 + x.BoundingRadius && !x.IsDead && x.MaxHealth > 10 && soldier.Distance(Global.Player) <= SpellConfig.Q.Range + 65 && soldier.Distance(Global.Player) > Global.Player.AttackRange);
                    if (enemy == null || Game.TickCount - _lastAa <= 1000)
                    {
                        continue;
                    }

                    _lastAa = Game.TickCount;
                    Global.Player.IssueOrder(OrderType.AttackUnit, enemy);
                    DelayAction.Queue(250, () => Global.Player.IssueOrder(OrderType.MoveTo, Game.CursorPos), new CancellationToken(false));
                }

                SpellConfig.R.Width = 133 * (3 + Global.Player.GetSpell(SpellSlot.R).Level);

                Insec.OnKeyPressed();

                switch (Global.Orbwalker.Mode)
                {
                case OrbwalkingMode.Combo:
                    Combo.OnUpdate();
                    break;

                case OrbwalkingMode.Mixed:
                    Harass.OnUpdate();
                    break;

                case OrbwalkingMode.Laneclear:
                    JungleClear.OnUpdate();
                    LaneClear.OnUpdate();
                    break;

                case OrbwalkingMode.None:
                    AzirHelper.Rect = null;
                    break;
                }
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
                throw;
            }
        }
Пример #13
0
        public static void OnUpdate()
        {
            try
            {
                if (Global.Player.IsDead || Global.Orbwalker.IsWindingUp)
                {
                    return;
                }

                switch (Global.Orbwalker.Mode)
                {
                case OrbwalkingMode.Combo:
                    Combo.OnUpdate();
                    break;

                case OrbwalkingMode.Mixed:
                    Harass.OnUpdate();
                    break;

                case OrbwalkingMode.Laneclear:
                    Lane.OnUpdate();
                    Jungle.OnUpdate();
                    break;

                case OrbwalkingMode.None:
                    Extensions.AllIn = false;
                    break;
                }

                if (!SpellConfig.Q.Ready || Extensions.CurrentQCount == 1 || !MenuConfig.Miscellaneous["Active"].Enabled || Global.Player.HasBuff("Recall") ||
                    Global.Orbwalker.Mode == OrbwalkingMode.Laneclear || Global.Orbwalker.Mode == OrbwalkingMode.Lasthit ||
                    Game.TickCount - Extensions.LastQCastAttempt < 3400 + Game.Ping / 2 ||
                    Game.TickCount - Extensions.LastQCastAttempt > 3700 + Game.Ping / 2)
                {
                    return;
                }

                var path = Global.Player.Path.FirstOrDefault();
                Global.Orbwalker.Move(path);
                SpellConfig.Q.Cast(path); // f**k this shit.
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
                throw;
            }
        }
Пример #14
0
        private static void OnUpdate()
        {
            try
            {
                if (Global.Player.IsDead || Global.Orbwalker.IsWindingUp || Global.Player.IsRecalling())
                {
                    return;
                }

                SpellManager.R.Range = new float[] { 3520, 4840, 6160 }[Math.Max(0, Global.Player.SpellBook.GetSpell(SpellSlot.R).Level - 1)];

                if (SpellManager.CastingUltimate && MenuConfig.Misc["Mode"].Value == 1)
                {
                    var target = Global.TargetSelector.GetTarget(SpellManager.R.Range);
                    if (target != null)
                    {
                        SpellManager.CastR(target);
                    }
                }

                switch (Global.Orbwalker.Mode)
                {
                case OrbwalkingMode.Combo:
                    Combo.OnUpdate();
                    break;

                case OrbwalkingMode.Mixed:
                    Harass.OnUpdate();
                    break;

                case OrbwalkingMode.Laneclear:
                    LaneClear.OnUpdate();
                    JungleClear.OnUpdate();
                    break;
                }
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
                throw;
            }
        }
Пример #15
0
        public void OnUpdate()
        {
            if (Global.Player.IsDead)
            {
                return;
            }

            switch (Global.Orbwalker.Mode)
            {
            case OrbwalkingMode.Combo:
                _combo.OnUpdate();
                break;

            case OrbwalkingMode.Mixed:
                _harass.OnUpdate();
                break;

            case OrbwalkingMode.Laneclear:
                _laneClear.OnUpdate();
                _jungleClear.OnUpdate();
                break;
            }
        }
Пример #16
0
        public void OnUpdate()
        {
            if (Global.Player.IsDead || Global.Orbwalker.IsWindingUp)
            {
                return;
            }

            switch (Global.Orbwalker.Mode)
            {
            case OrbwalkingMode.Combo:
                combo.OnUpdate();
                break;

            case OrbwalkingMode.Mixed:
                harass.OnUpdate();
                break;

            case OrbwalkingMode.Laneclear:
                laneClear.OnUpdate();
                jungleClear.OnUpdate();
                break;
            }
        }
Пример #17
0
        public static void OnUpdate()
        {
            if (Global.Player.IsDead)
            {
                return;
            }

            if (MenuConfig.Killsteal["E"].Enabled && SpellManager.E.Ready)
            {
                var t = GameObjects.EnemyHeroes.FirstOrDefault(x => x.Health <= Dmg.EDmg(x) && x.IsValidTarget(SpellManager.E.Range));
                if (t != null)
                {
                    SpellManager.CastE(t);
                }
            }

            if (Global.Orbwalker.IsWindingUp)
            {
                return;
            }

            switch (Global.Orbwalker.Mode)
            {
            case OrbwalkingMode.Combo:
                Combo.OnUpdate();
                break;

            case OrbwalkingMode.Mixed:
                Harass.OnUpdate();
                break;

            case OrbwalkingMode.Laneclear:
                LaneClear.OnUpdate();
                JungleClear.OnUpdate();
                break;
            }
        }