[Parity][hud][S2][H] 耐力条用自创的渐变色,缺少 stambarblue 蓝条状态 #647

Closed
opened 2026-10-02 11:42:51 +00:00 by troytt · 0 comments
Owner

1.13c 客户端保真度审计立项(基准快照:7bd1090 / main @ 77a20c7)

证据标记说明:V-data = 1.13c MPQ 数据表 (.txt / animdata.d2 / .tbl / pal.pl2);V-src = D2MOO 逆向源码;V-bin = 1.13c DLL 反汇编;K = 1.13c 公认行为。

来源审计项:hud#13 — [S2][H] 13. 耐力条用自创的渐变色,缺少 stambarblue 蓝条状态

  • 位置:src/client/ui/control-bar.ts:156-169
  • 代码:stamGrad.addColorStop(0, state.isRunning ? '#ffd452' : '#e8a828'); stamGrad.addColorStop(1, '#8c540c')
  • 原版:states.txt stambarblue 列中 #136 shrine_stamina、#180 staminapot 为 1(V-data),即耐力圣坛或耐力药水生效期间耐力条变蓝(K-高)。平时的底色和填充色来源未核实(?)。
  • 影响:喝耐力药水或踩耐力圣坛时耐力条不会变蓝;平时的颜色也是自创的渐变。
  • 建议:根据玩家当前状态的 stambarblue 切换颜色;颜色取原版调色板值(需要逆向确认)。
  • 已有 issue:—
> **1.13c 客户端保真度审计立项**(基准快照:`7bd1090` / `main @ 77a20c7`) > 证据标记说明:`V-data` = 1.13c MPQ 数据表 (`.txt` / `animdata.d2` / `.tbl` / `pal.pl2`);`V-src` = D2MOO 逆向源码;`V-bin` = 1.13c DLL 反汇编;`K` = 1.13c 公认行为。 ### 来源审计项:`hud#13` — [S2][H] 13. 耐力条用自创的渐变色,缺少 stambarblue 蓝条状态 - 位置:`src/client/ui/control-bar.ts:156-169` - 代码:`stamGrad.addColorStop(0, state.isRunning ? '#ffd452' : '#e8a828'); stamGrad.addColorStop(1, '#8c540c')` - 原版:states.txt `stambarblue` 列中 #136 `shrine_stamina`、#180 `staminapot` 为 1(V-data),即耐力圣坛或耐力药水生效期间耐力条变蓝(K-高)。平时的底色和填充色来源未核实(?)。 - 影响:喝耐力药水或踩耐力圣坛时耐力条不会变蓝;平时的颜色也是自创的渐变。 - 建议:根据玩家当前状态的 `stambarblue` 切换颜色;颜色取原版调色板值(需要逆向确认)。 - 已有 issue:—
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: troytt/diablo2-web#647
No description provided.