Skip to content

Commit dd27877

Browse files
committed
fix wario with oops
1 parent 7e74db5 commit dd27877

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

items/misc_joker.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2051,7 +2051,7 @@ local wario = {
20512051
return { vars = { number_format(center.ability.extra.money) } }
20522052
end,
20532053
calculate = function(self, card, context)
2054-
if context.post_trigger or context.forcetrigger then
2054+
if (context.post_trigger and not context.other_context.fixed_probability and not context.other_context.mod_probability) or context.forcetrigger then
20552055
return {
20562056
dollars = lenient_bignum(card.ability.extra.money),
20572057
card = context.other_context and context.other_context.blueprint_card or context.other_card or nil,

0 commit comments

Comments
 (0)