128 - Display cooldown bar when targeting

-- What does the provided patch do?
This is similar to the patch I provided for ticket #121, but for cooldown bars instead of (de)buff bars. It adds a "When targeting" display mode which always shows the cooldown bar when you target something, no matter whether the bar is cooling down or ready.

The reasoning is the same: I want to have a bar on screen in a fixed place for my most important cooldowns (such as hand of gul'dan and metamorphosis), whether or not the cooldown is currently active. This makes it easy to see when i can use them. I want the bars to be invisible when I don't target anything though, like the rest of my combat interface, to de-clutter my screen. This patch makes that possible, and basically allows cooldown bars to work the same as (de)buff bars that use patch #121's setting, making them all fit together nicely.

-- Please provide any additional information below.
Changes I made:
    * A new display mode at line 6
    * Some logic to use this display mode around line 695

Name Size MD5
CustomCDBar.lua 21.8 KiB 47a1183c31ed...
User When Change
Parnic Oct 12, 2014 at 20:48 UTC Changed status from New to Fixed
lisimba Apr 28, 2011 at 06:08 UTC

Added attachment CustomCDBar.lua

lisimba Apr 28, 2011 at 06:07 UTC Create

You must login to post a comment. Don't have an account? Register to get one!


Last updated
Oct 12, 2014
Apr 28, 2011
Fixed - Developer made requested changes. QA should verify.
Patch - Source code patch for review
Medium - Normal priority.

Reported by

Possible assignees