From dbf00fd647eefbca1587d806c7e5cfa280b614f8 Mon Sep 17 00:00:00 2001 From: admin Date: Wed, 24 Jun 2026 02:09:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B9=9D=E7=A7=98=E7=8F=A0?= =?UTF-8?q?=E5=9F=BA=E7=A1=80=E5=B1=9E=E6=80=A7=E8=8E=B7=E5=BE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../游戏功能/A2_二大陆/九秘珠合成.lua | 28 +++++++++++-------- 1 file changed, 16 insertions(+), 12 deletions(-) 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