Macro on mouseover and mod at the same time

Hey, guys! I need to put 2 spells in the macro, each has its own mod. At the same time, each spell is cast in mousover or target. With priority in mousover.

Here is my crooked version. It is always cast in target.

/cast [mod:shift, @mouseover, @target, exist] Concussive Shot
/cast [nomod, @mouseover, @target, exist] Arcane Shot

I hope for your help!

/cast [mod:shift, @mouseover, exist] Concussive Shot; [nomod, @mouseover, exist] Arcane Shot; [mod:shift, @target, exist] Concussive Shot; [nomod, @target, exist] Arcane Shot

Concusive @mouseover ==> Arcane Shot @mouseover ==> Concusive @target ==> Arcane Shot @target

There’s probably a better way to write it, but it should work (I’m not currently playing so i can’t test it).
The problem you had is that you gave your macro 2 target in the same condition, so it prioritized the last you gave to it.


If you want:

Concusive @mouseover ==> Concusive @target ==> Arcane Shot @mouseover ==> Arcane Shot @target

you can write it as followed:

/cast [mod:shift, @mouseover, exist][mod:shift, @target, exist] Concussive Shot;[nomod, @mouseover, exist][nomod, @target, exist] Arcane Shot

#showtooltip
/cast [mod:shift,@mouseover,harm][mod:shift] Concussive Shot; [nomod:shift,@mouseover,harm][nomod:shift] Arcane Shot
1 Like

Thank you! It wworks!!!

#showtooltip
/cast [mod:shift,known:5116,@mouseover,harm,nodead] [mod:shift,known:5116] Concussive Shot; [@mouseover,harm,nodead] [] Arcane Shot
2 Likes

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