Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/clj/game/cards/assets.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3054,6 +3054,7 @@

(defcard "Wage Workers"
(let [payoff {:msg "gain [Click]"
:req (req (not (get-in @state [side :register :terminal])))
:effect (effect (gain-clicks 1))}
relevant-keys (fn [context] {:cid (get-in context [:card :cid])
:idx (:ability-idx context)})]
Expand Down
12 changes: 12 additions & 0 deletions test/clj/game/cards/assets_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -6416,6 +6416,18 @@
(click-credit state :corp)))
"Corp spent 2 clicks instead of 3")))

(deftest wage-workers-vs-terminal-operations
(do-game
(new-game {:corp {:hand ["Wage Workers" "Too Big to Fail" "Biotic Labor" "IPO"]
:credits 9}})
(play-from-hand state :corp "Wage Workers" "New remote")
(rez state :corp (get-content state :remote1 0))
(play-from-hand state :corp "Too Big to Fail")
(play-from-hand state :corp "Biotic Labor")
(is (= 2 (:click (get-corp))) "2 clicks to go")
(play-from-hand state :corp "IPO")
(is (= 0 (:click (get-corp))) "Terminal pinned us to 0 creds")))

(deftest wage-workers-vs-ob-interaction
(do-game
(new-game {:corp {:deck ["Wage Workers"]
Expand Down