mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 02:46:33 +01:00
Core/PacketIO: Fix packet order in 3499b77d5f
This commit is contained in:
@@ -8112,8 +8112,11 @@ void Unit::SendHealSpellLog(Unit* victim, uint32 spellID, uint32 health, uint32
|
||||
{
|
||||
WorldPackets::CombatLog::SpellHealLog spellHealLog;
|
||||
|
||||
spellHealLog.CasterGUID = GetGUID();
|
||||
TC_LOG_DEBUG("spells", "HealSpellLog -- SpellId: %u Caster: %s -- Target: %s Health: %u OverHeal: %u Absorbed: %u Crit: %u", spellID, GetGUID().ToString(), victim->GetGUID().ToString(),
|
||||
health, overHeal, absorbed, crit);
|
||||
|
||||
spellHealLog.TargetGUID = victim->GetGUID();
|
||||
spellHealLog.CasterGUID = GetGUID();
|
||||
|
||||
spellHealLog.SpellID = spellID;
|
||||
spellHealLog.Health = health;
|
||||
|
||||
@@ -120,8 +120,8 @@ WorldPacket const* WorldPackets::CombatLog::SpellExecuteLog::Write()
|
||||
|
||||
WorldPacket const* WorldPackets::CombatLog::SpellHealLog::Write()
|
||||
{
|
||||
_worldPacket << CasterGUID;
|
||||
_worldPacket << TargetGUID;
|
||||
_worldPacket << CasterGUID;
|
||||
|
||||
_worldPacket << SpellID;
|
||||
_worldPacket << Health;
|
||||
|
||||
Reference in New Issue
Block a user