mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
feat: show tactical role badges in party frames; fix talent reset
- Add MT/MA/Asst badges to party frames (matching raid frame treatment) - Clear learnedTalents_ on SMSG_TALENTS_INVOLUNTARILY_RESET so the talent screen stays accurate after a server-side talent wipe
This commit is contained in:
parent
f70df191a9
commit
ae40d393c3
2 changed files with 15 additions and 0 deletions
|
|
@ -6086,6 +6086,9 @@ void GameHandler::handlePacket(network::Packet& packet) {
|
|||
|
||||
// ---- Talents involuntarily reset ----
|
||||
case Opcode::SMSG_TALENTS_INVOLUNTARILY_RESET:
|
||||
// Clear cached talent data so the talent screen reflects the reset.
|
||||
learnedTalents_[0].clear();
|
||||
learnedTalents_[1].clear();
|
||||
addSystemChatMessage("Your talents have been reset by the server.");
|
||||
packet.setReadPos(packet.getSize());
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue