Fix Mage's frost nova damage breaking aura

This commit is contained in:
H0zen 2016-04-21 07:49:54 +01:00 committed by Antz
parent dff8171815
commit 2b8c55ead0

View File

@ -237,6 +237,11 @@ bool Unit::IsTriggeredAtSpellProcEvent(Unit* pVictim, SpellAuraHolder* holder, S
{ {
SpellEntry const* spellProto = holder->GetSpellProto(); SpellEntry const* spellProto = holder->GetSpellProto();
// early check to prevent FrostNova damage to remove Aura 26
if (procSpell && (procSpell->Id == spellProto->Id) && (spellProto->SpellIconID == 193) &&
(spellProto->SpellVisual == 17) && (spellProto->SpellFamilyName == SPELLFAMILY_MAGE))
return false;
// Get proc Event Entry // Get proc Event Entry
spellProcEvent = sSpellMgr.GetSpellProcEvent(spellProto->Id); spellProcEvent = sSpellMgr.GetSpellProcEvent(spellProto->Id);