Core/Movement: Add forced speed and movement type parameters to random movement generator

This commit is contained in:
Shauren
2026-01-04 19:34:22 +01:00
parent e8a702930e
commit 0b85b1b0bc
5 changed files with 70 additions and 74 deletions

View File

@@ -155,7 +155,7 @@ struct boss_cragmaw_the_infested : public BossAI
void MovementInform(uint32 /*type*/, uint32 id) override
{
if (id == POINT_TANTRUM_START_RND_MOVEMENT)
me->GetMotionMaster()->MoveRandom(20.0f);
me->GetMotionMaster()->MoveRandom(20.0f, {}, {}, MovementWalkRunSpeedSelectionMode::ForceRun);
}
void OnChannelFinished(SpellInfo const* spell) override