Skip to content

Commit 34f476b

Browse files
committed
fix hooking oops
1 parent 49883a3 commit 34f476b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

items/code.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2242,6 +2242,8 @@ local hooked = {
22422242
and context.post_trigger
22432243
and not context.forcetrigger
22442244
and not context.other_context.forcetrigger
2245+
and not context.other_context.mod_probability
2246+
and not context.other_context.fixed_probability
22452247
then
22462248
for i = 1, #G.jokers.cards do
22472249
if G.jokers.cards[i].sort_id == card.ability.cry_hook_id then

0 commit comments

Comments
 (0)