Macro Help

Hi,

I’d really appreciate any help to see if I can get this macro working. It’s a mouseover dispel magic macro for WOTLK that lets me cast dispel enemy on an enemy mouseover or dispel friendly on a friendly mouseover or dispel myself on no mousover.

I am wondering if I can add a cast on modifier CTRL to it to cast on my focus?
Would really appreciate if anyone can tell if it is possible and how to.

#showtooltip
/cast [@mouseover,exists] Dispel Magic(Rank 2); [@mouseover,harm,nodead] [harm] Dispel Magic(Rank 2);[@player][help] Dispel Magic(Rank 2)

#showtooltip
/cast [mod:ctrl, @focus,exists][@mouseover,exists,nodead][@player]Dispel Magic(Rank 2)

The above will never cast on your target, but the macro you posted will. If you want a macro that uses the logic of your current macro but adds the focus part, use this:

#showtooptip
/cast [mod:ctrl,@focus,exists][@mouseover,exists,nodead][nodead][@player] Dispel Magic(Rank 2)

If you have self cast turned on and aren’t too bad with keeping dead things targeted, it can be simplified to:

#showtooptip
/cast [mod:ctrl,@focus,exists][@mouseover,exists,nodead][] Dispel Magic(Rank 2)
3 Likes

Thank you so much !