TrinityCore/TrinityCore — pull request #8414 by MrSmite (2012-11-23 11:06:34+00:00)
Title: PetAI - Another overhaul / bug fix of the PetAI

* Aggressive pets now use aggro radius check based on level diff

* Aggro radius limited to max 45 yards (per wowwiki)
* Pets no longer "dance" when fighting a creature
* Pets returning will defend themselves (not passive) if owner didn't click "follow"
* Pets at stay will properly pick up their owner's attackers that pass by
* Minor code style cleanups

Closes #8398