[P2][D15] 地面名称标签:ethereal / socketed 的灰色覆盖规则 #424
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#424
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?
现状
src/ui/ground-labels.ts:41的getGroundItemQualityColor只看item.quality字符串。1.13c 真实行为
基础配色(白=普通、灰=低质、蓝=魔法、黄=稀有、金=独特、绿=套装、橙=合成)已正确;
但 normal / superior 物品若带 ethereal 或 socket,地面标签文字改为灰色。
验收标准
getGroundItemQualityColor对 normal/superior + (ethereal || sockets > 0) 返回灰色。Resolution Summary (Issue #424 — Commit
9022579)Updated
getGroundItemQualityColorinsrc/ui/ground-labels.tsand sparkle aura colors insrc/scene/act-scene.tsto apply the 1.13c gray (#808080) override for ethereal or socketed normal/superior non-runeword items.Verification:
npx tsc --noEmit(0 errors), full Vitest drop/combat/item/E2E parity suites (100% pass), andscripts/verify-m5.ts/scripts/verify-net.ts(0 problems).