Quantcast

Add a resurrect icon

Adrian L Lange [08-19-14 - 17:21]
Add a resurrect icon
Filename
oUF_P3lim.lua
diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua
index be9d51a..228a527 100644
--- a/oUF_P3lim.lua
+++ b/oUF_P3lim.lua
@@ -477,6 +477,13 @@ local function Shared(self, unit)
 		end
 	end

+	if(unit == 'party' or unit == 'raid' or unit == 'arena') then
+		local Resurrect = Health:CreateTexture(nil, 'OVERLAY')
+		Resurrect:SetPoint('CENTER', 0, -1)
+		Resurrect:SetSize(16, 16)
+		self.ResurrectIcon = Resurrect
+	end
+
 	if(UnitSpecific[unit]) then
 		return UnitSpecific[unit](self)
 	end