Core/Spells: only apply aura effects when needed. Fixes #21602

(cherry picked from commit abb602f7c1)
This commit is contained in:
ariel-
2018-03-12 19:03:35 -03:00
committed by Shauren
parent 071d112ed1
commit 5491b7f89f

View File

@@ -2656,7 +2656,8 @@ void Spell::TargetInfo::DoDamageAndTriggers(Spell* spell)
if ((effMask & (1 << i)) && aurApp->HasEffect(i))
effMask &= ~(1 << i);
_spellHitTarget->_ApplyAura(aurApp, effMask);
if (effMask)
_spellHitTarget->_ApplyAura(aurApp, effMask);
}
}