[Core] Improve  random movement by permit randomly no wait time to next waypoint [s2111]

Thank to @dev-intra for this proposal.
Thank to @Schmoozerd for his improvement.

Slightly modified version of https://github.com/mangoszero/server/commit/0feaee0d5a34489a756a46d24d318bf885b23318