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

This commit is contained in:
2026-06-03 17:23:13 +08:00
parent 51105dd1e0
commit 307a942b8e
9 changed files with 136 additions and 60 deletions

View File

@@ -8,6 +8,7 @@
"poolType": "Pool Type",
"placeholderPoolType": "Please select pool type",
"poolTypeNormal": "Normal",
"poolTypeFree": "Free",
"poolTypeKill": "Kill",
"poolTypeT1": "T1 High",
"safetyLine": "Safety Line",
@@ -25,7 +26,7 @@
"realtime": "Live",
"profitCalcHint": "Accumulated on name=default (Normal) pool: paid += win_coin paid_amount (ante×1); free += win_coin. Compared with safety line to decide paid-draw kill switch. Refreshes every 2s while open.",
"tierRuleTitle": "Paid draw tier rule",
"tierRuleContent": "Compares default pool profit_amount (not per-player profit). Below safety line or kill off: use player T*_weight; at or above safety line with kill on: use killScore pool T*_weight. Free draws always use killScore weights (safety line N/A).",
"tierRuleContent": "Compares default pool profit_amount (not per-player profit). Below safety line or kill off: paid uses player T*_weight; at/above safety line with kill on: paid uses killScore pool. Free draws always use channel name=free pool weights (fallback default if missing); safety line N/A.",
"enableKillScore": "Enable kill score",
"killScoreWeights": "Kill weights (killScore)",
"killWeightNote": "Edit killScore (Force Kill) row in the list for kill weights. This dialog only configures default pool safety line and kill switch.",
@@ -57,6 +58,7 @@
"placeholderName": "Please enter name",
"placeholderPoolType": "Please select pool type",
"poolTypeNormal": "Normal",
"poolTypeFree": "Free",
"poolTypeKill": "Force Kill",
"poolTypeT1": "T1 High Rate"
},

View File

@@ -54,11 +54,14 @@
"weightTest": {
"title": "One-Click Weight Test",
"alertTitle": "Bonus pool logic",
"alertBody": "Test mode is non-kill by default. You can enable kill mode below with switch + safety line: once simulated player cumulative profit reaches the line, paid draws switch to killScore.",
"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.",
"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 enabled: use simulated player cumulative profit as trigger; once cumulative profit >= safety line, subsequent paid draws use killScore. Free draws still follow the configured free settings.",
"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": "Test safety line",
"labelTestSafetyLine": "default safety line",
"killEnabledOn": "kill on",
"killEnabledOff": "kill off",
"poolProfitPrefix": "pool profit ",
"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).",
@@ -69,7 +72,7 @@
"labelAnte": "Ante",
"placeholderAnte": "Select ante config",
"placeholderPaidPool": "Leave empty for custom tier odds below (default: default)",
"placeholderFreePool": "Leave empty for custom tier odds below (default: killScore)",
"placeholderFreePool": "Leave empty for custom tier odds below (default: free pool)",
"tierProbHint": "Custom tier odds (T1T5), each 0100%, sum of five must not exceed 100%",
"tierFieldLabel": "Tier {tier} (%)",
"tierSumError": "Current sum of five tiers is {sum}%, cannot exceed 100%",