[P2][D14] 移除地面物品彩色方块占位兜底,并建立 flippy 精灵全量覆盖审计 #423
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#423
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/scene/act-scene.ts:4756-4775:当sr === null时用renderer.drawSolid画一个彩色方块顶替。这是典型的静默降级——缺失的美术资源被伪装成「能用」,违反项目规则。
同时
scripts/pack-ui.ts:865没有任何覆盖率断言。1.13c 真实行为
每个可掉落基底都有确定的
flippyfile(flp*.dc6)与地面图标,不存在程序化色块。验收标准
100% 解析到已烘焙的 flippy DC6 与地面图标,缺一即构建失败。
resolveGroundItemSpriteRect非空。Resolution Summary (Issue #423 — Commit
9022579)Removed procedural colored rectangle fallback rendering in
src/scene/act-scene.ts(drawGroundItem) and replaced missing sprite handling with a fail-fast error.\n- Verified 100% flippy DC6 sprite coverage across all 506 base items and gold tiers.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).