9a9e555d7b0e98cae916de39a4d90d9ef3194490
Task 3 Progress: 5/33 files complete (HIGH PRIORITY #2) Migrated 5 MotionMaster usages to BotMovementController with validated pathfinding for formation positioning and coordination. Changes: - Added PlayerBotHelpers.h include for GetBotAI() helper - Updated all 5 MotionMaster->MovePoint() calls: 1. Formation position assignment (line 403) 2. Member target position movement (line 1215) 3. Formation recalculation movement (line 1405) 4. Emergency movement with run speed (line 1457) 5. Emergency reformation to leader (line 1647) Formation System Coverage: - Formation position updates (column, line, wedge, etc.) - Member repositioning to maintain formation - Emergency scatter and reformation - High-speed movement commands (7.0f run speed) - Formation integrity maintenance Migration Pattern: - Validated pathfinding for all formation movements - Fallback to legacy MotionMaster if validation fails - Compatible with existing UnifiedMovementCoordinator arbiter - Preserves emergency movement behavior Validation Benefits for Formations: - Prevents formation members from walking off cliffs - Avoids wall collisions during formation movement - Proper water handling during formation transitions - Stuck detection for individual formation members Performance: No impact - Validation only when BotMovement.Enable = 1 - Formation coordination logic unchanged - Compatible with adaptive formation system Testing: - Build successful (RelWithDebInfo) - All formation types preserved (column, line, wedge, etc.) - Emergency scatter/reformation logic intact - Compatible with formation spacing and integrity checks Next Files (HIGH PRIORITY): - KitingManager.cpp (1 usage) - InterruptManager.cpp (3 usages) - PositionManager.cpp (1 usage) Co-Authored-By: Claude Opus 4.5 <[email protected]> Signed-off-by: luis <[email protected]>
WowCommunityProject
Blizzlike WowCommunity project
Languages
C++
89.3%
C
10.1%
CMake
0.4%