Skip to content

Commit c8db1bd

Browse files
committed
fix missing +1
1 parent 8434aeb commit c8db1bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/overrides.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -733,14 +733,14 @@ function calculate_reroll_cost(skip_increment)
733733
+ G.GAME.current_round.reroll_cost_increase
734734
>= limit
735735
then
736-
G.GAME.current_round.reroll_cost_increase = 0
736+
--G.GAME.current_round.reroll_cost_increase = 0
737737
G.GAME.current_round.reroll_cost = limit
738738
return
739739
end
740740

741741
G.GAME.current_round.reroll_cost_increase = G.GAME.current_round.reroll_cost_increase or 0
742742
if not skip_increment then
743-
G.GAME.current_round.reroll_cost_increase = G.GAME.current_round.reroll_cost_increase
743+
G.GAME.current_round.reroll_cost_increase = G.GAME.current_round.reroll_cost_increase + 1
744744
end
745745
G.GAME.current_round.reroll_cost = (G.GAME.round_resets.temp_reroll_cost or G.GAME.round_resets.reroll_cost)
746746
+ G.GAME.current_round.reroll_cost_increase

0 commit comments

Comments
 (0)