Admin player team switch + more trace info

This commit is contained in:
Anuken
2023-06-11 23:18:04 -04:00
parent 0ec59691bf
commit 4b0824a20c
10 changed files with 180 additions and 68 deletions

View File

@@ -50,8 +50,7 @@ public class ControlPathfinder{
costLegs = (team, tile) ->
PathTile.legSolid(tile) ? impassable : 1 +
(PathTile.deep(tile) ? 6000 : 0) +
(PathTile.nearSolid(tile) || PathTile.solid(tile) ? 3 : 0),
(PathTile.deep(tile) ? 6000 : 0),
costNaval = (team, tile) ->
//impassable same-team neutral block, or non-liquid