Hottestfix
This commit is contained in:
parent
fc58d49867
commit
1e2ec5f67c
2 changed files with 5 additions and 5 deletions
|
|
@ -19,5 +19,5 @@
|
|||
"conflicts": [
|
||||
"Jen"
|
||||
],
|
||||
"version": "1.7.16"
|
||||
"version": "1.7.17"
|
||||
}
|
||||
|
|
@ -383,7 +383,7 @@ SMODS.Joker {
|
|||
cost = 8,
|
||||
rarity = 3,
|
||||
loc_vars = function(_, _, card)
|
||||
local level = tonumber(card.ability.extra.level)
|
||||
local level = tonumber(card.ability.extra.level) or 1
|
||||
|
||||
local function level_name(i)
|
||||
local acc = ""
|
||||
|
|
@ -427,12 +427,12 @@ 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) or 0) > 1 and 1 or 0
|
||||
local y = (tonumber(extra.level) or 1) > 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
|
||||
|
||||
local level = tonumber(card.ability.extra.level) or 0
|
||||
local level = tonumber(card.ability.extra.level) or 1
|
||||
|
||||
if not Jane.sinister and level > 2 then
|
||||
card:juice_up(0, math.random() * (level - 2) / #Jane.rarity_ids)
|
||||
|
|
@ -450,7 +450,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, tonumber(v.ability.extra.level))
|
||||
max = v.debuff and max or math.max(max, tonumber(v.ability.extra.level) or 1)
|
||||
end
|
||||
|
||||
local rarity = orig_rarity(_pool_key, _rand_key)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue