WoWInterface - View Single Post - Cast bar in seconds rather than %?
View Single Post
03-19-09, 05:52 PM   #7
nUI's Author
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Okay... I just went back and looked and now realize that casting bars are the exception for my timers... they don't show tenths like the rest of the timers do. I've modified the code in the PTR beta... it will be in the next update.

In the meantime, if you want to twiddle it yourself, edit the file [ Interface > AddOns > nUI > Units > nUI_UnitCasting.lua ] and go to line 1014 to make the change I've highlighted in yellow here...

    if cast_info and cast_info.active then

        local pct = ("%0.0f%%"):format( cast_info.pct_time * 100 );
        local max = ("%0.0f"):format( cast_info.max_time );
        local cur = ("%0.01f"):format( cast_info.cur_time );
        local lbl = cast_info.spell_name;

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.

Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/