TankMD

One button to automatically misdirect to the tank

Dragonflight 10.0.2 Notice

Changes between 10.0.0 and 10.0.2 require the macro to be updated to as follows:

#showtooltip Misdirection
/click TankMDButton1 LeftButton 1  
/click TankMDButton1 LeftButton 0  

Explanation: 1 or 0 specifies left button down or up respectively. There's no harm in having both lines since the unnecessary one will be ignored, but if you have spells set to cast on key down, only the line ending in 1 is needed. If spells are set to cast on key up, only the line ending on 0 is needed.

Also works for Tricks of the Trade and Innervate (targets healers)

Normally, a macro can target a specific unit. With this limitation, Misdirection macros usually require the hunter to focus a tank. TankMD adds an invisible button that updates automatically to the tank (or one of the tanks, if there are multiple).

Usage

The addon creates two hidden buttons, TankMDButton1 and TankMDButton2 for the first and second tank sorted alphabetically. They can be accessed through two options.

Option 1

Make a macro to click the invisible button that TankMD creates:

#showtooltip Misdirection
/click TankMDButton1 LeftButton 1  
/click TankMDButton1 LeftButton 0  

This macro can be placed on your bars and will always misdirect to a tank when the addon is enabled.

Option 2

In Game Menu → Key Bindings → AddOns, a key binding can be assigned to "Misdirect to Tank".