Instructs the pet to attack.
/petattack [options] target
This command accepts secure command options. The value associated with the first satisfied condition will be interpreted as described below. If no conditions are satisfied, no action will be performed.
If the first satisfied condition explicitly specifies a target that is not exactly "pettarget", that target (and not the associated value) will be interpreted as described below.
- unitId or name of a nearby hostile entity to attack. If not specified, the pet will attack your current target.
- If you instruct your pet to attack a PvP-flagged target, you will become PvP flagged.
/petattack [@targettarget] /petattack targettarget
Both of these will tell your pet to target your target's target (e.g. If you have a friendly target that is attacking a hostile target.)
This will tell your pet to target your focus' target (e.g. If you have a friendly target on /focus, and it will attack their target.)