Skip to content

Commit

Permalink
Merge pull request #7388 from francescopellegrini/fix/maybe-draw-prom…
Browse files Browse the repository at this point in the history
…pt-msg

fix maybe-draw prompt msg
  • Loading branch information
NoahTheDuke authored Apr 15, 2024
2 parents 9efa5ee + f14c2a7 commit 5754834
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/clj/game/core/drawing.clj
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(ns game.core.drawing
(:require
[game.core.card :refer [get-title]]
[game.core.eid :refer [effect-completed make-eid make-result]]
[game.core.engine :refer [checkpoint queue-event resolve-ability trigger-event trigger-event-simult trigger-event-sync]]
[game.core.events :refer [first-event?]]
Expand Down Expand Up @@ -112,11 +113,11 @@
(draw state side eid n args)
(continue-ability
state side
{:optional {:prompt (str "draw " (quantify n "card") "?")
{:optional {:prompt (str "Draw " (quantify n "card") "?")
:yes-ability {:async true
:msg (msg "draw " (quantify n " card"))
:effect (req (draw state side eid n))}
:no-ability {:effect (req (system-msg state side "declines to draw cards"))}}}
:no-ability {:effect (req (system-msg state side (str "declines to use " (get-title card) " to draw cards")))}}}
card nil))))

(defn draw-up-to
Expand Down

0 comments on commit 5754834

Please sign in to comment.