File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 3561
3561
(damage-prevent :brain Integer/MAX_VALUE))}]})
3562
3562
3563
3563
(defcard " The Price"
3564
- {:on-play {:msg " trash the top 4 cards of the stack"
3565
- :async true
3564
+ {:on-play {:async true
3566
3565
:req (req (not (empty? (:deck runner))))
3567
3566
:effect
3568
3567
(req
3569
3568
(wait-for (mill state :runner (make-eid state eid) :runner 4 )
3570
3569
(let [trashed-cards async-result]
3571
3570
(system-msg state side
3572
- (str " trashes "
3573
- (str/join " , " (map :title trashed-cards))
3571
+ (str " uses " ( :title card) " to trash "
3572
+ (enumerate- str (map :title trashed-cards))
3574
3573
" from the top of the stack" ))
3575
3574
(continue-ability
3576
3575
state side
3577
- {:prompt " choose a trashed card to install"
3576
+ {:prompt " Choose a card to install"
3578
3577
:async true
3579
3578
:choices (req (cancellable (filter #(and (not (event? %))
3580
3579
(runner-can-install? state side % nil )
3581
3580
(can-pay? state side (assoc eid :source card :source-type :runner-install ) % nil [:credit (install-cost state side % {:cost-bonus -3 })])
3582
3581
(in-discard? (get-card state %))) trashed-cards)))
3583
- :msg (msg " install " (:title target) " , paying 3 [Credit ] less" )
3584
- :cancel-effect (effect (system-msg " declines to install a card" )
3582
+ :msg (msg " install " (:title target) " , paying 3 [Credits ] less" )
3583
+ :cancel-effect (effect (system-msg ( str " declines to use " ( :title card) " to install a card" ) )
3585
3584
(effect-completed eid))
3586
3585
:effect (req (let [card-to-install (first (seq (filter #(and (= (:title target) (:title %)) (in-discard? (get-card state %))) trashed-cards)))]
3587
3586
(runner-install state side (assoc eid :source card :source-type :runner-install ) card-to-install {:cost-bonus -3 })))}
You can’t perform that action at this time.
0 commit comments