Add a threat texture
Adrian L Lange [10-04-11 - 00:05]
diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua
index dbe2c4e..a1e6206 100644
--- a/oUF_P3lim.lua
+++ b/oUF_P3lim.lua
@@ -232,6 +232,12 @@ local function Shared(self, unit)
healthValue.frequentUpdates = 1/4
self.HealthValue = healthValue
+ local threat = self.Health:CreateTexture(nil, 'OVERLAY')
+ threat:SetAllPoints(self)
+ threat:SetTexture([=[Interface\RaidFrame\Raid-FrameHighlights]=])
+ threat:SetTexCoord(0.02, 0.543, 0.29, 0.552)
+ self.Threat = threat
+
if(unit == 'player' or unit == 'target') then
local power = CreateFrame('StatusBar', nil, self)
power:SetPoint('BOTTOMRIGHT')