View Single Post
08-22-10, 04:30 PM   #18
sacrife
An Onyxian Warder
 
sacrife's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 384
I tried adding this under within the above posted code.
Got a nil value error for it. What did I do wrong?

Code:
		if self.Castbar:PostCastNotInterruptible(unit) then
			self.Castbar.Text:SetTextColor(1,0,0)
			self.Castbar.Time:SetTextColor(1,0,0)
		else
			self.Castbar.Text:SetTextColor(1,1,1)
			self.Castbar.Time:SetTextColor(1,1,1)
		end
__________________

  Reply With Quote