Directional liquid bridge

This commit is contained in:
Anuken
2021-11-08 12:06:55 -05:00
parent ce0e26f008
commit dffe90acff
15 changed files with 315 additions and 208 deletions

View File

@@ -31,6 +31,7 @@ public class GroundAI extends AIController{
if(state.rules.waves && unit.team == state.rules.defaultTeam){
Tile spawner = getClosestSpawner();
if(spawner != null && unit.within(spawner, state.rules.dropZoneRadius + 120f)) move = false;
if(spawner == null && core == null) move = false;
}
if(move) pathfind(Pathfinder.fieldCore);