mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
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:
parent
fb01361837
commit
00db93b7f2
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue