More branch merging
This commit is contained in:
@@ -50,6 +50,7 @@ public class Pathfinder implements Runnable{
|
||||
|
||||
//legs
|
||||
(team, tile) -> PathTile.legSolid(tile) ? impassable : 1 +
|
||||
(PathTile.deep(tile) ? 6000 : 0) + //leg units can now drown
|
||||
(PathTile.solid(tile) ? 5 : 0),
|
||||
|
||||
//water
|
||||
|
||||
@@ -203,6 +203,7 @@ public class WaveSpawner{
|
||||
unit.apply(StatusEffects.unmoving, 30f);
|
||||
unit.apply(StatusEffects.invincible, 60f);
|
||||
unit.add();
|
||||
unit.unloaded();
|
||||
|
||||
Events.fire(new UnitSpawnEvent(unit));
|
||||
Call.spawnEffect(unit.x, unit.y, unit.rotation, unit.type);
|
||||
|
||||
Reference in New Issue
Block a user