PDA

View Full Version : Introducting Global Cooldown Remover! (No more Flashy Action Bar)


Kaishi
12-04-2008, 03:20 PM
While playing around with my action bars and tweaking NAMBLA, I coded this small addon up.

It very cleanly removes the Global Cooldown timer from your action bars. (works with other action bar mods that modify the "ActionButton.UpdateCooldownAnimation" function). It has been tested with NAMBLA, but it should work with any action bar mod.

This makes it so your whole bar does not flash or enter the cooldown state when the global cooldown tiggers.

http://war.curse.com/downloads/war-addons/details/gcdremove.aspx

With the addon: http://static.curseforge.net/uploads/19/11/645/DefaultAB_SS.jpg
Without the addon: http://static.curseforge.net/uploads/19/11/648/Without_SS.png

Tada.

It works by pre-hooking ActionButton.UpdateCooldownAnimation and detecting cooldowns due to Global Cooldown (self.m_MaxCooldown == 1.5000...). If a GCD cooldown is detect it sets the cooldown time to 0, and tells the subsequent UpdateCooldownAnimation code not to update that ActionButton. This esentially prevents GCD from modifying your actionbuttons at all.

Arfeiniel
12-11-2008, 06:48 PM
bless you
10char

Otagamo
12-11-2008, 07:43 PM
Not sure why but since 1.1a looks like the addon is removing also the cooldown display and any animation on the action bar buttons.
But at least it still get rid of the awful global cooldown flashie animation. :D