[P1][T04] 加载 Weapons.txt → ItemBase(306 行 × 166 列) #92
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#92
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-03,武器侧。真实武器 306 件。
金标准数据
306 真实行(307 原始行 − 1 行
Expansion)× 166 列。完整列头:
统计:
spawnable=1297/306;rarity范围 0..5;level范围 0..86。相对护甲独有的关键列:
mindam/maxdam2handmindam/2handmaxdam1or2handed/2handedminmisdam/maxmisdamspeedreqdexStrBonus/DexBonuswclass/2handedwclassstackable/minstack/maxstack/spawnstackrangeadder其余列(
codenamestrrarityleveltypenormcodeubercodeultracode…)语义同 T-03。实现要求
data\global\excel\Weapons.txt,剔除Expansion行。code → ItemBase索引。陷阱
验收标准
ItemBase,0 个失败code仍无重复rarity=0的 15 件被正确标记为不进 auto-TChax(Hand Axe) /crs(Crystal Sword) 的伤害、速度、需求全对npm run typecheck0 errornpx vitest run全绿npx tsx scripts/verify-items.ts新增断言通过溯源
data\global\excel\下的Weapons.txt(本机/usr/local/google/home/taodao/d2-data,挂载序 d2data → d2exp → Patch_D2,Patch_D2 优先)已完成并通过 1.13c MPQ 真实表验证(306 件真实武器,索引 18 空列防护,15 件 rarity=0 标记),合并入 main (commit
98daef5)。