Disable card when debuffed
This commit is contained in:
parent
bcbcf7946b
commit
8fe1ac19b4
2 changed files with 3 additions and 3 deletions
|
|
@ -15,6 +15,6 @@
|
|||
"dependencies": [
|
||||
"Steamodded (>=1.*)",
|
||||
"Lovely (>=0.6)",
|
||||
"Bakery (>=0.1.26)"
|
||||
"Bakery (>=0.1.26~*)"
|
||||
]
|
||||
}
|
||||
|
|
@ -49,8 +49,8 @@ SMODS.Joker {
|
|||
scared[2] or ""
|
||||
}}
|
||||
end,
|
||||
Bakery_can_use = function(_, _)
|
||||
return #G.GAME.tags ~= 0 or F.any(G.consumeables.cards, destructible)
|
||||
Bakery_can_use = function(_, card)
|
||||
return not card.debuff and (#G.GAME.tags ~= 0 or F.any(G.consumeables.cards, destructible))
|
||||
end,
|
||||
Bakery_use_joker = function(_, card)
|
||||
local hand, destroyed = common_hand(), 0
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue