Skip to content

Commit

Permalink
Merge pull request #6294 from jwarwick/shortage
Browse files Browse the repository at this point in the history
Fix O2 Shortage message
  • Loading branch information
jwarwick authored Mar 17, 2022
2 parents e4aa09b + 0449fd9 commit 205e7b9
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/clj/game/cards/operations.clj
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,7 @@
{:choices {:card #(and (installed? %)
(runner? %)
(not (has-subtype? % "Virtual")))}
:msg "add an installed non-virtual card to the Runner's grip"
:msg "add an installed non-virtual card to the Runner's Grip"
:effect (effect (move :runner target :hand true))}}}})

(defcard "Hedge Fund"
Expand Down Expand Up @@ -1064,7 +1064,7 @@
(in-hand? %))}
:async true
:msg (msg "force the Runner to trash"
(:title target) " from their grip")
(:title target) " from their Grip")
:effect (effect (trash :runner eid target {:unpreventable true}))}]})

(defcard "Hunter Seeker"
Expand Down Expand Up @@ -1448,7 +1448,12 @@
:prompt "Trash 1 random card from your Grip?"
:player :runner
:yes-ability {:async true
:effect (effect (trash-cards :runner eid (take 1 (shuffle (:hand runner))) nil))}
:effect (req (let [c (take 1 (shuffle (:hand runner)))]
(do
(system-msg state :corp
(str "uses O₂ Shortage to trash "
(:title (first c)) " from the Runner's Grip"))
(trash-cards state :runner eid c nil))))}
:no-ability {:msg "gain [Click][Click]"
:effect (effect (gain-clicks :corp 2))}}}
card nil)))}})
Expand Down Expand Up @@ -2093,7 +2098,7 @@
:choices {:card #(and (installed? %)
(runner? %))
:max 2}
:msg (msg (str "move " (string/join ", " (map :title targets)) " to the Runner's grip"))
:msg (msg (str "move " (string/join ", " (map :title targets)) " to the Runner's Grip"))
:effect (req (doseq [c targets]
(move state :runner c :hand)))}})

Expand Down

0 comments on commit 205e7b9

Please sign in to comment.