-- 基础信息 local base_info = { group_id = 133002906 } --================================================================ -- -- 配置 -- --================================================================ -- 怪物 monsters = { } -- NPC npcs = { } -- 装置 gadgets = { { config_id = 906001, gadget_id = 70220001, pos = { x = 1790.340, y = 221.400, z = -418.697 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 10, area_id = 3 }, { config_id = 906002, gadget_id = 70220001, pos = { x = 1790.627, y = 221.431, z = -416.319 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 10, area_id = 3 }, { config_id = 906003, gadget_id = 70220001, pos = { x = 1780.085, y = 221.863, z = -415.166 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 10, area_id = 3 }, { config_id = 906004, gadget_id = 70220001, pos = { x = 1779.799, y = 221.863, z = -418.208 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 10, area_id = 3 }, { config_id = 906005, gadget_id = 70220001, pos = { x = 1790.118, y = 221.863, z = -401.035 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 10, area_id = 3 } } -- 区域 regions = { } -- 触发器 triggers = { { config_id = 1906006, name = "ANY_GADGET_DIE_906006", event = EventType.EVENT_ANY_GADGET_DIE, source = "", condition = "", action = "action_EVENT_ANY_GADGET_DIE_906006", trigger_count = 0 } } -- 变量 variables = { } --================================================================ -- -- 初始化配置 -- --================================================================ -- 初始化时创建 init_config = { suite = 1, end_suite = 0, rand_suite = false } --================================================================ -- -- 小组配置 -- --================================================================ suites = { { -- suite_id = 1, -- description = , monsters = { }, gadgets = { }, regions = { }, triggers = { }, rand_weight = 100, ban_refresh = true }, { -- suite_id = 2, -- description = , monsters = { }, gadgets = { 906001, 906002, 906003, 906004, 906005 }, regions = { }, triggers = { "ANY_GADGET_DIE_906006" }, rand_weight = 100, ban_refresh = true } } --================================================================ -- -- 触发器 -- --================================================================ -- 触发操作 function action_EVENT_ANY_GADGET_DIE_906006(context, evt) -- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1 if 0 ~= ScriptLib.AddQuestProgress(context, "1330029061") then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress") return -1 end return 0 end