TrinityCore/TrinityCore — Issue #5346: [NPC Movement] When chasing to melee, all NPCs move behind Player
Author: MrSmite
Created: 2012-02-21 17:17:17+00:00
State: open

Rev: 355fe08e04e198131a462a03530d8a57377ff3ae
OS: XP SP3
DB: 26 + updates

Something seems off with the ChaseMovementgenerator. If a mob aggros onto the Player while the Player is approaching the mob, the spline seems to set the destination as the point where the Player was when aggro initiated. As the mob passes through the player, it turns around and begins to melee.

This typically puts the mob behind the Player causing the first few Player attacks to fail because of "not facing the target".