mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-21 03:26:02 +00:00
make manpower addition rate function of total manpower
This commit is contained in:
@@ -32,7 +32,9 @@ export class PlayerExecution implements Execution {
|
||||
}
|
||||
this.player.addManpowerReserve(this.config.manpowerAdditionRate(this.player))
|
||||
this.player.addGold(this.config.goldAdditionRate(this.player))
|
||||
this.player.addTroops(this.config.troopAdjustmentRate(this.player))
|
||||
const adjustRate = this.config.troopAdjustmentRate(this.player)
|
||||
this.player.addTroops(adjustRate)
|
||||
this.player.removeManpowerReserve(adjustRate)
|
||||
|
||||
const alliances = Array.from(this.player.alliances())
|
||||
for (const alliance of alliances) {
|
||||
|
||||
Reference in New Issue
Block a user