v0.8.0: increased the distance fleeing enemies look to find an ideal route
This commit is contained in:
parent
4e7aca628e
commit
f5d1f63106
|
@ -129,7 +129,7 @@ public class PathFinder {
|
|||
|
||||
public static int getStepBack( int cur, int from, boolean[] passable ) {
|
||||
|
||||
int d = buildEscapeDistanceMap( cur, from, 2f, passable );
|
||||
int d = buildEscapeDistanceMap( cur, from, 5f, passable );
|
||||
for (int i=0; i < size; i++) {
|
||||
goals[i] = distance[i] == d;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user