hey y’all, working on a resto shaman macro to make dual-use keybinds for DPS and healing spells. the following macro will only cast Healing Wave on player, instead of acting in the expected behavior
#showtooltip [mod:shift] Lightning Bolt; Healing Wave
/cast [nomod,@mouseover,help] Healing Wave;
/cast [mod:shift,harm] Lightning Bolt;
I have made two other macros with the same lines that behave as anticipated, one of them is below for comparison
#showtooltip [mod:shift] Lava Burst; Purify Spirit
/cast [nomod,@mouseover,help] Purify Spirit;
/cast [mod:shift,harm] Lava Burst;
It will cast Purify Spirit at my mouseover target when I press the key, and cast lava burst at my current target when holding shift and pressing the key, ignoring mouseover (this is what I want)
can anyone spot an error in my syntax or formatting or something else that’d cause this not to work? Thanks
You don’t need the ;
at the end of the lines, but your problem is more likely a keybinding conflict.
- Make sure you don’t have shift - youkeybind bound to something else. Things like Shift-1 are bound to stuff by default in the UI.
- Sometimes, having a modifier key set as the self cast, mouseover, or focus key can cause interference with macros.
- The numberpad keys don’t always play nicely with modifiers. On Windows, most number keys don’t work with the shift modifier, as the combo gets translated into other keys like “Home.” On a mac, you can run into issues with MMO mice and modifiers that can usually be fixed using the terminal.
- Dragonflight introduced some issues with some bar mods that can create issues. So, if you’re using one of them, mess around with the settings in the mod a bit.
Also, you can do your macro without a shift modifer at all. Here are a couple of options:
#showtooltip [harm]Lightning Bolt; Healing Wave
/cast [@mouseover,help,nodead] Healing Wave; [harm] Lightning Bolt
The above is the most faithful translation of your current macro.
#showtooltip
/cast [@mouseover,help,nodead] Healing Wave; Lightning Bolt
This one will just use default casting for Lightning Bolt if you don’t have a friendly living mouseover.
#showtooltip
/cast [@mouseover,help,nodead] Healing Wave; [harm,nodead] Lightning Bolt; Healing Wave
And finally, this one will cast Healing Wave on your friendly mouseover if you have one, or else it will cast Lightning Bolt on your enemy target if you’ve got one, or else it will cast Healing Wave in the default manner. (Which means it will cast on a friendly target if you’ve got it, or else it will self-cast if you’ve got self cast turned on or bring up a targeting cursor if you don’t.)
1 Like
The Self Cast Key can interfere with mouseover macros these days. If your keybind overlaps it, change the Self Cast Key to None.
I recommend using the 3rd macro Udiza posted, though I might not include the nodead
on the [harm,nodead]
condition set. For me, if I’m intentionally targeting something I want it to cast on that target and not fallback.
That said, if you heart is set only casting the harm spell when shift is held, use the following:
#showtooltip
/cast [mod:shift] Lightning Bolt; [@mouseover,help,nodead] [] Healing Wave
1 Like
Thanks for the advice! I will try these out later when I get a chance and see which works best for what I want