This commit is contained in:
Emik 2026-06-10 04:04:16 +02:00
parent 3b39632c17
commit 7d1ff51525
Signed by: emik
GPG key ID: 6B0CD72A5E503BDF
2 changed files with 3 additions and 3 deletions

View file

@ -19,5 +19,5 @@
"conflicts": [
"Jen"
],
"version": "1.7.14"
"version": "1.7.15"
}

View file

@ -154,7 +154,7 @@ local esc = SMODS.Joker {
"{C:inactive,s:0.75,E:1}#5#{C:red,s:1.5,E:1}#6#",
},
},
config = {extra = {money = 2, xmoney = 2, max = Jane.cry and 2000 or 200}},
config = {extra = {money = 2, xmoney = 2, max = 1000}},
attributes = {"destroy_card", "economy", "tag"},
pos = {x = 0, y = 0},
sinis = {x = 2, y = 0},
@ -427,7 +427,7 @@ SMODS.Joker {
update = function(_, card, _)
if card.added_to_deck and card.children.center and card.children.floating_sprite then
local extra = card.ability.extra or {}
local y = tonumber(extra.level) > 1 and 1 or 0
local y = (tonumber(extra.level) or 0) > 1 and 1 or 0
card.children.center:set_sprite_pos({x = 0, y = y})
card.children.floating_sprite:set_sprite_pos({x = Jane.sinister and 2 or 1, y = y})
end