diff --git a/src/clj/game/cards/ice.clj b/src/clj/game/cards/ice.clj index 9143197303..3e748e5782 100644 --- a/src/clj/game/cards/ice.clj +++ b/src/clj/game/cards/ice.clj @@ -654,7 +654,7 @@ (effect (continue-ability state side {:async true - :prompt "Choose the ice" + :prompt label :choices {:req (req (pred card target)) :all true} :effect (effect @@ -3384,6 +3384,7 @@ (defcard "Mycoweb" {:subroutines [{:label "Install an ice from Archives, ignoring all costs" + :prompt "Choose an ice to install from Archives" :show-discard true :choices {:req (req (ice? target) (in-discard? target))} diff --git a/test/clj/game/cards/ice_test.clj b/test/clj/game/cards/ice_test.clj index 1ae8aa681c..896676017a 100644 --- a/test/clj/game/cards/ice_test.clj +++ b/test/clj/game/cards/ice_test.clj @@ -5926,12 +5926,14 @@ (deftest mycoweb-code-gate-test (do-game (subroutine-test "Mycoweb" 0 {:corp {:discard ["Enigma"]}}) + (is (= "Choose an ice to install from Archives" (:msg (prompt-map :corp)))) (click-card state :corp "Enigma") (click-prompt state :corp "HQ") (card-subroutine state :corp (get-ice state :hq 0) 1) (click-card state :corp "Enigma") (is (rezzed? (get-ice state :hq 1)) "Enigma rezzed") (card-subroutine state :corp (get-ice state :hq 0) 3) + (is (= "Resolve subroutine on another rezzed Code Gate" (:msg (prompt-map :corp)))) (click-card state :corp "Enigma") (click-prompt state :corp "End the run") (is (not (:run @state)) "Run ended by enigma"))) @@ -5945,6 +5947,7 @@ (click-card state :corp "Guard") (is (rezzed? (get-ice state :hq 1)) "Guard rezzed") (card-subroutine state :corp (get-ice state :hq 0) 2) + (is (= "Resolve subroutine on a rezzed Sentry" (:msg (prompt-map :corp)))) (click-card state :corp "Guard") (click-prompt state :corp "End the run") (is (not (:run @state)) "Run ended by Guard")))