Help with a macro

Hey there, just trying to find someone with knowledge of how best to write a macro, if it’s even possible. Here’s what I’m wanting:

On my warlock, I would like to make a macro that will allow my demon to attack my current target, but at the same time attack a grounding totem if one gets put down.

If this is possible, any help would be appreciated, thanks!

I don’t think you can accomplish this using one button. You would need 2 macros. One to attack your current target, and another to target and attack a specific target (the grounding totem).

Correct me if I’m wrong, but I don’t think totems are targettable with macros. At least they aren’t in retail wow.

It should only take one macro, but like Lagspike said, the key will be whether totems are targetable via macro. Something very simple should work though:

/target [TotemName]
/petattack

Target command will only change target if it actually exists, otherwise it effectively does nothing. You can have multiple target commands if you have multiple totems you want to handle. /petattack just attacks your current target (which was either changed to totem or not).

Example:
/target Grounding Totem
/target Fire Nova Totem
/petattack

Order the target commands from lowest to highest priority

/petattack Searing Totem
/petattack Tremor Totem
/petattack Grounding Totem

Add other totems if needed

You will have to hit the button three times until all three totems are stomped.

Right on, thank you guys for the help! I’ll give these a shot and hopefully totems are actually targetable. Very much appreciate the help!

Also, you probably figured this out, but if you want Arkane’s version to still attack your regular target if there are no totems, just add a /petattack at the end. If there’s no totems macro will just fall through to the “generic attack my target”

/petattack Grounding Totem
/petattack

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