Thread: oUF_Phanx edit
View Single Post
04-28-13, 03:39 PM   #3
lynce
A Cyclonian
 
lynce's Avatar
Join Date: Jul 2008
Posts: 48
Thanks it worked I was messing around in auras.lua and could not get it to work.

I have another question tho. I'm trying to make the castbar to turn red, and fade out(almost like the default castbar)

I tried to add something like this in function.lua line 425
Code:
function ns.PostCastStop(self, unit, name, rank, castid)
	if not self.fadeOut then 
		self:SetStatusBarColor(unpack(self.CompleteColor))
		self.fadeOut = true
	end
	self:SetValue(self.max)
	self:Show()
end
But of course it does not work(no errors tho^^) I't pretty much a copy/paste from another layout.
  Reply With Quote