Summary: When a pet in defensive mode is aggro'd it does not obey the follow command to disengage.
Steps to reproduce:
- As hunter with pet summoned, put pet into defensive mode.
- Send pet to attack mob (or let it attack on its own if aggro'd)
- Command pet to return to the player with the Follow command (Ctrl+2, or second button from the left on the pet bar)
Expected behavior: Pet will return to the hunter's side.
Actual behavior: Pet briefly turns toward the hunter but then immediately reengages the enemy, even if the pet is not in attack range of the mob. Repeated spamming of the Follow command repeats the behavior. The pet makes no progress toward returning to the hunter unless put into passive mode.
Proposed solution: A hunter in 2.4.3 was able to retrieve an aggro'd pet by hitting the Follow command without changing their aggressiveness mode. The pet would effectively clear its aggro table. If struck again the pet would re-add the attacker to its aggro table and resume attacking, but this could be easily overridden by spamming the Follow command a few times if necessary. It's possible mobs are being added to the pet's aggro table incorrectly, such as whenever a hostile mob is aggro'd by the pet. I believe the only triggers should be if the mob actually attacks the pet (whether or not the attack is successful), when the hunter commands the pet to attack, or if the pet is in aggressive mode and a mob is in range.