Hi, I used to make macros in the WoW UI, but it’s been over a year, so I’ve forgotten all the syntax and ways of making macros. What I’m trying to do now is modify the macro below to A) target my focus’s target (when I go in dungeons I set the tank as my @focus and I want the macro to attack what the tank is attacking), and B) when I have no focus it will just work as normal (I’d like to use the same macro in dungeons as I do out in the world while soloing). Can this be done with @focus or @focusttarget, or some such syntax?
Here’s an example of a Hunter targeting their focus’s target:
#showtooltip Hunter’s Mark
/petattack [@focustarget,harm,nodead][harm,nodead]
/petfollow [noexists][dead][mod]
/targetenemy [@focus,noexists][@focus,dead]
/cast Hunter’s Mark
This is the macro I’d like altered to target my focus’s target/cast while soloing without a focus:
Sequences[‘DestLock1’] = {
author = “Cymiryc”,
specID = 267,
helpTxt = “Talents – 2,1,1,2,3,1,3”,
StepFunction = GSStaticPriority,
PreMacro = [[
/targetenemy [noharm][dead]
/startattack
]],
‘/castsequence [combat] reset=target Immolate,null’,
‘/cast [nochanneling] Chaos Bolt’,
‘/cast Conflagrate’,
‘/castsequence [nochanneling] Incinerate,Incinerate,Immolate,Incinerate,Incinerate,Immolate’,
‘/castsequence [combat] Incinerate’,
PostMacro = [[
/petattack [@target,exists]
]],
}