Remove pvp tag and some other adjustments
Adrian L Lange [05-14-10 - 01:52]
Remove pvp tag and some other adjustments
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