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:
Kelsi 2026-03-17 13:50:49 -07:00
parent f70df191a9
commit ae40d393c3
2 changed files with 15 additions and 0 deletions

View file

@ -9595,6 +9595,18 @@ void GameScreen::renderPartyFrames(game::GameHandler& gameHandler) {
if (member.roles & 0x08) { ImGui::SameLine(); ImGui::TextColored(ImVec4(0.9f, 0.3f, 0.3f, 1.0f), "[D]"); }
}
// Tactical role badge (MT/MA/Asst) from group flags
if (member.flags & 0x02) {
ImGui::SameLine();
ImGui::TextColored(ImVec4(1.0f, 0.55f, 0.0f, 0.9f), "[MT]");
} else if (member.flags & 0x04) {
ImGui::SameLine();
ImGui::TextColored(ImVec4(0.4f, 0.7f, 1.0f, 0.9f), "[MA]");
} else if (member.flags & 0x01) {
ImGui::SameLine();
ImGui::TextColored(ImVec4(0.7f, 0.85f, 1.0f, 0.7f), "[A]");
}
// Raid mark symbol — shown on same line as name when this party member has a mark
{
static const struct { const char* sym; ImU32 col; } kPartyMarks[] = {