View Single Post
08-13-10, 01:53 PM   #96
yj589794
A Rage Talon Dragon Guard
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 314
no, you just need to trim out some stuff

Code:
oUF.Tags['Afterpower'] = function(unit)
	local power = UnitPower(unit)
	if(power > 0 and not UnitIsDeadOrGhost(unit)) then
		return power
	end
end
oUF.TagEvents['Afterpower'] = oUF.TagEvents.missingpp
  Reply With Quote