WoW:API GetSpellCooldown: Difference between revisions

{{wowapi}}
No edit summary
({{wowapi}})
Line 1: Line 1:
{{wowapi}}
Retrieves the cooldown data of the spell specified.
Retrieves the cooldown data of the spell specified.


  local start, duration = GetSpellCooldown(spellID, "bookType");
  local start, duration = GetSpellCooldown(spellID, "bookType");
;


----
----
Line 42: Line 41:


: In this way we can use GetSpellCooldown to see if this type of spell is active on the player without having to look at buffs and debuffs." --[[User:Brahgulshin|Brahgulshin]] 19:39, 13 March 2006 (EST)
: In this way we can use GetSpellCooldown to see if this type of spell is active on the player without having to look at buffs and debuffs." --[[User:Brahgulshin|Brahgulshin]] 19:39, 13 March 2006 (EST)
----
;''Description''
: Retrieves data on the cooldown of a specific spell within your spellbook.
----
{{Template:WoW API}}