Help with a resto druid macro for two abilities

I’m trying to condense my keybinds, and I’ve got most of them sorted out, except for one on my resto druid. I use the same keybind for Barkskin when I’m resto as well as balance, but for resto I also have Ironbark, which I use a separate mouse over macro keybind for.

What I’d like is for it to cast Barkskin on me, unless I have someone else targeted or moused over, OR when Barkskin is on CD, in which case it will use Ironbark.

Is this even possible to do?

It’s not possible to cast one spell based off of if another is on cooldown, so no it’s not possilble. The non-cooldown part, however, is. You can use a modifier to manually self cast Ironbark on yourself.

#showtooltip
/cast [@player, mod:shift, spec:4][@mouseover,help,nodead, spec:4][help,nodead, spec:4]Ironbark;Barkskin

Edit: Added spec conditionals so it won’t try to cast Ironbark outside of resto spec.

1 Like

Macro’s are unable to make decisions for you like indicated in the bold section. What you can do is have a macro that will cast Barkskin on you or Ironbark on others with a modifier command.

#showtooltip
/cast [target=mouseover,exists,help,nodead] Ironbark; [mod] Barkskin

Untested and off the top of my head but that should work.
mod can be any modifer or you can specify [mod:shift], [mod:ctrl] or [mod:alt]

1 Like

Thank you both! I’ll give both of these a try next time I’m able to log in. Thanks for the help!

Mine is untested and more of a guide. I feel confident that Udiza’s macro is more accurate.

Either way, I appreciate the help. I can’t seem to wrap my brain around more complex macros, so any suggestions (whether they work or not!) are warmly welcomed. :sunglasses:

1 Like