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

            if (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Combo)
            {
                Combo.Execute();
            }

            if (Config.IsChecked("bW") && Spells.W.CanCast() &&
                ObjectManager.Player.ManaPercent >= Config.GetSliderValue("AutoW.minMana"))
            {
                AutoW.Execute();
            }

            if (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Mixed &&
                ObjectManager.Player.ManaPercent >= Config.GetSliderValue("Harass.minMana"))
            {
                Harass.Execute();
            }

            if (Config.IsKeyPressed("assistedR"))
            {
                AssistedR.Execute();
            }

            if (Config.IsKeyPressed("fleeBind"))
            {
                Orbwalking.MoveTo(Game.CursorPos);
                Flee.Execute();
            }
        }
Beispiel #2
0
        private static void OnUpdate(EventArgs args)
        {
            if (ObjectManager.Player.IsDead)
            {
                return;
            }

            if (Config.IsKeyPressed("assistedR"))
            {
                AssistedR.Execute();
            }
            if (Config.IsChecked("eKillSteal"))
            {
                Automated.EKillSteal();
            }

            if (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Combo)
            {
                Combo.Execute();
            }

            if (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Mixed)
            {
                Harass.Execute();
            }

            if (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.LaneClear)
            {
                JungleClear.Execute();
                LaneClear.Execute();
            }

            if (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.LastHit)
            {
                LastHit.Execute();
            }

            if (Config.IsChecked("autoEHarass") &&
                ObjectManager.Player.ManaPercent >= Config.GetSliderValue("manaToAutoHarass"))
            {
                Automated.AutoE();
            }

            if (Config.IsChecked("autoQHarass") &&
                ObjectManager.Player.ManaPercent >= Config.GetSliderValue("manaToAutoHarass"))
            {
                Automated.AutoQ();
            }

            if (Config.IsChecked("autoWHarass") &&
                ObjectManager.Player.ManaPercent >= Config.GetSliderValue("manaToAutoHarass"))
            {
                Automated.AutoW();
            }

            if (Config.IsChecked("clearE") && ObjectManager.Player.ManaPercent >= Config.GetSliderValue("manaClearE") &&
                Orbwalker.ActiveMode != Orbwalking.OrbwalkingMode.Combo)
            {
                Automated.AutoClearE();
            }

            if (Config.IsChecked("tearStackQ") &&
                ObjectManager.Player.ManaPercent >= Config.GetSliderValue("manaTearStack") && Computed.HasTear() &&
                Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.None)
            {
                Automated.TearStack();
            }
        }