コード例 #1
0
        public async override Task <bool> Heal()
        {
            Globals.Update();
            Globals.UpdateCombatHoly();

            if (Settings.AutoTarget)
            {
                AutoTarget();
            }

            if (await MySpells.HotkeysMethod())
            {
                return(true);
            }

            // if (await MySpells.RacialsMethod()) return true;

            if (await MySpells.LayOnHandsMethod())
            {
                return(true);
            }

            if (StyxWoW.Me.IsCasting)
            {
                return(false);
            }

            if (await MySpells.BlessingOfProtectionMethod())
            {
                return(true);
            }

            if (await MySpells.BlessingOfSacrificeMethod())
            {
                return(true);
            }

            if (await MySpells.LightOfDawnMethod())
            {
                return(true);
            }

            // Light of Martyr

            if (await MySpells.BestowFaithMethod())
            {
                return(true);                                    // TALENT
            }
            if (await MySpells.HolyShockMethod())
            {
                return(true);
            }

            if (await MySpells.BlessingOfFreedomMethod())
            {
                return(true);
            }

            // if (await MySpells.CleanseMethod()) return true;

            if (await MySpells.FlashOfLightMethod())
            {
                return(true);
            }

            if (await MySpells.HolyLightMethod())
            {
                return(true);
            }

            return(false);
        }