[Parity][inv-skills][S2][H] 纸娃娃槽位和背包格坐标写死,且与 inventory.txt 不一致;inventory.txt 从未加载 #682
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
来源审计项:
inv-skills#4— [S2][H] 纸娃娃槽位和背包格坐标写死,且与 inventory.txt 不一致;inventory.txt 从未加载位置:
src/client/ui/inventory.ts:88-104(INV_PANEL_ORIGIN、INV_GRID_ORIGIN、EQUIP_SLOTS_LAYOUT)。src/client/ui/hud-manager.ts:1830-1983。代码:
helm: { x: 400 + 132, y: 60 + 4, w: 58, h: 58, ... }、INV_GRID_ORIGIN = { x: 400 + 18, y: 60 + 256, cols: 10, rows: 4, cellPx: 29 }原版:inventory.txt 的 Amazon2…Assassin2 行(#17–21、#31、#32),7 行数值完全相同(V-data)。下表左列为代码的 x,y,w,h,右列为表中的 Left/Right/Top/Bottom:
影响:
建议:加载 inventory.txt,按职业行取各槽的 Left/Right/Top/Bottom 和 grid 参数(800×600 用
*2行)。已有 issue:—(#542 是大视口下的栏位偏移,与本条不同)