Skip to content

Commit 73fd531

Browse files
committed
fix fragile edition crash
1 parent d552c5f commit 73fd531

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

items/misc.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1902,8 +1902,7 @@ local glass_edition = {
19021902
if context.main_scoring and context.cardarea == G.play then
19031903
if
19041904
not SMODS.is_eternal(card)
1905-
and pseudorandom("cry_fragile_destroy")
1906-
< cry_prob(card.ability.cry_prob, card.ability.extra.odds, card.ability.cry_rigged) / card.ability.extra.odds
1905+
and SMODS.pseudorandom_probability(card, "cry_fragile_destroy", 1, card.ability.odds) ("cry_fragile_destroy")
19071906
then
19081907
card.config.will_shatter = true
19091908
end

0 commit comments

Comments
 (0)