From 1e480b793917ef56d94e3e72cc11ddf79bd3e7d1 Mon Sep 17 00:00:00 2001 From: Evan Date: Wed, 2 Apr 2025 13:06:38 -0700 Subject: [PATCH] require 95% to win on teams --- src/core/configuration/DefaultConfig.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/configuration/DefaultConfig.ts b/src/core/configuration/DefaultConfig.ts index 8322ff076..88eb0c4cc 100644 --- a/src/core/configuration/DefaultConfig.ts +++ b/src/core/configuration/DefaultConfig.ts @@ -2,6 +2,7 @@ import { Difficulty, Game, GameMapType, + GameMode, GameType, Gold, Player, @@ -376,6 +377,9 @@ export class DefaultConfig implements Config { return 600 * 10; // 10 minutes. } percentageTilesOwnedToWin(): number { + if (this._gameConfig.gameMode == GameMode.Team) { + return 95; + } return 80; } boatMaxNumber(): number {