Skip to content

Commit 48883b3

Browse files
committed
Fix #1285
1 parent 25a51e2 commit 48883b3

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

lovely/better_calc.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,15 @@ pattern = '''
11661166
draw_card(G.deck,G.hand, i*100/hand_space,'up', true)
11671167
'''
11681168
payload = '''
1169+
if cards_to_draw[i].ability.extra_slots_used then SMODS.cards_to_draw = SMODS.cards_to_draw + cards_to_draw[i].ability.extra_slots_used end
11691170
draw_card(G.deck,G.hand, i*100/hand_space,'up', true, cards_to_draw[i])
1171+
G.E_MANAGER:add_event(Event({
1172+
trigger = 'immediate',
1173+
func = function()
1174+
SMODS.cards_to_draw = SMODS.cards_to_draw - cards_to_draw[i].ability.extra_slots_used
1175+
return true
1176+
end
1177+
}))
11701178
'''
11711179

11721180

version.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
return "1.0.0~BETA-1531e-STEAMODDED"
1+
return "1.0.0~BETA-1531f-STEAMODDED"

0 commit comments

Comments
 (0)