[M19-P1] 烘焙 1.13c 商人经济与库存权威数据表 (Npc.txt / Vendor Columns / Gamble.txt / Books.txt / Stat & Skill Costs) #481
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#481
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?
背景与目标
为 1.13c 商人库存生成器与价格计算引擎提供零网络、100% 忠实于官方 MPQ 数据表的底层数据契约。
1.13c Ground Truth 对标 (
ItemsTbls.cpp/MonsterTbls.cpp)Weapons.txt/Armor.txt/Misc.txt):nNpcId = 0..16的Min,Max,MagicMin,MagicMax,MagicLvl(注意nNpcId = 6赫拉铁力在原版表中的列名拼写为HraltiMin/HraltiMax/HraltiMagicMin/HraltiMagicMax/HraltiMagicLvl)。PermStoreItem、multibuy、NightmareUpgrade、HellUpgrade、cost、gamble cost、bitfield1。Npc.txt商人经济表 (src/game/npc-table.ts):npc,buy mult,sell mult,rep mult,questflag A/B/C,questbuymult A/B/C,questsellmult A/B/C,questrepmult A/B/C,max buy,max buy (N),max buy (H)。MonsterId (hcIdx)\leftrightarrowVendorNpcId (0..16)及 NPC 服务能力矩阵(Trade / Gamble / Repair / Heal / Identify)。ItemTypes.txt/ItemStatCost.txt/Skills.txt/Gamble.txt/Books.txt/LowQualityItems.txt:ItemTypes.txt:解析StorePage(armr/weap/misc)、StaffMods与Class(用于职业专属物品收购价/4折算)。ItemStatCost.txt:解析ID,Stat,Encode,Multiply,Add,ValShift。Skills.txt:解析Id,skill,charclass,cost mult,cost add。Gamble.txt(赌博底材代码池)与Books.txt(回城/辨识书卷轴价格与充能成本)。验收标准
canonical-drop-data.ts与embedded-drop-tables.ts零网络同步导出上述全部权威表结构。Hralti*)及Npc.txt三难度max buy上限(普通5000~25000,噩梦30000,地狱35000)准确无误。[M15-P1] 烘焙 1.13c 商人经济与库存权威数据表 (Npc.txt / Vendor Columns / Gamble.txt / Books.txt / Stat & Skill Costs)to [M19-P1] 烘焙 1.13c 商人经济与库存权威数据表 (Npc.txt / Vendor Columns / Gamble.txt / Books.txt / Stat & Skill Costs)Implemented and verified in commit
3b993cf(tsc --noEmit0 errors,vitest17/17 passing, headless Chrome UI verification passing).