This Forum has been archived

Visit the new Forums
Forums: Index World of Warcraft Help with Macro for Spells with Cooldowns


I have a paladin DPS and i have been trying to make a macro for a while. I play french servers so forgive me if i make mistakes in the names of the spells.

My macro consist of pressing one key to cast either Exorcism or Flash of Light when the talent Art of War kicks in.

The problem is, Exorcism has a cooldown period and everytime i press on the macro i would get an error such as "the spell is not ready" so i wanted to find out if there was any way to have a macro that would do go like this:

If Cooldown for Exorcism=0 Then
/cast Exorcism(rank 9)
/cast Flash of Light(rank 9)

I know this has nothing to do with the way it should be done but i want to give a rough idea of what i'm trying to accomplish. i found GetSpellCooldown(spellName | spellID, "bookType") on the website but i have no idea on how to apply it or how to declare it as a variable.

My aim is to take advantage of the talent during PvP as much as possible so that i can always either heal myself or inflict damage (in priority) when the talent "art of war" is active.

I am currently using "/castsequence exorcism, flash of light, flash of light" as my macro as the talent kicks in often and i always have the time to cast flash of light at least twice but this is not truly what i want to do.

I've noticed this same problem, try adding this before your macro:
#showtooltip exorcism
I've only had around a 50% success rate, which isn't too uplifting... but I think I can offer a better solution if you're willing to swap out that macro. The following macro has proved itself countless times in high heat situation or PvP. It's especially usful when every click counts. For simplicity I'll use Exorcism and Flash of Light, although you can bind any object, spell, ability even potions or gear.

#showtooltip exorcism
/cast [btn:1] exorcism
/cast [btn:2] Flash of light

This macro is basically click sensitive. So, the same macro can cast Exorcism or Flash of Light; depending on which mouse button you've used. Left-Click:Exorcism, Right-Click:Flash of Light...
As I've said, it's useful when control counts... buuuuuuut, it does take some getting used to. Modify it a little for those Beast Mastering Hunters, Demonology Warlocks, Frost Mages, Unholy DeathKnights or anyone who wants to stay on top of their pet. The following will bind the Right-Click to make your pet attack your current target.

/cast [btn:1]
/petattack [btn:2]

  • With this Macro, sometimes remembering what you've bound as your Right-Click can be a challenge. If you can't remember, try this (For simplicity, I'll still focus on Exorcism and Flash of Light):
    1. Set the picture as Exorcism, and name it something like Flash..
    2. Group similar effects. ie Flash of Light and Holy Light
    3. Set your tooltip to display the Right-Click spell. ie #showtooltip flash of light *LOL, this only helps if the picture isn't of the same spell....

Thanks for reading Nerf'd mage (talk) 13:07, February 22, 2011 (UTC)

Community content is available under CC-BY-SA unless otherwise noted.