Thread Tools Display Modes
02-16-20, 03:54 AM   #1
doofus
A Chromatic Dragonspawn
Join Date: Feb 2018
Posts: 158
Discover spell cooldown

How can I know a spell's CD without having used it? For example some spells have defined CDs but thse can be modified eg with Vision of Perfection. For example Celestial Alignment on my Druid is 3 mins, but with Vision of Perfection it drops to 2.3 mins. How can I programmatically find out?
  Reply With Quote
02-19-20, 05:05 AM   #2
doofus
A Chromatic Dragonspawn
Join Date: Feb 2018
Posts: 158
bumping this in case someone has an epiphany :-)
  Reply With Quote
02-24-20, 07:32 AM   #3
enterLivi
A Defias Bandit
AddOn Author - Click to view addons
Join Date: Feb 2019
Posts: 3
I don't think it's possible to check a spell's modified cooldown before casting it. Hope I'm wrong, though, for your sake. Depends on what you're trying to do, obviously, but you could store the cooldown values after casting them once?
  Reply With Quote
02-24-20, 01:11 PM   #4
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,313
There isn't a way short of tooltip scanning.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote
03-12-20, 04:47 AM   #5
doofus
A Chromatic Dragonspawn
Join Date: Feb 2018
Posts: 158
OK thanks guys. It is weird that there is no API for such important metrics. I also wanted to have an idea about a spell's damage, but that's also impossible.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Discover spell cooldown

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