[codebox]#showtooltip Cobra Shot
/cast [exists,harm,nodead] Cobra Shot
/cast [@pettarget,exists,harm] Cobra Shot[/codebox]
This Macro is more of a macro philosophy when playing my hunter than a specific macro. It uses conditionals to redirect my shot (in this case Cobra Shot) onto my pets target in the event my target goes away. This is most useful when soloing and fighting multiple monsters at once. When your pet is on Defensive, it will continue to attack mobs that attacking you so when your primary target dies or vanishes your button press is immediately applied to whatever your pet is attacking instead of being wasted. Simply replace Cobra Shot with whatever other shots you wanna apply this logic to.