Use larger numbers
This commit is contained in:
parent
e21b95254f
commit
9828da63a9
1 changed files with 4 additions and 3 deletions
|
|
@ -434,10 +434,11 @@ local function attunement()
|
|||
end
|
||||
|
||||
local cards = polygloss(G.playing_cards) + polygloss(G.jokers.cards) + polygloss(G.consumeables.cards)
|
||||
local base = Cryptid and 1.0001 or 1.01
|
||||
local round = Cryptid and 10000 or 100
|
||||
local base = Cryptid and 1.001 or 1.01
|
||||
local round = Cryptid and 1000 or 100
|
||||
local error_correction = 1e-10
|
||||
local expo = cards * 2 + 1
|
||||
return math.floor(base ^ expo * round) / round
|
||||
return math.floor(base ^ expo * round + error_correction) / round
|
||||
end
|
||||
|
||||
SMODS.Joker {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue