Hotfix
This commit is contained in:
parent
3b39632c17
commit
7d1ff51525
2 changed files with 3 additions and 3 deletions
|
|
@ -19,5 +19,5 @@
|
||||||
"conflicts": [
|
"conflicts": [
|
||||||
"Jen"
|
"Jen"
|
||||||
],
|
],
|
||||||
"version": "1.7.14"
|
"version": "1.7.15"
|
||||||
}
|
}
|
||||||
|
|
@ -154,7 +154,7 @@ local esc = SMODS.Joker {
|
||||||
"{C:inactive,s:0.75,E:1}#5#{C:red,s:1.5,E:1}#6#",
|
"{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"},
|
attributes = {"destroy_card", "economy", "tag"},
|
||||||
pos = {x = 0, y = 0},
|
pos = {x = 0, y = 0},
|
||||||
sinis = {x = 2, y = 0},
|
sinis = {x = 2, y = 0},
|
||||||
|
|
@ -427,7 +427,7 @@ SMODS.Joker {
|
||||||
update = function(_, card, _)
|
update = function(_, card, _)
|
||||||
if card.added_to_deck and card.children.center and card.children.floating_sprite then
|
if card.added_to_deck and card.children.center and card.children.floating_sprite then
|
||||||
local extra = card.ability.extra or {}
|
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.center:set_sprite_pos({x = 0, y = y})
|
||||||
card.children.floating_sprite:set_sprite_pos({x = Jane.sinister and 2 or 1, y = y})
|
card.children.floating_sprite:set_sprite_pos({x = Jane.sinister and 2 or 1, y = y})
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue