Enemy moving towards player with low friction

So, I’ve just started working on my AI in my game and I just got stuck with one simple thing, making a enemy move towards me with barely any friction.

To explain it a little bit more I want the enemy move towards the player. If the player moves away from the “attack” of the moving enemy, the enemy will slowly speed down and change direction and aim for the player again.

Kinda similar to the Demon Eye in Terraria.

I do know how to make the enemy move towards me without taking the friction into account.

Hope you understood the question and thanks for answers.

If you need further information or code, just ask.