diff options
-rw-r--r-- | src/server/game/Spells/Spell.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index 986c8376a00..c4260860fb3 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -2948,7 +2948,10 @@ void Spell::TargetInfo::DoDamageAndTriggers(Spell* spell) if (MissCondition == SPELL_MISS_RESIST && spell->m_spellInfo->HasAttribute(SPELL_ATTR1_FAILURE_BREAKS_STEALTH) && spell->unitTarget->GetTypeId() == TYPEID_UNIT) { Unit* unitCaster = ASSERT_NOTNULL(spell->m_caster->ToUnit()); - unitCaster->RemoveAurasWithInterruptFlags(SpellAuraInterruptFlags::Interacting); + unitCaster->RemoveAppliedAuras([](AuraApplication const* aurApp) + { + return aurApp->GetBase()->GetSpellInfo()->Dispel == DISPEL_STEALTH; + }); spell->unitTarget->ToCreature()->EngageWithTarget(unitCaster); } } |