Skip to content

Commit

Permalink
Merge pull request mtgred#7383 from NoahTheDuke/nb/hot-fix
Browse files Browse the repository at this point in the history
hotfix for abilities and matryoshka
  • Loading branch information
NoahTheDuke authored Apr 10, 2024
2 parents dbfbf40 + bb4db93 commit 95d6d44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/clj/game/cards/programs.clj
Original file line number Diff line number Diff line change
Expand Up @@ -2158,6 +2158,7 @@
valid (filter #(not (facedown? %)) hosted)
same-title (filter #(= (:title card) (:title %)) valid)]
(and (active-encounter? state)
current-ice card
(<= (get-strength current-ice) (get-strength card))
(not-empty same-title))))
; no break-req to not enable auto-pumping
Expand Down
1 change: 1 addition & 0 deletions src/clj/game/core/actions.clj
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
([state side args] (play-ability state side nil args))
([state side eid {:keys [card] ability-idx :ability :as args}]
(let [card (get-card state card)
args (assoc args :card card)
ability (nth (:abilities card) ability-idx)
cannot-play (or (:disabled card)
(any-effects state side :prevent-paid-ability true? card [ability ability-idx]))]
Expand Down

0 comments on commit 95d6d44

Please sign in to comment.