Skip to content

Commit

Permalink
成年小九、成年韩梅AI优化
Browse files Browse the repository at this point in the history
  • Loading branch information
CuteReimu committed Dec 6, 2024
1 parent 459aad1 commit 557664c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/kotlin/MessageCardValue.kt
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,11 @@ fun Player.calculateMessageCardValue(
addScore(inFrontOfWhom, 80)
}
}
if (!inFrontOfWhom.roleFaceUp && (inFrontOfWhom.hasEverFaceUp || inFrontOfWhom === this) &&
inFrontOfWhom !== sender && inFrontOfWhom.skills.any { it is LianXin }) {
// 成年小九、成年韩梅【暗度陈仓】
addScore(inFrontOfWhom, if (sender.isPartner(inFrontOfWhom)) 20 else 10)
}
if (Black in colors && inFrontOfWhom.roleFaceUp &&
inFrontOfWhom.skills.any { it is YiXin } && inFrontOfWhom.messageCards.count(Black) == 2) {
// 李宁玉【遗信】
Expand Down

0 comments on commit 557664c

Please sign in to comment.