Skip to content

Commit 75e75ef

Browse files
authored
Merge pull request #6446 from francescopellegrini/fi/elivagar-bifurcation-prompt
2 parents 1f054e8 + f7d35b8 commit 75e75ef

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

src/clj/game/cards/agendas.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,8 @@
673673
:waiting-prompt "Corp to make a decision"
674674
:prompt "Choose a card to derez"
675675
:choices {:card #(rezzed? %)}
676-
:cancel-effect {:msg "decline to derez a card"}
676+
:cancel-effect (effect (system-msg :runner "declines to use Élivágar Bifurcation to derez a card")
677+
(effect-completed eid))
677678
:effect (effect (derez target))}})
678679

679680
(defcard "Eden Fragment"

test/clj/game/cards/agendas_test.clj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1160,6 +1160,14 @@
11601160
(click-card state :corp (refresh iwall))
11611161
(is (not (rezzed? (refresh iwall))) "ice wall was derezzed"))))
11621162

1163+
(deftest elivagar-bifurcation-declined
1164+
;; Élivágar Bifurcation score effect is optional
1165+
(do-game
1166+
(new-game {:corp {:hand ["Élivágar Bifurcation"]}})
1167+
(play-and-score state "Élivágar Bifurcation")
1168+
(click-prompt state :corp "Done")
1169+
(is (no-prompt? state :corp))))
1170+
11631171
(deftest eden-fragment
11641172
;; Test that Eden Fragment ignores the install cost of the first ice
11651173
(do-game

0 commit comments

Comments
 (0)