TrinityCore/TrinityCore — pull request #6048 by MrSmite (2012-04-06 00:43:14+00:00)
Title: PeAI update

* Better handle target selection for defensive pets. Adds triggers for when owner is damaged or begins attacking something.

* Defensive pets no longer run off as soon as a mob aggros the owner but rather at first damage to owner or owner first attack

* Pets on stay will continue to attack unless target unreachable