Hotfix
This commit is contained in:
parent
5e5abf42aa
commit
2628ae39e6
2 changed files with 3 additions and 3 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
"id": "Roland",
|
"id": "Roland",
|
||||||
"name": "Roland",
|
"name": "Roland",
|
||||||
"prefix": "Roland",
|
"prefix": "Roland",
|
||||||
"version": "2.9.74",
|
"version": "2.9.75",
|
||||||
"badge_colour": "8BE9FD",
|
"badge_colour": "8BE9FD",
|
||||||
"display_name": "Roland",
|
"display_name": "Roland",
|
||||||
"main_file": "src/main.lua",
|
"main_file": "src/main.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)
|
SMODS.Joker:take_ownership("joker", {cost = 1}, true)
|
||||||
local orig_set_debuff = Card.set_debuff
|
local orig_set_debuff = Card.set_debuff
|
||||||
|
|
||||||
|
|
@ -138,7 +138,7 @@ function get_blind_amount(ante, ...)
|
||||||
|
|
||||||
local loop = 10
|
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
|
return (ante - offset) / loop + 1 >= k
|
||||||
end)((ante - offset) % loop + 1)
|
end)((ante - offset) % loop + 1)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue