Skip to content

Core/Unit: Normalize charmed units speed and also drop unneeded combat check#31753

Draft
imstuckbro wants to merge 2 commits intoTrinityCore:3.3.5from
imstuckbro:speed-charmed
Draft

Core/Unit: Normalize charmed units speed and also drop unneeded combat check#31753
imstuckbro wants to merge 2 commits intoTrinityCore:3.3.5from
imstuckbro:speed-charmed

Conversation

@imstuckbro
Copy link
Copy Markdown

@imstuckbro imstuckbro commented Mar 24, 2026

Changes proposed:

  • Now charmed units have same speed like pets.
  • Pets should inherit player speed even if the player is in combat.

Issues addressed:

Closes #26754
Updates #30169

Tests performed:

Does it build, tested in-game, etc.

Known issues and TODO list: (add/remove lines as needed)

  • [ None as I'm aware ]

@Ovahlord
Copy link
Copy Markdown
Contributor

I am against meddling with speeds like this. Follow movement for controlled units needs some extra love within the follow motionmaster. Speed values should not change on a creature level - it needs dynamic calculations on a spline level

@imstuckbro
Copy link
Copy Markdown
Author

is this any better :D ?

@Nyr97
Copy link
Copy Markdown
Contributor

Nyr97 commented Mar 24, 2026

not really, as Ovahlord mentioned, the speed should be calculated within splines calculation.

@imstuckbro
Copy link
Copy Markdown
Author

can you point me where exactly that happens ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants