diff --git a/src/core/execution/NukeExecution.ts b/src/core/execution/NukeExecution.ts index 9a729991a..4adb5adec 100644 --- a/src/core/execution/NukeExecution.ts +++ b/src/core/execution/NukeExecution.ts @@ -70,16 +70,15 @@ export class NukeExecution implements Execution { }) const ratio = Object.fromEntries( - this.mg.players().map(p => [p.id(), p.troops() / p.numTilesOwned()]) + this.mg.players().map(p => [p.id(), (p.troops() + p.workers()) / p.numTilesOwned()]) ) - const others = new Set() for (const tile of toDestroy) { const owner = tile.owner() if (owner.isPlayer()) { const mp = this.mg.player(owner.id()) mp.relinquish(tile) - mp.removeTroops(ratio[mp.id()]) + mp.removeTroops(2 * ratio[mp.id()]) others.add(mp) } }