From 9777aa29376116a6d7cfb5af24ce36168ebfe1ff Mon Sep 17 00:00:00 2001 From: TheBenMunoz Date: Thu, 9 Apr 2026 08:40:56 -0400 Subject: [PATCH] Fix: Patch for hand draw bug --- lovely.toml | 7 +++++++ 1 file changed, 7 insertions(+) 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