Focus macro modifiers?

anyone know how to make these two play friendly in the same macro?

/cast [nomod,@mouseover,help][nomod]Remove Corruption;
/focus [mod:ctrl,@focus,exists][mod:ctrl,target=mouseover,exists]none;

ctrl works fine when setting/removing focus, it doesn’t cast [remove corruption]. When trying to use it without a modifier and someone is targetted, it sets them as the new focus, or removes the current focus target if decursing as a mouseover and nobody is selected.

First off keybinds take priority over macro modifiers and by default CTRL 1-6 are bound to your pet bar. So you’ll need to unbind those if they’re causing a conflict.

As for the macro itself…

Assuming you want it to cast on your focus if you have one:

#showtooltip
/focus [mod:ctrl,@focus,exists][mod:ctrl,@mouseover,exists]
/cast [@focus,help,nodead] [@mouseover,help,nodead] [] Remove Corruption

If you don’t want it to cast remove corruption while ctrl is pressed and don’t want it to cast @focus ever.

#showtooltip
/focus [mod:ctrl,@focus,exists][mod:ctrl,@mouseover,exists]
/stopmacro [mod:ctrl]
/cast [@mouseover,help,nodead] [] Remove Corruption
1 Like

Works great, I never would’ve guessed to add the /stopmacro. This should make saving players being ganked in warmode a lot easier.

Thanks again!

I think I unbound those back during BC/WotLK, but just now I noticed something. I have one of the side mouse buttons bound to the “6” key, which has a [Regrowth] mouseover macro, and it casts fine when pressing the 6 key but not when pressing the side mouse button… Wonder if that might be the cause?

1 Like

Unit Frames eat mouse clicks so you can’t use Mouse4/5 unless you use an addon like Clique that lets you bind them to a frame interaction.