From bdb5d3db937582246b9267d71d9e9d7fdb7d3958 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Tue, 4 Oct 2011 02:05:25 +0200 Subject: [PATCH] Add a threat texture --- oUF_P3lim.lua | 6 ++++++ 1 file changed, 6 insertions(+) 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') -- 1.7.9.5