[codebox]#showtooltip Distracting Shot
/cast [@mouseover,exists,harm,nodead] Distracting Shot
/cast [exists,harm] Distracting Shot
/cast [@pettarget,exists,harm] Distracting Shot[/codebox]
Here is my Distracting Shot macro logic, I also use it with Kill Shot and Scatter Shot. To use this macro properly you must be aware of where your mouse pointer is at all times. The logic works like this:
If your mouse is hovering over a valid enemy, it will be the target of the spell. Otherwise your normal target will be the target. If you have no valid target, then it attempts to use your pet’s target as the target of the spell. Remember, be mindful of where your mouse pointer is at all times when using macro logic like this.