CMSG_CANCEL_AURA 5.4.7 (18019)

Structure ok ?
This commit is contained in:
zamalaev 2020-02-19 14:21:36 +00:00 committed by Antz
parent 51a5d15dd6
commit 31df751f90
2 changed files with 25 additions and 1 deletions

View file

@ -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

View file

@ -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)
{