Download
(7Kb)
Download
Updated: 05-22-16 06:07 PM
Pictures
File Info
Compatibility:
Minor patch (6.2.4)
Minor patch (6.2.3)
Fury of Hellfire (6.2)
The Adventure Continues (6.1)
Warlords of Draenor (6.0.3)
Warlords of Draenor Pre-Patch (6.0.2)
Updated:05-22-16 06:07 PM
Created:05-17-10 06:18 AM
Downloads:17,824
Favorites:38
MD5:

ICDBars - a simple Internal Cooldown monitor  Popular! (More than 5000 hits)

Version: 1.0.4
by: boomboo [More]

ICDBars is a simple Internal Cooldown monitor. ICDs are shown as bars or icons (new), there is no in-game configuration available nor are there any plans to include one.

I wrote this since there were no addons that did exactly what I wanted and some that did also included a slew of other stuff.

In the end it's an extremely lightweight ICD monitor.

What do you need to know:
1. It will track any ICD as long as it's listed in the spells.lua file (more on this below) and the buff that triggers the ICD is actually a buff or debuff (ie. is tracked by UnitAura).
2. It works under the premise that once you gain the buff the cooldowns are triggered and remain even if the buff/debuff was cancelled.
3. There is an option to track ICDs triggered by equipping the item.
4. Configurations are saved by class (not character name).

Configuring:
The addon doesn't save any configuration, it only uses one file which is in the addon directory: spells.lua. Should be extremely easy to figure how to add / remove ICDs.

For example:

Code:
{ spellName = "Surge of Power", item = 50353, icd = 45},
Means that a buff that triggers the ICD is called "Surge of Power" (the DFO trinket), the ICD lasts for 45 seconds and the item id is 50353 (look it up on wowhead). Item id isn't needed generally unless you want the ICD icon to be the item icon and/or want to track ICDs for equipment changes.

Recent Changes 2010.11.28:
Added an option to track ICDs triggered by debuffs eg. Cauterize, spells.lua format didn't change so you're safe not overwriting yours.

Note: some basic structures and the generalized idea came from Filger, which is a great addon and highly recommended.

1.0.4
- TOC bump for 6.2
1.0.3
- TOC bump for 4.3
1.0.2
- TOC bump for 4.2
- Minor optimizations (locals)
1.0.1
- TOC bump for 4.1
1.0.0
- Added an option to specify debuffs as triggers for ICDs
- Minor code reshuffling
0.9.8
- Minor code changes and optimisations
0.9.7
- Refactored a bunch of code
- Added an option to trigger the ICD if the item has been equipped (icd_track_equip_changes = true)
- Moved the barWidth setting from per spell configuration to a global location (same as size, scale and Mode)
- Changed the icd argument to only contain the ICD of the spell, no need to place a duration
0.9.5
- Added new options in the configuration:
- Mode: BAR or ICON; BAR: shows the ICD as a bar (like 0.9.1) and ICON: shows the ICD as a button with a swirly (duration will be shown if OmniCC or a similar addon is used)
- Margin: the margin between the bars/buttons
- Direction: the direction in which bars/buttons are built, can be DOWN (default in 0.9.1), UP, LEFT and RIGHT
- BAR only supports DOWN and UP
- size and scale (changes the size of the element, hight for BAR and hight/width for ICON)
- item is the item ID (can be found in wowhead), if item is specified it's icon will be used instead of the buff icon
0.9.1
- Changed the ICD duration to seconds (no reason for ms.)
- Fixed the texture path, dry coding ftw
- Minor fixes to .toc and the package
0.9.0
- First release
Optional Files (0)


Post A Reply Comment Options
Unread 05-19-10, 06:48 PM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 787
Uploads: 5
Sorry for blasting the addon, but the code and the design looks exactly like a customized version Filger with Tukui skin (the icons).
At least the basic code is from Filger, so why dont i see anything that implies that your idea/code is from it?
__________________
Livestream | Twitter | YouTube
Last edited by Dajova : 05-19-10 at 06:49 PM.
Report comment to moderator  
Reply With Quote
Unread 05-18-10, 01:25 PM  
Halstrom
A Deviate Faerie Dragon
 
Halstrom's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 19
File comments: 14
Uploads: 4
Originally posted by boomboo
The position can be changed by twicking the posx and posy values in spells.lua, basically the middle of your screen is (posx = 0, posy = 0) with negative values moving the anchor down and left. (basically like a normal x/y graph)

I'll look into adding an option to set the font but it's not a priority at the moment.
Awesome thanks re position, and no worries on the font
__________________
Report comment to moderator  
Reply With Quote
Unread 05-18-10, 12:29 PM  
boomboo
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 40
Uploads: 7
The position can be changed by twicking the posx and posy values in spells.lua, basically the middle of your screen is (posx = 0, posy = 0) with negative values moving the anchor down and left. (basically like a normal x/y graph)

I'll look into adding an option to set the font but it's not a priority at the moment.
Report comment to moderator  
Reply With Quote
Unread 05-18-10, 11:38 AM  
Halstrom
A Deviate Faerie Dragon
 
Halstrom's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 19
File comments: 14
Uploads: 4
Awesome work...

I have two problems which probably have simple solutions:
I can't seem to move the bar anchors/position in the .lua? They're current spawning in the middle of, and behind my (tukui) unitframes. obv i could reconfigure my ui to work from icd's anchor but figured there's an easy way to change their position/anchor?
And a line to change the font from a folder somewhere would be amazing
__________________
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: