Skip to content

Commit f172b7a

Browse files
committed
asteroglyph fix
1 parent 2486918 commit f172b7a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

items/epic.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1401,7 +1401,7 @@ local curse_sob = {
14011401
or context.buying_card
14021402
or context.skip_blind
14031403
or context.using_consumeable
1404-
or context.selling_card
1404+
or (context.selling_card and context.card.config.center.key ~= "j_obelisk")
14051405
or context.setting_blind
14061406
or context.skipping_booster
14071407
or context.open_booster

items/voucher.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ local asteroglyph = { -- Heiroglyph T3; Set Ante to 0
914914
loc_vars = function(self, info_queue, card)
915915
return { vars = { card.ability.ante_mod } }
916916
end,
917-
redeem = function(self)
917+
redeem = function(self, card)
918918
local mod = -card.ability.ante_mod
919919
ease_ante(mod)
920920
G.E_MANAGER:add_event(Event({

lib/misc.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,18 +1073,18 @@ function Cryptid.add_circus_rarity(rarity, dontreload)
10731073
end
10741074

10751075
function Cryptid.get_paved_joker()
1076-
if G.hand then
1076+
if G.hand and G.play then
10771077
local total = 0
10781078
for i, v in pairs(SMODS.find_card("j_cry_paved_joker")) do
10791079
total = total + v.ability.extra
10801080
end
10811081
local stones = 0
1082-
for i, v in pairs(G.hand.highlighted) do
1082+
for i, v in pairs(G.hand.highlighted or {}) do
10831083
if SMODS.has_no_rank(v) then
10841084
stones = stones + 1
10851085
end
10861086
end
1087-
for i, v in pairs(G.play.cards) do
1087+
for i, v in pairs(G.play.cards or {}) do
10881088
if SMODS.has_no_rank(v) then
10891089
stones = stones + 1
10901090
end

0 commit comments

Comments
 (0)