Пример #1
0
        private static void OnUpdate(EventArgs args)
        {
            if (objPlayer.IsDead || objPlayer.IsRecalling() || MenuGUI.IsChatOpen)
            {
                return;
            }

            if (MenuSettings.AutoR.UseR.Enabled && R.IsReady())
            {
                Misc.AutoRWhenTeamFight();
                Misc.AutoRWhenKillable();
            }

            if (MenuSettings.Misc.AutoDisableE.Enabled)
            {
                Misc.AutoTurnOffE();
            }
            if (MenuSettings.Misc.AutoZombie.Enabled)
            {
                Misc.AutoZombie();
            }

            switch (Orbwalker.ActiveMode)
            {
            case OrbwalkerMode.Combo:
                OrbwalkerModes.Combo();
                break;

            case OrbwalkerMode.Harass:
                OrbwalkerModes.Harass();
                break;

            case OrbwalkerMode.LaneClear:
                OrbwalkerModes.LaneClear();
                OrbwalkerModes.JungleClear();
                break;

            case OrbwalkerMode.LastHit:
                OrbwalkerModes.LastHit();
                break;
            }
        }
Пример #2
0
            public static void OnTick(EventArgs args)
            {
                if (objPlayer.IsDead || objPlayer.IsRecalling() || MenuGUI.IsChatOpen)
                {
                    return;
                }

                if (!objPlayer.GetSpell(SpellSlot.W).State.HasFlag(SpellState.NotLearned))
                {
                    W.Range = 1100 + 100 * objPlayer.GetSpell(SpellSlot.W).Level;
                }

                if (MenuManager.MiscKillSteal["KSEnable"].GetValue <MenuBool>().Enabled)
                {
                    Misc.KillSteal();
                }

                switch (Orbwalker.ActiveMode)
                {
                case OrbwalkerMode.Combo:
                    OrbwalkerModes.Combo();
                    break;

                case OrbwalkerMode.Harass:
                    OrbwalkerModes.Harass();
                    break;

                case OrbwalkerMode.LaneClear:
                    OrbwalkerModes.LaneClear();
                    OrbwalkerModes.JungleClear();
                    break;

                case OrbwalkerMode.LastHit:
                    break;
                }
            }