File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 2514
2514
{:event :successful-run
2515
2515
:req (req this-card-run)
2516
2516
:msg (msg " gain " (min 3 (get-counters card :credit )) " [Credits]" )
2517
- :silent (req true )
2517
+ :interactive (req true )
2518
2518
:async true
2519
2519
:effect (req (let [credits (min 3 (get-counters card :credit ))]
2520
2520
(add-counter state side card :credit (- credits))
Original file line number Diff line number Diff line change 4898
4898
(is (= 9 (:credit (get-runner ))) " Runner still has 9 credits" )
4899
4899
(is (= 3 (get-counters (get-resource state 0 ) :credit )) " Red team still has 3 credits remaining" )))
4900
4900
4901
+ (deftest red-team-is-interactive
4902
+ ; ; Red Team ability is interactive
4903
+ (do-game
4904
+ (new-game {:runner {:hand [" Red Team" " World Tree" ]
4905
+ :deck [" Liberated Account" ]
4906
+ :credits 11 }})
4907
+ (take-credits state :corp )
4908
+ (play-from-hand state :runner " Red Team" )
4909
+ (play-from-hand state :runner " World Tree" )
4910
+ (card-ability state :runner (get-resource state 0 ) 0 )
4911
+ (click-prompt state :runner " Archives" )
4912
+ (run-continue state)
4913
+ (click-prompt state :runner " Red Team" )
4914
+ (click-card state :runner " Red Team" )
4915
+ (click-prompt state :runner " Liberated Account" )))
4916
+
4901
4917
(deftest rolodex
4902
4918
; ; Rolodex - Full test
4903
4919
(do-game
You can’t perform that action at this time.
0 commit comments