mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +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;
|
break;
|
||||||
}
|
}
|
||||||
case SPELLFAMILY_MAGE:
|
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;
|
break;
|
||||||
case SPELLFAMILY_WARRIOR:
|
case SPELLFAMILY_WARRIOR:
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9029"
|
#define REVISION_NR "9030"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue