[Parity][inv-skills][S3][F/R] 离线路径大量依赖文本解析和猜测:tome 数量、鉴定、镶嵌、符文之语 #692
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?
来源审计项:
inv-skills#15— [S3][F/R] 离线路径大量依赖文本解析和猜测:tome 数量、鉴定、镶嵌、符文之语src/client/ui/inventory.ts):getTomeQuantity):用正则从文本行匹配 '数量'/'Quantity',tome 缺省 20。setTomeQuantity):改写物品名字;非 tome 的上限写死 99。identifyUiItem):按 '未辨识' 文本行做处理。inferCandidateRunewordItemTypes):按名字关键词猜底材类型。applyStatDeltaToTargetBase):用正则解析中英文属性文本,重算伤害、防御和需求。catch {}吞掉异常。TOME_MAX_QUANTITY = 20。maxstack=20。注释说来自 Books.txt,但 books.txt 没有上限列(V-data)。stackable=0,代码里却有卷轴堆叠逻辑(V-data)。catch {}。Fixed and verified in commit
f209f4eon main.