mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-28 21:04:35 +00:00
turn off directed expansion because its not workign right
This commit is contained in:
@@ -16,8 +16,9 @@
|
||||
* attacks cancel out DONE 8/13/2024
|
||||
* upload and start server DONE 8/13/2024
|
||||
* fix multiplayer DONE 8/14/2024
|
||||
* fix server resource leak
|
||||
* fix server resource leak DONE 8/14/2024
|
||||
* balance attacks/expansions better
|
||||
* delete players when territories too small
|
||||
* better algorithm for name render placement
|
||||
* make boats larger
|
||||
* have boats not get close to shore
|
||||
|
||||
@@ -25,6 +25,9 @@ export class AttackExecution implements Execution {
|
||||
|
||||
init(mg: MutableGame, ticks: number) {
|
||||
|
||||
// TODO: remove this and fix directed expansion.
|
||||
this.targetCell = null
|
||||
|
||||
this._owner = mg.player(this._ownerID)
|
||||
this.target = this.targetID == null ? mg.terraNullius() : mg.player(this.targetID)
|
||||
this.troops = Math.min(this._owner.troops(), this.troops)
|
||||
|
||||
Reference in New Issue
Block a user