From dca11f026ad7b663878580e1da965fb7fe717642 Mon Sep 17 00:00:00 2001 From: Casimir Eisenach Date: Sat, 11 Jan 2025 00:55:24 +0100 Subject: [PATCH] Add end_of_round global --- lovely/better_calc.toml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lovely/better_calc.toml b/lovely/better_calc.toml index 6e2acd13..ce4ba0ea 100644 --- a/lovely/better_calc.toml +++ b/lovely/better_calc.toml @@ -1413,4 +1413,12 @@ local percent_delta = 0.08 ''' payload = '''percent = 0.3 percent_delta = 0.08 -''' \ No newline at end of file +''' + +[[patches]] +[patches.pattern] +target = 'functions/state_events.lua' +match_indent = true +position = 'at' +pattern = '''local percent = (i-0.999)/(#G.hand.cards-0.998) + (j-1)*0.1''' +payload = '''percent = (i-0.999)/(#G.hand.cards-0.998) + (j-1)*0.1''' \ No newline at end of file