fix: show RESIST (not MISS) for SMSG_PROCRESIST combat text

SMSG_PROCRESIST is sent when a proc effect is resisted. Show 'Resisted'
rather than 'Miss' to correctly communicate what happened to the player.
This commit is contained in:
Kelsi 2026-03-11 03:38:39 -07:00
parent fb01361837
commit 00db93b7f2

View file

@ -1950,7 +1950,7 @@ void GameHandler::handlePacket(network::Packet& packet) {
if (packet.getSize() - packet.getReadPos() < 4) break;
uint32_t spellId = packet.readUInt32();
if (victim == playerGuid)
addCombatText(CombatTextEntry::MISS, 0, spellId, false);
addCombatText(CombatTextEntry::RESIST, 0, spellId, false);
packet.setReadPos(packet.getSize());
break;
}