mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
Core/Spell: fix SendSpellMiss requiring caster Unit
(cherry picked from commit 7f947646f9)
This commit is contained in:
@@ -2380,7 +2380,7 @@ void Spell::TargetInfo::PreprocessTarget(Spell* spell)
|
||||
if (missInfo != SPELL_MISS_NONE)
|
||||
{
|
||||
if (missInfo != SPELL_MISS_MISS)
|
||||
spell->m_caster->ToUnit()->SendSpellMiss(unit, spell->m_spellInfo->Id, missInfo);
|
||||
spell->m_caster->SendSpellMiss(unit, spell->m_spellInfo->Id, missInfo);
|
||||
spell->m_damage = 0;
|
||||
spell->m_healing = 0;
|
||||
_spellHitTarget = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user