Correct, I think this is more intuitive than:
- move to point
- check attack range
- if not right go to 1
- if right then attack
Current behaviour is error prone, players can often move too far or too close to the enemy. That can lead to big mistakes in close fights.