Skip to content

Commit

Permalink
Merge pull request #7376 from francescopellegrini/fix/physarum-entang…
Browse files Browse the repository at this point in the history
…ler-cost-msg
  • Loading branch information
NoahTheDuke authored Apr 7, 2024
2 parents c72d361 + c07f7df commit dbfbf40
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/clj/game/cards/programs.clj
Original file line number Diff line number Diff line change
Expand Up @@ -2703,10 +2703,11 @@
(same-card? current-ice (:host card))
(can-pay? state :runner eid (:ice context) nil [(->c :credit (count (:subroutines (get-card state current-ice))))])))
:yes-ability {:async true
:msg (msg "bypass " (card-str state current-ice))
:effect (req (wait-for
(pay state side (make-eid state eid) card [(->c :credit (count (:subroutines (get-card state current-ice))))])
(system-msg state :runner (:msg async-result))
(let [payment-str (:msg async-result)
msg-ab {:msg (str "bypass " (card-str state (:ice context)))}]
(print-msg state side msg-ab card nil payment-str))
(bypass-ice state)
(effect-completed state side eid)))}}}]})

Expand Down

0 comments on commit dbfbf40

Please sign in to comment.