コード例 #1
0
        public async override Task <bool> PreCombatBuff()
        {
            if (await MySpells.BeaconOfLightMethod())
            {
                return(true);
            }

            if (!Globals.InCombat)
            {
                // allow hotkeys out of combat
                if (await MySpells.HotkeysMethod())
                {
                    return(true);
                }
            }

            return(false);
        }
コード例 #2
0
        public async override Task <bool> CombatBuff()
        {
            if (Globals.Pvp && PaladinSettings.Instance.AutoFocusUse && SpellBooks.Global.AutoFocus.AutoFocusMethod())
            {
                return(true);
            }

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

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

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

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

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

            // Avenging Wrath, Holy Avenger, Tyrs Deliverance, Aura Mastery, Rule of Law,  46 Honor Talent

            return(false);
        }