feat(wilderness): 还原 DRLGOUTPLACE_PlaceAct1245OutdoorBorders 边界峭壁与门洞状态机 #67
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#67
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?
背景
在原版暗黑 2 中,室外边界的闭合与开口贴装由
DRLGOUTPLACE_PlaceAct1245OutdoorBorders严格驱动:Bord1..4,Act 2 沙漠悬崖峡谷,Act 4 熔岩深渊边缘,Act 5 冰山雪峰断崖)。而当前 Web 引擎在非第一幕或复杂多开口边界匹配失败时,存在降级到合成石墙或简单开放空间的处理(如
proceduralWallCells),导致部分关卡边缘失去了原版天然悬崖峭壁的幽闭感与宏伟感。改造内容
DRLGOUTPLACE_PlaceAct1245OutdoorBorders环形走查算法,逐块放置 Corner、Border 与 Opening DS1 预设。proceduralWallCells降级。facade1.ds1)严丝合缝对齐。验收标准
npm run typecheck零错误,npx vitest run全绿