diff --git a/manifest.json b/manifest.json index 44f7353..db80ee9 100644 --- a/manifest.json +++ b/manifest.json @@ -18,5 +18,5 @@ "conflicts": [ "Jen" ], - "version": "1.11.15" + "version": "1.11.16" } \ No newline at end of file diff --git a/src/slugcat.lua b/src/slugcat.lua index 54a52f5..c11c89b 100644 --- a/src/slugcat.lua +++ b/src/slugcat.lua @@ -788,13 +788,15 @@ SMODS.Joker { cost = 1, rarity = "jane_junk", in_pool = function(_, _) - for _, v in pairs(SMODS.find_card("j_jane_honey")) do - if tonumber(v.ability.extra.level) == #Jane.rarity_ids - 1 then - return true - end + if next(SMODS.find_card("j_jane_rot")) then + return true, {allow_duplicates = true} end - return not not next(SMODS.find_card("j_jane_rot")) + for _, v in pairs(SMODS.find_card("j_jane_honey")) do + if tonumber(v.ability.extra.level) == #Jane.rarity_ids - 1 then + return true, {allow_duplicates = true} + end + end end, calculate = Jane.cry and function(_, card, context) local function has_room()