aboutsummaryrefslogtreecommitdiff
path: root/src/common/Collision/DynamicTree.cpp
diff options
context:
space:
mode:
authorTreeston <treeston.mmoc@gmail.com>2017-06-07 02:33:47 +0200
committerCarbenium <carbenium@outlook.com>2020-07-16 21:47:28 +0200
commitf7a7d02a7f50400cdc2be3c4722afeefe7efce80 (patch)
tree0f405c9382ec9e96b3a40a8f4f722a07c791bd0f /src/common/Collision/DynamicTree.cpp
parent5903a10a834b1198702b024182581799648540ff (diff)
Pet/Guardian AI hook re-organizing (#19824)
* Pet/Guardian AI hook re-organizing: - Adjust OwnerAttacked/OwnerAttackedBy hooks on CreatureAI to fire for all owned units, not just player pets. This should allow guardians to more reliably recognize valid targets. - Kill off the AttackedBy hook. While it was defined in CreatureAI.h as virtual, it was only ever invoked for player pets in specific situations. This makes it classic developer bait. - Adjust PetAI to use DamageTaken instead of AttackedBy. - Adjust behavior of AttackStart on PetAI to compensate. (cherry picked from commit 1660bb7d27d6f42b49012a6b57e3c2b2eab20fd3)
Diffstat (limited to 'src/common/Collision/DynamicTree.cpp')
0 files changed, 0 insertions, 0 deletions