Skip to content

Commit 8e587f5

Browse files
committed
hopefully fixes quantify boosters
1 parent 5c3856d commit 8e587f5

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

items/code.lua

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3864,18 +3864,24 @@ local quantify = {
38643864
or {}
38653865
local card = create_card(
38663866
kind or tbl.set,
3867-
G.jokers,
3867+
nil,
38683868
tbl.legendary,
38693869
tbl.rarity,
38703870
tbl.skip_materialize,
38713871
tbl.soulable,
38723872
tbl.forced_key,
38733873
"cry_quantify_booster"
38743874
)
3875-
G.jokers:emplace(card)
38763875
if to_big(self.ability.choose) <= to_big(0) then
38773876
self:start_dissolve()
38783877
end
3878+
G.E_MANAGER:add_event(Event({
3879+
trigger = "before",
3880+
func = function()
3881+
G.jokers:emplace(card)
3882+
return true
3883+
end
3884+
}))
38793885
end
38803886
end
38813887
end

0 commit comments

Comments
 (0)