diff --git a/Mirserver/Mir200/Envir/Data/cfg_item.xls b/Mirserver/Mir200/Envir/Data/cfg_item.xls index 6d0997eb..5812b02b 100644 Binary files a/Mirserver/Mir200/Envir/Data/cfg_item.xls and b/Mirserver/Mir200/Envir/Data/cfg_item.xls differ diff --git a/Mirserver/Mir200/Envir/QuestDiary/系统类/双击物品.lua b/Mirserver/Mir200/Envir/QuestDiary/系统类/双击物品.lua index 9437faa2..676829ad 100644 --- a/Mirserver/Mir200/Envir/QuestDiary/系统类/双击物品.lua +++ b/Mirserver/Mir200/Envir/QuestDiary/系统类/双击物品.lua @@ -271,6 +271,48 @@ ClickOnItem.cfg = { return false end, + ---* 10ФƬ ƽФ + ["ФƬ"] = function(actor, ...) + if Func.takeitmes(actor, { { "ФƬ", 10, 0 } }, true, true) then + local cfg = { + "ƽ", "ƽţ", "ƽ", "ƽ", "ƽ", "ƽ", + "ƽ", "ƽ", "ƽ", "ƽ", "ƽ", "ƽ", + } + local idx = math.random(1, #cfg) + giveitem(actor, cfg[idx], 1, 0, "ФƬ") + Func.sendmsg9(actor, string.format("[ФƬ]:#70|ϲ#251|%s#249|!", cfg[idx])) + end + return false + end, + + ---* 10ƽФ ʯФ + ["ƽФ"] = function(actor, ...) + if Func.takeitmes(actor, { { "ƽФ", 10, 0 } }, true, true) then + local cfg = { + "ʯ", "ʯţ", "ʯ", "ʯ", "ʯ", "ʯ", + "ʯ", "ʯ", "ʯ", "ʯ", "ʯ", "ʯ", + } + local idx = math.random(1, #cfg) + giveitem(actor, cfg[idx], 1, 0, "ƽФ") + Func.sendmsg9(actor, string.format("[ƽФ]:#70|ϲ#251|%s#249|!", cfg[idx])) + end + return false + end, + + ---* 10ʯФ Ф + ["ʯФ"] = function(actor, ...) + if Func.takeitmes(actor, { { "ʯФ", 10, 0 } }, true, true) then + local cfg = { + "", "ţ", "", "", "", "", + "", "", "", "", "", "", + } + local idx = math.random(1, #cfg) + giveitem(actor, cfg[idx], 1, 0, "ʯФ") + Func.sendmsg9(actor, string.format("[ʯФ]:#70|ϲ#251|%s#249|!", cfg[idx])) + end + return false + end, + ["Ƭ"] = function(actor, ...) local result1, result2 = ransjstr("ս[Ƭ]#1|ս[Ƭ]#1|ս[Ƭ]#1|ս[Ƭ]#1|ս[Ƭ]#1|սѥ[Ƭ]#1", 1, 3) giveitem(actor, result1, 1, 0)