diff --git a/manifest.json b/manifest.json index 0b78e41..fc7e115 100644 --- a/manifest.json +++ b/manifest.json @@ -18,5 +18,5 @@ "conflicts": [ "Jen" ], - "version": "1.11.21" + "version": "1.11.22" } \ No newline at end of file diff --git a/src/slugcat.lua b/src/slugcat.lua index f774ded..722f059 100644 --- a/src/slugcat.lua +++ b/src/slugcat.lua @@ -397,14 +397,14 @@ SMODS.Joker { return not card.debuff and Jane.can_use() and next(G.hand.highlighted) end, Bakery_use_joker = function(_, card) - for _, v in pairs(SMODS.find_card("j_jane_oxy")) do - Jane.oxy(v, G.hand.highlighted) - end + local removed = {unpack(G.hand.highlighted)} - for _, v in pairs(G.hand.highlighted) do + for _, v in pairs(removed) do v:start_dissolve() end + SMODS.calculate_context {remove_playing_cards = true, removed = removed} + if Jane.cry then return end