Do not treat positive spell hit as attack.

This commit is contained in:
ratkosrb
2025-12-17 23:25:55 +02:00
parent 835b417545
commit 654eb1f8ea
+1 -1
View File
@@ -1754,7 +1754,7 @@ void Spell::DoSpellHitOnUnit(Unit* unit, uint32 effectMask)
if (!effectMask)
{
if (pRealUnitCaster)
if (pRealUnitCaster && !m_spellInfo->IsPositiveSpell(pRealUnitCaster, unit))
unit->AttackedBy(pRealUnitCaster);
return;
}