mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-08-05 07:07:30 +00:00
improve boat attack ux
This commit is contained in:
@@ -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),
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user