mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-12 01:54:14 +00:00
fix NPC send boat chances
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user