We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e12c18d commit ccfb300Copy full SHA for ccfb300
items/spooky.lua
@@ -449,9 +449,12 @@ local choco5 = { --bloodsucker
449
if context.destroying_card:is_suit("Hearts") or context.destroying_card:is_suit("Diamonds") then
450
if pseudorandom(pseudoseed("cry_choco_blood")) < G.GAME.probabilities.normal / 3 then
451
context.destroying_card.will_shatter = true
452
+ local destroying_Card = context.destroying_card
453
G.E_MANAGER:add_event(Event({
454
func = function()
- context.destroying_card:start_dissolve()
455
+ if destroying_card then
456
+ destroying_card:start_dissolve()
457
+ end
458
return true
459
end,
460
}))
0 commit comments