feat(map-gen/wilderness): 第五幕血腥丘陵由静态线性条带拼装升级为动态攻防战壕阵地生成 #54
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/wilderness.ts:2487中,stampAct5SiegeStrips仅仅将 15 个 Strip 预设按照固定的静态顺序沿 X 轴依次排列放置(i * 16, 0)。暗黑2原版逻辑(Oracle / Ground Truth)
DRLGOUTSIEGE_InitAct5OutdoorLevel进行攻防布局规划。差异点与缺陷表现
解决建议与改造方案
引入 Strip 预制的动态随机选择与阵地障碍物穿插逻辑,还原多变的战场地形。
修复完成并验证通过
fix/issue-542fe5f4dsrc/game/wilderness-siege.ts实现完整的DRLGOUTSIEGE血腥丘陵动态攻防战壕阵地生成;DRLGOUTSIEGE_InitAct5OutdoorLevel未实现标记;tests/wilderness-siege-strips.test.ts(11/11 项单测全绿),全量 641 项测试无回归,npx tsc --noEmit0 报错。