Inrange ZOC, spell tower range

units now take the path with the fewest tiles as a tiebreaker for least
available move points, the range checking function also takes into
account enemy units and ZOC, spell tower range is fixed.