Fix improper order of operations

This commit is contained in:
Emik 2026-05-20 13:51:30 +02:00
parent 7ea64afb09
commit 2ec2177b69
Signed by: emik
GPG key ID: 6B0CD72A5E503BDF
3 changed files with 2 additions and 6 deletions

View file

@ -17,5 +17,5 @@
"conflicts": [ "conflicts": [
"Jen" "Jen"
], ],
"version": "1.6.1" "version": "1.6.2"
} }

View file

@ -22,10 +22,6 @@ local function get_weight(self)
return G.GAME.edition_rate * self.weight return G.GAME.edition_rate * self.weight
end end
local function is_playing_card(card)
return ({Default = true, Enhanced = true})[((card.config or {}).center or {}).set]
end
SMODS.Edition({ SMODS.Edition({
key = "polygloss", key = "polygloss",
loc_txt = { loc_txt = {

View file

@ -236,7 +236,7 @@ SMODS.Joker {
end end
end end
local tags = math.min(G.GAME.dollars * (math.pow(extra.xmoney, xtimes) - 1), extra.max) local tags = math.min(G.GAME.dollars, extra.max) * (math.pow(extra.xmoney, xtimes) - 1)
ease_dollars(math.ceil(times * extra.money + tags)) ease_dollars(math.ceil(times * extra.money + tags))
end, end,
tag_threshold = 30, tag_threshold = 30,