[物品/UI] 实现原版 1.13c 装备镶嵌系统(珠宝无槽位区分随意镶嵌、宝石与符文按武器/头盔/盔甲/盾牌部位区分属性及符文之语激活) #507
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?
背景与需求描述 (Background & Requirements)
严格遵循暗黑破坏神 II v1.13c 原版机制(
D2Common.dllITEMS_SocketItem、D2Client.dllshowitems.cpp及 MPQ 数据表Gems.txt、Weapons.txt、Armor.txt、Misc.txt、ItemTypes.txt、Runes.txt),实装完整的装备镶嵌系统:1. 珠宝(
code: jew,type: jewl)可随意镶嵌且属性与部位无关sockets > socketedItems.length)的已鉴定装备(武器、头盔、胸甲、盾牌/死灵副手等)。Math.max(host.reqLevel, jewel.reqLevel)更新装备需求等级。"可镶嵌进有凹槽的装备"/"Can be Inserted into Socketed Items"。2. 宝石(35 种)与符文(33 种,
r01–r33)按镶嵌位置区分属性weapon武器、helm头盔、armor胸甲、shield盾牌/圣骑盾/死灵副手)动态分发Gems.txt对应槽位的属性词条:weapon):应用weaponMod1..3(weaponsZh/weaponsEn,如完美紫宝石 +150 准确率、乔 Jah 无视目标防御、乌姆 Um 25% 撕开伤口、海尔 Hel 需求 -20%、欧姆 Ohm +50% 增强伤害)。helm):应用helmMod1..3(helmsZh/helmsEn,如完美紫宝石 +10 力量、乔 Jah +5% 生命上限、乌姆 Um 所有抗性 +15、海尔 Hel 需求 -15%)。armor):应用helmMod1..3(armorZh/armorEn)。shield):应用shieldMod1..3(shieldsZh/shieldsEn,如完美紫宝石 +30 防御、乔 Jah +50 生命、乌姆 Um 所有抗性 +22、海尔 Hel 需求 -15%)。+X 防御/+X% 增强防御)、基础武器伤害(+X% 增强伤害)、穿戴力量/敏捷需求(需求 -X%)、永不磨损(佐德 Zod)及最高需求等级(reqLevel),并支持普通/超强带孔底材嵌满符文时自动匹配并激活 1.13c 符文之语。3. 全界面左键交互与插槽渲染