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.