From c3276bd85dd5f03ef94156d1113c12897666fc14 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: Mon, 9 Dec 2024 11:22:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=A3=8E=E4=BA=91=E5=8F=98?= =?UTF-8?q?=E5=B9=BBAI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/kotlin/card/FengYunBianHuan.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/card/FengYunBianHuan.kt b/src/main/kotlin/card/FengYunBianHuan.kt index 73f18664..8263ed2f 100644 --- a/src/main/kotlin/card/FengYunBianHuan.kt +++ b/src/main/kotlin/card/FengYunBianHuan.kt @@ -236,10 +236,10 @@ class FengYunBianHuan : Card { var curScore = alivePlayers.size for (p in player.game!!.sortedFrom(alivePlayers, player.location)) { if (p.identity == player.identity) score += curScore - else if (p.identity != Black) score -= curScore + else score -= curScore curScore-- } - score > 0 || return false + score >= 0 || return false } GameExecutor.post(player.game!!, { convertCardSkill?.onConvert(player)