Fix Mage's frost nova damage breaking aura
This commit is contained in:
parent
dff8171815
commit
2b8c55ead0
@ -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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user