Skip to content

Commit 6ab7435

Browse files
Empowered pack fix
1 parent 49583ba commit 6ab7435

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

items/tag.lua

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,20 @@ local empoweredPack = {
149149
G.booster_pack_sparkles:fade(1, 0)
150150
end,
151151
create_card = function(self, card, i)
152-
if i % 2 == 1 and Cryptid.enabled["Exotic Jokers"] then
152+
if
153+
i % 2 == 1
154+
and cry_card_enabled("c_cry_gateway") == true
155+
and not G.GAME.used_jokers['c_cry_gateway']
156+
and not next(find_joker("Showman"))
157+
then
153158
return create_card("Spectral", G.pack_cards, nil, nil, true, true, "c_cry_gateway")
154-
else
159+
elseif
160+
not G.GAME.used_jokers['c_soul']
161+
and not next(find_joker("Showman"))
162+
then
155163
return create_card("Spectral", G.pack_cards, nil, nil, true, true, "c_soul")
164+
else
165+
return create_card("Spectral", G.pack_cards, nil, nil, true, true)
156166
end
157167
end,
158168
group_key = "k_spectral_pack",

0 commit comments

Comments
 (0)