One macro for two spec spells?

I want to make macros for Holy and for Disc and I’m rapidly running out of character specific macro slots. I’d like to make macros so that they work in both specs. Example - A mouseover that will cast Flash Heal if I’m in holy and Shadow Mend if I’m in disc. I’m just not great with figuring out code, so thank you in advance!

1 Like

You can do this using the macro conditional “spec”. Gamepedia’s got a full list of conditionals that’s up to date.

/cast [spec:1]Spell A;[spec:2]Spell B


This is what I ended up having to do to make it work:

/cast [spec:1,@mouseover,help,nodead] [] Power Word: Shield
/cast [spec:2,@mouseover,help,nodead] [] Renew

The downside is that it only shows the tooltip for Shield, when I’m in spec 1. Is there a way to show the tooltip for Renew, in spec 2 as well?

1 Like
/cast [spec:2,@mouseover,help,nodead] [spec:2] Renew; [@mouseover,help,nodead] [] Power Word: Shield

Thank you! :heart:

does anyone know if we can add mods to this? I want:
#showtooltip Poisoned Knife
/cast [nomod] Poisoned Knife
/cast [mod:shift, @focus] Poisoned Knife
to do the exact same thing if I am sub, but with shuriken toss.

and also this:
/use [mod:alt] Fan of Knives; Rupture

to do the same thing with Shuriken storm & Nightblade

/cast [mod:shift,spec:1,@focus,harm,nodead] [spec:1] Poisoned Knife; [mod:shift,spec:3,@focus,harm,nodead] [spec:3] Shuriken Toss
/cast [mod:alt,spec:1] Fan of Knives; [mod:alt,spec:3] Shuriken Storm; [spec:1] Rupture; [spec:3] Nightblade
1 Like

Wow!! So fast 6 months later, thank you so much man!