Quantcast

* Added group name, and colored display text to the list frame for buffs

James Whitehead II [01-01-07 - 22:16]
* Added group name, and colored display text to the list frame for buffs
Filename
PerfectRaid_Buffs.lua
diff --git a/PerfectRaid_Buffs.lua b/PerfectRaid_Buffs.lua
index e1fc568..57792e1 100644
--- a/PerfectRaid_Buffs.lua
+++ b/PerfectRaid_Buffs.lua
@@ -228,7 +228,12 @@ function Buffs:CreateListFrame(parent, num)
 			button = entries[i]
 			if idx <= #list then
 				local entry = list[idx]
-				button.line1:SetText(entry.buffname)
+				local display = entry.buffname
+				if entry.groupname then
+					display = display .. "/"..entry.groupname
+				end
+				display = display .. " (|cFF"..entry.color..entry.disptext.."|r)"
+				button.line1:SetText(display)
 				button:Show()
 				if parent.selected == idx then
 					button:SetChecked(true)