diff Modules/BuffFrame.lua @ 108:a41f6b74709a

- Handler number and boolean cluster arguments as positioning priority layer and "always top" respectively - Use SetShown and IsShown instead of IsVisible in doing full re-anchor checks
author Nick@Zahhak
date Sat, 25 Feb 2017 11:42:07 -0500
parents 6fa74abd83fd
children 73316951ce73
line wrap: on
line diff
--- a/Modules/BuffFrame.lua	Sun Jan 29 09:57:09 2017 -0500
+++ b/Modules/BuffFrame.lua	Sat Feb 25 11:42:07 2017 -0500
@@ -389,8 +389,10 @@
     frame.count:SetText('test')
     frame.count:Show()
   end
-  --]]
-  local name, rank, icon, count, _, duration, expires = UnitAura(frame.unit, frame:GetID(), frame.filter)
+    --]]
+
+  local name, rank, icon, count, dispelType, duration, expires, caster, isStealable, nameplateShowPersonal, spellID, canApplyAura, isBossDebuff, _, nameplateShowAll, timeMod, value1, value2, value3 = UnitAura(frame.unit, frame:GetID(), frame.filter)
+
 
 
   if expires and duration then
@@ -420,6 +422,29 @@
         else
           self.fg:SetWidth(nw)
         end
+
+
+        if value1 then
+          facade.overlay.Value1:Show()
+          facade.overlay.Value1:SetText(value1)
+        else
+          facade.overlay.Value1:Hide()
+        end
+
+        if value2 then
+          facade.overlay.Value2:Show()
+          facade.overlay.Value2:SetText(value2)
+        else
+          facade.overlay.Value2:Hide()
+        end
+
+        if value3 then
+          facade.overlay.Value3:Show()
+          facade.overlay.Value3:SetText(value3)
+        else
+          facade.overlay.Value3:Hide()
+        end
+
       end)
 
       facade.cooldown:Show()