修改九秘珠基础属性获得
This commit is contained in:
parent
ae9b77e69e
commit
dbf00fd647
1 changed files with 16 additions and 12 deletions
|
|
@ -28,15 +28,15 @@ JiuMiZhuOBJ.cfg = {
|
|||
gem = 5000,
|
||||
},
|
||||
attributeSet = {
|
||||
{ name = "临字珠", Attribute = "3#13#5" },
|
||||
{ name = "兵字珠", Attribute = "3#82#300" },
|
||||
{ name = "者字珠", Attribute = "3#83#500" },
|
||||
{ name = "阵字珠", Attribute = "3#36#500" },
|
||||
{ name = "斗字珠", Attribute = "3#73#300" },
|
||||
{ name = "皆字珠", Attribute = "3#75#500" },
|
||||
{ name = "行字珠", Attribute = "3#214#3" },
|
||||
{ name = "前字珠", Attribute = "3#60#500" },
|
||||
{ name = "组字珠", Attribute = "3#219#5" },
|
||||
{ name = "临字珠" },
|
||||
{ name = "兵字珠" },
|
||||
{ name = "者字珠" },
|
||||
{ name = "阵字珠" },
|
||||
{ name = "斗字珠" },
|
||||
{ name = "皆字珠" },
|
||||
{ name = "行字珠" },
|
||||
{ name = "前字珠" },
|
||||
{ name = "组字珠" },
|
||||
},
|
||||
reset = {
|
||||
{ "千年玄石", 2000, 0 },
|
||||
|
|
@ -46,8 +46,13 @@ JiuMiZhuOBJ.cfg = {
|
|||
|
||||
|
||||
|
||||
---* 加入上线同步数据
|
||||
Player.sycCfg[JiuMiZhuOBJ._name] = JiuMiZhuOBJ.cfg
|
||||
local function JiuMiZhuOBJ_loadAttribute()
|
||||
for i, v in ipairs(JiuMiZhuOBJ.cfg.attributeSet or {}) do
|
||||
v.Attribute = tostring(getdbitemfieldvalue(v.name, "Attribute") or "")
|
||||
end
|
||||
end
|
||||
JiuMiZhuOBJ_loadAttribute()
|
||||
|
||||
|
||||
|
||||
JiuMiZhuOBJ.CaChe = {}
|
||||
|
|
@ -115,7 +120,6 @@ function JiuMiZhuOBJ:settingAttr(actor, itemobj)
|
|||
remaining = result2
|
||||
local cfg = attr[tonumber(result1)]
|
||||
if cfg then
|
||||
LOGDump(cfg.Attribute)
|
||||
addAttribute(get_att, cfg.Attribute)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue