I am using Weak auras, to keep track of my Mind blast CD aswell as how many shadow orbs I have up.
As of now, the Mind blast icon is only shown if it's off CD, with +1 orb.
This is the code:
function ()
local orbCount = select(4, UnitAura("player", "Shadow Orb"));
if orbCount == nil then orbCount = 0 end
local returnString = string.format("%i", orbCount);
return returnString
end
Touchymcfeel helped me set this up.
But with my upcomming 4set, I want the MB to show even when I don't have any orbs. But I would like to keep the orb count numbers inside the Icon.
Thanks.