13 Hunter Macros (and then some – updated for 3.0+)

Edit: 12 May 09 – I will be overhauling this post in the near future to update the macros for 3.1 and beyond.  There were some significant changes to macros in 3.1 and changes to spells such as Kill Shot being placed on the GCD, meaning that some of these macros may no longer work.  Use at your own risk until I test and update them all.  I also have some new ones I shall be adding, so watch this space.

I have now edited these so that they work with 3.0+  Most of the original macros continued to work, but a couple like the pull shot macro needed adjusting.

Edit:  22 Jan – even more hunter macro goodness – I have lost count of how many are here, but a lot more than 13 now!

You can also check out – WOWWiki’s Hunter Macros, which have been updated for 3.1 here.

In between all the WOTLK goodness, I am continuing to update this site with basic content, but don’t worry the Wrath stuff will keep a coming.  This mornings article covers useful hunter macros.  (Oh and there is a participation request at the bottom of the page, it would be nice to get some useful comments on this one.)

A macro is a simple little command that performs and action or multiple actions such as sending your pet to attack and casting Hunter’s Mark both with one touch of a button.  They cut down on the number of buttons you have to press, and the number of spells you need on your tool bars.  They can make you faster and more efficient and can result in higher dps.

Note:  The coding used in macros can alter slightly in updates to the game.  For instance you may see Stopcasting lines in some older macros, this has not been needed since patch 2.3, although does not break macros.  Refer to patch notes and the official Macro Forums to changes in macro code.  Mostly, old macros will continue to work, but occasionally they will need updating with the new code.

To create a new macro type /m and press enter in the chat window.  This will pull up the Macro Window.  (You can also open the Macro Window from your Options Menu – either by click on the icon or by pressing Escape.)

Press the New button

In the new little window that appears, Type in a Title for your new Macro in the Enter Macro Name box

Select an Icon for your Macro

Click OK

In the text box at the bottom of the Macro Window type the text for your Macro

Drag and drop the Macros icon onto your toolbar

Click Exit, and your’re done.

 

Here are some macros I use:

I am a macro thief, most of the macros I use I have found elsewhere and then perhaps edited slightly.  So thank you to all the original writers out there who understand the code better than I do :)

1.  Pet Attack

/petattack

/cast hunter’s mark

Use:  I put this on a tool bar and assign a key binding (a) in my case.  when I select a mob and then press (a) my pet rushes to attack it and I also cast hunter’s mark on the mob with the same key press.

EDIT:  You can also add Kill Command to this Macro – meaning that your pet will start off with some high damage attacks and your Kill Command cooldown will start ticking immediately:

 

/petattack

/cast Kill Command

/cast hunter’s mark

 

 

2. Pet Follow

/petfollow [target=pettarget,exists]

Use:  Will recall your pet to your side even if he is about to attack, or is currently attacking a target.  Good if you accidently sent him to attack something, you can pull him out before he aggros it.  Good to use him to pull a mob from a distance, e.g. an underwater one to the surface because you don’t want to get your mail rusty.  Good too to recall him if he has run off in pursuit of a foe in a BG, but is not far enough out of range to be able to use your whistle.  Also good if you need to pull him back during a boss fight, when the boss hits a damaging aoe type spell.  (Before using this, I would have to toggle between defensive and passive a couple of times to recall him, this is quicker and more reliable).

Edit:  If you are using a shot rotation macro which includes a pet skill such as rake in the macro (to make sure he uses it when its available), this might interrupt your ability to pull your pet back from a situation using the pet follow macro.  You attempt to pull him back, but at the same time you are spamming your macro telling him to attack with his special skills – obviously he gets a bit confused.

 

3. Assist Pet

/Assist pet

/cast Auto Shot

Use:  I put this on a toolbar and assign a key binding (b) in my case.  When my pet is attacking a mob I don’t have to select the mob to start attacking it, I just press (b) and I start shooting at the same mob as my pet.  Excellent time saver when switching between multiple mobs.  Also excellent for ensuring that you are shooting at your pets main target when you pet is being hit by several mobs, so that you don’t accidently pull a mob off the pe

 

4. Assist Tank or party member

the same macro can be used to assist the main tank or a party member.  

/Assist Edaddy       (where Edaddy is the main tank)

/cast Auto Shot

Again, this will make sure you are targeting the same mob as Edaddy and not pulling another mob off him.  Obviously, this is not just of benefit to hunters.

 

5. Assist Focus

An important variation on this macro can be used to assist your focus.  You can set your focus.  This is a bit like a stored target, but is not your currently target.  To set focus, create another macros:

/Focus Target

Select the person or pet you want as a focus, and hit the macro.  This stores this person as your focus target, when they are selected you will notice they have a shiny glow around their character picture, showing they are your focus.  Your focus can also be an enemy mob (many people make their focus the mob they are chain trapping for instance).

 

6. Create an assist focus macro:

/Target Focus

/Assist Target

/Cast Auto Shot

This is a bit more elegant version of those macros above. It can be used on any pet or tank, rather than you having to go in and manually adjust the name.  I usually have this on my tool bar as well as the standard one to assist my pet.

*Removing the auto cast line from these macros, allows you to target the target of the player you want to assist without shooting at it until you are ready.  This is preferable when you are assisting a tank, who needs to build up aggro before you let fly with the arrows.  Experiment and see which works before for you.

 

7. Misdirect

Misdirection is a hugely useful spell that hunters learn at level 70.  It allows you to middirect your next three shots so that the mob thinks the damage (and therefore the threat/aggro) come from another player/pet.  You use it to help a tank establish or re-establish aggro, or to help get aggro off yourself or another player and back onto your pet or tank.

This one uses the focus target above.  If you have a focus target (e.g your tank), it will misdirect the shots on to him/her, if not, it will misdirect the shots onto your pet.

#showtooltip Misdirection 

/focus [modifier:alt] 

/cast [target=focus,help][help][target=pet,exists,nodead] Misdirection 

/clearfocus [button:2]

 There are several different misdirection macros out there.  Some stopped working after patch 3.0.2.  I experimented until I found one that worked the way I wanted it.  Just don’t ask me to explain the new code – I don’t understand the [button:2] bit  (ah – it’s to do with right clicking with your mouse button – that explains it – I play on a laptop with a track pad and don’t use a mouse – I know I’m a newb and am scared of going into the Occulus).  

 

 

 

8.  Pull Shot

#showtooltip Distracting Shot

/cast Distracting Shot

/target Tinuviel

 

 

 

 

Edit:  The original pull shot macros no long works because of the changes to auto shot.   The simple solution is to target yourself after the Distracting Shot or other shot you use to pull into the trap, this stops you continuing to shoot auto shot.  You can change Distracting shot for something that does minimal threat (e.g. arcane shot (Rank 1)), however my pally tank is an threat machine, and often pulls generating threat onto multi-mobs at once, including the one to be trapped, so I need a sure-fire way to get it off him and into the trap.

Use:  When trapping in an instance.  Place trap, target mob, when tank pulls hit this.  I then follow up by hitting the button that targets my tanks target so that I can begin laying down the dps.

Edit:  If you are a Marksman Hunter with Silencing Shot (talent) you can use this variation:

#showtooltip Distracting Shot

/cast [mod:shift] Silencing Shot; Distracting Shot

/target Tinuviel

I have my macro bound to key [9] on my keyboard.  I lay my trap, target the mob and when the tank pulls I hit key [9], which distracts the mob towards me and into the trap.  If the mob is a caster, I hit [shift] + [9] and being silences for 3 secs he will run towards me and hopefully into the trap (as long as the run is less than 3 secs for a long distance pull).

9. DPS button

When you want to open up and let the target have it, e.g. the last 20% of a bosses health or similar.

#showtooltip Rapid Fire

/cast Rapid Fire

/cast Bestial Wrath

/use 13

/use 14

You will have to smash this button several times to get all the things to work if they are all off cooldown.  If some are on cooldown, but not others, it will cast those that are available.  13 and 14 refer to your trinkets equipped on your character.  It will activate any on use procs these trinkets have.

Edit:  You might want to leave Rapid Fire out of this one and save it for mana regen phases with Viper Sting.  You might also want to add pet abilities in like Rabid and Call of the Wild with extra cast likes.  But I tend to leave these on autocast to ensure the pet uses them as often as they are up – not as focussed DPS, but it makes sure he uses them as often as possible.

 

10. I win button

Beastmaster hunters with Intimidation and Bestial Wrath talent points only need apply.  Variation on the above, similar results.

/Cast Bestial Wrath

/Cast intimidation

 

11. Shot Rotation Macros

Everything changed here with the advent of WOTLK.  Previously in BC, many hunters were using shot rotation macros to weave auto shot in between steady and other shots.  The two most common (at least for beast master hunters) were the 3:2 and 1:1 macros – for historical purposes only here they are:

3:2 Macro   (this one goes something like… auto, steady, steady, auto, steady…. repeat)

#showtooltip Steady Shot

/Cast! Auto Shot

/Cast [target=pettarget,exists] Kill Command

/Cast Steady Shot

/Script UIErrorsFrame:Clear()

 

1:1 Macro   (this one goes… auto, steady…. repeat)

 

#showtooltip Steady Shot

/castsequence reset=3 Steady Shot, !Auto Shot

/Cast [target=pettarget,exists] Kill Command

/Script UIErrorsFrame:Clear()


With WOTLK neither macros are used.  Auto shot now fires automatically, and threads itself between your shots, without you having to do it.  

There doesn’t seem to be a cookie cutter macro currently.  A lot of people are not using a macro at all, just spamming Steady Shot, and threading stings and other things between it.

Some people are using macros like this one, which does 2 things.  First it makes sure the pet uses its special skills when they are available, and second the inclusion of the !Auto Shot line, apparently improves DPS very slightly.


#showtooltip Steady Shot

/cast Steady Shot

/cast !Auto Shot

/cast [target=pettarget,exists] Rabid

/cast [target=pettarget,exists] Kill Command

/cast [target=pettarget,exists] Rake

/script UIErrorsFrame:Clear()

 

When 3.0.8 comes out and Steady Shot is nerfed, and Arcane shot buffed, there may be a case for a macro that weaves Steady and Arcane shots.  I have tested a couple out, and this one seems to work.  What’s more it appears to fire Kill Shot too.  I have only done a little testing on it though on mobs I am killing quickly in the field (only found it yesterday on elitist jerks forums), I need to go and use it on a target dummy, boss, or something else with a lot of health which takes a long time to kill.  At the moment it will not be very mana efficient, but after 3.0.8 it may be very useful.  You will still need to weave in Serpent Sting when it is about to expire, and start with a pet attack with Kill Command, and then renew Kill Command every minute (I tried putting it in the macro, but have not got it to work with that as well yet):

 

#showtooltip Steady Shot

/console Sound_EnableSFX 0

/castrandom Kill Shot, Arcane Shot

/cast Steady Shot

/Console Sound_EnableSFX 1

/script UIErrorsFrame:Clear()

 

If anyone has a better one, let me know.

And here is a similar shot rotation macro for Marksman Hunters:

 

/console Sound_EnableSFX 0

/script UIErrorsFrame:Hide()

/cast kill shot

/cast kill command 

/castsequence , steady shot

/castsequence chimera shot, arcane shot, aimed shot

/console Sound_EnableSFX 1

You can delete aimed shot if you have mana problems or want to stick just to the others.
Start with a serpent sting manually, the macro should refreshi it with chimera shots, but you need to watch the debuff on the target, sometimes it might get missed and you will need to manually thread another serpent sting in.

12. Feed pet

(a) very simple

/cast feed pet

/use roast quail

/emote ’s pet wolfs down some food and licks his lips!

Use: I assign the feed pet icon to this macro.  Now every time I want to feed my pet, I just click the button, and as long as I have some roast quail he will get fed.  I also added the emote, so that I get an emote text saying, “Tinuviel ‘s pet wolfs down some food and licks his lips!” but you can dispense with this line if you like.  Remember, if you change food, you will need to change the text ‘roast quail’ in the macro to the appropriate food.

 

(b) preferred feed pet macro

/cast feed pet

/use 1 1 

/emote ’s pet wolfs down some food and licks his lips!

 

where – 1 1 – refers to 1st slot i.e. top left, in first bag from right after your backpack [which is bag 1].  Just make sure this slot has some food in it that your pet likes to eat and your’re all set.

 

13. Switch Aspects

Switch between your preferred DPS aspect and Aspect of the Viper for mana regen, and back again, with one button.

 

#showtooltip Aspect of the Dragonhawk

/castsequence Aspect of the Dragonhawk, Aspect of the Viper

 

 

 

 

 

 

 

 

Use:  I have similar buttons for aspect of the cheetah/pack and Beast/wild just to cut down on the number of buttons on my toolbar.

 

14. Switch Tracking

Switch between different things you are tracking with one button.

 

 

/castsequence Find Herbs, Find Fish, Track Beasts

 

 

Use: You could put anything you could track on here – I use these three as these are the ones I tend to switch between when out farming.

 

15. Free your healer

Uses Master’s Call to attempt to free the target from movement impairing effects.

 

 

 

#showtooltip Master’s Call

/target Anelf

/cast Master’s Call

/targetlasttarget

 

 

 

Use: I use this on Anelf in instances, such as Culling of Strat when Meathook puts him in chains.  I think it works – the cat certainly runs to Anelf and back to the target, and it sometimes sets the cooldown going on Master’s Call, just not sure how well Master’s Call works.

16.  Hunting for elusive prey?

Target rares macro:

 

/tar Dirkee

/tar Vyra

/tar Time

/stopmacro [noexists]

/tell Tinuviel > %t <

I found this on a Wowhead forum when searching for info about the rare spawn (Time Lost Drake).  There are three rare spawns in the area, so it attempts to target each of them.  If it targets one, or if you target something else while spamming it, it sends you a whisper telling you what you have targeted.
IF YOU HAVE ANY PROBLEMS WITH ANY OF MY MACROS, CAN SUGGEST MORE EFFICIENT WAYS OF WRITING THEM, OR SUGGEST OTHER USEFUL ONES, PLEASE ADD A COMMENT BELOW.  THANK YOU – HAPPY MACROING!

 

17.  Mounting

I use the Addon Coconuts usually for random mounts.  But I have become a mount collectors and have a couple of really cool mounts like my kodo, mammoth and albino drake and some mounts I don’t like like my elekks and mecanostriders (just bought to get the drake).  I have therefore started using the following macro to limit my random mount to one of my 5-6 favorites:

/run if IsMounted()then return end local t if((GetRealZoneText()==”Dalaran”) and(GetSubZoneText()~=”Krasus’ Landing”) or(GetZoneText()==”Wintergrasp”)or not IsFlyableArea())then t={2,16,20}else t={1}end CallCompanion(“MOUNT”,t[random(#t)])

/dismount

(Need to work out how to put a modifier in for the dismount – I accidently clicked it earlier while very high up on my drake, and dismounted to fall to my squishy doom.)

The numbers refer to the positions of your favourite mounts in your mount tab of your character screen – first set are land mounts, second are flying mounts e.g. my Armored Brown Bear is mount no 2.  while my Albino Drake is mount no. 1.

 

18.  Spammable melee button

I just save 2 spaces on my action bars with this one – combining wingclip, raptor strike and mongoose into 1 button.  Spam away in melee or disengage and get back to range asap:

#showtooltip

/castsequence reset=target/3 Wing Clip, Raptor Strike, Wing Clip

/castrandom [target=target, exists] Mongoose Bite

 

19.  All in one pet button

My bar mod has been causing problems – so I have gone back to the standard action bars until the 2 main bar mods iron out their problems.  But the standard bars have too few buttons, so I have been trying to condense some of mine – here in another space saver I found:

#showtooltip

/castsequence [nopet] reset=20 Call pet, Revive pet

/cast [modifier:shift] Dismiss Pet; [target=pet, dead] Revive Pet; [pet=nodead] Mend Pet

 

If you pet is present pushing him with mend it: shift pushing it will dismiss him.  If he is dismissed, pushing it will recall him.  If he is dead, pushing it will revive him.

 

Want to know more?  Check out the following links (I put these in the original article – some but not all may be updated for 3.0+):

World of Warcraft Macro Guide: Part One

Cogwheels Complete Macro Guide

WOW Wiki Macro Guide

WOW Wiki Useful Macros for Hunters

Arena Junkies General Macros

Arena Junkies Hunter Specific Macros

*Note: some of these sites may contain some outdated macros.

Now it’s your turn:

Do you have a useful macro to share, or an improvement on one of mine?  Post it in a comment to this post and I will publish it on the site.  

About these ads

19 responses to “13 Hunter Macros (and then some – updated for 3.0+)

  1. Those macros were really really helpful~.

    I take no credit for this one; I saw it on http://www.warcraftpets.com. It’s not really Hunter-specific, but it’s a little praise for the loyal small pets that you can have follow you around.

    /target pet’s name
    /script s,e={“I love you, %t.”,”You’re my best friend, %t.”,”What a good little %t!”},{“pat”,”hug”,”kiss”}; SendChatMessage(s[math.random(getn(s))],”SAY”) DoEmote(e[math.random(getn(e))]);

    **make sure to change “pet’s name” to the name of the minipet you have out.**

    “Before you use this macro, you’ll want to summon the pet whose name you used in the code. When you click the macro, your character will praise your small pet and show it a little love in a random way. And every small pet deserves a little love every now and again.”

    Not really Hunter-specific, but I thought it was precious. All credit to Breanni’s http://www.warcraftpets.com again!

  2. This macro is for Draenei hunters:

    #showtooltip Gift of the Naaru
    #show Gift of the Naaru
    /cast [help, nomodifier, button:1] Gift of the Naaru; [target=pet, nomodifier, button:1] Gift of the Naaru; [target=player, nomodifier, button:2] Gift of the Naaru

    Left clicking the icon with a friendly target selected: Cast GotN on them.
    Left clicking the icon with no friendly target selected: Cast GotN on your pet.
    Right clicking the icon: Cast GotN on yourself.

  3. Pingback: FAQ for new hunters - All about pet training and taming and other need to know stuff « steady shot

  4. All of the comments werevery helpful in making me a better hunter. THANKS TO ALL !!!

  5. Pingback: Holding aggro with your pet « steady shot

  6. this started as a spamable steady shot macro and then i kept adding more stuff until i came up with this it uses all of my cooldowns and all of my shots i use to dps a single target so i just mash 3 and my dps has never been better

    /castsequence reset=2 Steady Shot, !Auto Shot
    /cast Bestial Wrath
    /cast Arcane Shot
    /cast Kill Command
    /cast Kill Shot
    /use 13
    /use 14
    /script UIErrorFrame: Clear ()

  7. What is the purpose of the console sound part of the sequence macro?
    (console Sound_EnableSFX 0}?

  8. Here is my dps rotation macro

    dps
    /script UIErrorsFrame:Hide()
    /cast [combat] Steady Shot; Hunter’s Mark
    /petattack
    /cast [target=pettarget,exists] Kill Command
    /cast Rapid Fire
    /cast Kill Shot
    /use 13
    /use 14
    /script UIErrorsFrame:Clear()

  9. Pingback: Beastmaster hunter in 3.1 « steady shot

  10. I use a 3 Micro Combo: when you spam action button 1 it activates all 3

    —————- Macro 1 —————–

    /console Sound_EnableSFX 0
    /castrandom Kill Shot, Rapid Fire
    /cast !Auto Shot
    /click ActionButton2
    /click [target=pettarget,exists] ActionButton3
    /console Sound_EnableSFX 1
    /run UIErrorsFrame:Clear()

    —————- Macro 2 —————–

    /castsequence reset=10 Serpent Sting,Black Arrow,Explosive Shot,Aimed Shot,Steady Shot,Steady Shot,Explosive Shot,Steady Shot,Steady Shot,Steady Shot,Explosive Shot,Aimed Shot,Steady Shot,Steady Shot,Explosive Shot,Steady Shot

    —————- Macro 3 —————–

    /console Sound_EnableSFX 0
    /cast Kill Command
    /cast Savage Rend
    /cast Claw
    /cast Rabid
    /cast Rake
    /cast Thunderstomp
    /cast Bite
    /console Sound_EnableSFX 1
    /run UIErrorsFrame:Clear()

  11. Nice idea Onest. I have used combination macros for other things, but not so complicated as this. Do you keep spamming this when Lock and Load procs or do you change you rotation then? Also, do you think the castsequence part gives you as good a DPS as threading shots manually? I used to use spamming macros back in the BM BC days, but my own experiments in wrath have found that for me I seem to increase my dps if I weave my shots.

  12. I do have a different rotational for lock and load as my 4th Action Button. When it activates I spam 4 until it deactivates. BUT I have made some changes. First let me show my Beast Mastery Set-up it is much simpler because BM doesn’t require it:

    ;– BM Action Button 1 ;—-

    #showtooltip Steady Shot
    /console Sound_EnableSFX 0
    /castrandom Kill Shot, Arcane Shot
    /cast Steady Shot
    /click ActionButton2
    /Console Sound_EnableSFX 1
    /script UIErrorsFrame:Clear()

    ;– BM Actions Button 2 ;—-

    /console Sound_EnableSFX 0
    /cast Kill Command
    /cast Savage Rend
    /cast Claw
    /cast Rabid
    /cast Rake
    /cast Thunderstomp
    /cast Bite
    /console Sound_EnableSFX 1
    /run UIErrorsFrame:Clear()

    ;– BM Action Button 3 (is just a pull command) ;—

    /petattack
    /cast Kill Command
    /cast Hunter’s Mark

    Survival Macro UPDATED 3.1 ;—-

    ;– SV Action Button 1 ;—-

    /console Sound_EnableSFX 0
    /castrandom Kill Shot, Rapid Fire, Black Arrow
    /cast !Auto Shot
    /use 13
    /use 14
    /click ActionButton2
    /click [target=pettarget,exists] ActionButton3
    /console Sound_EnableSFX 1
    /run UIErrorsFrame:Clear()

    ;– SV Action Button 2 ;—-

    /console Sound_EnableSFX 0
    /castrandom explosive shot, explosive shot, steady shot, aimed shot, explosive shot
    /console Sound_EnableSFX 1
    /run UIErrorsFrame:Clear()

    ;– SV Action Button 3 ;—-

    /console Sound_EnableSFX 0
    /cast Kill Command
    /cast Savage Rend
    /cast Claw
    /cast Rabid
    /cast Rake
    /cast Thunderstomp
    /cast Bite
    /console Sound_EnableSFX 1
    /run UIErrorsFrame:Clear()

    ;– SV Action Button 4 (LnL Spam) ;–

    /console Sound_EnableSFX 0
    /castsequence reset=3 explosive shot,explosive shot,explosive shot,steady shot
    /console Sound_EnableSFX 1

  13. So, I copied and pasted your Steady Shot macros, directly into the game. Only problem is… it’s not actually casting Steady Shot.

    >.<

    How do I fix it?

  14. I need to check this out Meg. I updated this for 3.0 but not for 3.1.1. I think the problem is kill Command. It was put on the Global Cooldown, so no longer works in multi-line /cast macros. You could try deleting the line /cast Kill Command and see if the macro works.

    BTW – which macro exactly are you trying to use? There are a couple in the article using steady shot.

  15. Well, I even used this one:

    #showtooltip Steady Shot
    /console Sound_EnableSFX 0
    /castrandom Kill Shot, Arcane Shot
    /cast Steady Shot
    /click ActionButton2
    /Console Sound_EnableSFX 1
    /script UIErrorsFrame:Clear()

    Which doesn’t have kill command in it at all, and it still wasn’t casting steady shot. I took out the cast random line and then it was casting steady, but of course it wasn’t weaving Arcane Shot in either, which is sorta the point of the whole macro. :/

  16. What this does is use all the trinkets and triggers KC bound to another key on any bar anywhere. That way you don’t use it in the macro messing w the sequence. You just change the “BT4Button25″ part, mine is for Bartender4. Also it only uses AS and SS, I choose to have KS on a separate button for easier modification depending on CD prio.

    #showtooltip Steady Shot
    /console Sound_EnableSFX 0
    /use 13
    /use 14
    /castrandom Arcane Shot, Steady Shot
    /click [target=pettarget,exists] BT4Button25
    /Console Sound_EnableSFX 1
    /script UIErrorsFrame:Clear()

  17. I have tried a few of these, but anything with hunter’s mark doesn’t work. Well the macro does, but does not bring the hunters mark up. I don’t get it

  18. @ Galeinaria sorry you are having problems with some of the macros. The
    /petattack
    /cast Hunter’s Mark
    macro certainly works, I use it all the time. So not sure what’s going wrong for you.
    I will be updating this post after 3.2. It has become a bit messy, and Blizzard keep changing what is and isn’t on the global cooldown, plus some of the macros codes, so that some things do need a bit of updating. I’ve also go a bit better at macro writing myself, so with a bit more research I should be able to put together an even more useful post. But for now I think most of these macros still do work, I still use many of them myself. So make sure you are spelling everything correctly, and keep trying.

  19. I use this macro for Misdirect:

    #showtooltip Misdirection
    /cast [target=focus,exists,nodead][target=pet,exists,nodead] Misdirection

    It casts on your focus (this is the tank in most cases) if you have one and they’re not dead, and your pet if no focus exists/your focus is dead.
    I like it because I don’t have to change it at all for solo play and it’s only 2 lines. (I like clean code.)