diff --git a/manifest.json b/manifest.json index 064a8e6..9cb2f9b 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "id": "Roland", "name": "Roland", "prefix": "Roland", - "version": "2.9.74", + "version": "2.9.75", "badge_colour": "8BE9FD", "display_name": "Roland", "main_file": "src/main.lua", diff --git a/src/tweaks.lua b/src/tweaks.lua index 9be6556..d37edc1 100644 --- a/src/tweaks.lua +++ b/src/tweaks.lua @@ -1,4 +1,4 @@ -local f, q, r = (... or require "lib.shared")[1], (... or require "lib.shared")[2], (... or require "lib.shared")[4] +local f, q = (... or require "lib.shared")[1], (... or require "lib.shared")[2] SMODS.Joker:take_ownership("joker", {cost = 1}, true) local orig_set_debuff = Card.set_debuff @@ -138,7 +138,7 @@ function get_blind_amount(ante, ...) local loop = 10 - return f(SMODS.Mods.Roland.harsh_ante_scaling, r):any(function(_, k) + return f(SMODS.Mods.Roland.harsh_ante_scaling, f.revpairs):any(function(_, k) return (ante - offset) / loop + 1 >= k end)((ante - offset) % loop + 1) end