From 89ca7aea52cd906cc08c14d68a22434492daab8a Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Fri, 14 May 2010 03:52:55 +0200 Subject: [PATCH] Remove pvp tag and some other adjustments --- oUF_P3lim.lua | 5 ++--- oUF_P3limTags.lua | 9 --------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua index e7cefec..2476eac 100644 --- a/oUF_P3lim.lua +++ b/oUF_P3lim.lua @@ -80,8 +80,7 @@ local UnitSpecific = { local info = health:CreateFontString(nil, 'OVERLAY') info:SetPoint('CENTER') info:SetFont(FONT, 8, 'OUTLINE') - info.frequentUpdates = 1/4 - self:Tag(info, '[p3lim:threat][ >p3lim:pvp]') + self:Tag(info, '[p3lim:threat]') self:SetAttribute('initial-width', 230) end, @@ -242,7 +241,7 @@ local function Shared(self, unit) name:SetPoint('RIGHT', healthValue, 'LEFT') name:SetFont(FONT, 8, 'OUTLINE') name:SetJustifyH('LEFT') - self:Tag(name, '[p3lim:name][|cff0090ff >rare<|r]') + self:Tag(name, '[p3lim:name< ][|cff0090ff>rare<|r]') local debuffs = CreateFrame('Frame', nil, self) debuffs.spacing = 4 diff --git a/oUF_P3limTags.lua b/oUF_P3limTags.lua index b332c7d..c9ad1b6 100644 --- a/oUF_P3limTags.lua +++ b/oUF_P3limTags.lua @@ -12,15 +12,6 @@ local function ShortenValue(value) end for name, func in pairs({ - ['pvp'] = function(unit) - local running = IsPVPTimerRunning() - if(UnitIsPVP(unit) and not running) then - return '|cffff0000+|r' - elseif(running) then - local timer = GetPVPTimer() / 1e3 - return ('|cffff0000%d:%02d|r'):format(timer / 60, timer % 60) - end - end, ['threat'] = function(unit) local tanking, status, percent = UnitDetailedThreatSituation('player', 'target') if(percent and percent > 0) then -- 1.7.9.5