meta: expand trainGold free window from 6 to 10 stops and update tests

This commit is contained in:
evanpelle
2026-03-12 21:09:18 -07:00
parent 97fa84732b
commit e8ee83e4b2
2 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -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":