From e5544805fd45183730dd9abcf451670086c7b8b2 Mon Sep 17 00:00:00 2001 From: zc-meng Date: Thu, 12 Sep 2024 10:20:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=83=85=E6=8A=A5=E4=BC=A0?= =?UTF-8?q?=E9=80=92=E6=94=B6=E7=9B=8A=E8=AE=A1=E7=AE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/kotlin/MessageCardValue.kt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main/kotlin/MessageCardValue.kt b/src/main/kotlin/MessageCardValue.kt index cf55df00..b46ee506 100644 --- a/src/main/kotlin/MessageCardValue.kt +++ b/src/main/kotlin/MessageCardValue.kt @@ -310,6 +310,15 @@ fun Player.calculateMessageCardValue( v1 += 10 } } + if (sender.skills.any { it is ZhenLi } && sender.roleFaceUp) { // 李书云【真理】 + if (Black !in colors) + v1 += 10 + } + if (sender.skills.any { it is HanHouLaoShi }) { // 哑炮【憨厚老实】 + v1 -= 10 + if (identity == sender.identity) + v1 -= 10 + } if (inFrontOfWhom.skills.any { it is MingEr }) { // 老鳖【明饵】 if (Black in colors) { if (identity == inFrontOfWhom.identity) v1 += 10