[P2][D12] 掉落音效:dropsound / dropsfxframe 接入 AudioManager #421
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#421
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?
现状
审计确认
AudioManager存在但掉落路径完全未调用,物品落地无声。1.13c 真实行为
Weapons.txt/Armor.txt/Misc.txt每个基底带dropsound与dropsfxframe两列,音效在 flippy 动画的第
dropsfxframe帧触发(金属、皮甲、药水、符文、金币各不相同)。验收标准
ItemBase解析保留dropsound/dropsfxframe。dropsfxframe时调用AudioManager.play()。gold系音效,拾取音效(usesound)一并接入。Resolution Summary (Issue #421 — Commit
9022579)Parsed
dropsoundanddropsfxframeacrosssrc/game/weapons.ts,src/game/armor.ts, andsrc/game/misc-items.ts.\n- TriggeredAudioManager.playSfxatdropsfxframeduring ground item flippy bounce insrc/game/ground-items.tsandsrc/scene/act-scene.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).