mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-04 21:06:09 +00:00
ports increase in price, NPC attack more frequently, tradeship destroyed if dst port destroyed or captured
This commit is contained in:
@@ -86,7 +86,7 @@ export class PortExecution implements Execution {
|
||||
|
||||
const portConnections = Array.from(this.portPaths.keys())
|
||||
|
||||
if (portConnections.length > 0 && this.random.chance(250 * this.player().units(UnitType.Port).length)) {
|
||||
if (portConnections.length > 0 && this.random.chance(250)) {
|
||||
const port = this.random.randElement(portConnections)
|
||||
const path = this.portPaths.get(port)
|
||||
if (path != null) {
|
||||
|
||||
Reference in New Issue
Block a user