コード例 #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;
            }
        }
コード例 #2
0
ファイル: PermaActive.cs プロジェクト: Taazuma/EB-T
        public static void Update(EventArgs args)
        {
            if (Player.IsDead)
            {
                return;
            }

            if (Environment.TickCount - LastQ >= 3650 - Game.Ping && MenuConfig.KeepQ

                //&& !Player.InFountain()//TODO: Figure if this exist in Elobuddy
                && !Player.HasBuff("Recall") &&
                Player.HasBuff("RivenTriCleave"))
            {
                Player.Spellbook.CastSpell(SpellSlot.Q, Game.CursorPos);
            }

            QMove();

            BackgroundData.ForceSkill();
            switch (EloBuddy.SDK.Orbwalker.ActiveModesFlags)
            {
            case EloBuddy.SDK.Orbwalker.ActiveModes.Combo:
                if (MenuConfig.BurstEnabled)
                {
                    BurstMode.Burst();
                }
                else
                {
                    ComboMode.Combo();
                }
                break;

            case EloBuddy.SDK.Orbwalker.ActiveModes.Flee:
                FleeMode.Flee();
                break;

            case EloBuddy.SDK.Orbwalker.ActiveModes.JungleClear:
            case EloBuddy.SDK.Orbwalker.ActiveModes.LaneClear:
                JungleClearMode.Jungleclear();
                LaneclearMode.Laneclear();
                break;
            }
        }