Skip to content

Commit bbaffde

Browse files
committed
Fixes Ghost cards are drawn to hand when the last card(s) in deck are drawn if they're Negative #1190
1 parent 60b8033 commit bbaffde

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lovely/better_calc.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,7 @@ for i=1, hand_space do --draw cards from deckL
10301030
end
10311031
'''
10321032
payload = '''
1033-
SMODS.cards_to_draw = (SMODS.cards_to_draw or 0) + space_taken
1033+
SMODS.cards_to_draw = (SMODS.cards_to_draw or 0) + hand_space
10341034
SMODS.drawn_cards = {}
10351035
'''
10361036
[[patches]]
@@ -1051,7 +1051,7 @@ payload = '''
10511051
G.E_MANAGER:add_event(Event({
10521052
trigger = 'immediate',
10531053
func = function()
1054-
SMODS.cards_to_draw = SMODS.cards_to_draw - space_taken
1054+
SMODS.cards_to_draw = SMODS.cards_to_draw - hand_space
10551055
return true
10561056
end
10571057
}))

version.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
return "1.0.0~BETA-1408b-STEAMODDED"
1+
return "1.0.0~BETA-1408c-STEAMODDED"

0 commit comments

Comments
 (0)