diff --git a/Mirserver/Mir200/Envir/QuestDiary/游戏功能/A2_二大陆/九秘珠合成.lua b/Mirserver/Mir200/Envir/QuestDiary/游戏功能/A2_二大陆/九秘珠合成.lua index b8a04b7b..d0299b81 100644 --- a/Mirserver/Mir200/Envir/QuestDiary/游戏功能/A2_二大陆/九秘珠合成.lua +++ b/Mirserver/Mir200/Envir/QuestDiary/游戏功能/A2_二大陆/九秘珠合成.lua @@ -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