Skip to content

Commit

Permalink
missing calculation returns
Browse files Browse the repository at this point in the history
  • Loading branch information
Eremel committed Jan 6, 2025
1 parent f04cd5d commit b118b56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1063,6 +1063,7 @@ SMODS.calculate_individual_effect = function(effect, scored_card, percent, key,

if key == 'level_up' then
level_up_hand(scored_card, G.GAME.last_hand_played, effect.instant, type(amount) == 'number' and amount or 1)
return true
end

if key == 'extra' then
Expand All @@ -1075,6 +1076,7 @@ SMODS.calculate_individual_effect = function(effect, scored_card, percent, key,

if key == 'saved' then
SMODS.saved = amount
return true
end
end

Expand Down

0 comments on commit b118b56

Please sign in to comment.