Prevent Basket from cloning jokers if they end up there somehow
This commit is contained in:
parent
704e2ab9d1
commit
c23c9adcaf
2 changed files with 4 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
|||
"id": "Roland",
|
||||
"name": "Roland",
|
||||
"prefix": "Roland",
|
||||
"version": "2.8.16",
|
||||
"version": "2.8.17",
|
||||
"badge_colour": "8BE9FD",
|
||||
"display_name": "Roland",
|
||||
"main_file": "src/main.lua",
|
||||
|
|
|
|||
|
|
@ -242,7 +242,9 @@ joker {
|
|||
table.insert(info_queue, negative)
|
||||
end,
|
||||
calculate = function(_, _, context)
|
||||
return (context.selling_self or context.forcetrigger) and f(G.consumeables.cards):each(function(v)
|
||||
return (context.selling_self or context.forcetrigger) and f(G.consumeables.cards):where(function(v, k)
|
||||
return v.config.center.set ~= "Joker"
|
||||
end):each(function(v)
|
||||
q {
|
||||
delay = 1,
|
||||
func = function()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue