fix(Core/Spells): Fully absorbed periodic damage should not break stealth (#24975)

Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
Co-authored-by: Ariel Silva <ariel-@users.noreply.github.com>
This commit is contained in:
blinkysc
2026-03-02 19:57:45 -06:00
committed by GitHub
parent e471087652
commit 1fc4781306
3 changed files with 162 additions and 4 deletions

View File

@@ -3073,9 +3073,7 @@ SpellMissInfo Spell::DoSpellHitOnUnit(Unit* unit, uint32 effectMask, bool scaleA
}
if (m_caster != unit && m_caster->IsHostileTo(unit) && !m_spellInfo->IsPositive() && !m_triggeredByAuraSpell && !m_spellInfo->HasAttribute(SPELL_ATTR0_CU_DONT_BREAK_STEALTH))
{
unit->RemoveAurasByType(SPELL_AURA_MOD_STEALTH);
}
if (aura_effmask)
{