Заклинания с этой аурой SPELL_AURA_MOD_INVISIBILITY
К примеру: маговская невидимость, банки дающие невидимость...
Код:
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index a784d80..0cdae5c 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -2876,9 +2876,10 @@ void Spell::prepare(SpellCastTargets const* targets, Aura* triggeredByAura)
// stealth must be removed at cast starting (at show channel bar)
// skip triggered spell (item equip spell casting and other not explicit character casts/item uses)
- if ( !m_IsTriggeredSpell && isSpellBreakStealth(m_spellInfo) )
+ if (!m_IsTriggeredSpell && isSpellBreakStealth(m_spellInfo))
{
m_caster->RemoveSpellsCausingAura(SPELL_AURA_MOD_STEALTH);
+ m_caster->RemoveSpellsCausingAura(SPELL_AURA_MOD_INVISIBILITY);
m_caster->RemoveSpellsCausingAura(SPELL_AURA_FEIGN_DEATH);
}