This commit is contained in:
2026-01-26 20:32:25 +08:00
parent 2fc52ee53a
commit 1598df9824

View File

@@ -20,6 +20,9 @@ local lottery_rate = tonumber(ARGV[6]) -- 爆币率
local recv_gold = gift_gold * (lucky_rate / 100)
local small_pool_add = gift_gold * (1-(lucky_rate / 100))
recv_gold = math.floor(recv_gold * 100) / 100
small_pool_add = math.floor(small_pool_add * 100) / 100
-- 2. Redis键定义
local small_round_key = "lottery:small_pool:round"
local small_total_times_key = "lottery:small_pool:total_times"