Quantcast

Get rid of the buffing tag

Adrian L Lange [08-19-14 - 16:31]
Get rid of the buffing tag
Filename
elements/tags.lua
oUF_P3lim.lua
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)