Comment 3 for bug 1136253

Revision history for this message
Paul Pogonyshev (doublep) wrote :

Oh, just an idea for the root cause. Enemy attacked a site that was close visibly, but due to terrain was a long way away, across all the map. So, how about adding a check that pathfinded path is no more than say 3x as long as building's normal attack distance? So, if some military site can attack enemy sites at distance 10 ignoring any impassable terrain, it can only attack it if it is at most distance 30 after routing around any obstacles.