Kinda new to macros but too long have I been playing without modifiers on my keybinds, and I’m trying to make things simpler instead of having a different keystroke for every ability. What I have been doing mostly is a macro that always casts spell A, unless I press it with shift, then it casts spell B. So far, so good. The reason I add all modifiers is because otherwise I don’t see the tooltip, not sure if that’s normal?
Some of the characters I play use different specs and hero talents depending on content (PvE/PvP) and some of the spell I’ve bound this way dissapear. I can’t be bothered dragging the correct spell in and out over and over again so I was thinking about adjusting my macro. I want it to do the same, but change spell A (or B in some cases) depending on if I know a certain spell.
This is the best example I could find:
Playing Shaman I often swap between Farseer and Totemic Hero Talents.
While playing Totemic I want nomod, ctrl and alt to cast Surging Totem, and shift to cast Healing Stream Totem. While specced into Farseer I want to swap Surging Totem with Healing Rain.
The only thing I see at this point is the tooltip changing but it doesn’t work 100%. Any suggestions on what I did wrong or how I can improve this macro?
Thanks!
**EDIT: I did some testing, and the macro ‘kinda’ works. I don’t understand how it functions the way it does but it does the following. ** The tooltip is always the tooltip from the nomod, ctrl or alt variant. When I press the shift mod it DOES cast the correct spell (so in this case Healing Stream Totem). However, when Surging Totem is on cooldown, it DOES NOT function anymore. The shift modifier just does nothing. Really strange, anyone has advice please?
Also, be aware that keybinds take priority over macro modifiers. So if you want to use shift 1-6 for macros you’ll need to unbind the default shift 1-6 keybinds (Action Page 1-6).
Thank you for the very helpful reply! In retrospect, perhaps the Healing Rain/Surging Totem wasn’t the best example after all. What you mentioned does indeed work for this case though. However, I do have other characters that completely replace certain spells.
Is it possible to make a macro that does the following:
#showtooltip
/cast [nomod, known: A] A; B
/cast [mod:alt, known: A] A; B
/cast [mod:ctrl, known: A] A; B
/cast [mod:shift] C;
where A, B and C are three completely different spells? Perhaps even from different Hero or spec trees?
I see you use [mod:shiftalt], but that doesn’t seem to work for me unless I put them in seperate lines.
And also, is it possible to add a /ping to the Earthen Wall Totem on the location where I place it? I know how to do it without the modifiers, but not how to with modifiers.
Ideally it would start to look something like this (though it doesn’t work with my syntax)
Oh by the way, the reason I use nomod, ctrl and alt, all for the same spell is I can’t stand the red question mark when I press a modifier that isn’t bound to anything. Is there a fix for that or is it just basically bind it to all mods like I do?
Macros are executed top down, left to right and run the first command condition set that returns true. So in the above if you’re holding shift it casts CL, otherwise it casts EWT; you don’t need to manually specify all the other cases.
shiftalt is when you’re holding down both shift and alt at the same time.