Combining mouseover and focus macro?

Hi all,

I’m completely new to macros and am trying to learn a bit more to help improve gameplay, esp in arenas.

With my mage, I’m currently using the below mouseover macro for Poly:

#showtooltip Polymorph
/cast [target=mouseover,exists] Polymorph; Polymorph

However, I’d also like to add a shift modifier that would cast Poly on a focus target if there is one but am having no luck atm. Could anyone kindly help out here? Thanks in advance.

P.S. if I wanted to do the same for CS, would replacing Polymorph with CS work? I ask as I’m using a mouseover macro for CS too but it looks different from the one above.

#showtooltip
/cast [mod:shift,@focus,harm,nodead] [@mouseover,harm,nodead] [] Polymorph

Yes.

1 Like
#showtooltip
/cast [@mouseover,harm,nodead][]Polymorph

harm/help implies exist, but exists doesn’t imply alive
[] = cast normally at target

Since comet storm is a normal targeting spell, unlike Blizzard which targets a ground location, you could replace Polymorph with Comet Storm in the above macro and it would work the same.

You could also add spec:n or talent:r/c conditionals in case you wanted the macro to do something else if you were in arcane or fire or had a different talent selected.

#showtooltip
/cast [spec:3,talent:6/3,@mouseover,harm,nodead][spec:3,talent:6/3]Comet Storm

Edit: forgot the focus part which EB has

#showtooltip
/cast [mod:shift,@focus,harm,nodead][@mouseover,harm,nodead][]Comet Storm

cough cough Counterspell

2 Likes

Thanks for the suggestion. Unfortunately, I tried that exact macro but the modifier doesn’t seem to be working?

Just to confirm, I don’t have the modifier + (key) bound to anything so not sure why…

What’s the key?

The key = 6.

I have Poly bound to 6. So, I’m trying to be able to cast Poly on my focus target using Shift+6 instead.

Try clicking the button on your bars rather than using the keybind. That’ll rule out it being a keybind conflict. If it works properly when clicking it then you definitely have SHIFT-6 bound to something. If it doesn’t work then triple check you actually have the macro on your bars and not just the base spell.

Got it to work! Thanks. Stupid error on my part - I had shift+6 bound, just not to any spell, so I had wrongly assumed it wasn’t used. Thank you again!

Never knew [ ] existed.
I learned something new. Thanks for that.

I’m trying to incorporate [ ] to my macro but I can’t seem to make it work.
BTW I am planning on using it on Classic

Goal is to have “Kick” on BOTH mod (I prefer it Blank, means any Mod) and mouseover, while having it cast on primary target if mouseover do not exist (or [ ])

This is what I am using right now:
#showtooltip
/cast [nocombat,nostealth]Stealth;[mod,nostealth]Kick;[nostealth]Gouge;[stealth]Sap
/target [@focus]
/cleartarget [dead][help]
/stopattack [stealth][nocombat]

As you noticed, there is no Mouseover or [ ]. How can you add both for “Kick” without using too much space??

If your curious about /target [@focus], it’s to prevent switching target after using gauge. I notice the macro instantly switch target after using gauge. Not sure why it does that, but as a Rogue it resets combo point.

Was going to add /startattack [nostealth,combat] sadly in classic wow, sap agro mobs.

#showtooltip
/cast [nocombat,noform]Stealth;[form]Sap;[mod,@mouseover,harm,nodead][mod]Kick;Gouge
/target [@focus,harm,nodead]
/stopattack [form][nocombat]

Didn’t know “Form” exists. I learned something new again LOL.
Thanks, Going to try it out.