Core/PacketIO: Implemented CMSG_UPDATE_SPELL_VISUAL

Port From (https://github.com/TrinityCore/TrinityCore/commit/0d475eac5f2fdee58d79b1f3361da6d3f22b0232)
This commit is contained in:
Hondacrx
2025-08-14 21:27:54 -04:00
parent b788c67030
commit a66b484370
3 changed files with 42 additions and 0 deletions
+6
View File
@@ -426,6 +426,12 @@ namespace Game.Spells
_DeleteRemovedApplications();
}
public void SetSpellVisual(SpellCastVisual spellVisual)
{
m_spellVisual = spellVisual;
SetNeedClientUpdateForTargets();
}
public Unit GetCaster()
{
if (m_owner.GetGUID() == m_casterGuid)