diff options
| author | Ovahlord <dreadkiller@gmx.de> | 2024-01-28 23:58:24 +0100 |
|---|---|---|
| committer | Ovahlord <dreadkiller@gmx.de> | 2024-01-28 23:58:24 +0100 |
| commit | b2da79011680cddff09957fbbbc4970165604223 (patch) | |
| tree | d63a908eb8221aa8434dd27d4cbbbeb5eab203ed /src/server/game/Spells/Spell.cpp | |
| parent | a857a38924be1a4fb2a3f22feb9269cced2c51a0 (diff) | |
Core/Spells: handle SpellXSpellVisualID update field
Diffstat (limited to 'src/server/game/Spells/Spell.cpp')
| -rw-r--r-- | src/server/game/Spells/Spell.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index d09491ca09b..ed187e2c597 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -5189,6 +5189,7 @@ void Spell::SendChannelUpdate(uint32 time) { unitCaster->ClearChannelObjects(); unitCaster->SetChannelSpellId(0); + unitCaster->SetChannelSpellXSpellVisualId(0); } WorldPackets::Spells::SpellChannelUpdate spellChannelUpdate; @@ -5250,6 +5251,7 @@ void Spell::SendChannelStart(uint32 duration) creatureCaster->SetSpellFocus(this, ObjectAccessor::GetWorldObject(*creatureCaster, unitCaster->m_unitData->ChannelObjects[0])); unitCaster->SetChannelSpellId(m_spellInfo->Id); + unitCaster->SetChannelSpellXSpellVisualId(m_SpellVisual.SpellXSpellVisualID); WorldPackets::Spells::SpellChannelStart spellChannelStart; spellChannelStart.CasterGUID = unitCaster->GetGUID(); |
