mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 18:36:31 +01:00
Core/PacketIO: Updated values of all known server opcodes
This commit is contained in:
@@ -4247,7 +4247,7 @@ void Spell::SendChannelUpdate(uint32 time)
|
||||
m_caster->SetUInt32Value(UNIT_CHANNEL_SPELL, 0);
|
||||
}
|
||||
|
||||
WorldPacket data(SMSG_CHANNEL_UPDATE, 8+4);
|
||||
WorldPacket data(SMSG_SPELL_CHANNEL_UPDATE, 8 + 4);
|
||||
data << m_caster->GetPackGUID();
|
||||
data << uint32(time);
|
||||
|
||||
@@ -4261,7 +4261,7 @@ void Spell::SendChannelStart(uint32 duration)
|
||||
if (m_UniqueTargetInfo.size() + m_UniqueGOTargetInfo.size() == 1) // this is for TARGET_SELECT_CATEGORY_NEARBY
|
||||
channelTarget = !m_UniqueTargetInfo.empty() ? m_UniqueTargetInfo.front().targetGUID : m_UniqueGOTargetInfo.front().targetGUID;
|
||||
|
||||
WorldPacket data(SMSG_CHANNEL_START, (8+4+4));
|
||||
WorldPacket data(SMSG_SPELL_CHANNEL_START, (8 + 4 + 4));
|
||||
data << m_caster->GetPackGUID();
|
||||
data << uint32(m_spellInfo->Id);
|
||||
data << uint32(duration);
|
||||
|
||||
Reference in New Issue
Block a user