vmangos / core

Progressive Vanilla Core aimed at all versions from 1.2 to 1.12
GNU General Public License v2.0
691 stars 491 forks source link

🐛 [Bug] Creature formation #2791

Open Stoabrogga opened 1 month ago

Stoabrogga commented 1 month ago

🐛 Bug report

If you kill the leader of a creature formation with waypoint movement and leave combat, the rest of the formation will continue to follow the WP path. If you attack the formation later and the leader spawns during combat the formation members will run away, but you keep being in combat until you find the leader.

Expected behavior

The formation members should stay in combat and only run away to their leader if combat ends.

Steps to reproduce

I tested this with GUID 27114. Kill the leader, get out of combat and let the formation continue on its path, then attack them later while the leader respawns.

Version & Environment

Client Version: 1.12.1.5875

Commit Hash: 8d36d4dbac0af264e84ff5d9773b86daa0ede427

OS Client: Ubuntu 24.04 (Wine) OS Server: Ubuntu 22.04

Crashlog