diff --git a/lovely.toml b/lovely.toml index 794c1f9..8c0bc80 100644 --- a/lovely.toml +++ b/lovely.toml @@ -116,3 +116,10 @@ if next(find_joker("Lucky 7")) then end end ''' + +[[patches]] +[patches.regex] +target = 'functions/state_events.lua' +pattern = 'cards_to_draw\[i\]\.ability.extra_slots_used' +position = 'at' +payload = '(cards_to_draw[i] and cards_to_draw[i].ability and cards_to_draw[i].ability.extra_slots_used or 0)' \ No newline at end of file