Thread: oUF_Phanx edit
View Single Post
05-03-13, 03:04 AM   #11
lynce
A Cyclonian
 
lynce's Avatar
Join Date: Jul 2008
Posts: 48
I would very much appreciate that. I can't figure out how OnUpdate and the fading code works. Which means i won't be able to see if my "cast complete" and "interrupt" color-change code works.

I added this to Frames.lua to get a spark effect:
Code:
local Spark = Castbar:CreateTexture(nil, "OVERLAY")
Spark:SetTexture(spark)
Spark:SetBlendMode("ADD")
Spark:SetVertexColor(1, 1, 1, 1)
Spark:SetHeight(Castbar:GetHeight()*2.5)
Spark:SetWidth(Castbar:GetWidth()/18)
Castbar.Spark = Spark
However, don't know how the layers work so can't get the spark effect to stay ontop of the border.


Edit: Ok think i fixed the spark problem with SetDrawLayer.

Last edited by lynce : 05-06-13 at 06:44 AM.
  Reply With Quote