mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[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:
parent
d560c657d8
commit
f71c4bf3ae
2 changed files with 5 additions and 1 deletions
|
|
@ -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:
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue