Closed derekgates closed 12 years ago
EVADING units currently all rush to the same 1pixel inset point in a healing radius. All units group at that point (as it's the closest to them).
Instead pick a random point in the healing circle as the destination X,Y.
http://stackoverflow.com/questions/4707796/use-x-y-coordinates-to-plot-points-inside-a-circle http://jsfiddle.net/YL6Bj/1/
EVADING units currently all rush to the same 1pixel inset point in a healing radius. All units group at that point (as it's the closest to them).
Instead pick a random point in the healing circle as the destination X,Y.
http://stackoverflow.com/questions/4707796/use-x-y-coordinates-to-plot-points-inside-a-circle http://jsfiddle.net/YL6Bj/1/