Skip to content

release: v1.33.0 修复汽车类商品时利润工资系数缺失 - #19

Merged
gangbaRuby merged 1 commit into
mainfrom
release/1.33.0-sales-algorithm-fix
Aug 7, 2026
Merged

release: v1.33.0 修复汽车类商品时利润工资系数缺失#19
gangbaRuby merged 1 commit into
mainfrom
release/1.33.0-sales-algorithm-fix

Conversation

@gangbaRuby

@gangbaRuby gangbaRuby commented Aug 7, 2026

Copy link
Copy Markdown
Owner

变更说明

  • 修复汽车类商品(资源 53-57,汽车经销商)时利润计算中工资系数缺失的问题。
  • 根因:buildingsSalaryModifier 解析 vvr = { 0: ..., 1: ..., 2: ... } 时,非贪婪正则遇到 levelImages 内嵌对象即截断,导致 "2"(汽车经销商,salaryModifier 1.1)漏解析。
  • 修复:增加按引号 dbLetter 定位自身对象、括号配对读取 salaryModifier 的兜底扫描。
  • 影响范围:交易所、合同、仓库、MP 面板共用 SCD.buildingsSalaryModifier,都会受益。

用户提醒

请更新基本数据后生效(左下角“更新基础数据”或等待自动更新)。

版本

  • 涉及销售算法,版本从 1.32.42 升至 1.33.0。

验证

  • npm run check 通过。
  • 本地对比:汽车类商品商店与交易所时利润已一致。

修复汽车类商品时利润工资系数缺失的问题,请用户更新基本数据后生效。
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@gangbaRuby gangbaRuby changed the title release: v1.33.0 sales algorithm fix release: v1.33.0 修复汽车类商品时利润工资系数缺失 Aug 7, 2026
@gangbaRuby
gangbaRuby merged commit 7f92da5 into main Aug 7, 2026
1 check passed
@gangbaRuby
gangbaRuby deleted the release/1.33.0-sales-algorithm-fix branch August 12, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant