示例#1
0
        public override async Task <bool> Heal()
        {
            if (!Common_Utils.InActiveInstance())
            {
                return(false);
            }

            if (Me.IsCasting)
            {
                return(await DodgeManager.DodgeThis(Me.SpellCastInfo.SpellData, CurrentTarget, CastedAura, IsDot, IsBuff, IsHealingSpell));
            }

            Logger.DebugLog("Pulsing Heal");

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            return(false);
        }