[M19-P5] 实装原版四分页商人面板 UI 与买卖交互 (Panel\NPCInv.dc6 + Buy/Sell/Repair/Gamble) #485
Labels
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: troytt/diablo2-web#485
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?
背景与目标
打通城镇 NPC 点击菜单、左侧四分页商店面板 (
Panel\NPCInv.dc6)、右侧玩家背包联动与悬浮价格 Tooltip。核心实装内容
src/scene/act-scene.ts&src/ui/world-panels.ts):交谈/交易(或交易/修理) /赌博(若支持) /取消交谈/鉴定物品/取消src/ui/world-panels.ts):drawLeftDockPanel中的'vendor'占位符,使用vendor-bg.png与buysellbtn.png渲染:护甲/武器 I/武器 II/杂物。src/ui/hud-manager.ts&src/ui/inventory.ts):vendor面板时自动打开右侧玩家背包 (rightOpen.inventory = true)。购买价格: X 金币(金币不足时标红)。出售价格: X 金币(修理光标激活时显示修理费用: X 金币)。验收标准
[M15-P5] 实装原版四分页商人面板 UI 与买卖交互 (Panel\NPCInv.dc6 + Buy/Sell/Repair/Gamble)to [M19-P5] 实装原版四分页商人面板 UI 与买卖交互 (Panel\NPCInv.dc6 + Buy/Sell/Repair/Gamble)Implemented and verified in commit
3b993cf(tsc --noEmit0 errors,vitest17/17 passing, headless Chrome UI verification passing).