From cfa8dbdaeb1b811b6811b97432da16f52f36329a Mon Sep 17 00:00:00 2001 From: admin Date: Sat, 13 Jun 2026 00:09:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=89=B9=E6=88=92=E7=A2=8E?= =?UTF-8?q?=E7=89=87=E5=8F=8C=E5=87=BB=E9=9A=8F=E6=9C=BA=E7=89=B9=E6=88=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Envir/QuestDiary/系统类/双击物品.lua | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/Mirserver/Mir200/Envir/QuestDiary/系统类/双击物品.lua b/Mirserver/Mir200/Envir/QuestDiary/系统类/双击物品.lua index 76d0e4d9..9437faa2 100644 --- a/Mirserver/Mir200/Envir/QuestDiary/系统类/双击物品.lua +++ b/Mirserver/Mir200/Envir/QuestDiary/系统类/双击物品.lua @@ -244,6 +244,33 @@ ClickOnItem.cfg = { ZhiJinHuLuOBJ:addjiuqi(actor, 1) return false end, + ["ؽƬ"] = function(actor, ...) + if Func.takeitmes(actor, { { "ؽƬ", 10, 0 } }, true, true) then + local cfg = { + { "ָ", 2 }, + { "Խָ", 2 }, + { "ָ", 2 }, + { "ָ", 17 }, + { "ָ", 17 }, + { "ָ", 15 }, + { "аָ", 15 }, + { "ѩǬ", 15 }, + { "ѩԨ", 15 }, + } + local random = math.random(1, 100) + local total = 0 + for _, v in ipairs(cfg) do + total = total + v[2] + if random <= total then + giveitem(actor, v[1], 1, 0, "ؽƬ") + Func.sendmsg9(actor, string.format("[ؽƬ]:#70|ϲ#251|%s#249|!", v[1])) + break + end + end + end + return false + end, + ["Ƭ"] = function(actor, ...) local result1, result2 = ransjstr("ս[Ƭ]#1|ս[Ƭ]#1|ս[Ƭ]#1|ս[Ƭ]#1|ս[Ƭ]#1|սѥ[Ƭ]#1", 1, 3) giveitem(actor, result1, 1, 0)