修改双击首饰碎片

This commit is contained in:
admin 2026-06-13 02:40:34 +08:00
parent 55d6525971
commit 8f2af17444
3 changed files with 107 additions and 2 deletions

View file

@ -325,6 +325,105 @@ ClickOnItem.cfg = {
-- ZhiJinHuLuOBJ:addjiuqi(actor, 1)
return true
end,
---* 10个混沌战盔碎片 → 混沌战盔
["混沌战盔[碎片]"] = function(actor, ...)
if Func.takeitmes(actor, { { "混沌战盔[碎片]", 10, 0 } }, true, true) then
giveitem(actor, "混沌战盔", 1, 0, "混沌战盔[碎片]")
Func.sendmsg9(actor, "[合成]:#70|恭喜获得#251|混沌战盔#249|!")
end
return false
end,
---* 10个混沌战链碎片 → 混沌战链
["混沌战链[碎片]"] = function(actor, ...)
if Func.takeitmes(actor, { { "混沌战链[碎片]", 10, 0 } }, true, true) then
giveitem(actor, "混沌战链", 1, 0, "混沌战链[碎片]")
Func.sendmsg9(actor, "[合成]:#70|恭喜获得#251|混沌战链#249|!")
end
return false
end,
---* 10个混沌战镯碎片 → 混沌战镯
["混沌战镯[碎片]"] = function(actor, ...)
if Func.takeitmes(actor, { { "混沌战镯[碎片]", 10, 0 } }, true, true) then
giveitem(actor, "混沌战镯", 1, 0, "混沌战镯[碎片]")
Func.sendmsg9(actor, "[合成]:#70|恭喜获得#251|混沌战镯#249|!")
end
return false
end,
---* 10个混沌战戒碎片 → 混沌战戒
["混沌战戒[碎片]"] = function(actor, ...)
if Func.takeitmes(actor, { { "混沌战戒[碎片]", 10, 0 } }, true, true) then
giveitem(actor, "混沌战戒", 1, 0, "混沌战戒[碎片]")
Func.sendmsg9(actor, "[合成]:#70|恭喜获得#251|混沌战戒#249|!")
end
return false
end,
---* 10个混沌战腰碎片 → 混沌战腰
["混沌战腰[碎片]"] = function(actor, ...)
if Func.takeitmes(actor, { { "混沌战腰[碎片]", 10, 0 } }, true, true) then
giveitem(actor, "混沌战腰", 1, 0, "混沌战腰[碎片]")
Func.sendmsg9(actor, "[合成]:#70|恭喜获得#251|混沌战腰#249|!")
end
return false
end,
---* 10个混沌战靴碎片 → 混沌战靴
["混沌战靴[碎片]"] = function(actor, ...)
if Func.takeitmes(actor, { { "混沌战靴[碎片]", 10, 0 } }, true, true) then
giveitem(actor, "混沌战靴", 1, 0, "混沌战靴[碎片]")
Func.sendmsg9(actor, "[合成]:#70|恭喜获得#251|混沌战靴#249|!")
end
return false
end,
---* 10个主宰战盔碎片 → 主宰战盔
["主宰战盔[碎片]"] = function(actor, ...)
if Func.takeitmes(actor, { { "主宰战盔[碎片]", 10, 0 } }, true, true) then
giveitem(actor, "主宰战盔", 1, 0, "主宰战盔[碎片]")
Func.sendmsg9(actor, "[合成]:#70|恭喜获得#251|主宰战盔#249|!")
end
return false
end,
---* 10个主宰战链碎片 → 主宰战链
["主宰战链[碎片]"] = function(actor, ...)
if Func.takeitmes(actor, { { "主宰战链[碎片]", 10, 0 } }, true, true) then
giveitem(actor, "主宰战链", 1, 0, "主宰战链[碎片]")
Func.sendmsg9(actor, "[合成]:#70|恭喜获得#251|主宰战链#249|!")
end
return false
end,
---* 10个主宰战镯碎片 → 主宰战镯
["主宰战镯[碎片]"] = function(actor, ...)
if Func.takeitmes(actor, { { "主宰战镯[碎片]", 10, 0 } }, true, true) then
giveitem(actor, "主宰战镯", 1, 0, "主宰战镯[碎片]")
Func.sendmsg9(actor, "[合成]:#70|恭喜获得#251|主宰战镯#249|!")
end
return false
end,
---* 10个主宰战戒碎片 → 主宰战戒
["主宰战戒[碎片]"] = function(actor, ...)
if Func.takeitmes(actor, { { "主宰战戒[碎片]", 10, 0 } }, true, true) then
giveitem(actor, "主宰战戒", 1, 0, "主宰战戒[碎片]")
Func.sendmsg9(actor, "[合成]:#70|恭喜获得#251|主宰战戒#249|!")
end
return false
end,
---* 10个主宰战腰碎片 → 主宰战腰
["主宰战腰[碎片]"] = function(actor, ...)
if Func.takeitmes(actor, { { "主宰战腰[碎片]", 10, 0 } }, true, true) then
giveitem(actor, "主宰战腰", 1, 0, "主宰战腰[碎片]")
Func.sendmsg9(actor, "[合成]:#70|恭喜获得#251|主宰战腰#249|!")
end
return false
end,
---* 10个主宰战靴碎片 → 主宰战靴
["主宰战靴[碎片]"] = function(actor, ...)
if Func.takeitmes(actor, { { "主宰战靴[碎片]", 10, 0 } }, true, true) then
giveitem(actor, "主宰战靴", 1, 0, "主宰战靴[碎片]")
Func.sendmsg9(actor, "[合成]:#70|恭喜获得#251|主宰战靴#249|!")
end
return false
end,
["行会召集令"] = function(actor, ...)
local _map = getbaseinfo(actor, ConstCfg.gbase.mapid)
if MapCfg.dalumap[_map] and not MapCfg.dalumap[_map].chuanyunjian then

View file

@ -2,11 +2,17 @@
"folders": [
{
"path": "Mirserver",
"name": "Mirserver (服务端 - GB2312)"
"name": "Mirserver (服务端 - GB2312)",
"settings": {
"files.encoding": "gb2312"
}
},
{
"path": "client",
"name": "client (客户端 - UTF-8)"
"name": "client (客户端 - UTF-8)",
"settings": {
"files.encoding": "utf8"
}
}
],
"settings": {