Simple macro?

Post by Tholkn

I'm fairly stupid when it comes to macros, but I'm pretty sure this is an easy one. I want to have a macro that casts Ice Barrier but if that's on CD then it casts Incanter's Ward instead. Could someone help me out here? Thanks.

Post by Tholkn

Never mind. I just read that apparently macros cant tell whether a spell is on CD. I'm at work right now so I cant check this but what if the macro went something like this?

/cast Ice Barrier/cast Incanter's Ward

I know it wouldn't cast both because of the GCD, but if it's unable to cast Ice barrier would it cast Incanter's ward instead?

Post by Lancecaster

Hi there, I just had a similar question resolved for me, so I'll pass it along. I found using a cast sequence great, give this a try:

#showtooltip/castsequence reset=25 Ice Barrier, Incanter's Ward

This will cast Ice Barrier, but if Ice Barrier is on CD (because you hit this button <25 seconds ago) it will then cast Incanter's Ward. If after 25 seconds, you have not hit the key a 2nd time, it will reset so that Ice Barrier will be priority.

Post by pelf

That's the most common way to solve this problem. It's very important to mention that it is exactly as you said: the sequence will reset not 25 seconds since the spell was cast but rather 25 seconds since the macro was last pressed. So, even if you hit it and nothing happens, the reset will still reset its countdown.

Post by Scarydreams

I think this will help me with my totems I was looking for a way to have them all under one macro and be able to cast them one after another until all 4 of them are ready.

Post by Neffi

/cast Ice Barrier/cast Incanter's Ward

pelf already covered the behavior of /castsequence, so let me point out that this macro doesn't work. Macros will attempt to cast a single (GCD-invoking) ability per press. If Ice Barrier were on cooldown in the above macro, nothing would happen at all.

They intentionally designed this limitation to prevent you from making cooldown fallthroughs. The only workable implementation (the /castsequence above) isn't exactly ideal.

Bind them independently. The macro approach may work some of the time, but it's those challenging times (like close and difficult arena matches) where you can't afford to have it fail and it may. If it's really that hard of a fit, consider overhauling the layout of your buttons/keybinds, not sacrificing your capability.

Post Reply

You are not logged in. Please log in to post a reply or register if you don't already have an account.