mirror of
https://github.com/mangosfour/server.git
synced 2025-12-20 16:37:04 +00:00
[0067] Set- canfly/forcemoveroot/waterwalk packets, SMSG_PLAY_SPELL_VISUAL
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
This commit is contained in:
parent
6b1df231a5
commit
e7d0275ae2
13 changed files with 237 additions and 104 deletions
|
|
@ -4544,9 +4544,9 @@ void Spell::SendPlaySpellVisual(uint32 SpellID)
|
|||
if (m_caster->GetTypeId() != TYPEID_PLAYER)
|
||||
return;
|
||||
|
||||
WorldPacket data(SMSG_PLAY_SPELL_VISUAL, 8 + 4);
|
||||
data << m_caster->GetObjectGuid();
|
||||
data << uint32(SpellID); // spell visual id?
|
||||
WorldPacket data;
|
||||
m_caster->BuildSendPlayVisualPacket(&data, SpellID, false);
|
||||
|
||||
((Player*)m_caster)->GetSession()->SendPacket(&data);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue