Core/Movement: Fix fleeing speed to 66% run speed

This commit is contained in:
jackpoz authored and Ovahlord committed 2019-12-30 18:49:03 +01:00
1 parent 05a2b3fffe
commit e5a240cd7f
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -607,7 +607,7 @@ void MotionMaster::MoveSeekAssistance(float x, float y, float z)
_owner->AttackStop();
_owner->CastStop();
_owner->ToCreature()->SetReactState(REACT_PASSIVE);
Mutate(new AssistanceMovementGenerator(x, y, z), MOTION_SLOT_ACTIVE);
Mutate(new AssistanceMovementGenerator(x, y, z), MOTION_SLOT_ACTIVE, _owner->GetSpeed(MOVE_RUN) * 0.66f);
}
else
TC_LOG_ERROR("movement.motionmaster", "MotionMaster::MoveSeekAssistance: '%s', attempted to seek assistance.", _owner->GetGUID().ToString().c_str());