File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 708
708
(defcard " Economic Warfare"
709
709
{:on-play
710
710
{:req (req (and (last-turn? state :runner :successful-run )
711
- (can-pay? state :runner ( assoc eid :source card :source-type :ability ) card nil :credit 4 )))
711
+ (>= ( :credit runner) 4 )))
712
712
:msg " make the runner lose 4 [Credits]"
713
713
:async true
714
714
:effect (effect (lose-credits :runner eid 4 ))}})
Original file line number Diff line number Diff line change 1167
1167
(play-from-hand state :corp " Economic Warfare" )
1168
1168
(is (= 3 (:credit (get-runner ))) " Runner has 3 credits" )))
1169
1169
1170
+ (deftest economic-warfare-ignoring-net-mercur-credits
1171
+ ; ; Economic Warfare should ignore Net Mercur credits
1172
+ (do-game
1173
+ (new-game {:corp {:hand [" Economic Warfare" ]}
1174
+ :runner {:hand [" Net Mercur" " Mantle" " Marjanah" ]}})
1175
+ (take-credits state :corp )
1176
+ (core/gain state :runner :credit 2 )
1177
+ (play-from-hand state :runner " Marjanah" )
1178
+ (play-from-hand state :runner " Mantle" )
1179
+ (play-from-hand state :runner " Net Mercur" )
1180
+ (run-on state :archives )
1181
+ (card-ability state :runner (get-program state 0 ) 1 )
1182
+ (click-card state :runner (get-program state 1 ))
1183
+ (click-prompt state :runner " Place 1 [Credits]" )
1184
+ (run-continue state)
1185
+ (take-credits state :runner )
1186
+ (play-from-hand state :corp " Economic Warfare" )
1187
+ (is (= 3 (:credit (get-runner ))) " Runner has still 3 credits" )))
1188
+
1170
1189
(deftest election-day
1171
1190
(do-game
1172
1191
(new-game {:corp {:deck [(qty " Election Day" 7 )]}})
You can’t perform that action at this time.
0 commit comments