From 2aff9f05df8918ea6923a1d50d1806958edd6fc9 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: Fri, 6 Dec 2024 16:12:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E4=B8=80=E5=AE=9A=E7=A8=8B=E5=BA=A6?= =?UTF-8?q?=E4=B8=8A=E7=BC=93=E8=A7=A3=E9=84=AD=E6=96=87=E5=85=88AI?= =?UTF-8?q?=E5=85=88=E7=94=A8=E8=B0=83=E5=8C=85=E5=86=8D=E5=8F=91=E5=8A=A8?= =?UTF-8?q?=E5=81=B7=E5=A4=A9=E7=9A=84=E9=97=AE=E9=A2=98(resolve=20#308)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/kotlin/skill/TouTian.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/skill/TouTian.kt b/src/main/kotlin/skill/TouTian.kt index 558648d6..e7ef2165 100644 --- a/src/main/kotlin/skill/TouTian.kt +++ b/src/main/kotlin/skill/TouTian.kt @@ -55,7 +55,7 @@ class TouTian : ActiveSkill { val newValue = player.calculateMessageCardValue(e.whoseTurn, player, e.messageCard, sender = e.sender) newValue > oldValue || return false val result = player.calFightPhase(e) - if (result != null && result.cardType in listOf(Jie_Huo, Wu_Dao) && result.value >= newValue) return false + if (result != null && result.cardType in listOf(Jie_Huo, Wu_Dao) && result.value > newValue + 11) return false GameExecutor.post(e.whoseFightTurn.game!!, { skill.executeProtocol(e.whoseFightTurn.game!!, e.whoseFightTurn, skillTouTianTos { }) }, 3, TimeUnit.SECONDS)