From 9b4bac8f576e96409acf25fde62cb0a9f42d9135 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Tue, 19 Aug 2014 18:31:47 +0200 Subject: [PATCH] Get rid of the buffing tag --- elements/tags.lua | 7 ------- oUF_P3lim.lua | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/elements/tags.lua b/elements/tags.lua index d9ab5d3..42ea6db 100644 --- a/elements/tags.lua +++ b/elements/tags.lua @@ -114,13 +114,6 @@ tags.Methods['p3lim:leader'] = function(unit) end end -tags.Events['p3lim:unbuffed'] = 'UNIT_AURA' -tags.Methods['p3lim:unbuffed'] = function(unit, real) - if(not UnitAura(real or unit, 'Mark of the Wild') and not UnitAura(real or unit, 'Blessing of Kings') and not UnitAura(real or unit, 'Legacy of the Emperor')) then - return '|cffff00ff!|r' - end -end - tags.Methods['p3lim:spell'] = function(unit) return UnitCastingInfo(unit) or UnitChannelInfo(unit) end diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua index fdf6bf4..e2a610c 100644 --- a/oUF_P3lim.lua +++ b/oUF_P3lim.lua @@ -400,7 +400,7 @@ local UnitSpecific = { Name:SetPoint('RIGHT', self.HealthValue, 'LEFT') Name:SetFont(FONT, 8, 'OUTLINEMONOCHROME') Name:SetJustifyH('LEFT') - self:Tag(Name, '[p3lim:unbuffed< ][p3lim:leader][raidcolor][name]') + self:Tag(Name, '[p3lim:leader][raidcolor][name]') local RoleIcon = self:CreateTexture(nil, 'ARTWORK') RoleIcon:SetPoint('LEFT', self, 'RIGHT', 3, 0) -- 1.7.9.5