File tree Expand file tree Collapse file tree 2 files changed +15
-7
lines changed
Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 236236 eid (assoc eid :source moved-card)]
237237 (queue-event state :corp-install {:card (get-card state moved-card)
238238 :install-state install-state})
239+ (when-let [dre (:derezzed-events cdef)]
240+ (register-events state side moved-card (map #(assoc % :condition :derezzed ) dre)))
239241 (update-disabled-cards state)
240242 (when (:breach @state)
241243 (swap! state update-in [:breach :installed ] (fnil conj #{}) (:cid moved-card)))
262264 (let [eid (assoc eid :source-type :rez )]
263265 (cond
264266 (agenda? moved-card)
265- (do (when-let [dre (:derezzed-events cdef)]
266- (register-events state side moved-card (map #(assoc % :condition :derezzed ) dre)))
267- (reveal-if-unrezzed state side eid moved-card))
267+ (reveal-if-unrezzed state side eid moved-card)
268268 (zero? cost-bonus)
269269 (wait-for
270270 (checkpoint state nil (make-eid state eid))
290290 (wait-for (checkpoint state nil (make-eid state eid))
291291 (complete-with-result state side eid (get-card state moved-card))))
292292 ; ; All other cards
293- (do (when-let [dre (:derezzed-events cdef)]
294- (register-events state side moved-card (map #(assoc % :condition :derezzed ) dre)))
295- (wait-for (checkpoint state nil (make-eid state eid))
296- (complete-with-result state side eid (get-card state moved-card)))))))))))
293+ (wait-for (checkpoint state nil (make-eid state eid))
294+ (complete-with-result state side eid (get-card state moved-card))))))))))
297295
298296(defn get-slot
299297 [state card server {:keys [host-card]}]
Original file line number Diff line number Diff line change 46424642 (click-card state :corp (get-content state :remote3 0 )))
46434643 " Corp gained 2 credits (+1 from Hyobu because the agenda was revealed) and put 1 advancement counter on a card" )))
46444644
4645+ (deftest stoke-vs-trust-op
4646+ (do-game
4647+ (new-game {:corp {:hand [" Trust Operation" ]
4648+ :discard [" Stoke the Embers" ]}
4649+ :runner {:tags 1 }})
4650+ (play-cards state :corp [" Trust Operation" " Done"
4651+ " Stoke the Embers" " New remote"
4652+ " Yes" " Stoke the Embers" ])
4653+ (is (= 1 (get-counters (get-content state :remote1 0 ) :advancement )) " 1 adv" )))
4654+
46454655(deftest stoke-vs-ip-enforcement
46464656 (testing " 1 floating tag"
46474657 (do-game
You can’t perform that action at this time.
0 commit comments