Allow Rot to appear multiple times
This commit is contained in:
parent
d8df2ec945
commit
c844fb8679
2 changed files with 8 additions and 6 deletions
|
|
@ -18,5 +18,5 @@
|
||||||
"conflicts": [
|
"conflicts": [
|
||||||
"Jen"
|
"Jen"
|
||||||
],
|
],
|
||||||
"version": "1.11.15"
|
"version": "1.11.16"
|
||||||
}
|
}
|
||||||
|
|
@ -788,13 +788,15 @@ SMODS.Joker {
|
||||||
cost = 1,
|
cost = 1,
|
||||||
rarity = "jane_junk",
|
rarity = "jane_junk",
|
||||||
in_pool = function(_, _)
|
in_pool = function(_, _)
|
||||||
for _, v in pairs(SMODS.find_card("j_jane_honey")) do
|
if next(SMODS.find_card("j_jane_rot")) then
|
||||||
if tonumber(v.ability.extra.level) == #Jane.rarity_ids - 1 then
|
return true, {allow_duplicates = true}
|
||||||
return true
|
|
||||||
end
|
|
||||||
end
|
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,
|
end,
|
||||||
calculate = Jane.cry and function(_, card, context)
|
calculate = Jane.cry and function(_, card, context)
|
||||||
local function has_room()
|
local function has_room()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue