[P1][T10] 加载 SetItems.txt + Sets.txt(127 + 32 行) #98
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#98
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?
问题
套装是品质判定(T-14)判到
set(5)的落点。套装还有「穿几件给几件的加成」这一层,比暗金复杂。金标准数据
SetItems.txt —— 127 真实行(128 − 1 行
Expansion)× 94 列indexsetSets.indexitempropNapropNa/apropNbadd funcSets.txt —— 32 真实行(33 − 1 行
Expansion)× 69 列Sets的 tbl key 是name列(不是index)。实现要求
Expansion。SetItems.set→Sets.index建立关联,SetItems.item→ 全局物品码表。propNSetItems.apropNa/b+Sets.PCodeNa/bSets.FCode1-8add func的两个分支要分别实现。SetItems.index与Sets.name供 T-20 查 tbl。陷阱
验收标准
SetItems.set都能在Sets.index里找到(悬空为 0)SetItems.item都能在全局物品码表里找到propN/apropN*/PCode*/FCode*都能在 Properties 里解析到npm run typecheck0 errornpx vitest run全绿npx tsx scripts/verify-items.ts新增断言通过溯源
data\global\excel\下的SetItems.txt/Sets.txt(本机/usr/local/google/home/taodao/d2-data,挂载序 d2data → d2exp → Patch_D2,Patch_D2 优先)add func的 a/b 分支语义建议额外实测)已完成并通过 1.13c MPQ 真实表验证(127 件套装单件 / 32 套装总表,0 悬空,三层加成运算与 addFunc 分支),合并入 main (commit
73ed329)。