示例#1
0
        public async override Task <bool> Heal()
        {
            Globals.Update();

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

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

            if (SpellManager.GlobalCooldown)
            {
                return(false);
            }

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

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

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

            /*if (Settings.UseCleanse && await MySpells.CleanseMethod()) return true;*/

            return(false);
        }
示例#2
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);
        }