diff --git a/manifest.json b/manifest.json index d74681e..e95cb2f 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "author": [ "Emik" ], - "version": "2.2.12", + "version": "2.2.13", "badge_colour": "8BE9FD", "main_file": "src/main.lua", "badge_text_colour": "44475A", diff --git a/src/blind.lua b/src/blind.lua index b37a206..8bb2157 100644 --- a/src/blind.lua +++ b/src/blind.lua @@ -332,11 +332,6 @@ if cry_prob then end function SMODS.current_mod:calculate(context) - if context.setting_blind and G.GAME.blind.name == "bl_mp_nemesis" then - local modifiers = G.GAME.modifiers - modifiers.Roland_martingale_seed = (modifiers.Roland_martingale_seed or 0) + 1 - end - local _ = type(G.calccontext) == "function" and G.calccontext(context) local _ = type(G.calckeys) == "function" and G.calckeys(f(context):keys()) local _ = type(G.calc) == "function" and G.calc(f(context):keys():string()) diff --git a/src/joker.lua b/src/joker.lua index 1eb77ac..fed4e46 100644 --- a/src/joker.lua +++ b/src/joker.lua @@ -778,10 +778,13 @@ joker { return end - local extra, numerator, xmult = card.ability.extra, 1, 1 + local g, extra, numerator, xmult = G.GAME, card.ability.extra, 1, 1 + + if g.blind.name == "bl_mp_nemesis" then + return {card = card, xmult = extra} + end for _ = 1, 64 do - local g = G.GAME local key = "RolandMartingale" .. tostring(g.modifiers.Roland_martingale_seed or "") if SMODS.pseudorandom_probability(card, self.key, 1, extra.odds, key) then