Skip to content

Commit

Permalink
Merge pull request #5069 from zdmitche/yagura--fix-subroutine-order
Browse files Browse the repository at this point in the history
Yagura: fix subroutine order
  • Loading branch information
NoahTheDuke authored May 3, 2020
2 parents 0d97a0f + 8604a2c commit 011f5a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/clj/game/cards/ice.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3276,12 +3276,12 @@
(assoc wr :event :card-moved)])})

(define-card "Yagura"
{:subroutines [(do-net-damage 1)
{:msg "look at the top card of R&D"
{:subroutines [{:msg "look at the top card of R&D"
:optional {:prompt (msg "Move " (:title (first (:deck corp))) " to the bottom of R&D?")
:yes-ability {:msg "move the top card of R&D to the bottom"
:effect (effect (move (first (:deck corp)) :deck))}
:no-ability {:effect (effect (system-msg :corp (str "does not use Yagura to move the top card of R&D to the bottom")))}}}]})
:no-ability {:effect (effect (system-msg :corp (str "does not use Yagura to move the top card of R&D to the bottom")))}}}
(do-net-damage 1)]})

(define-card "Zed 1.0"
{:implementation "Restriction on having spent [click] is not implemented"
Expand Down

0 comments on commit 011f5a7

Please sign in to comment.