[Parity][map][S3][H] 幕号和城镇判定是写死的区间 / 集合,绕过了现有的数据驱动实现 #631
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?
来源审计项:
map#12— [S3][H] 幕号和城镇判定是写死的区间 / 集合,绕过了现有的数据驱动实现位置:
src/client/automap/automap-view.ts:37-43(getActForArea):≤39→1, ≤74→2, ≤102→3, ≤108→4, else 5。src/client/scene/world-renderer.ts:1157:preRevealTown: isTownLevel(snapshot.levelId),isTownLevel在src/common/world/scene-population.ts:56,是写死的集合。原版:
DRLG_GetActNoFromLevelId(level-view.ts:361在用)。lvlprest.txt的AutoMap列决定(V-srcDrlgPreset.cpp:1796/1803检查dwAutoMap),并非"是城镇就揭示"。当前集合 {1,40,75,103,109} 恰好与表一致(V-data)。影响: 目前没有可见错误,但换 mod 或改表就会出错。
建议: 幕号用
DRLG_GetActNoFromLevelId;预揭示读lvlprest.AutoMap。已有 issue: —