From 7d1ff5152518e3bea253fa0460c7d0fa11010ea5 Mon Sep 17 00:00:00 2001 From: Emik Date: Wed, 10 Jun 2026 04:04:16 +0200 Subject: [PATCH] Hotfix --- manifest.json | 2 +- src/joker.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index 2f7b64f..610dc0e 100644 --- a/manifest.json +++ b/manifest.json @@ -19,5 +19,5 @@ "conflicts": [ "Jen" ], - "version": "1.7.14" + "version": "1.7.15" } \ No newline at end of file diff --git a/src/joker.lua b/src/joker.lua index f016dac..f2b4a38 100644 --- a/src/joker.lua +++ b/src/joker.lua @@ -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