Core/Spells: fixed mage Frostburn mastery

This commit is contained in:
Ovah authored and Aokromes committed 2017-11-30 13:03:08 +00:00
1 parent 5a8fcc2bb0
commit 82413e3104
2 files changed
+11

No files matched your search

+7
View File
@@ -6692,6 +6692,13 @@ float Unit::SpellDamagePctDone(Unit* victim, SpellInfo const* spellProto, Damage
switch (spellProto->SpellFamilyName)
{
case SPELLFAMILY_MAGE:
// Mastery: Frostburn
if (AuraEffect* aurEff = GetAuraEffect(76613, 0))
if (victim->HasAuraState(AURA_STATE_FROZEN))
if (aurEff->IsAffectingSpell(spellProto))
AddPct(DoneTotalMod, aurEff->GetAmount());
// Ice Lance
if (spellProto->SpellIconID == 186)
if (victim->HasAuraState(AURA_STATE_FROZEN, spellProto, this))