diff --git a/manifest.json b/manifest.json index bf46b31..ac0aad3 100644 --- a/manifest.json +++ b/manifest.json @@ -15,6 +15,6 @@ "dependencies": [ "Steamodded (>=1.*)", "Lovely (>=0.6)", - "Bakery (>=0.1.26)" + "Bakery (>=0.1.26~*)" ] } \ No newline at end of file diff --git a/src/joker.lua b/src/joker.lua index af22924..3a9566d 100644 --- a/src/joker.lua +++ b/src/joker.lua @@ -49,8 +49,8 @@ SMODS.Joker { scared[2] or "" }} end, - Bakery_can_use = function(_, _) - return #G.GAME.tags ~= 0 or F.any(G.consumeables.cards, destructible) + Bakery_can_use = function(_, card) + return not card.debuff and (#G.GAME.tags ~= 0 or F.any(G.consumeables.cards, destructible)) end, Bakery_use_joker = function(_, card) local hand, destroyed = common_hand(), 0