I am trying to make a one button macro that can set focus on mouseover or target, setup a raid marker on that target, then will cast my kick spell on the focus (if set) or the target if no focus is set.
Here is what I have so far:
#showtooltip
/focus [mod:alt,@mouseover,nodead, exists][target]
/tm [mod:alt,@mouseover,exists][@target,exists] 5
/cast [@focus,nodead][target] kick spell
The first two lines will let me set and clear focus and mark fine. However, when I cast my kick spell, it kicks my target, not the focus and sets my current target to focus.
Thanks.
Curious as to why you want to set a raid marker with this macro? I would recommend having an automarker weakaura!
Here is my kick macro, in order of priority this macro does the following:
if I have a mouseover target, it will kick that target, if I have a focus target, it will kick that target, and finally if neither of those conditions are true, it will kick my current target.
#showtooltip Counterspell
/cast [@mouseover,harm][@Focus,harm][harm] Counterspell
We use them so each person in our key group can set their own marker, if they are set on a specific add. So we know who is watching what and when.
For example, our DH marker is purple diamond. With auto marker, the addon, it might mark an add with purple that does not cast anything, but the red cross is a high kick target. No one in our group is red cross marker.
Also if the DH is (purple diamond) is set for a high kick target and he dies, we know someone else will need to kick it. With the set focus and mark macro, we know who will kick it, if DH dies. This way we don’t have 3 other player panic and kick the same target.
Hold on, I have a much cleaner macro that does the same thing. Ill log on to WoW then edit this post presently.
Edit:
#showtooltip
/cast [@focus,harm,exists,nodead][] “INSERT INTERUPT OR CC SPELL HERE”
Thanks, but that macro won’t set the focus on target or mouseover, then cycle to a new one without having to clearfocus and place a set marker on the target. Then cast the kick spell on the focus or current target.
Yeah, na, you right. Totally didn’t even read that you wanted the macro to set the focus as well, my bad! Just woke up
Mine is purely for Arena which, you just have to right click enemy player frame to set focus in arena. I cannot help you, apparently. Sorry!
Got it.
#showtooltip
/focus [mod:alt,@mouseover,nodead, exists][mod:alt,target]
/tm [mod:alt,@mouseover,exists][mod:alt@target,exists] 5
/cast [nomod,@focus,nodead,][nomod,target] mind freeze
1 Like