mirror of
https://github.com/mangosfour/server.git
synced 2025-12-19 04:37:06 +00:00
CMSG_CANCEL_AURA 5.4.7 (18019)
Structure ok ?
This commit is contained in:
parent
51a5d15dd6
commit
31df751f90
2 changed files with 25 additions and 1 deletions
|
|
@ -376,7 +376,7 @@ enum Opcodes
|
|||
SMSG_SPELL_FAILURE = 0x0C34, // 4.3.4 15595
|
||||
SMSG_SPELL_COOLDOWN = 0x4B16, // 4.3.4 15595
|
||||
SMSG_COOLDOWN_EVENT = 0x4F26, // 4.3.4 15595
|
||||
CMSG_CANCEL_AURA = 0x0E26, // 4.3.4 15595
|
||||
CMSG_CANCEL_AURA = 0x16E1, // 5.4.7 18019
|
||||
SMSG_EQUIPMENT_SET_ID = 0x2216, // 4.3.4 15595
|
||||
SMSG_PET_CAST_FAILED = 0x2B15, // 4.3.4 15595
|
||||
SMSG_CHANNEL_START = 0x0A15, // 4.3.4 15595
|
||||
|
|
|
|||
|
|
@ -479,6 +479,30 @@ void WorldSession::HandleCancelAuraOpcode(WorldPacket& recvPacket)
|
|||
uint32 spellId;
|
||||
recvPacket >> spellId;
|
||||
|
||||
ObjectGuid guid;
|
||||
|
||||
recvPacket.ReadBit();
|
||||
|
||||
guid[1] = recvPacket.ReadBit();
|
||||
guid[5] = recvPacket.ReadBit();
|
||||
guid[2] = recvPacket.ReadBit();
|
||||
guid[0] = recvPacket.ReadBit();
|
||||
guid[3] = recvPacket.ReadBit();
|
||||
guid[4] = recvPacket.ReadBit();
|
||||
guid[6] = recvPacket.ReadBit();
|
||||
guid[7] = recvPacket.ReadBit();
|
||||
|
||||
recvPacket.FlushBits();
|
||||
|
||||
recvPacket.ReadByteSeq(guid[0]);
|
||||
recvPacket.ReadByteSeq(guid[1]);
|
||||
recvPacket.ReadByteSeq(guid[4]);
|
||||
recvPacket.ReadByteSeq(guid[5]);
|
||||
recvPacket.ReadByteSeq(guid[3]);
|
||||
recvPacket.ReadByteSeq(guid[6]);
|
||||
recvPacket.ReadByteSeq(guid[7]);
|
||||
recvPacket.ReadByteSeq(guid[2]);
|
||||
|
||||
SpellEntry const* spellInfo = sSpellStore.LookupEntry(spellId);
|
||||
if (!spellInfo)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue