File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1466,8 +1466,7 @@ local duplicare = {
14661466 context .post_trigger
14671467 and context .other_joker ~= card
14681468 and Cryptid .isNonRollProbabilityContext (context .other_context )
1469- )
1470- or (context .individual and context .cardarea == G .play )
1469+ ) or (context .individual and context .cardarea == G .play )
14711470 )
14721471 then
14731472 card .ability .extra .Xmult = lenient_bignum (to_big (card .ability .extra .Xmult ) + card .ability .extra .Xmult_mod )
Original file line number Diff line number Diff line change @@ -1461,13 +1461,15 @@ end
14611461-- for Cryptid.isNonRollProbabilityContext
14621462local probability_contexts = {
14631463 " mod_probability" ,
1464- " fix_probability"
1464+ " fix_probability" ,
14651465}
14661466
14671467-- Checks if a context table is a probability context called outside of a roll
14681468function Cryptid .isNonRollProbabilityContext (context )
14691469 for _ , ctx in ipairs (probability_contexts ) do
1470- if context [ctx ] then return context .from_roll end
1470+ if context [ctx ] then
1471+ return context .from_roll
1472+ end
14711473 end
14721474
14731475 return true
You can’t perform that action at this time.
0 commit comments