[P1][D10] 金币落地:生成地面金币堆(flpgld 三级贴图),移除直接入包 #419
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#419
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/game/engine.ts:885-886:金币绕过了整个地面实体系统:没有掉落物、没有弹跳、没有贴图、无法拾取、无法被别人捡走。
1.13c 真实行为
gld地面实体落地,需玩家走上去/点击拾取。flpgld_1/flpgld_2/flpgld_3。ulvl × 10000+ 储藏箱规则)约束,超出部分留在地面。<数量> Gold(中文「金币」)。验收标准
this.groundItems.add()落地,走与物品一致的弹跳与落点逻辑。flpgld_1..3已烘焙,见 D14)。Resolution Summary (Issue #419 — Commit
9022579)Changed monster gold drops in
src/game/engine.tsto spawn physicalgldground items with 3 authentic visual tiers (flpgld_01-49,flpgld_150-499,flpgld_2500+) insrc/ui/inventory.ts.\n- Enforced10,000 * player.levelinventory gold capacity with partial-pickup remainder piles.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).