1.优化抽奖券的抽奖逻辑

This commit is contained in:
2026-06-03 17:36:57 +08:00
parent 307a942b8e
commit 5eb0ac24cd
5 changed files with 119 additions and 51 deletions

View File

@@ -54,14 +54,16 @@
"weightTest": {
"title": "One-Click Weight Test",
"alertTitle": "Bonus pool logic",
"alertBody": "Test mode is non-kill by default. When test kill mode is enabled, rules match production: compare default pool profit_amount to the safety line, with kill_enabled on and a killScore config present.",
"alertBody": "Kill switching is off by default. Enable “Test kill mode” below and set a test safety line (independent from the lottery pool config) to simulate kill triggers.",
"chainModeHint": "Simulation: set paid spin counts only (CW/CCW). If a paid draw hits “play again” (or T5), the next draw is free with the same ante, lottery type free, paid amount 0. Free-draw tier odds are configured below (including chained free plays).",
"killModeHint": "When test kill mode is on: start from default pool profit_amount and accumulate each spin (paid: win_coin - paid_amount; free: win_coin). Once profit >= safety line and kill_enabled is on, subsequent paid draws use killScore; free draws still use the name=free pool.",
"labelKillModeEnabled": "Enable test kill mode",
"labelTestSafetyLine": "default safety line",
"killEnabledOn": "kill on",
"killEnabledOff": "kill off",
"poolProfitPrefix": "pool profit ",
"killModeHint": "When test kill mode is on: start from default pool profit_amount and accumulate each spin (paid: win_coin - paid_amount; free: win_coin). Once profit >= the test safety line below, subsequent paid draws use killScore; free draws still use the name=free pool.",
"killModePanelTitle": "Test kill mode",
"killModeSwitchOn": "On",
"killModeSwitchOff": "Off",
"labelTestSafetyLine": "Test safety line",
"testSafetyLineHint": "Used for this weight test only, independent from the pool config safety line. Use a lower value to observe kill switching quickly.",
"poolProfitRef": "Reference: default pool profit {profit}, pool config safety line {line}",
"killModeOffHint": "When off, all draws follow paid/free settings without kill switching.",
"sectionPaid": "Paid draws",
"sectionFreeAfterPlayAgain": "Free draw tier odds (after play-again)",
"tierProbHintFreeChain": "When using custom tier odds: T1T5 below apply when a free draw runs (tier roll; combined with dice_reward row weights).",

View File

@@ -54,14 +54,16 @@
"weightTest": {
"title": "一键测试权重",
"alertTitle": "彩金池逻辑说明",
"alertBody": "测试模式默认不启用杀分切换;开启「测试内杀分」后,判定规则与线上一致:以 default 彩金池累计盈利profit_amount对比安全线且需 kill_enabled=开启、存在 killScore 配置。",
"alertBody": "测试模式默认不启用杀分切换;开启下方「测试内杀分」后,可单独设置测试安全线(与彩金池配置中的安全线无关),用于模拟杀分触发。",
"chainModeHint": "模拟方式:只配置付费抽奖次数(顺/逆时针)。付费抽到「再来一次」或 T5 时,下一局自动为免费抽奖,底注与触发局相同,抽奖类型记为免费、付费金额记为 0。免费抽奖的档位概率由下方「免费抽奖」配置决定含通过再来一次触发的后续免费局。",
"killModeHint": "杀分开关开启后:从 default 奖池当前 profit_amount 起步,测试内逐局累加(付费=win_coin-paid_amount免费=win_coin当累计盈利 ≥ 安全线且 kill_enabled 开启时,后续付费抽奖切 killScore免费抽奖仍走 name=free 奖池。",
"labelKillModeEnabled": "开启测试内杀分",
"labelTestSafetyLine": "default 安全线",
"killEnabledOn": "杀分已开启",
"killEnabledOff": "杀分已关闭",
"poolProfitPrefix": "当前池盈利 ",
"killModeHint": "杀分开关开启后:从 default 奖池当前 profit_amount 起步逐局累加(付费=win_coin-paid_amount免费=win_coin当累计盈利 ≥ 下方「测试安全线」时,后续付费抽奖切 killScore免费抽奖仍走 name=free 奖池。",
"killModePanelTitle": "测试内杀分",
"killModeSwitchOn": "已开启",
"killModeSwitchOff": "已关闭",
"labelTestSafetyLine": "测试安全线",
"testSafetyLineHint": "仅用于本次权重测试,与彩金池配置页的安全线独立;可设较小值以便快速观察杀分切换效果。",
"poolProfitRef": "参考:当前 default 池盈利 {profit},彩金池配置安全线 {line}",
"killModeOffHint": "关闭时全程按付费/免费配置抽档,不模拟杀分切换。",
"sectionPaid": "付费抽奖",
"sectionFreeAfterPlayAgain": "免费抽奖(再来一次后的档位概率)",
"tierProbHintFreeChain": "当使用自定义档位时:以下为「免费抽奖」时 T1T5 的档位概率(仅在有免费局时参与摇档,与 dice_reward 格子权重共同决定结果)。",