Skip to content

Commit

Permalink
接情报AI优化
Browse files Browse the repository at this point in the history
  • Loading branch information
CuteReimu committed Sep 12, 2024
1 parent ad9c992 commit 0b62064
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/kotlin/MessageCardValue.kt
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,10 @@ fun Player.calculateMessageCardValue(
}
if (sender !== inFrontOfWhom && sender.skills.any { it is HanHouLaoShi }) {
// 哑炮【憨厚老实】
addScore(sender, -10)
addScore(inFrontOfWhom, 10)
if (sender.cards.isNotEmpty()) {
addScore(sender, -10)
addScore(inFrontOfWhom, 10)
}
}
if (Black in colors && inFrontOfWhom.roleFaceUp &&
inFrontOfWhom.skills.any { it is YiXin } && inFrontOfWhom.messageCards.count(Black) == 2) {
Expand Down

0 comments on commit 0b62064

Please sign in to comment.