File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 1830
1830
:events [(assoc (install-fn 3 )
1831
1831
:event :successful-run
1832
1832
:interactive (req true )
1833
- :req (req this-card-run))]}))
1833
+ :req (req (and this-card-run
1834
+ (= :rd (target-server context)))))]}))
1834
1835
1835
1836
(defcard " Immolation Script"
1836
1837
{:makes-run true
4023
4024
:events [{:event :successful-run
4024
4025
:interactive (req true )
4025
4026
:automatic :drain-credits
4026
- :req (req this-card-run)
4027
+ :req (req (and this-card-run
4028
+ (= :hq (target-server context))))
4027
4029
:msg " take 1 tag"
4028
4030
:async true
4029
4031
:effect (req (wait-for (gain-tags state :runner 1 )
Original file line number Diff line number Diff line change 7490
7490
" Siphoned bigly" )
7491
7491
(click-prompt state :runner " No action" )))
7492
7492
7493
+ (deftest transfer-of-wealth-vs-redirect
7494
+ (do-game
7495
+ (new-game {:runner {:hand [" Transfer of Wealth" ]}
7496
+ :corp {:hand [" Proprionegation" ]}})
7497
+ (play-and-score state " Proprionegation" )
7498
+ (take-credits state :corp )
7499
+ (play-from-hand state :runner " Transfer of Wealth" )
7500
+ (card-ability state :corp (get-scored state :corp 0 ) 0 )
7501
+ (run-continue state)
7502
+ (is (changed? [(:credit (get-corp )) 0
7503
+ (:credit (get-runner )) 0
7504
+ (count-tags state) 0
7505
+ (:click (get-runner )) 0 ]
7506
+ (run-continue-until state :success ))
7507
+ " Not siphoned" )
7508
+ (is (no-prompt? state :runner ))))
7509
+
7493
7510
(deftest trade-in
7494
7511
; ; Trade-in - trash an installed Hardware, gain credits equal to half of install cost,
7495
7512
; ; search stack for Hardware and add to grip
You can’t perform that action at this time.
0 commit comments