diff --git a/manifest.json b/manifest.json index cec864a..e682d32 100644 --- a/manifest.json +++ b/manifest.json @@ -17,5 +17,5 @@ "conflicts": [ "Jen" ], - "version": "1.5.21" + "version": "1.5.22" } \ No newline at end of file diff --git a/src/joker.lua b/src/joker.lua index efa45a5..de5cd19 100644 --- a/src/joker.lua +++ b/src/joker.lua @@ -306,7 +306,7 @@ function SMODS.poll_rarity(_pool_key, _rand_key) local max = 0 for _, v in pairs(SMODS.find_card("j_jane_honey")) do - max = v.debuff and max or math.max(max, v.ability.extra.level) + max = v.debuff and max or math.max(max, tonumber(v.ability.extra.level)) end local rarity = orig_rarity(_pool_key, _rand_key) diff --git a/src/token.lua b/src/token.lua index f79ee42..7e84f3d 100644 --- a/src/token.lua +++ b/src/token.lua @@ -109,7 +109,7 @@ for _, v in pairs({ can_divide = true, can_use = Jane.can_use, in_pool = function(_, _) - return G.GAME.used_vouchers.v_jane_token_voucher + return G.GAME.used_vouchers.v_jane_token_voucher or G.GAME.modifiers.Roland_alt_swapper_deck end, use = function(_, _, _, _) play_sound("jane_e_gilded", 1.25, 0.4)