|Go to Page...|
I suggest you use Snago's oUF_PowerSpark. It's better well written and the author actually knows what he's doing =P
Adds a spark to Rogues' and Druids' energy bar on oUF unit frames showing time remaining until next energy tick.
How to use:
Put this anywhere in the main function in your layout.
local spark = pp:CreateTexture(nil, "OVERLAY") spark:SetTexture"Interface\\CastingBar\\UI-CastingBar-Spark" spark:SetBlendMode"ADD" spark:SetVertexColor(1, 1, 0) spark:SetHeight(pp:GetHeight()) spark:SetWidth(pp:GetHeight() * 4) self.Spark = spark