Core/Spells: fixed priest Shield Discipline mastery

This commit is contained in:
Ovah
2017-11-30 13:06:45 +00:00
committed by Aokromes
parent 3359a75a9f
commit a911e56114

View File

@@ -68,7 +68,8 @@ enum PriestSpellIcons
{
PRIEST_ICON_ID_BORROWED_TIME = 2899,
PRIEST_ICON_ID_DIVINE_TOUCH_TALENT = 3021,
PRIEST_ICON_ID_PAIN_AND_SUFFERING = 2874
PRIEST_ICON_ID_PAIN_AND_SUFFERING = 2874,
PRIEST_ICON_ID_SHIELD_DISCIPLINE = 566
};
enum MiscSpells
@@ -928,6 +929,10 @@ class spell_pri_power_word_shield : public SpellScriptLoader
// Focused Power
amount *= caster->GetTotalAuraMultiplier(SPELL_AURA_MOD_HEALING_DONE_PERCENT);
// Mastery: Shield Discipline
if (AuraEffect const* shieldDiscipline = caster->GetDummyAuraEffect(SPELLFAMILY_HUNTER, PRIEST_ICON_ID_SHIELD_DISCIPLINE, EFFECT_0))
AddPct(amount, shieldDiscipline->GetAmount());
}
}