Page 1 of 1
Macro Help?
Posted: Mon Dec 05, 2011 3:48 pm
by Talaridan
I am far from a macro expert so I was hoping someone with more skill could aid me.
I'm trying to create a macro that casts Misdirection on my pet, Hunter's Mark on a mob, and sends my pet to attack.
Can anyone help me out?

Re: Macro Help?
Posted: Mon Dec 05, 2011 3:52 pm
by Vephriel
I believe this would do it:
/cast [@pet,nodead,exists] Misdirection
/cast Hunter's Mark
/petattack
However, you might have to push it a couple times since Misdirection and Hunter's Mark will both be on GCD, they can't be cast simultaneously.
Re: Macro Help?
Posted: Tue Dec 06, 2011 1:21 am
by Talaridan
Thank you, Veph! I will try it out.

I figured the GCD would make it something I had to press a few times. I just wasn't sure what order would work best.
Re: Macro Help?
Posted: Tue Dec 06, 2011 3:26 am
by Talaridan
Drat, no luck.
It works perfectly for the Misdirection, but it won't put Hunter's Mark on the target.

Re: Macro Help?
Posted: Tue Dec 06, 2011 3:41 am
by Vephriel
Yeah, there's probably no way to have all 3 go off smoothly due to the GCD issues, so I'd suggest choosing two things you'd like to happen and putting the third off on it's own.
I have Pet Attack and Hunter's Mark macroed together myself, and then my Misdirection macro will either MD to my focus target, or if there isn't one then it automatically goes to my pet.
Re: Macro Help?
Posted: Tue Dec 06, 2011 5:19 am
by Anyia
The reason it won't work is that when you press it the next time it will try to cast Misdirection again, but it's on cooldown, and therefore the macro stops there.
Try something with a castsequence instead. Perhaps:
/castsequence [@pet,nodead,exists] Misdirection, Hunter's Mark
/petattack
I'm not playing any more so I can't check that I got the syntax right, but the idea is to use /castsequence to advance the spell choice. First time you press it it will attempt to cast Misdirection, and moves the what-bit-am-I-up-to-in-the-sequence marker to the Hunter's Mark, and since Misdirection was successful, it will execute the /petattack too. The second time you press the button it will cast Hunter's Mark and reset the sequence back to Misdirection, and again, also execute /petattack. Or this is the theory at least

Re: Macro Help?
Posted: Tue Dec 06, 2011 5:41 am
by Talaridan
Ahh, I think I see! I will give it a try that way, Anyia!
If not, I will do what you suggested Veph and just do two.

Re: Macro Help?
Posted: Tue Dec 06, 2011 9:22 am
by Talaridan
Blast!
The cast sequence did not work either.
Ah, well. I'll just use my normal macro of casting Hunter's Mark and sending my pet to attack.
I might see if I can set up a second one to cast Misdirection after that, and then start auto-shooting.
Re: Macro Help?
Posted: Wed Dec 07, 2011 9:18 am
by Talaridan
Well, never managed to figure it out, so I broke it into two macros.
The first is:
/cast Hunter's Mark
/petattack
And the second:
/cast [@pet,nodead,exists] Misdirection
/cast Auto Shot
This seems to work pretty well. Thank you both for the help!

Re: Macro Help?
Posted: Mon Mar 19, 2012 12:08 pm
by Foru21dr
Because of the global cooldown you would not be able to get it into one macro. Have not found a way to get a macro to pause for a certain time limit before casting the next.
I have mine in 2 separate macros.
I will have to wait till I get home, but I have my misdirect macro set up to apply first to the person I have focus set on, and if that does not exist, then on to my pet. This way I have misdirect going to the tank in our group.. and then to the pet if he is dead or I don't have focus set up on anyone. Will add this macro when I get home.
Re: Macro Help?
Posted: Mon Mar 19, 2012 8:33 pm
by Worba
#showtooltip Misdirection
/use [help][@focus,exists,help,nodead][@pet] Misdirection
If you're targeting an ally, it puts MD on him, else if you have a focus defined, who is an ally and not dead, it goes to him, else it goes to your pet if none of the other conditions apply.
Otherwise if you *really* want both on the same macro you could do something like
#showtooltip
/use [nocombat,@pet][btn:2,@pet][mod,@pet] Misdirection;Hunter's Mark
/petattack
This would cast MD on your pet and send him into combat, and a second later once combat started, your icon would change to Hunter's Mark. If combat continues past your MD's cooldown, you would need to use the right mouse button to cast MD again (during combat), so this is far from perfect, but again if your goal is to get both onto the same macro, this would do it.