From 07cd962e6ee04d607eef9949ddd5391281be0fa4 Mon Sep 17 00:00:00 2001 From: zc-meng Date: Tue, 29 Oct 2024 15:38:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=94=90=E4=B9=90=E6=9E=97=E7=89=B9=E6=AE=8A?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/kotlin/Game.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/Game.kt b/src/main/kotlin/Game.kt index f2f7007b..6246662a 100644 --- a/src/main/kotlin/Game.kt +++ b/src/main/kotlin/Game.kt @@ -54,7 +54,11 @@ class Game(val id: Int, totalPlayerCount: Int, val actorRef: ActorRef) { get() { val cnt = players.count { it is HumanPlayer } return when (cnt) { - 1 -> Config.WaitSeconds * 2 + 1 -> { + val humanPlayers = players.filterIsInstance() + if (humanPlayers[0].playerName == "ε”δΉζž—") Config.WaitSeconds * 200 + else Config.WaitSeconds * 2 + } 2 -> Config.WaitSeconds else -> (Config.WaitSeconds * (1 - 0.05 * cnt)).toInt() }