[P2][D16] 拾取校准:pickupRadius 对齐 1.13c + 药水优先自动入腰带 #425
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#425
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:5047设置pickupRadius: 64,需与 1.13c 实际拾取距离对齐后确认。src/scene/act-scene.ts:2334拾取后直接调inventory.autoPlaceInGrid(item),药水不会优先进腰带。
1.13c 真实行为
验收标准
Resolution Summary (Issue #425 — Commit
9022579)Aligned item pickup reach to 1.13c 2-subtile collision box edge distance (
D2_PICKUP_SUBTILE_REACH_PX = 64) insrc/game/ground-items.ts,src/game/engine.ts, andsrc/scene/act-scene.ts.\n- Implemented 2-passBeltHud.autoPlacePotion(INVENTORY_GetFreeBeltSlot0x6fd90d40) insrc/ui/belt.ts.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).