mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
SMSG_AI_REACTION 5.4.8 (18414)
This commit is contained in:
parent
1eb836702f
commit
e3280388fa
2 changed files with 21 additions and 2 deletions
|
|
@ -2359,8 +2359,27 @@ void Creature::SendAIReaction(AiReaction reactionType)
|
|||
{
|
||||
WorldPacket data(SMSG_AI_REACTION, 12);
|
||||
|
||||
data << GetObjectGuid();
|
||||
ObjectGuid guid = GetObjectGuid();
|
||||
|
||||
data.WriteBit(guid[5]);
|
||||
data.WriteBit(guid[7]);
|
||||
data.WriteBit(guid[0]);
|
||||
data.WriteBit(guid[4]);
|
||||
data.WriteBit(guid[6]);
|
||||
data.WriteBit(guid[2]);
|
||||
data.WriteBit(guid[3]);
|
||||
data.WriteBit(guid[1]);
|
||||
|
||||
data.WriteByteSeq(guid[4]);
|
||||
data.WriteByteSeq(guid[6]);
|
||||
data.WriteByteSeq(guid[5]);
|
||||
data << uint32(reactionType);
|
||||
data.WriteByteSeq(guid[7]);
|
||||
data.WriteByteSeq(guid[1]);
|
||||
data.WriteByteSeq(guid[2]);
|
||||
data.WriteByteSeq(guid[0]);
|
||||
data.WriteByteSeq(guid[3]);
|
||||
|
||||
|
||||
((WorldObject*)this)->SendMessageToSet(&data, true);
|
||||
|
||||
|
|
|
|||
|
|
@ -382,7 +382,7 @@ enum Opcodes
|
|||
SMSG_CHANNEL_START = 0x0A15, // 4.3.4 15595
|
||||
SMSG_CHANNEL_UPDATE = 0x2417, // 4.3.4 15595
|
||||
CMSG_CANCEL_CHANNELLING = 0x6C25, // 4.3.4 15595
|
||||
SMSG_AI_REACTION = 0x0637, // 4.3.4 15595
|
||||
SMSG_AI_REACTION = 0x06AF, // 5.4.8 18414
|
||||
CMSG_SET_SELECTION = 0x07CD, // 5.4.1 17538
|
||||
CMSG_EQUIPMENT_SET_DELETE = 0x4D07, // 4.3.4 15595
|
||||
CMSG_INSTANCE_LOCK_RESPONSE = 0x1140,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue