improve boat attack ux

This commit is contained in:
evanpelle
2024-09-04 20:50:42 -07:00
parent a92bebce05
commit 727588199a
4 changed files with 14 additions and 9 deletions
+1 -2
View File
@@ -30,7 +30,6 @@ export class AttackExecution implements Execution {
return
}
// TODO: remove this and fix directed expansion.
this.targetCell = null
this._owner = mg.player(this._ownerID)
@@ -138,7 +137,7 @@ export class AttackExecution implements Execution {
}
this.toConquer.enqueue(new TileContainer(
neighbor,
this.random.nextInt(0, 2) - numOwnedByMe + Math.floor(tile.magnitude() / 10),
dist / 100 + this.random.nextInt(0, 2) - numOwnedByMe + Math.floor(tile.magnitude() / 10),
))
}
}