Exemple #1
0
        public static void OnPreAttack(OnPreAttackEventArgs args)
        {
            switch (Orbwalker.Mode)
            {
            case OrbwalkingMode.Combo when Q.Ready:
                Combo.ExecuteQ(args);
                break;

            case OrbwalkingMode.Laneclear when Q.Ready:
                LaneClear.ExecuteQ();
                JungleClear.ExecuteQ(args);
                break;

            case OrbwalkingMode.Harass when Q.Ready:
                Harass.ExecuteQ(args);
                break;
            }
        }
Exemple #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;
            }
        }