Пример #1
0
        public override async Task <bool> PvP()
        {
            if (Me.IsCasting)
            {
                return(await DodgeManager.DodgeThis(Me.SpellCastInfo.SpellData, CurrentTarget, CastedAura, IsDot, IsBuff, IsHealingSpell));
            }

            switch (MainSettingsModel.Instance.CurrentRoutine)
            {
            case "Barret":
                return(await BarretRotation.PVPRotation());

            case "Beatrix":
                return(await BeatrixRotation.PVPRotation());

            case "Cecil":
                return(await CecilRotation.PVPRotation());

            case "Cyan":
                return(await CyanRotation.PVPRotation());

            case "Edward":
                return(await EdwardRotation.PVPRotation());

            case "Eiko":
                return(await EikoRotation.PVPRotation());

            case "Elayne":
                return(await ElayneRotation.PVPRotation());

            case "Freya":
                return(await FreyaRotation.PVPRotation());

            case "Mikoto":
                return(await MikotoRotation.PVPRotation());

            case "Paine":
                return(await PaineRotation.PVPRotation());

            case "Remiel":
                return(await RemielRotation.PVPRotation());

            case "Sabin":
                return(await SabinRotation.PVPRotation());

            case "Shadow":
                return(await ShadowRotation.PVPRotation());

            case "Surito":
                return(await SuritoRotation.PVPRotation());

            case "Vivi":
                return(await ViviRotation.PVPRotation());
            }

            return(false);
        }