is there a way to have oUF_WeaponEnchant show the entchants allways as the last buff?
and how would I skin the enchant buffs?
Code:
---------------------------------------------------- Aura icon skinning
local function noHide(self)
self:SetVertexColor(.25,.25, .25)
end
local function PostCreateAuraIcon(self, button, icons, index, debuff)
icons.showDebuffType = true
button.cd:SetReverse()
button.icon:SetTexCoord(0, 1, 0, 1)
button.overlay:SetTexture(bordertexture)
button.overlay:SetTexCoord(0,1,0,1)
button.overlay.Hide = noHide
button.count:SetPoint('BOTTOMRIGHT', button, 1, 0)
button.count:SetFont(font, fSize, 'OUTLINE')
button.count:SetTextColor(1,1,1)
button:SetScript('OnMouseUp', function(self, mouseButton)
if mouseButton == 'RightButton' then
CancelUnitBuff('player', index)
end
end)
end
this is what i have for the normal buffs