[Parity][panels][S2][R] Tooltip 的外观、布局、行序是自造的 #668

Closed
opened 2026-10-02 11:42:53 +00:00 by troytt · 1 comment
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 公认行为。

来源审计项:panels#15 — [S2][R] Tooltip 的外观、布局、行序是自造的

  • 位置:src/client/ui/world-panels.ts:3547-3571、:3387-3392
  • 代码:底色 rgba(4,4,4,0.94) 加棕色边框 '#8c7244';最小宽 190,行高 17,内边距 16/12;hover.y < 280 时翻到下方;标题用 fontexocet10,正文用 font8;攻速行放在职业限定和需求之前。
  • 原版:半透明黑底,无边框(K高);所有行同一种字体(K中);攻速行在 Required Level 之后(K中)。280 阈值、190 / 17 / 16 / 12 这几个数都没有出处(?)。
  • 影响:Tooltip 的样子和原版明显不同。
  • 建议:逆向 D2Client 的物品悬停文本绘制函数,确认定位规则、字体和行序。
  • 已有 issue:—(800/600 夹取属于 #557)
> **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 公认行为。 ### 来源审计项:`panels#15` — [S2][R] Tooltip 的外观、布局、行序是自造的 - **位置**:`src/client/ui/world-panels.ts:3547-3571`、`:3387-3392` - **代码**:底色 `rgba(4,4,4,0.94)` 加棕色边框 `'#8c7244'`;最小宽 190,行高 17,内边距 16/12;`hover.y < 280` 时翻到下方;标题用 fontexocet10,正文用 font8;攻速行放在职业限定和需求之前。 - **原版**:半透明黑底,无边框(K高);所有行同一种字体(K中);攻速行在 Required Level 之后(K中)。280 阈值、190 / 17 / 16 / 12 这几个数都没有出处(?)。 - **影响**:Tooltip 的样子和原版明显不同。 - **建议**:逆向 D2Client 的物品悬停文本绘制函数,确认定位规则、字体和行序。 - **已有 issue**:—(800/600 夹取属于 #557)
Author
Owner

Resolved in commit 171f7c0 (Milestone M6 Phase 1: World Panels, NPC Menus, Waypoints, Tooltips & Fail-Fast parity). Verified with tests/client/world-panels-batch6.test.ts and npm run typecheck.

Resolved in commit 171f7c0 (Milestone M6 Phase 1: World Panels, NPC Menus, Waypoints, Tooltips & Fail-Fast parity). Verified with tests/client/world-panels-batch6.test.ts and npm run typecheck.
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#668
No description provided.