Hey,
I'm trying to create simple aura bars that show the length of buffs. Currently I have this
I'm using oUF and oUF AuraWatch (
http://www.wowinterface.com/download...AuraWatch.html) for this
I'm unsure how I could create aura bars now instead of these cooldown icons, because AuraWatch seems to be designed for icons.
This is my current setup for AuraWatch, any ideas how to create a statusbar from that?
Lua Code:
local auras = {}
auras.presentAlpha = 1
auras.missingAlpha = 0
auras.PostCreateIcon = AWIcon
-- Set any other AuraWatch settings
auras.icons = {}
if G.aurawatch.spellIDs[class] then
for i, sid in pairs(G.aurawatch.spellIDs[class]) do
local icon = CreateFrame("Frame", nil, self)
icon.spellID = sid
-- set the dimensions and positions
icon:SetWidth(48)
icon:SetHeight(48)
icon:SetPoint("BOTTOMLEFT", self, "TOPLEFT", -52 + (i * 52), 42)
auras.icons[sid] = icon
-- Set any other AuraWatch icon settings
end
end
self.AuraWatch = auras