File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -621,4 +621,21 @@ position = "before"
621621payload = """
622622if not eligible_card then return true end
623623"""
624- match_indent = true
624+ match_indent = true
625+
626+ # Make negative playing cards not take up space even when debuffed
627+ [[patches ]]
628+ [patches .pattern ]
629+ target = " cardarea.lua"
630+ pattern = """ if not card.debuff and card.edition and card.edition.card_limit and (self == G.hand) then"""
631+ position = " at"
632+ payload = """ if card.edition and card.edition.card_limit and (self == G.hand) then"""
633+ match_indent = true
634+
635+ [[patches ]]
636+ [patches .pattern ]
637+ target = " functions/state_events.lua"
638+ pattern = """ limit = limit - 1 + (not card.debuff and card.edition and card.edition.card_limit or 0)"""
639+ position = " at"
640+ payload = """ limit = limit - 1 + (card.edition and card.edition.card_limit or 0)"""
641+ match_indent = true
You can’t perform that action at this time.
0 commit comments