mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-10 23:54:15 +00:00
fix boat bug
This commit is contained in:
@@ -64,6 +64,7 @@ export class AttackExecution implements Execution {
|
||||
badTiles++
|
||||
continue
|
||||
}
|
||||
// TODO: move this to configs
|
||||
this._owner.conquer(tileToConquer)
|
||||
if (this.target.isPlayer()) {
|
||||
this.troops -= Math.max(this.target.troops() / this._owner.troops(), 1)
|
||||
|
||||
Reference in New Issue
Block a user