File tree Expand file tree Collapse file tree 6 files changed +16
-15
lines changed
Expand file tree Collapse file tree 6 files changed +16
-15
lines changed Original file line number Diff line number Diff line change 10621062 :choices {:card #(and (installed? %)
10631063 (ice? %))}
10641064 :async true
1065- :effect (req (wait-for (expose state side [target] { :card card} )
1065+ :effect (req (wait-for (expose state side [target])
10661066 (continue-ability
10671067 state side
10681068 {:prompt " Choose a server"
12101210 (= (last (get-zone topmost)) :content )
12111211 (not (:rezzed %))))}
12121212 :async true
1213- :effect (req (wait-for (expose state side [target] { :card card} )
1213+ :effect (req (wait-for (expose state side [target])
12141214 (if-let [target (when async-result (first (:cards async-result)))]
12151215 (if (or (asset? target)
12161216 (upgrade? target))
15001500 (= (last (get-zone topmost)) :content )
15011501 (not (rezzed? %))))}
15021502 :async true
1503- :effect (req (wait-for (expose state side [target] { :card card} )
1503+ :effect (req (wait-for (expose state side [target])
15041504 (continue-ability
15051505 state :runner
15061506 (when (and async-result ; ; expose was successful
19321932 {:choices {:card #(and (installed? %)
19331933 (not (rezzed? %)))}
19341934 :async true
1935- :effect (effect (expose eid [target] { :card card} ))}
1935+ :effect (effect (expose eid [target]))}
19361936 {:msg " gain 2 [Credits]"
19371937 :async true
19381938 :effect (effect (gain-credits eid 2 ))})
35073507 :async true
35083508 :change-in-game-state (req (some (complement faceup?) (all-installed state :corp )))
35093509 :effect (req (if (pos? (count targets))
3510- (expose state side eid targets { :card card} )
3510+ (expose state side eid targets)
35113511 (effect-completed state side eid)))}})
35123512
35133513(defcard " Scavenge"
37053705 (not (ice? %))
37063706 (corp? %))}
37073707 :async true
3708- :effect (req (wait-for (expose state side [target] { :card card} )
3708+ :effect (req (wait-for (expose state side [target])
37093709 (continue-ability
37103710 state side
37113711 {:prompt " Choose a server"
Original file line number Diff line number Diff line change 11401140 (not (rezzed? current-ice))))
11411141 :label " expose approached ice"
11421142 :async true
1143- :effect (req (wait-for (expose state side (make-eid state eid) [current-ice] { :card card} )
1143+ :effect (req (wait-for (expose state side (make-eid state eid) [current-ice])
11441144 (continue-ability state side (offer-jack-out ) card nil )))}]})
11451145
11461146(defcard " Grimoire"
Original file line number Diff line number Diff line change 111111 :effect (req (if (not (can-pay? state :corp eid card nil (->c :credit 1 )))
112112 (do
113113 (toast state :corp " Cannot afford to pay 1 [Credit] to block card exposure" " info" )
114- (expose state :runner eid [(:card context)] { :card card} ))
114+ (expose state :runner eid [(:card context)]))
115115 (continue-ability
116116 state side
117117 {:optional
120120 :player :corp
121121 :no-ability
122122 {:async true
123- :effect (effect (expose :runner eid [(:card context)] { :card card} ))}
123+ :effect (effect (expose :runner eid [(:card context)]))}
124124 :yes-ability
125125 {:async true
126126 :effect
19161916 (first-successful-run-on-server? state :hq )))
19171917 :choices {:card #(and (installed? %)
19181918 (not (rezzed? %)))}
1919- :effect (effect (expose eid [target] { :card card} ))}]})
1919+ :effect (effect (expose eid [target]))}]})
19201920
19211921(defcard " Skorpios Defense Systems: Persuasive Power"
19221922 (let [set-resolution-mode
Original file line number Diff line number Diff line change 31143114 :yes-ability
31153115 {:async true
31163116 :effect (req (wait-for
3117- (expose state side [(:ice context)] { :card card} )
3117+ (expose state side [(:ice context)])
31183118 (continue-ability state side (offer-jack-out ) card nil )))}}}]})
31193119
31203120(defcard " Snowball"
34833483 (not (rezzed? %)))}
34843484 :async true
34853485 :msg (str " name " chosen-subtype)
3486- :effect (req (wait-for (expose state side [target] { :card card} )
3486+ :effect (req (wait-for (expose state side [target])
34873487 (when (and async-result (has-subtype? target chosen-subtype))
34883488 (do (move state :corp target :hand )
34893489 (system-msg state :runner
Original file line number Diff line number Diff line change 27782778 :choices {:card installed?}
27792779 :async true
27802780 :cost [(->c :trash-can )]
2781- :effect (effect (expose eid [target] { :card card} ))}]})
2781+ :effect (effect (expose eid [target]))}]})
27822782
27832783(defcard " Reclaim"
27842784 {:abilities
Original file line number Diff line number Diff line change 2828(defn expose
2929 " Exposes the given cards."
3030 ([state side eid targets] (expose state side eid targets nil ))
31- ([state side eid targets {:keys [unpreventable card] :as args}]
32- (let [targets (filterv #(not (or (rezzed? %)
31+ ([state side eid targets {:keys [unpreventable] :as args}]
32+ (let [args (assoc args :card (:source eid))
33+ targets (filterv #(not (or (rezzed? %)
3334 (nil? %)
3435 (any-effects state side :cannot-be-exposed true ? %)))
3536 targets)]
You can’t perform that action at this time.
0 commit comments