Trying to write a more complex macro

Hello!
I have been trying out DH as a tank and wanted to make 1 button for my threat skills. The macro should use Torment if shift is held down and Glaive Throw otherwise. In addition, if a target is moused over it would cast on that one and on your main target otherwise. I came up with this:

#showtooltip
/use [@mouseover,mod:shift][@target,mod:shift] Torment; [@mouseover,harm][harm] Throw Glaive

it works for the glaive throw but using torment just keeps returning no target found if i do not mouseover anything…

Any advise?

I’d try swapping this part with [mod:shift, harm]

Can’t remember why, but the @target modifier seems to works a bit weirdly.

Any time you use an @unit test you need to include an existence check (exists, help, or harm) or the game assumes @unit exists.

#showtooltip
/cast [mod:shift,@mouseover,harm,nodead] [mod:shift] Torment; [@mouseover,harm,nodead] [] Throw Glaive
1 Like

Thank you so much!
I couldn’t find any mention of this in the official documentation…

Thanks for helping out, Elvenbane! And that’s a pretty awesome collection of modifier macros!

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.