Fix multiplayer-related edgecase
This commit is contained in:
parent
0bf2093d7d
commit
4230a1a4b1
2 changed files with 3 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
|||
"id": "Roland",
|
||||
"name": "Roland",
|
||||
"prefix": "Roland",
|
||||
"version": "2.9.16",
|
||||
"version": "2.9.17",
|
||||
"badge_colour": "8BE9FD",
|
||||
"display_name": "Roland",
|
||||
"main_file": "src/main.lua",
|
||||
|
|
|
|||
|
|
@ -938,7 +938,8 @@ joker {
|
|||
local extra, numerator, xmult = card.ability.extra, 1, 1
|
||||
|
||||
if G.GAME.blind.name == "bl_mp_nemesis" then
|
||||
return {card = card, xmult = extra.odds}
|
||||
local n, d = SMODS.get_probability_vars(card, 1, extra.odds, self.key)
|
||||
return n < d and {card = card, xmult = extra.odds} or nil
|
||||
end
|
||||
|
||||
-- 2^38 is the first iteration displayed as scientific notation.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue