Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adv-counter instead of token #7858

Merged
merged 1 commit into from
Nov 2, 2024
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
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
Loading