Code:
/cast Shadowfiend
/petpassive [modifier]
/petattack [modifier,harm,nodead][target=pettarget,harm,nodead]
/stopmacro [target=pettarget,harm,nodead]
/petattack [harm,nodead][target=targettarget,harm,nodead]
/petaggressive [target=pettarget,noexists]
With some comments....
Pretty obvious, here...
Code:
/petpassive [modifier]
/petattack [modifier,harm,nodead][target=pettarget,harm,nodead]
First, we force the pet to abandon any targets when a modifier key (shift, control, alt, etc) is pressed. This is your "emergency" button if your pet is about to aggro the wrong pat or break CC or something.
Then, Attack my harmful target if I press a modifier key (shift, control, alt, etc), otherwise, if the pet has a harmful target that's not dead, keep attacking it.
This will give you a force-Shadowfiend-to-attack-my-target button when you hold a modifier key and are targeting a new enemy, so you can force a switch of targets if the shadowfiend is attacking a CC target, or some other strange thing.
If you need the shadowfiend to cease and desist for any reason, you just hold a modifier key, target nothing (or target someone friendly) and press the button. As long as petfollow is default, he'll come to you.
Code:
/stopmacro [target=pettarget,harm,nodead]
/petattack [harm,nodead][target=targettarget,harm,nodead]
/petaggressive [target=pettarget,noexists]
Lastly, we want the pet to keep attacking things until it's dead before he chooses a new target. So stop the macro from continuing if the thing the pet is attacking is still alive.
If the thing he's attacking is dead, the pet will attack your harmful target, your target's harmful target, and last but not least will go aggressive if there's nothing else to attack.
Connect With Us