Thread Tools Display Modes
Prev Previous Post   Next Post Next
06-07-18, 02:57 AM   #1
doofus
A Chromatic Dragonspawn
Join Date: Feb 2018
Posts: 158
Deriving/calculating GCD

Is there a way I can ask the game engine to tell me the current GCD?

I have been using

local startTime, duration, enabled = GetSpellCooldown(61304);

however this will give me the current/recent GCD only if I call it during the GCD! Otherwise I get 0s. Of course.

Any ideas ?
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Deriving/calculating GCD

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off