Skip to content

Commit

Permalink
处理秦圆圆和清道夫、先行者的一些问题(#318,排除#317的情况)
Browse files Browse the repository at this point in the history
  • Loading branch information
CuteReimu committed Jan 20, 2025
1 parent cc8bb20 commit 4cce56f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/MessageCardValue.kt
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ fun Player.calSendMessageCard(
*/
fun Player.wantToSave(whoseTurn: Player, whoDie: Player): Boolean {
// 秦圆圆
if (roleFaceUp && skills.any { it is BiYiShuangFei }) {
if (this !== whoDie && roleFaceUp && skills.any { it is BiYiShuangFei }) {
if (whoDie.roleFaceUp && whoDie.isMale && whoDie.identity == Black && whoDie.secretTask == Pioneer)
return false // 先行者
if (whoDie.messageCards.count(Red) <= 1 && whoDie.messageCards.count(Blue) <= 1 &&
Expand Down

0 comments on commit 4cce56f

Please sign in to comment.