Allow Rot to appear multiple times

This commit is contained in:
Emik 2026-07-28 00:37:12 +02:00
parent d8df2ec945
commit c844fb8679
Signed by: emik
GPG key ID: 6B0CD72A5E503BDF
2 changed files with 8 additions and 6 deletions

View file

@ -18,5 +18,5 @@
"conflicts": [
"Jen"
],
"version": "1.11.15"
"version": "1.11.16"
}

View file

@ -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()