Skip to content

Commit f84447e

Browse files
authored
Merge pull request #7967 from NBKelly/wage-workers-vs-terminal
2 parents 450564b + 9725fe5 commit f84447e

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

src/clj/game/cards/assets.clj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3064,6 +3064,7 @@
30643064

30653065
(defcard "Wage Workers"
30663066
(let [payoff {:msg "gain [Click]"
3067+
:req (req (not (get-in @state [side :register :terminal])))
30673068
:effect (effect (gain-clicks 1))}
30683069
relevant-keys (fn [context] {:cid (get-in context [:card :cid])
30693070
:idx (:ability-idx context)})]

test/clj/game/cards/assets_test.clj

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6416,6 +6416,18 @@
64166416
(click-credit state :corp)))
64176417
"Corp spent 2 clicks instead of 3")))
64186418

6419+
(deftest wage-workers-vs-terminal-operations
6420+
(do-game
6421+
(new-game {:corp {:hand ["Wage Workers" "Too Big to Fail" "Biotic Labor" "IPO"]
6422+
:credits 9}})
6423+
(play-from-hand state :corp "Wage Workers" "New remote")
6424+
(rez state :corp (get-content state :remote1 0))
6425+
(play-from-hand state :corp "Too Big to Fail")
6426+
(play-from-hand state :corp "Biotic Labor")
6427+
(is (= 2 (:click (get-corp))) "2 clicks to go")
6428+
(play-from-hand state :corp "IPO")
6429+
(is (= 0 (:click (get-corp))) "Terminal pinned us to 0 creds")))
6430+
64196431
(deftest wage-workers-vs-ob-interaction
64206432
(do-game
64216433
(new-game {:corp {:deck ["Wage Workers"]

0 commit comments

Comments
 (0)