Skip to content

Commit

Permalink
优化情报传递收益计算
Browse files Browse the repository at this point in the history
  • Loading branch information
zc-meng committed Sep 12, 2024
1 parent d81e111 commit e554480
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/main/kotlin/MessageCardValue.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e554480

Please sign in to comment.