Skip to content

Commit b2b4e6b

Browse files
committed
fix push
1 parent fc748e2 commit b2b4e6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

items/inversions/reverse_codes.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -573,15 +573,15 @@ local push = {
573573
G.jokers.cards[i]:start_dissolve()
574574
end
575575
end
576-
local rarity = GetJokerSumRarity()
576+
local rarity = Entropy.GetJokerSumRarity()
577577
G.E_MANAGER:add_event(Event({trigger = 'after',delay = 0.15,func = function()
578578
local rare = ({
579579
[1] = "Common",
580580
[2] = "Uncommon",
581581
[3] = "Rare",
582582
[4] = "Legendary"
583583
})[rarity] or rarity
584-
local card = create_card("Joker", G.jokers, nil, rare, nil, nil, nil, "entr_beyond")
584+
local card = create_card("Joker", G.jokers, rare == "Legendary", rare, nil, nil, nil, "entr_beyond")
585585
--create_card("Joker", G.jokers, nil, 2, nil, nil, nil, "entr_beyond")
586586
card:add_to_deck()
587587
G.jokers:emplace(card)

0 commit comments

Comments
 (0)