Used this one for as long as I can remember. I did clean it up a bit in…Legion I think.
Also added a mouseover-condition.
/showtooltip Misdirection
/cast [target=mouseover,help,exists,nodead][@focus,help][@pet,exists] Misdirection
Priorities:
Prio 1: Cast misdirection on a friendly unit(in-game character or unitframe) that your cursor is placed on top of.
Prio 2: If the above does not apply, you will cast misdirect on a friendly unit set as your Focus-target.
Prio 3: If none of the above applies, then misdirection will be cast on your pet, if alive and within range.
Considering you’re playing Beast Mastery and play with a Spirit Beast pet, I would recommend for you to put together a macro for your Spirit Mend ability as well.
It’s a strong heal on a fairly short CD and you’d do well to use it on CD if either you or anyone else that you play with is missing a lot of health.
I created this one during Legion and it works perfectly for me. Same as with the one above, I added a mouseover-condition to it, to more easily allow me to use it on whoever I want to.
#showtooltip Spirit Mend
/cast [target=mouseover,help,exists,nodead][@player]Spirit Mend
Priorities:
Prio 1: Cast Spirit Mend on any friendly unit your cursor is placed on top of(incl your own pet if needed).
Prio 2: Cast Spirit Mend on yourself.