Starting with latest oUF and oUF_Ammo layout. I'm using OmniCC for cooldown numbers, but I'd prefer not to show the numbers or clock animation.
I found the block of code in aura.lua that shows or hides the cooldown on the icon, but I haven't been able to figure out what code to call in oUF_Ammo to turn it off permanently. I can, of course, comment out the block of code, but then I'd have to do that every time I get a new version.
I also tried creating my own PostUpdateAuraIcon like looked like this:
Code:
-- params omitted for brevity
local function myPostUpdateAuraIcon ( ... )
if icon.cd then
icon.cd:Hide()
end
end
But that code didn't work. Can someone point me in the right direction, please?