Skip to content

Commit da2cf06

Browse files
rounding
it's ready
1 parent f76bda3 commit da2cf06

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

items/epic.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1969,11 +1969,11 @@ local clockwork = { -- Steel Support: The Joker
19691969
return { xmult = card.ability.extra.steelenhc }
19701970
end
19711971
end,
1972-
add_to_deck = function(self, card, from_debuff) -- TODO: round
1973-
pseudorandom("Clockwork1") * 1
1974-
pseudorandom("Clockwork2") * 2
1975-
pseudorandom("Clockwork3") * 4
1976-
pseudorandom("Clockwork4") * 6
1972+
add_to_deck = function(self, card, from_debuff)
1973+
math.floor(pseudorandom("Clockwork1") * 1 + 0.5)
1974+
math.floor(pseudorandom("Clockwork2") * 2 + 0.5)
1975+
math.floor(pseudorandom("Clockwork3") * 4 + 0.5)
1976+
math.floor(pseudorandom("Clockwork4") * 6 + 0.5)
19771977
end
19781978
cry_credits = {
19791979
idea = {

0 commit comments

Comments
 (0)