From 4230a1a4b12cfceda2df775bb8954f57e0d3a86d Mon Sep 17 00:00:00 2001 From: Emik Date: Sat, 20 Jun 2026 11:13:15 +0200 Subject: [PATCH] Fix multiplayer-related edgecase --- manifest.json | 2 +- src/joker.lua | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 84027e2..a48b855 100644 --- a/manifest.json +++ b/manifest.json @@ -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", diff --git a/src/joker.lua b/src/joker.lua index 7b44883..a6b678e 100644 --- a/src/joker.lua +++ b/src/joker.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.