Skip to content

Commit

Permalink
Merge pull request #7885 from NBKelly/more-cards-wait
Browse files Browse the repository at this point in the history
More cards wait
  • Loading branch information
NoahTheDuke authored Jan 7, 2025
2 parents a758047 + 27c98b4 commit f77fd05
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/clj/game/cards/hardware.clj
Original file line number Diff line number Diff line change
Expand Up @@ -2175,6 +2175,7 @@
(effect
(continue-ability
{:show-discard true
:waiting-prompt true
:choices {:req (req (and (in-discard? target)
(program? target)
(can-pay? state side (assoc eid :source card :source-type :runner-install) target nil
Expand Down
1 change: 1 addition & 0 deletions src/clj/game/cards/ice.clj
Original file line number Diff line number Diff line change
Expand Up @@ -1079,6 +1079,7 @@
:label "Install an ice from HQ or Archives"
:prompt "Choose an ice to install from Archives or HQ"
:show-discard true
:waiting-prompt true
:choices {:card #(and (ice? %)
(or (in-hand? %)
(in-discard? %)))}
Expand Down
1 change: 1 addition & 0 deletions test/clj/game/cards/hardware_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -4770,6 +4770,7 @@
(click-card state :runner "Corroder")
(is (changed? [(:credit (get-runner)) 0]
(card-ability state :runner (get-hardware state 0) 0)
(waiting? state :corp)
(click-card state :runner "Mantle"))
"Mantle is installed for free")
(is (get-program state 0) "Mantle is installed for free")))
Expand Down
1 change: 1 addition & 0 deletions test/clj/game/cards/ice_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -1294,6 +1294,7 @@
(rez state :corp bran)
(run-continue state)
(card-subroutine state :corp bran 0)
(waiting? state :runner)
(is (changed? [(:credit (get-corp)) 0]
(click-card state :corp "Mausolus"))
"Mausolus installed for free")
Expand Down

0 comments on commit f77fd05

Please sign in to comment.