fix(Core/Spell]: interrupt invisibility auras on cast (#7508)
This commit is contained in:
parent
d20f315bd5
commit
5bb2e5f2f9
1 changed files with 14 additions and 0 deletions
|
|
@ -2778,6 +2778,20 @@ void SpellMgr::LoadSpellCustomAttr()
|
|||
{
|
||||
switch (spellInfo->Effects[j].ApplyAuraName)
|
||||
{
|
||||
case SPELL_AURA_MOD_INVISIBILITY:
|
||||
{
|
||||
switch (spellInfo->Id)
|
||||
{
|
||||
// Exceptions
|
||||
case 44801: // Spectral Invisibility (Kalecgos, SWP)
|
||||
case 46021: // Spectral Realm (SWP)
|
||||
break;
|
||||
default:
|
||||
spellInfo->AuraInterruptFlags |= AURA_INTERRUPT_FLAG_CAST;
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case SPELL_AURA_PERIODIC_HEAL:
|
||||
case SPELL_AURA_PERIODIC_DAMAGE:
|
||||
case SPELL_AURA_PERIODIC_DAMAGE_PERCENT:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue