[9030] Fixed: remove spell 30451 and ranks buffs stack at another arcane spells.

(cherry-picked from commit 8dbbc7b)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Maxxie 2009-12-19 23:26:26 +03:00 committed by VladimirMangos
parent d560c657d8
commit f71c4bf3ae
2 changed files with 5 additions and 1 deletions

View file

@ -366,6 +366,10 @@ void Spell::EffectSchoolDMG(uint32 effect_idx)
break;
}
case SPELLFAMILY_MAGE:
// remove Arcane Blast buffs at any non-Arcane Blast arcane damage spell.
// NOTE: it removed at hit instead cast because currently spell done-damage calculated at hit instead cast
if ((m_spellInfo->SchoolMask & SPELL_SCHOOL_MASK_ARCANE) && !(m_spellInfo->SpellFamilyFlags & UI64LIT(0x20000000)))
m_caster->RemoveAurasDueToSpell(36032); // Arcane Blast buff
break;
case SPELLFAMILY_WARRIOR:
{