From ffef3dda7ec12ecde1d8fb5d8cfbe488c814a385 Mon Sep 17 00:00:00 2001 From: Kelsi Date: Fri, 13 Mar 2026 11:57:45 -0700 Subject: [PATCH] fix: pass actual GUIDs in SMSG_SPELL_CHANCE_PROC_LOG combat log entries --- src/game/game_handler.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/game/game_handler.cpp b/src/game/game_handler.cpp index 5b293023..8403aae8 100644 --- a/src/game/game_handler.cpp +++ b/src/game/game_handler.cpp @@ -6236,7 +6236,7 @@ void GameHandler::handlePacket(network::Packet& packet) { if (packet.getSize() - packet.getReadPos() < 3) { packet.setReadPos(packet.getSize()); break; } - /*uint64_t targetGuid =*/ UpdateObjectParser::readPackedGuid(packet); + uint64_t procTargetGuid = UpdateObjectParser::readPackedGuid(packet); if (packet.getSize() - packet.getReadPos() < 2) { packet.setReadPos(packet.getSize()); break; } @@ -6247,7 +6247,8 @@ void GameHandler::handlePacket(network::Packet& packet) { uint32_t procSpellId = packet.readUInt32(); // Show a "PROC!" floating text when the player triggers the proc if (procCasterGuid == playerGuid && procSpellId > 0) - addCombatText(CombatTextEntry::PROC_TRIGGER, 0, procSpellId, true); + addCombatText(CombatTextEntry::PROC_TRIGGER, 0, procSpellId, true, 0, + procCasterGuid, procTargetGuid); packet.setReadPos(packet.getSize()); break; }