Core/PacketIO: Enabled a couple of opcodes and renamed guildfinder ones
This commit is contained in:
1 parent
390d6b56d7
commit
fc1b3968a9
3 files changed
+40
-18
No files matched your search
@@ -16808,9 +16808,29 @@ void Unit::SetAuraStack(uint32 spellId, Unit* target, uint32 stack)
|
||||
|
||||
void Unit::SendPlaySpellVisual(uint32 id)
|
||||
{
|
||||
WorldPacket data(SMSG_PLAY_SPELL_VISUAL, 8 + 4);
|
||||
data << uint64(GetGUID());
|
||||
ObjectGuid guid = GetGUID();
|
||||
|
||||
WorldPacket data(SMSG_PLAY_SPELL_VISUAL, 4 * 3 + 8);
|
||||
data << uint32(0);
|
||||
data << uint32(id); // SpellVisualKit.dbc index
|
||||
data << uint32(0);
|
||||
data.WriteBit(guid[4]);
|
||||
data.WriteBit(guid[7]);
|
||||
data.WriteBit(guid[5]);
|
||||
data.WriteBit(guid[3]);
|
||||
data.WriteBit(guid[1]);
|
||||
data.WriteBit(guid[2]);
|
||||
data.WriteBit(guid[0]);
|
||||
data.WriteBit(guid[6]);
|
||||
data.FlushBits();
|
||||
data.WriteByteSeq(guid[0]);
|
||||
data.WriteByteSeq(guid[4]);
|
||||
data.WriteByteSeq(guid[1]);
|
||||
data.WriteByteSeq(guid[6]);
|
||||
data.WriteByteSeq(guid[7]);
|
||||
data.WriteByteSeq(guid[2]);
|
||||
data.WriteByteSeq(guid[3]);
|
||||
data.WriteByteSeq(guid[5]);
|
||||
SendMessageToSet(&data, false);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user