From 1a83838a0ded1cbc0f4e658ad58a126cd4fb6d10 Mon Sep 17 00:00:00 2001 From: shagu Date: Tue, 17 Jun 2025 08:59:18 +0200 Subject: [PATCH] nameplates: read off-tanks from raid frame list --- modules/nameplates.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/nameplates.lua b/modules/nameplates.lua index 97f601fe..d751ec9d 100644 --- a/modules/nameplates.lua +++ b/modules/nameplates.lua @@ -51,6 +51,8 @@ pfUI:RegisterModule("nameplates", "vanilla:tbc", function () color = combatstate.THREAT elseif C.nameplates.ccombatofftank == "1" and UnitName(target) and offtanks[strlower(UnitName(target))] then color = combatstate.OFFTANK + elseif C.nameplates.ccombatofftank == "1" and pfUI.uf and pfUI.uf.raid and pfUI.uf.raid.tankrole[UnitName(target)] then + color = combatstate.OFFTANK elseif C.nameplates.ccombatnothreat == "1" and UnitExists(target) then color = combatstate.NOTHREAT elseif C.nameplates.ccombatstun == "1" and not UnitExists(target) and not UnitIsPlayer(guid) then