TrinityCore/TrinityCore — pull request #8416 by MrSmite (2012-11-23 11:26:45+00:00)
Title: PetAI - Another overhaul / bug fix

* 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