WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Help/Support (https://www.wowinterface.com/forums/forumdisplay.php?f=3)
-   -   Spell ID for action cooldown (https://www.wowinterface.com/forums/showthread.php?t=58445)

thenightfather 12-09-20 04:45 AM

Spell ID for action cooldown
 
After using an ability the entire action bar "clocks" for close to one second. I was wanting to know if anyone knows the spell ID (if that's correct) for this waiting period.

Xrystal 12-09-20 06:37 AM

That sounds like the global cooldown. I don't know if there is a specific spell ID for that.

If I recall the code correctly, nUI simply checks the standard cooldown for the spell and deducts 2 seconds for the GCD. Whatever is left becomes the cooldown value.

Hopefully someone can confirm one way or another.

thenightfather 12-09-20 09:20 AM

Quote:

Originally Posted by Xrystal (Post 337842)
That sounds like the global cooldown. I don't know if there is a specific spell ID for that.

If I recall the code correctly, nUI simply checks the standard cooldown for the spell and deducts 2 seconds for the GCD. Whatever is left becomes the cooldown value.

Hopefully someone can confirm one way or another.

Found something: https://www.wowhead.com/spell=61304/global-cooldown

ID would be 61304 (you can probably tell anyhow). WoW servers are being restarted at the moment, just excited to share a possible answer. Will update in a hour (9:19 am central right now).

thenightfather 12-09-20 09:37 AM

The Whole Point
 
I got the GCD event to activate Bartender 4 as STATUS trigger type using the Global Cooldown status variable. I wanted a bar to show GCD as I'm activating abilities between castings. It works. It's the green left to right ticker bar:

https://imgur.com/0fPEeUi

Seerah 12-09-20 01:03 PM

The GCD has a base time of 1.5 seconds (not 2), which can be lessened by talents/abilities or haste. Not all spells/abilities trigger the GCD.

Xrystal 12-09-20 01:52 PM

Quote:

Originally Posted by Seerah (Post 337848)
The GCD has a base time of 1.5 seconds (not 2), which can be lessened by talents/abilities or haste. Not all spells/abilities trigger the GCD.

Thanks for refining this. I knew it was short and not on all spells but not having written nUI myself I don't know precisely what it does but a deduction of 2 rings a bell so Scott may have round it up. And used the cooldown functionality to do the rest including not show a cooldown if one isn't needed.


All times are GMT -6. The time now is 01:24 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI