View Single Post
02-21-10, 12:15 PM   #8
wurmfood
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 122
Try this:
Code:
local function UpdateComboPointsFormat(self, event, unit)
	if( self.CPoints ) then
		local ccp = GetComboPoints(unit)		
		if ccp == 5 then
			self.CPoints:SetTextColor(1, 0, 0)
		else
			self.CPoints:SetTextColor(0.90, 1, 1)
		end
	end
end
  Reply With Quote