Quantcast

Lets reintroduce the portraits I used to have back in TBC

Adrian L Lange [08-19-14 - 17:27]
Lets reintroduce the portraits I used to have back in TBC
Filename
oUF_P3lim.lua
diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua
index bdc4cbb..6393759 100644
--- a/oUF_P3lim.lua
+++ b/oUF_P3lim.lua
@@ -446,6 +446,11 @@ local function Shared(self, unit)
 			Buffs.PostCreateIcon = PostCreateAura
 			self.Buffs = Buffs

+			local Portrait = CreateFrame('PlayerModel', nil, Health)
+			Portrait:SetAllPoints()
+			Portrait:SetAlpha(0.1)
+			self.Portrait = Portrait
+
 			self:SetHeight(22)
 			Health:SetHeight(20)
 		end