But that macro makes it go beyond your own personal reaction time
You are now at the mercy of how fast your tank taunts the mob. If hes fast at taunting then you could end up bopping him.
On my pally I just have bop on a reasonable keybind and I use a combination of raid frames / target portrait / threat meter to determine who and when to bop.
Theres also other factors like your tank just putting out more threat or your dps paying better attention to the threat meter that will make this whole conversation pointless.
If it’s a common thing the tanks getting bopped they can make a cancelaura macro or get an addon like BCT .
I use Healbot and have it setup to cast bop on right mouse click when I’m tanking. When I go holy I rebind BoP to shift click and it works pretty good.
Amordrone has the closest you can get with the party/raid check
#showtooltip
/cast [@targettarget,help,nodead,party] Blessing of Protection
which would only work if your target of target was an alive player in your party. It wouldnt work on the other 4 parties. Assuming the tank isnt in your group, you wont BOP the tank, but you might not BOP who you need either.
And its possible that the “party” modifier didnt exist in TBC, so it might not even work then.
There isnt a way to construct a macro to /stopmacro if the target of target is a specific person