From 785851ca4d8486abaf842a66ad8dc05713e477c4 Mon Sep 17 00:00:00 2001 From: KameleonUK <42344512+KameleonUK@users.noreply.github.com> Date: Tue, 10 Mar 2026 12:31:22 +0000 Subject: [PATCH] Added text to bars to identify raid marker --- Raids/BWL/Wyrmguards.lua | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/Raids/BWL/Wyrmguards.lua b/Raids/BWL/Wyrmguards.lua index 3ce8e84..560008b 100644 --- a/Raids/BWL/Wyrmguards.lua +++ b/Raids/BWL/Wyrmguards.lua @@ -59,6 +59,17 @@ local syncName = { warstomp = "WyrmguardWarstomp"..module.revision } +local raidMarkNames = { + [1] = "Star", + [2] = "Circle", + [3] = "Diamond", + [4] = "Triangle", + [5] = "Moon", + [6] = "Square", + [7] = "Cross", + [8] = "Skull", +} + local vulnerability = nil local stompNumber = 1 local deathCount = 0 @@ -270,25 +281,28 @@ end function module:IdentifyVulnerability(school) if not self.db.profile.vulnerability or not type(school) == "string" then return end vulnerability = school - + + local markIndex = GetRaidTargetIndex("Target") + local markName = raidMarkNames[markIndex] or "No Icon" + if vulnerability == "Nature" and bwWyrmguardsNatureBar == false then - self:Bar(format(L["vuln_bar"], school), timer.vulnerability, icon.nature, true, "green") + self:Bar(markName .. " " .. format(L["vuln_bar"], school), timer.vulnerability, icon.nature, true, "green") bwWyrmguardsNatureBar = true end if vulnerability == "Frost" and bwWyrmguardsFrostBar == false then - self:Bar(format(L["vuln_bar"], school), timer.vulnerability, icon.frost, true, "blue") + self:Bar(markName .. " " .. format(L["vuln_bar"], school), timer.vulnerability, icon.frost, true, "blue") bwWyrmguardsFrostBar = true end if vulnerability == "Fire" and bwWyrmguardsFireBar == false then - self:Bar(format(L["vuln_bar"], school), timer.vulnerability, icon.fire, true, "red") + self:Bar(markName .. " " .. format(L["vuln_bar"], school), timer.vulnerability, icon.fire, true, "red") bwWyrmguardsFireBar = true end if vulnerability == "Arcane" and bwWyrmguardsArcaneBar == false then - self:Bar(format(L["vuln_bar"], school), timer.vulnerability, icon.arcane, true, "pink") + self:Bar(markName .. " " .. format(L["vuln_bar"], school), timer.vulnerability, icon.arcane, true, "pink") bwWyrmguardsArcaneBar = true end if vulnerability == "Shadow" and bwWyrmguardsShadowBar == false then - self:Bar(format(L["vuln_bar"], school), timer.vulnerability, icon.shadow, true, "black") + self:Bar(markName .. " " .. format(L["vuln_bar"], school), timer.vulnerability, icon.shadow, true, "black") bwWyrmguardsShadowBar = true end end