Here’s a typical macro I use in arena
#showtooltip
/cast [harm][@mouseover,harm,nodead][mod:shift,@arena2,harm] [mod:ctrl,@arena3,harm] [@arena1,harm] [] Imprison
For some odd reason, using my modifiers it just works on what I’m actually targeting, this is a new toon and I don’t know if that’s part of the problem, but I use this exact same macro on every character and it hasn’t had any issues before, don’t know if anybody is experiencing this issue or if it’s something that started today.
/cast [harm][@mouseover,harm,nodead][mod:shift,@arena2,harm] [mod:ctrl,@arena3,harm] [@arena1,harm] [] Imprison
The evaluation is from left to right and WoW will stop on the first set of [ ] that are “true” and use those and since [harm] is left-most and it will always be evaluated first and that means if you have a enemy targeted, your spell will attack it. Your modifiers won’t matter.
It sounds like you want the modifier options to be considered first, then the mouseover and then target whatever you have normally.
#showtooltip
/cast [mod:shift,@arena2,harm] [mod:ctrl,@arena3,harm] [mod:alt,@arena1,harm] [@mouseover,harm,nodead][] Imprison
Hold down a shift, ctrl, or alt and you will attack 2, 3, or 1. otherwise you will attack the mouseover (if any) or just attack whoever you have targetted.
2 Likes
Thank you, that fixed it!