Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
        public async override Task <bool> Heal()
        {
            Globals.Update();

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

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

            if (Settings.HealthstoneUse && await Items.Healthstone())
            {
                return(true);
            }

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

            // Global Cooldown
            if (SpellManager.GlobalCooldown)
            {
                return(false);
            }

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

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

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

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

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

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

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

            return(false);
        }
Ejemplo n.º 3
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);
        }