Need Help Creating Macro

need cast misdirection in focus and target lastargetenemy and use Aimed Shot sequence
#showtooltip Misdirection
/target Focus
/castsequence Misdirection, Aimed shot, Multi-Shot, Arcane shot
/targetlastenemy
I’ve tried to use it like that but it doesn’t work

Can’t log in to check atm, nor do I have a high enough hunter, but I think your issue is with /target Focus

You can do something like:

/cast [@focus] Arcane Shot

Maybe this reference will be of some help: https://wowpedia.fandom.com/wiki/Making_a_macro#Targeting

I have a macro that targets myself. I use /target=player. You might have to use the = sign

The problem is that you are trying to have multiple targets in a castsequence. That really doesn’t work well. You would be best off separating into two macros.

/cast [@focus] Misdirection

This will cast Misdirection on your focus without changing your target. Then you can set up a separate macro to do your castsequence

/castsequence Aimed shot, Multi-Shot, Arcane shot

You could combine them into one if you were willing to us alt or shift or control to cast your misdirection. There are lots of ways to make things complicated, but the above is the “simple” way.

2 Likes

Just google it. I easily found a simple one a few weeks ago that cast misdirect on my assigned /focus target regardless of what I have targeted currently - If no focus is assigned then a friendly person that I may have targeted is misdirected instead as secondary backup - otherwise as last resort, automatically cast on my pet if no focus is assigned & I have an enemy targeted. Works great.

Thank you very much, for now I have created two macros according to what you tell me
macro 1: #showtooltip Misdirection
/cast [@focus] Misdirection
/targetlastenemy
macro 2: /castsequence Aimed shot, Multi-Shot, Arcane shot

There is really no reason for the /targetlastenemy because macro 1 will not change your target.

Like the other poster said, there are options that make macro 1 a little “smarter”. You could use this if you want to be fancy

#showtooltip
/cast [@focus,exists,nodead][help][@pet] Misdirection

This will go to your focus first. If you don’t have a focus and have a friendly person targeted, it will misdirect to them. If you don’t have a focus and you don’t have a friendly targeted, it will misdirect to your pet.

2 Likes

If your goal is to give the target the most threat possible you should be using g distracting shot.

If there is multiple targets multi shot will eat all the charges of multi shot that it hits so 3 targets is 3 charges.

If you have 1 charge If MD up and use multi shot it will still give aggro of all 3 targets hit to the tank.

One good way of giving the tank good aoe aggro is to use MD and explosive trap as the initial hit gives aggro to the tank for all targets hit. But if you need to CC this isn’t an option.

If it’s 10+ targets and you don’t want to dot any of them you can also use MD and 1 tick of volley

But if it’s single target aggro you are trying to maximize for the tank, distracting shot is the best option.

“need cast misdirection in focus and target lastargetenemy and use Aimed Shot sequence”

/castsequence reset=2 [target=focus,help][help][target=pet,exists,nodead] Misdirection, Aimed Shot

Note: this is one line ^

Other Note: Press hotkey for macro. Wait 2 seconds after press. Press again to Aimed shot.

If focus is not set, MD will go to pet.

If focus is not set and no pet exists, i believe it will not try to cast MD, but then I’m not sure how the rest would interact. I think it would just move to the next step after 2 seconds of hitting button.

It’s a “one button,” but you gotta click it twice.

Not at home to test, but this should do what you asked, in addition to adding a fail safe if there is no focus target or your focus target is dead.

1 Like

Disclaimer: I have never leveled a hunter past level 40 or so, so I am not in any way an expert at huntering…

…but, all of that targeting is directed at “friendly” targets. What will Aimed Shot do with a friendly target?

1 Like

Super true. It’s best to avoid bunched up abilities in a macro

Unless you’re using modifiers in the macro like shift and alt etc to preserve space on bars

But, that’s what he asked so I just made an attempt ¯_(ツ)_/¯

Edit, I read wrong — aimed shot will give you an error if your target is a friendly target when you hit the macro until you switch to a hostile one. Target is friendly if you’re on a friendly target. You could add [hostile] if you wanted to. Sometimes I like errors because if there are never errors I feel like im not hitting the right button or my macro is broken

So, in my macro, the modifiers you see only get applied to the ability before the comma. After the comma is a new ability with its own modifiers. In this case it’s aimed shot and there are none.

The ones I have for the focus target and pet on MD just basically avoid any errors for a target being hostile as a focus, the target not existing, the pet being dead, etc

1 Like

Ok. I thought castsequence only allowed one set of conditions that applied to everything. I stand corrected.

1 Like

You may be right honestly, I initially misread your post

If that is the case you can add [] after the modifiers that involve a pet and whatnot, which will make the spell cast normally as if no macro was there. Just an aimed shot

That should make it work if mine doesn’t work. Can’t test right now.

Might also have to use reset=target … but using reset with castsequence will get us on the right track to what OP asked for … and if it doesn’t work, someone can add to it ^^

1 Like

You can’t target two different things in a cast sequence. So you’d need two different macros: For the MD I use :
#showtooltip
/cast [@target,help,nodead][@focus,help,nodead][@pet,exists,nodead] Misdirection

This with first cast it on a friendly target if you have one selected, then your focus if you don’t, then at your pet if the other two conditions aren’t met. For the focus target ones, it will not change your target on you so you can have an enemy selected and use it, same with the pet if you don’t have a focus. Some people like the [@target,help,nodead] after the focus section, I prefer it before if I have to occasionally MD to someone other than the MT.

Haven’t had much luck with cast sequence macros working in classic and found just using a shot timer and macroed arcane, steady and multi shots work well (macroed to include kill command and pet attacks in there). (I have some without the pet attacks to that I can switch in and out).

#showtooltip Arcane Shot
/script UIErrorsFrame:Hide()
/cast Screech
/cast Claw
/cast Arcane Shot
/cast Kill Command

Ah, that rules out my initial macro idea then. You can target two different things though in a sequence.

Doable with reset conditions and semi colons. Not at home to test, but definitely possible.

I’m thinking reset=target combined with some time conditions would work somehow.

Not sure if it’ll work for this specific idea though.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.