Pet attack only if no target

Anyone know why my macro is not working I want a pet attack on one of my abilities but not switch target if it has one already.

I am not sure if I am simple not understanding how the conditions of a macro work but so far I tried:

/petattack [@pettarget, exists][@target]

If I am right this should attack the pets current target is it exists and if not attack my target?

At the moment this instead just attacks my target even if pet has different target.

This is tbc classic btw. Cheers.

That’s saying to execute the /pettarget command if your pet has a target or if you have a target (which will always return true), not to attack your pet’s target.

/pettarget [@pettarget,noexists]

This says, if your pet doesn’t already have a target then attack your target.

1 Like

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