Skip to content

Commit

Permalink
PEONIA_149 limit max selection to 3
Browse files Browse the repository at this point in the history
  • Loading branch information
luongthomas committed Jun 30, 2021
1 parent 62e0d7b commit fdade23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tcgwars/logic/impl/gen8/ChillingReign.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -3493,8 +3493,8 @@ public enum ChillingReign implements LogicCardInfo {
return supporter (this) {
text "Choose up to 3 of your Prize cards and put them into your hand. Then, place the same number of cards from your hand face-down as Prize cards. You may play only 1 Supporter card during your turn."
onPlay {
def maxPrizes = Math.min(3, my.prizeCardSet.size())
maxPrizes = Math.max(maxPrizes, my.hand.size())
def maxPrizes = Math.max(my.prizeCardSet.size(), my.hand.size())
maxPrizes = Math.min(3, maxPrizes)
def prizes = my.prizeCardSet.select(min: 1, max: maxPrizes, hidden:true, "Choose up to $maxPrizes prize cards to move to your hand")
prizes.moveTo(hidden: true, my.hand)

Expand Down

0 comments on commit fdade23

Please sign in to comment.