Fix multiplayer-related edgecase

This commit is contained in:
Emik 2026-06-20 11:13:15 +02:00
parent 0bf2093d7d
commit 4230a1a4b1
Signed by: emik
GPG key ID: 6B0CD72A5E503BDF
2 changed files with 3 additions and 2 deletions

View file

@ -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",

View file

@ -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.