Macro Assistance Please!

Hello,

I am trying to create a macro around ‘Synergistic Brewterializer’.

Which will spawn a random ‘Backfill barrel’ around mobs I am damaging, if I kill the barrel it explodes doing AOE damage.

I want the macro to target the barrel, ice lance, then go back to my target but I cannot seem to get it to work.

Either the macro will target my last target, even if it is dead, or I kill the barrel and I just remain with no target.

The below version stops the macro once the barrel is dead and does not target anything. If I move the stop macro below the targetlasttarget then I sometimes during trash pulls will randomly target dead mobs that I was previously attacking.

#showtooltip Ice Lance
/tar Backfill Barrel
/cast ice lance
/stopmacro [nodead]
/targetlasttarget

Any insight would be greatly appreciated.

Thank you.

Are you using focus on anyone like the tank when you are using this macro?

If not try set your current target to your focus, then target/shoot the barrel then retarget your focus.

So like

#showtooltip Ice Lance
/focus
/tar Backfill Barrel
/cast ice lance
/stopmacro [nodead]
/tar focus
/clear focus

Edit: wait no that will just set the barrel as your focus if you don’t kill it in one shot…

Smart, I will give this a try. Thank you.

Maybe he could make the tank his focus target and use /target focustarget to get to the tanks target after the barrel dies.

Worked, thanks folks :slight_smile: