Macro question

Pretty sure what im asking is impossible but figured id ask anyway to see if anyone knew.

Is it possible to build a macro that will use one ability when its off cooldown but use a different ability if that one is on cooldown?

No, this is not possible.

you can do this
3. Off-GCD + On-GCD Combinations

If you want to use a main ability (on the Global Cooldown) and a utility ability (off the Global Cooldown) together, you can use a simple macro.

  • Example:
#showtooltip AbilityA
/cast AbilityOffGCD
/cast AbilityA

Unless they changed it, if both are on the GCD it’d probably work if you just put both in the macro with the CD one first. Hitting it would try to cast both; if the first is off CD, it’d trigger the GCD and prevent the second from firing. If it is on CD, the second one will fire.

You could also a cast sequence with a reset the same as the first one’s CD.

This is one I’ve had for ages to cast AMS if it was available and AMZ if it wasn’t, resets every 60 seconds.

#showtooltip
/castsequence reset=60 Anti-Magic Shell, Anti-Magic Zone

This may actually work for what im trying to make, want my warrior to use shield charge if its available but regular charge if shield charge is on cd.

No, the macro always attempts to cast the first spell before going on with the rest of it. If it fails, the macro cuts off.

You do you, but I believe hard CC spells are better kept for when you need them.

give me the two abilities. Cast sequence macro’s do work to some extent

so the macro looks like

#showtooltip
/castsequence reset=45 Shield Charge, Charge

assuming you only want to charge once between shield charges, problem is every time you use the other abilities in the sequence the timer resets and there’s no way to check if the ability is actually off cd yet, so I’d advise just giving shield charge its own bind and combining charge with intervene or something instead.

Yeah it’s tough to make something like this.

Trying to reduce buttons on my warrior, the macro I’ve used forever is a combo of Charge and Pummel. It works great because one’s on the GCD and the other is not, which works seamlessly.

Also one works at range and the other doesn’t (and one works in melee and the other doesn’t). It’s super clutch. I’ve had it like this since Charge started being usable in combat.

I know this isn’t what you’re asking, exactly. Buf if you’re trying to conserve buttons, this is a really realiable one.