mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Movement: Add forced speed and movement type parameters to random movement generator
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user