MZ Need a "Weighted Random Movement" Plugin to Keep NPCs from Wandering Away

As the title states, I am looking for a plugin that will modify the random movement of NPCs slightly.

I would like to gradually reduce the chances of them moving away from their starting point as they wander further from it.

I used to use VisuStella EventsMovementCore to do exactly this, however I was experiencing massive amounts of lag when using it and didn't need 99% of the features, so cutting it was necessary.

Is there any other plugin that does this? I am aware of the Weighted Random Movement plugin in the pinned "VisuStella Alternatives" list, however it does not have this feature of keeping the NPCs from wandering too far, and just improves their ability to move around obstacles.

Thanks!
I think most people use a plugin that gives region restrictions to events so they'll only perform autonomous movement within those boundaries.

Your proposed solution is possible, but doesn't actually fix the problem - there will always be a chance to move further away, even if it's weighted, so some people will experience exactly what you don't want.
Those are the only weighted movment plugins I know of. Galv Move Route Extras has a move random on region command that you could use to draw regions around the NPCs and tether them.

Original thread: https://forums.rpgmakerweb.com/threads/need-a-weighted-random-movement-plugin-to-keep-npcs-from-wandering-away.164504/