From a8492fbaa57dadebb2b35ae80dc342069082efac 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: Thu, 12 Sep 2024 15:26:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=AE=A1=E7=AE=97=E5=88=86?= =?UTF-8?q?=E6=95=B0=E7=9A=84AI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/kotlin/MessageCardValue.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/kotlin/MessageCardValue.kt b/src/main/kotlin/MessageCardValue.kt index edc7fd7d..1a5a712e 100644 --- a/src/main/kotlin/MessageCardValue.kt +++ b/src/main/kotlin/MessageCardValue.kt @@ -371,6 +371,8 @@ fun Player.calculateMessageCardValue( } } } + if (v1 > 460) v1 = 600 + else if (v1 < -460) v1 = -600 return v1 }