コード例 #1
0
ファイル: PermaActive.cs プロジェクト: wade1990/PortAIO
        public static void Update(EventArgs args)
        {
            if (Player.IsDead)
            {
                return;
            }

            if (Utils.GameTimeTickCount - LastQ >= 3650 - Game.Ping &&
                MenuConfig.KeepQ &&
                !Player.InFountain() &&
                !Player.HasBuff("Recall") &&
                Player.HasBuff("RivenTriCleave"))
            {
                Spells.Q.Cast(Game.CursorPos);
            }

            QMove();

            BackgroundData.ForceSkill();

            switch (Orbwalker.ActiveMode)
            {
            case Orbwalking.OrbwalkingMode.Combo:
                Combos.Combo();
                break;

            case Orbwalking.OrbwalkingMode.Burst:
                Combos.Burst();
                break;

            case Orbwalking.OrbwalkingMode.Flee:
                FleeMode.Flee();
                break;

            case Orbwalking.OrbwalkingMode.QuickHarass:
                FastHarassMode.FastHarass();
                break;

            case Orbwalking.OrbwalkingMode.Mixed:
                Mixed.Harass();
                break;

            case Orbwalking.OrbwalkingMode.LaneClear:
                JungleClearMode.Jungleclear();
                LaneclearMode.Laneclear();
                break;
            }
        }