Allow Rot to appear multiple times
This commit is contained in:
parent
d8df2ec945
commit
59d8d3113f
2 changed files with 8 additions and 6 deletions
|
|
@ -18,5 +18,5 @@
|
|||
"conflicts": [
|
||||
"Jen"
|
||||
],
|
||||
"version": "1.11.15"
|
||||
"version": "1.11.16"
|
||||
}
|
||||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue