API GetSpellBaseCooldown

Gives the (unmodified) cooldown and global cooldown of an ability in milliseconds. cooldownMS, gcdMS = GetSpellBaseCooldown(spellid)

Arguments

 * spellid : Number - The spellid of your ability.

Returns

 * cooldownMS : Number - Millisecond duration of the spell's cooldown (if any other than the global cooldown)
 * gcdMS : Number - Millisecond duration of the spell's global cooldown (if any)

Note
Polling the second return value will discover if a particular spell is subject to GCD.