Tried taking the oUF_aurawatch.lua and linked it from your oUF_Diablo.toc, then added the code in the middle of the oUF_Diablo/units/raid.lua, but not seeing any change in the raid frames whatsoever. Went ahead and tried with just the oUF_aurawatch addon installed as normal also to no effect.
Perhaps something small i'm forgetting to do, or does the code perhaps need to be in a specific place within the raid.lua (aside from just not inside another function)?
If not, I guess I can hold out till 4.007, I'd hate to lose the overall look of the frames currently.
Thank you again for the help. :^)
Code I'm using for the raid.lua (currently just before: local updateHealth) :
Code:
local function createAuraWatch(self,unit)
--if unit ~= "target" then return end
-- We only want to create this for the target
local auras = CreateFrame("Frame", nil, self)
auras:SetWidth(34)
auras:SetHeight(34)
auras:SetPoint("BOTTOMLEFT", self.Health, "TOPRIGHT", 58, -25)
local spellIDs = {
48440, --reju
48443, --regrowth
48450, --lifebloom
53249, --wildgrowth
61295, --riptide
}
auras.presentAlpha = 1
auras.missingAlpha = 0
auras.PostCreateIcon = createAuraIcon
auras.icons = {}
for i, sid in pairs(spellIDs) do
local icon = CreateFrame("Frame", nil, auras)
icon.spellID = sid
icon:SetWidth(34)
icon:SetHeight(34)
icon:SetPoint("RIGHT", auras, "LEFT", 0, 38*i)
auras.icons[sid] = icon
end
self.AuraWatch = auras
end