Skip to content

Commit

Permalink
Merge pull request #7858 from NBKelly/adv-counter-w2w
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahTheDuke authored Nov 2, 2024
2 parents f4e918c + 5dfbb92 commit ec711b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/clj/game/cards/assets.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3072,9 +3072,9 @@
{:msg "draw 1 card"
:async true
:effect (effect (draw eid 1))}
{:label "place 1 advancement token on a piece of ice"
:msg (msg "place 1 advancement token on " (card-str state target))
:prompt "Choose a piece of ice to place 1 advancement token on"
{:label "place 1 advancement counter on a piece of ice"
:msg (msg "place 1 advancement counter on " (card-str state target))
:prompt "Choose a piece of ice to place 1 advancement counter on"
:async true
:choices {:card #(and (ice? %)
(installed? %))}
Expand Down
4 changes: 2 additions & 2 deletions test/clj/game/cards/assets_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -6469,13 +6469,13 @@
(is (changed? [(:credit (get-corp)) 1]
(click-prompt state :corp "Gain 1 [Credits]"))
"Gained 1 credit")
(is (= ["Draw 1 card" "Place 1 advancement token on a piece of ice" "Add this asset to HQ" "Done"]
(is (= ["Draw 1 card" "Place 1 advancement counter on a piece of ice" "Add this asset to HQ" "Done"]
(prompt-buttons :corp)) "Chosen options are removed")
(is (changed? [(count (:hand (get-corp))) 1]
(click-prompt state :corp "Draw 1 card"))
"Drew 1 card")
(is (changed? [(get-counters (refresh iw) :advancement) 1]
(click-prompt state :corp "Place 1 advancement token on a piece of ice")
(click-prompt state :corp "Place 1 advancement counter on a piece of ice")
(click-card state :corp iw))
"Added 1 advancement token")
(rez state :corp pad)
Expand Down

0 comments on commit ec711b7

Please sign in to comment.