|
4016 | 4016 | (core/purge state :corp)
|
4017 | 4017 | (is (empty? (get-program state)) "Lamprey trashed by purge")))
|
4018 | 4018 |
|
| 4019 | +(deftest laser-pointer |
| 4020 | + (do-game |
| 4021 | + (new-game {:runner {:hand [(qty "Laser Pointer" 3)] |
| 4022 | + :credits 10} |
| 4023 | + :corp {:hand ["Envelope" "Starlit Knight" "Rototurret"] |
| 4024 | + :credits 50}}) |
| 4025 | + (play-from-hand state :corp "Envelope" "HQ") |
| 4026 | + (play-from-hand state :corp "Starlit Knight" "HQ") |
| 4027 | + (play-from-hand state :corp "Rototurret" "HQ") |
| 4028 | + (rez state :corp (get-ice state :hq 0)) |
| 4029 | + (rez state :corp (get-ice state :hq 1)) |
| 4030 | + (rez state :corp (get-ice state :hq 2)) |
| 4031 | + (take-credits state :corp) |
| 4032 | + (play-from-hand state :runner "Laser Pointer") |
| 4033 | + (play-from-hand state :runner "Laser Pointer") |
| 4034 | + (play-from-hand state :runner "Laser Pointer") |
| 4035 | + (run-on state :hq) |
| 4036 | + (run-continue state) |
| 4037 | + (changes-val-macro |
| 4038 | + 1 (count (:discard (get-runner))) |
| 4039 | + "Laser Pointer trashed" |
| 4040 | + (click-prompt state :runner "Yes")) |
| 4041 | + (is (= :movement (:phase (get-run))) "Runner bypassed Rototurret") |
| 4042 | + (run-continue state) |
| 4043 | + (run-continue state) |
| 4044 | + (changes-val-macro |
| 4045 | + 1 (count (:discard (get-runner))) |
| 4046 | + "Laser Pointer trashed" |
| 4047 | + (click-prompt state :runner "Yes")) |
| 4048 | + (is (= :movement (:phase (get-run))) "Runner bypassed Starlit Knight") |
| 4049 | + (run-continue state) |
| 4050 | + (run-continue state) |
| 4051 | + (changes-val-macro |
| 4052 | + 1 (count (:discard (get-runner))) |
| 4053 | + "Laser Pointer trashed" |
| 4054 | + (click-prompt state :runner "Yes")) |
| 4055 | + (is (= :movement (:phase (get-run))) "Runner bypassed Envelope"))) |
| 4056 | + |
4019 | 4057 | (deftest leech
|
4020 | 4058 | ;; Leech - Reduce strength of encountered piece of ice
|
4021 | 4059 | (do-game
|
|
0 commit comments