How to prevent self-targeting

Is there a way to make a macro not target self? I have macros that target party members directly, but if they are out of range it will cast the spell on myself. Is there a way to stop that without having to turn off auto-self cast and have to make a bunch of self-targeting macros for when I am targeting an enemy?

You can try using [@target] rather than [] as the final condition but I believe the phenomenon you’re referring to is a bug.

https://github.com/Stanzilla/WoWUIBugs/issues/382

How finicky are you with using mod keys or mouseover?

I have auto-self cast turned on, but made the macro below for my Boomkin. It will only cast Regrowth on me if I have no target, mouseover myself, or hold the Alt key, whether I have a friend or foe targeted, in range or not.

#showtooltip
/use [mod:shift,@cursor]Force of Nature;[@mouseover,help,nodead][mod:alt,@player][help,nodead]Regrowth;[@mouseover,harm,nodead][harm]Wrath;Regrowth

I didn’t need @party# for spot healing, but that can be worked in.

In general, you’ll wanna re-arrange that slighty so mod:alt has prio over mouseover and so harmful mouseover has prio over helpful target.

#showtooltip
/use [mod:shift,@cursor]Force of Nature;[mod:alt,@player][@mouseover,help,nodeadRegrowth;[@mouseover,harm,nodead][harm]Wrath;Regrowth

That said, this won’t address the issue OP is having at all.

1 Like

Copy, thanks.

I guess I misunderstood (still learning), I thought he/she was trying to prevent helpful spells from landing on themselves when the party member is out of range.

They are, but it’s a case of the spell re-targeting to the player when it shouldn’t, not the macro structure.

Gothca