How do I create two different setpoints, one for buffs and one for debuffs?
Code:
local auraIcon = function(auras, button)
button.count:ClearAllPoints()
button.count:SetPoint("TOPRIGHT", 1, 0)
button.count:SetJustifyH("RIGHT")
button.count:SetFontObject(GameFontNormalSmall)
button.count:SetTextColor(.8, .8, .8)
auras.disableCooldown = true
button.icon:SetTexCoord(.1, .9, .1, .9)
button.bd = SetBD(button, backdrop, sett1ngs.bcolor);
button.overlay:Hide()
local remaining = button:CreateFontString(nil, "OVERLAY")
remaining:SetPoint("BOTTOM", 1, -8.5)
remaining:SetFontObject(GameFontNormalSmall)
remaining:SetTextColor(.8, .8, .8)
remaining:SetJustifyH('LEFT')
button.remaining = remaining
end