Skip to content

Commit

Permalink
Fix Jackpot triggering on forfeit
Browse files Browse the repository at this point in the history
  • Loading branch information
butzopower committed Nov 11, 2023
1 parent 224289a commit 5c39deb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/clj/game/cards/resources.clj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
all-installed-runner card->server server->zone]]
[game.core.card :refer [agenda? asset? assoc-host-zones card-index corp?
event? facedown? get-agenda-points get-card get-counters
get-title get-zone hardware? has-subtype? ice? identity? in-discard? in-hand?
get-title get-zone hardware? has-subtype? ice? identity? in-discard? in-hand? in-scored?
installed? is-type? program? resource? rezzed? runner? upgrade? virus-program?]]
[game.core.card-defs :refer [card-def]]
[game.core.charge :refer [can-charge charge-ability]]
Expand Down Expand Up @@ -1698,7 +1698,8 @@
{:event :card-moved
:interactive (req true)
:optional
{:req (req (= :runner (:scored-side (second targets))))
{:req (req (and (in-scored? (second targets))
(= :runner (:scored-side (second targets)))))
:waiting-prompt true
:prompt (msg "Trash " (:title card) "?")
:yes-ability
Expand Down

0 comments on commit 5c39deb

Please sign in to comment.