1.优化开奖和推送
2.新增控制连续开奖赔率
This commit is contained in:
8
web/src/lang/backend/en/config/streakWinReward.ts
Normal file
8
web/src/lang/backend/en/config/streakWinReward.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
export default {
|
||||
desc: 'Streak levels 1–10: payout = bet total × odds_factor. Jackpot rows trigger jackpot.hit on the user private channel, public-game-period, and public-operation-notice when won.',
|
||||
btn_save: 'Save',
|
||||
streak: 'Streak (rounds)',
|
||||
odds_factor: 'Odds factor',
|
||||
is_jackpot: 'Jackpot',
|
||||
err_factor: 'Row {no}: odds factor must be ≥ 1',
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
export default {
|
||||
tip: 'Subscribe to public-game-period (global period channel) for period.tick / period.locked / period.opened / period.payout. The server must publish to this channel.',
|
||||
tip: 'Subscribe to public-game-period (global period channel) for period.tick / period.locked / period.opened / period.payout / jackpot.hit. The server must publish to this channel.',
|
||||
}
|
||||
|
||||
8
web/src/lang/backend/zh-cn/config/streakWinReward.ts
Normal file
8
web/src/lang/backend/zh-cn/config/streakWinReward.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
export default {
|
||||
desc: '1~10 档连胜:派彩 = 压注总额 × 赔率系数(odds_factor)。勾选「大奖」的档位在中奖时会对玩家私有频道、public-game-period 与 public-operation-notice 推送 jackpot.hit。',
|
||||
btn_save: '保存',
|
||||
streak: '连胜档(局)',
|
||||
odds_factor: '赔率系数',
|
||||
is_jackpot: '是否大奖',
|
||||
err_factor: '第 {no} 行赔率系数须 ≥1',
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
export default {
|
||||
tip: '订阅文档中的「全局对局频道」public-game-period,用于验证 period.tick / period.locked / period.opened / period.payout 等公共事件(需服务端向该频道推送)。',
|
||||
tip: '订阅文档中的「全局对局频道」public-game-period,用于验证 period.tick / period.locked / period.opened / period.payout / jackpot.hit 等公共事件(需服务端向该频道推送)。',
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
export default {
|
||||
tip: '订阅文档中的「公告广播频道」public-operation-notice,用于验证 notice.popout 等全站公告类推送(需服务端向该频道推送)。',
|
||||
tip: '订阅「公告广播频道」public-operation-notice:全站公告 notice.popout 与本游戏 jackpot.hit(连胜大奖广播)均会发往此频道;需服务端推送。',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user