View Single Post
02-27-09, 12:49 PM   #828
Freebaser
A Molten Kobold Bandit
 
Freebaser's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2008
Posts: 135
Haste answered that question on the same page with

You can do it with self:CustomDelayText() and self:CustomTimeText()
and an example was given a few pages down

Code:
            self.Castbar.CustomTimeText = function(self, duration)
                if self.casting then
                    self.Time:SetFormattedText("%.1f", self.max - duration)
                elseif self.channeling then
                    self.Time:SetFormattedText("%.1f", duration)
                end
            end