There are actually a few problems in the unit AI, it doesn't handle min and max range very well. We should solve that, which should prevent the endless chasing behavior, but there are cases were a second attack type would help, like killing domestic animals - there's no reason to stand around throwing javelins at a chicken when a knife would do it This is planned, assuming we have resources to work on the animations.