Skip to content

Commit

Permalink
Merge pull request #5876 from jwarwick/macrophage
Browse files Browse the repository at this point in the history
Fix Macrophage
  • Loading branch information
jwarwick authored May 12, 2021
2 parents 203a460 + bec537e commit 61a3dee
Showing 1 changed file with 13 additions and 22 deletions.
35 changes: 13 additions & 22 deletions src/clj/game/cards/ice.clj
Original file line number Diff line number Diff line change
Expand Up @@ -1545,18 +1545,13 @@
(all-active-installed state :runner)))))})

(defcard "Hailstorm"
{:subroutines [{:label "Remove a card in the Heap from the game"
:async true
:effect (effect (continue-ability
{:async true
:req (req (not (zone-locked? state :runner :discard)))
:prompt "Choose a card in the Runner's Heap"
:choices (req (:discard runner))
:msg (msg "remove " (:title target) " from the game")
:effect (effect (move :runner target :rfg))
}
card nil))}
end-the-run]})
{:subroutines [{:label "Remove a card in the Heap from the game"
:req (req (not (zone-locked? state :runner :discard)))
:prompt "Choose a card in the Runner's Heap"
:choices (req (cancellable (:discard runner) :sorted))
:msg (msg "remove " (:title target) " from the game")
:effect (effect (move :runner target :rfg))}
end-the-run]})

(defcard "Harvester"
(let [sub {:label "Runner draws 3 cards and discards down to maximum hand size"
Expand Down Expand Up @@ -2125,16 +2120,12 @@
:async true
:effect (effect (clear-wait-prompt :runner)
(trash eid target {:cause :subroutine}))})
(trace-ability 2 {:label "Remove a virus in the Heap from the game"
:async true
:effect (effect (continue-ability
{:async true
:req (req (not (zone-locked? state :runner :discard)))
:prompt "Choose a virus in the Heap to remove from the game"
:choices (req (cancellable (filter #(has-subtype? % "Virus") (:discard runner)) :sorted))
:msg (msg "remove " (:title target) " from the game")
:effect (effect (move :runner target :rfg))}
card nil))})
(trace-ability 2 {:label "Remove a virus in the Heap from the game"
:req (req (not (zone-locked? state :runner :discard)))
:prompt "Choose a virus in the Heap to remove from the game"
:choices (req (cancellable (filter #(has-subtype? % "Virus") (:discard runner)) :sorted))
:msg (msg "remove " (:title target) " from the game")
:effect (effect (move :runner target :rfg))})
(trace-ability 1 end-the-run)]})

(defcard "Magnet"
Expand Down

0 comments on commit 61a3dee

Please sign in to comment.