Exemple #1
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;
            }
        }
Exemple #2
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;
            }
        }
Exemple #3
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;
            }
        }
Exemple #4
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;
            }
        }
Exemple #5
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;
            }
        }
Exemple #6
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();
            }
        }
Exemple #7
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);
            }
        }
Exemple #8
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;
            }
        }
Exemple #9
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;
            }
        }
Exemple #10
0
        public static void OnUpdate()
        {
            if (Global.Player.IsDead)
            {
                return;
            }

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

            case OrbwalkingMode.Laneclear:
                LaneClear.OnUpdate();
                JungleClear.OnUpdate();
                break;
            }
        }
Exemple #11
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;
            }
        }
Exemple #12
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;
            }
        }
Exemple #13
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;
            }
        }
Exemple #14
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;
            }
        }