fix(Core/Spells): Correct follow position for Pets and Companions. (#23154)

Co-authored-by: sogladev <sogladev@gmail.com>
This commit is contained in:
GrenderG
2025-10-09 20:09:40 +02:00
committed by GitHub
parent 8fbdca8d50
commit 8d2f307483
4 changed files with 17 additions and 7 deletions

View File

@@ -1083,7 +1083,7 @@ class spell_item_enchanted_broom_periodic : public AuraScript
{
if (owner->isMoving())
{
GetTarget()->GetMotionMaster()->MoveFollow(owner, PET_FOLLOW_DIST, GetTarget()->GetFollowAngle(), MOTION_SLOT_ACTIVE);
GetTarget()->GetMotionMaster()->MoveFollow(owner, PET_FOLLOW_DIST, MINI_PET_FOLLOW_ANGLE, MOTION_SLOT_ACTIVE);
}
else
{