Skip to content

Commit d46ae37

Browse files
authored
Merge pull request #411 from Dragokillfist/refactor
2 parents fb7dec1 + 49cad87 commit d46ae37

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

items/misc.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ local glitched = {
499499
}))
500500
update_hand_text(
501501
{ delay = 1.3 },
502-
{ chips = (amount > to_big(0) and "+" or "-") .. "???", StatusText = true }
502+
{ chips = (to_big(amount) > to_big(0) and "+" or "-") .. "???", StatusText = true }
503503
)
504504
G.E_MANAGER:add_event(Event({
505505
trigger = "after",
@@ -1431,11 +1431,11 @@ local double_sided = {
14311431
end
14321432
if not self.dbl_side then
14331433
self.dbl_side = cry_deep_copy(self)
1434-
self.dbl_side:set_ability(G.P_CENTERS.c_base)
1434+
self.dbl_side:set_ability(G.P_CENTERS.j_joker)
14351435
-- self.dbl_side:set_base(G.P_CARDS.empty) -- RIGHT HERE THIS RIGHT HERE THATS YOUR DAM CULPRIT
14361436
if self.area == G.hand then
1437-
self.dbl_side.config.center = cry_deep_copy(self.dbl_side.config.center)
1438-
self.dbl_side.config.center.no_rank = true
1437+
self.dbl_side = cry_deep_copy(self)
1438+
self.dbl_side:set_ability(G.P_CENTERS.c_base)
14391439
end
14401440
self.dbl_side.added_to_deck = false
14411441
return true
@@ -1746,7 +1746,7 @@ local seraph = {
17461746
pos = { x = 1, y = 2 },
17471747
config = { mod_conv = "m_cry_light", max_highlighted = 2 },
17481748
atlas = "placeholders",
1749-
loc_vars = function(self, info_queue)
1749+
loc_vars = function(self, info_queue, card)
17501750
info_queue[#info_queue + 1] = G.P_CENTERS.m_cry_light
17511751

17521752
return { vars = { card and card.ability.max_highlighted or self.config.max_highlighted } }

0 commit comments

Comments
 (0)