Download
(1 Kb)
Download
Updated: 12-30-09 02:50 PM
Updated:12-30-09 02:50 PM
Created:12-26-09 04:41 AM
Downloads:4,546
Favorites:29
MD5:
ncCooldown
Version: 1.4
by: nobgul, Nobgul
ncCooldown is a little addon that modifies the way cooldowns are shown in WoW. Instead of a cooldown spiral(yes, INSTEAD) it shows the cooldown as text. This addon works on everything that has a cooldown spiral, for example actionbuttons and buffs. If the cooldown spiral is owned by an actionbutton it fades the actionbutton out. Inspired by OmniCC.

Upcoming features:
- None
Suggest features!

Usage:
There is no in-game config, all config can be found in the .Lua file. The config looks like this:
lua Code:
  1. -- if set to true buttons will fade when they are on cooldown
  2. local fade = true
  3.  
  4. -- if the cooldown remainder is less than this in seconds the tresholdcolor will be applied and the cooldown will be shown in decimals
  5. local treshold = 6.5
  6.  
  7. -- the color of the cooldowntext in red, green, blue values
  8. local color = {255/255, 255/255, 255/255}
  9.  
  10. -- the color of the cooldowntext when below the treshold in red, green, blue values
  11. local tresholdcolor = {255/255, 0/255, 0/255}
1.4
--
Fixed the issue of cooldowns not clearing.

1.3
--
Added decimal support under the treshold

1.2
--
Fixed a fading issue

1.1 & 1.1a
--
Fixed major bug with the number rendering black and minor variable issue

1.0
--
Initial release
Optional Files (0)


Archived Files (5)
File Name
Version
Size
Author
Date
1.3
1kB
nightcracker
12-27-09 03:33 PM
1.2
1kB
nightcracker
12-26-09 09:56 AM
1.1a
1kB
nightcracker
12-26-09 09:17 AM
1.1
1kB
nightcracker
12-26-09 08:30 AM
1.0
1kB
nightcracker
12-26-09 04:41 AM


Post A Reply Comment Options
Old 12-26-09, 08:21 AM  
Garagar
A Kobold Labourer

Forum posts: 0
File comments: 22
Uploads: 0
text color bug

Hi,

there is a "small" bug that makes the text to be rendered in black in my case. replacing:
Code:
                if remaining > treshold then
                        self.text:SetTextColor(color)
                else
                        self.text:SetTextColor(tresholdcolor)
                end
with
Code:
                if remaining > treshold then
                        self.text:SetTextColor(unpack(color))
                else
                        self.text:SetTextColor(unpack(tresholdcolor))
                end
fixed it for me.
Garagar is offline Report comment to moderator  
Reply With Quote
Old 12-26-09, 05:36 AM  
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 714
File comments: 429
Uploads: 31
Originally posted by Skylinee
Can you add a picture so i can see how it looks like?
I'm sorry, this is impossible for now, since I'm on a computer without WoW installed. Tomorrow I will post a picture.
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
nightcracker is offline Report comment to moderator  
Reply With Quote
Old 12-26-09, 05:14 AM  
Skylinee
A Murloc Raider

Forum posts: 5
File comments: 390
Uploads: 0
Can you add a picture so i can see how it looks like?
Skylinee is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: