From 56bc640e5e81c5d46d8139e27c907b162627b419 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=87=E8=91=A9=E3=81=AE=E7=81=B5=E6=A2=A6?= Date: Wed, 11 Dec 2024 15:06:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=96=B0=E6=89=8B=E5=B1=80SP?= =?UTF-8?q?=E9=A1=BE=E5=B0=8F=E6=A2=A6=E7=BB=99=E5=AE=8C=E6=89=80=E6=9C=89?= =?UTF-8?q?=E6=89=8B=E7=89=8C=E5=8F=AA=E5=89=A9=E4=B8=8B=E4=B8=80=E5=BC=A0?= =?UTF-8?q?=E5=B9=B3=E8=A1=A1=E7=9A=84=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/kotlin/RobotPlayer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/RobotPlayer.kt b/src/main/kotlin/RobotPlayer.kt index e6ae0c90..efce4639 100644 --- a/src/main/kotlin/RobotPlayer.kt +++ b/src/main/kotlin/RobotPlayer.kt @@ -36,7 +36,7 @@ class RobotPlayer : Player() { } if (!Config.IsGmEnable && game!!.players.count { it is HumanPlayer } == 1) { val human = game!!.players.first { it is HumanPlayer }!! - if (isEnemy(human)) { // 对于低分的新人,敌方机器人可能不出牌 + if (isEnemy(human) && !(cards.size == 1 && cards.first().type == Ping_Heng)) { // 对于低分的新人,敌方机器人可能不出牌 val info = Statistics.getPlayerInfo(human.playerName) if (info != null) { val score = info.score