Beispiel #1
0
        private static void Game_OnUpdate(EventArgs args)
        {
            if (ObjectManager.Player.IsDead)
            {
                return;
            }

            switch (Configs.orbwalker.ActiveMode)
            {
            case Orbwalking.OrbwalkingMode.Combo:
                Combo.ExecuteCombo();
                break;

            case Orbwalking.OrbwalkingMode.Mixed:
                LastHit.ExecuteLastHit();
                Harass.ExecuteHarass();
                break;

            case Orbwalking.OrbwalkingMode.LastHit:
                LastHit.ExecuteLastHit();
                break;

            case Orbwalking.OrbwalkingMode.LaneClear:
                LaneClear.ExecuteLaneClear();
                JungleClear.ExecuteJungleClear();
                break;

            case Orbwalking.OrbwalkingMode.CustomMode:
                Flee.ExecuteFlee();
                break;
            }

            KillSteal();
            AutoQ();
        }
Beispiel #2
0
        public static void OnTick(EntropyEventArgs args)
        {
            if (PredictionMenu.PredictionMode.Value == 2)
            {
                W.Width = 250f;
                R.Width = 190f;
            }
            else
            {
                W.Width = 500f;
                R.Width = 380f;
            }

            R.Range = 1200 * R.Level + 2000;
            if (Q.IsCharging)
            {
                Orbwalker.AttackAllowed = false;
            }
            else
            {
                Orbwalker.AttackAllowed = true;
            }

            if (RSettings.FocusMouse.Enabled)
            {
                RSettings.MouseRange.Visible = true;
            }
            else
            {
                RSettings.MouseRange.Visible = false;
            }

            if (RSettings.RMode.Value == 1)
            {
                RSettings.RDelay.Visible = true;
            }
            else
            {
                RSettings.RDelay.Visible = false;
            }


            if (RSettings.RMode.Value == 2)
            {
                RSettings.RSemiAutoKeyBind.Visible = true;
            }
            else
            {
                RSettings.RSemiAutoKeyBind.Visible = false;
            }

            if (LocalPlayer.Instance.IsDead() || ItemShop.IsOpen || GameConsole.IsOpen)
            {
                return;
            }

            KillstealUwu();

            if (R.Ready && RSettings.PingOnKill.Enabled)
            {
                foreach (var enemy in ObjectCache.EnemyHeroes.Where(x => x.IsValidTarget() && R.GetDamage(x) > x.HP))
                {
                    Definitions.Ping(enemy.Position);
                }
            }

            if (Definitions.IsChannellingR)
            {
                Combo.WhileCastingR();
            }

            switch (Orbwalker.Mode)
            {
            case OrbwalkingMode.Combo:
                Combo.ExecuteCombo();

                break;

            case OrbwalkingMode.Harass:
                Harass.ExecuteHarass();

                break;

            case OrbwalkingMode.Laneclear:
                if (W.Ready && LaneClearMenu.farmKey.Enabled)
                {
                    LaneClear.ExecuteW();
                    JungleClear.ExecuteW();
                }

                if (Q.Ready && LaneClearMenu.farmKey.Enabled)
                {
                    LaneClear.ExecuteQ();
                    JungleClear.ExecuteQ();
                }

                if (E.Ready && LaneClearMenu.farmKey.Enabled)
                {
                    JungleClear.ExecuteE();
                }

                break;
            }
        }