-- 基础信息 local base_info = { group_id = 133102917 } --================================================================ -- -- 配置 -- --================================================================ -- 怪物 monsters = { } -- NPC npcs = { } -- 装置 gadgets = { { config_id = 917001, gadget_id = 70710325, pos = { x = 1101.291, y = 204.961, z = 346.094 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, area_id = 5 }, { config_id = 917002, gadget_id = 70710325, pos = { x = 1096.168, y = 204.961, z = 349.285 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, area_id = 5 }, { config_id = 917003, gadget_id = 70710325, pos = { x = 1102.061, y = 204.961, z = 338.084 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, area_id = 5 } } -- 区域 regions = { } -- 触发器 triggers = { { config_id = 1917004, name = "ANY_GADGET_DIE_917004", event = EventType.EVENT_ANY_GADGET_DIE, source = "", condition = "", action = "action_EVENT_ANY_GADGET_DIE_917004", trigger_count = 0 } } -- 变量 variables = { } --================================================================ -- -- 初始化配置 -- --================================================================ -- 初始化时创建 init_config = { suite = 1, end_suite = 0, rand_suite = false } --================================================================ -- -- 小组配置 -- --================================================================ suites = { { -- suite_id = 1, -- description = , monsters = { }, gadgets = { 917001, 917002, 917003 }, regions = { }, triggers = { "ANY_GADGET_DIE_917004" }, rand_weight = 100, ban_refresh = true } } --================================================================ -- -- 触发器 -- --================================================================ -- 触发操作 function action_EVENT_ANY_GADGET_DIE_917004(context, evt) -- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1 if 0 ~= ScriptLib.AddQuestProgress(context, "4134105") then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress") return -1 end return 0 end