mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-26 18:14:36 +00:00
meta: expand trainGold free window from 6 to 10 stops and update tests
This commit is contained in:
@@ -277,8 +277,8 @@ export class DefaultConfig implements Config {
|
||||
rel: "self" | "team" | "ally" | "other",
|
||||
citiesVisited: number,
|
||||
): Gold {
|
||||
// No penalty for the first 5 cities.
|
||||
citiesVisited = Math.max(0, citiesVisited - 5);
|
||||
// No penalty for the first 10 cities.
|
||||
citiesVisited = Math.max(0, citiesVisited - 9);
|
||||
let baseGold: number;
|
||||
switch (rel) {
|
||||
case "ally":
|
||||
|
||||
Reference in New Issue
Block a user