Skip to content

Commit

Permalink
gradlew ktlintFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 7, 2024
1 parent 75f1bca commit 5de35df
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/kotlin/card/WeiBi.kt
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,10 @@ class WeiBi : Card {
it.isEnemy(player) &&
it.cards.any { card -> card.type in availableCardType }
}.run {
filter { it!!.cards.any { card ->
card.id in player.game!!.canWeiBiCardIds && card.type in availableCardType }
filter {
it!!.cards.any { card ->
card.id in player.game!!.canWeiBiCardIds && card.type in availableCardType
}
}.ifEmpty {
filter { it!!.cards.any { card -> card.type in listOf(Jie_Huo, Wu_Dao, Diao_Bao) } }.ifEmpty { this }
.run { if (player.identity != Black) filter { it!!.identity != Black }.ifEmpty { this } else this }
Expand Down

0 comments on commit 5de35df

Please sign in to comment.