From a48eab43b87b01e4053f24f01d81074097bf0d48 Mon Sep 17 00:00:00 2001 From: Kelsi Date: Fri, 13 Mar 2026 19:51:21 -0700 Subject: [PATCH] fix(combatlog): show resist entries for resist log packets --- src/game/game_handler.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game/game_handler.cpp b/src/game/game_handler.cpp index d7a81bda..7fc8fb55 100644 --- a/src/game/game_handler.cpp +++ b/src/game/game_handler.cpp @@ -6860,11 +6860,11 @@ void GameHandler::handlePacket(network::Packet& packet) { ? packet.readUInt64() : UpdateObjectParser::readPackedGuid(packet); if (rl_rem() < 4) { packet.setReadPos(packet.getSize()); break; } uint32_t spellId = packet.readUInt32(); - // Show RESIST when player is the victim; show as caster-side MISS when player is attacker + // Show RESIST when the player is involved on either side. if (victimGuid == playerGuid) { - addCombatText(CombatTextEntry::MISS, 0, spellId, false, 0, attackerGuid, victimGuid); + addCombatText(CombatTextEntry::RESIST, 0, spellId, false, 0, attackerGuid, victimGuid); } else if (attackerGuid == playerGuid) { - addCombatText(CombatTextEntry::MISS, 0, spellId, true, 0, attackerGuid, victimGuid); + addCombatText(CombatTextEntry::RESIST, 0, spellId, true, 0, attackerGuid, victimGuid); } packet.setReadPos(packet.getSize()); break;