![]() ![]() Whether it is necessary to do so, it is desirable to check whether the GCD duration is less than 1.0 second (but more than zero) and, if so, set it to 1.0 second, which is the minimum nonzero GCD. ![]() Note: in my experience GetSpellCooldown() has always returned the duration as zero or a number greater than zero. have already been applied, just as they have been applied before GetSpellCooldown() obtains the duration of the cooldown for any other spell or ability. In other words, any effects of Haste, buffs, debuffs, procs, etc. Only works for one spell/ability however, but it's still helpful. When the GCD has not been triggered by that spell or ability (or it is otherwise not in progress), the current value of its duration is returned as zero.įor all practical intents and purposes, the current value of the GCD duration implicitly includes any and all reductions and increases in the value that it would have without any Haste effects, buffs, debuffs, procs, etc., in the context of the ability, spell, or other event that has triggered it. Spell Queue Window The game automatically queues up the next Spell you try to use within the last x milliseconds of another cast or of your global cooldown, where x is your Spell Queue Window (400 by default). The best you can get to spell queueing in WoW without macros is the 'it's not a bug it's a feature' automatic queueing if you click a spell or ability about half a second before the current one finishes then it'll queue your spell and cast it as soon as it finishes the current one. So the function must be called for the Global Cooldown "spell" immediately after an ability or spell has been used, and before the GCD itself expires. Recognize that the function returns the current value of the duration of the Global Cooldown. ![]() Comment by 701981Presumably, the GetSpellCooldown() function in the WoW API returns the duration of "Global Cooldown" (although, in my experience, one should use the spell ID instead of that name). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |