diff --git a/TODO.txt b/TODO.txt index b55da9536..237207082 100644 --- a/TODO.txt +++ b/TODO.txt @@ -187,7 +187,7 @@ * REFACTOR: move canbuild to player DONE 11/17/2024 * BUG: can build destroyer on land DONE 11/17/2024 * fix pathfinding bug DONE 11/20/2024 -* make two nukes: atom & hydrogen +* make two nukes: atom & hydrogen DONE 11/202/2024 * NPC builds ports * destroyer can capture trade ships * add battleship diff --git a/src/core/configuration/DevConfig.ts b/src/core/configuration/DevConfig.ts index f850f741a..985e84e28 100644 --- a/src/core/configuration/DevConfig.ts +++ b/src/core/configuration/DevConfig.ts @@ -4,7 +4,7 @@ import { DefaultConfig } from "./DefaultConfig"; export const devConfig = new class extends DefaultConfig { unitInfo(type: UnitType): UnitInfo { const info = super.unitInfo(type) - info.cost = 0 + // info.cost = 0 return info } diff --git a/src/core/execution/FakeHumanExecution.ts b/src/core/execution/FakeHumanExecution.ts index 375616f8c..3cb042824 100644 --- a/src/core/execution/FakeHumanExecution.ts +++ b/src/core/execution/FakeHumanExecution.ts @@ -109,7 +109,7 @@ export class FakeHumanExecution implements Execution { const enemyborder = Array.from(this.player.borderTiles()).flatMap(t => t.neighbors()).filter(t => t.hasOwner() && t.owner() != this.player) - if (enemyborder.length == 0 || this.random.chance(1)) { + if (enemyborder.length == 0 || this.random.chance(5)) { this.sendBoat() return }