[P1][T06] 加载 MagicPrefix.txt / MagicSuffix.txt(637 + 741 行) #94
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#94
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?
问题
现在只有
DEMO_AFFIXES里手写的 2 条词缀。真实魔法词缀有 1378 条(母 issue 估计 ~1000,实际更多)。金标准数据
spawnable=1剔除内容:MagicPrefix 有 32 行 Name 为空 + 1 行
Expansion;MagicSuffix 有 6 行 Name 为空 + 1 行Expansion。MagicPrefix 列头(41 列)
MagicSuffix 列头(39 列)
同上,但只有
etype1..etype3(少 2 个 etype)。真实样例:
关键列语义:
spawnablerarelevelalvl >= levelmaxlevelfrequencygroupmod1-3codeProperties.code(T-02)mod1-3min/maxitype1..7etype1..5(后缀 1..3)classspecific/class/classlevelreqtransform/transformcolordivide/multiply/add实现要求
Expansion行。Affix结构(结构以 T-17 为准),前后缀分别建池。mod1-3code解析成 T-02 的 Property 引用。itype/etype解析成 T-01 的 ItemType 引用,匹配时要沿 Equiv 链向上递归。group/frequency/level/maxlevel/rare供 T-15 使用。陷阱
验收标准
spawnable=1的分别为 587 / 575,合计 1162mod1-3code都能在 Properties 里解析到(悬空数为 0,若非 0 需列出)itype/etype都能在 ItemTypes 里解析到Sturdy(group=101, ac% 20-30, itype=armo) /of the Ox(group=34, str 7-10, etype 含 wand/staf)npm run typecheck0 errornpx vitest run全绿npx tsx scripts/verify-items.ts新增断言通过溯源
data\global\excel\下的MagicPrefix.txt/MagicSuffix.txt(本机/usr/local/google/home/taodao/d2-data,挂载序 d2data → d2exp → Patch_D2,Patch_D2 优先)已完成并通过 1.13c MPQ 真实表验证(1378 条魔法词缀,587/575 spawnable,白名单/黑名单继承链过滤),合并入 main (commit
866cdd4)。