-- 基础信息 local base_info = { group_id = 133004434 } --================================================================ -- -- 配置 -- --================================================================ -- 怪物 monsters = { } -- NPC npcs = { } -- 装置 gadgets = { { config_id = 434001, gadget_id = 70710325, pos = { x = 2358.188, y = 259.998, z = -644.548 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, area_id = 1 }, { config_id = 434002, gadget_id = 70710325, pos = { x = 2346.581, y = 259.998, z = -663.481 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, area_id = 1 }, { config_id = 434003, gadget_id = 70710325, pos = { x = 2368.319, y = 259.998, z = -630.213 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, area_id = 1 }, { config_id = 434004, gadget_id = 70710325, pos = { x = 2340.701, y = 259.998, z = -654.199 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, area_id = 1 } } -- 区域 regions = { } -- 触发器 triggers = { { config_id = 1434005, name = "ANY_GADGET_DIE_434005", event = EventType.EVENT_ANY_GADGET_DIE, source = "", condition = "", action = "action_EVENT_ANY_GADGET_DIE_434005", trigger_count = 0 } } -- 变量 variables = { } --================================================================ -- -- 初始化配置 -- --================================================================ -- 初始化时创建 init_config = { suite = 1, end_suite = 0, rand_suite = false } --================================================================ -- -- 小组配置 -- --================================================================ suites = { { -- suite_id = 1, -- description = , monsters = { }, gadgets = { 434001, 434002, 434003, 434004 }, regions = { }, triggers = { "ANY_GADGET_DIE_434005" }, rand_weight = 100 } } --================================================================ -- -- 触发器 -- --================================================================ -- 触发操作 function action_EVENT_ANY_GADGET_DIE_434005(context, evt) -- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1 if 0 ~= ScriptLib.AddQuestProgress(context, "133004434") then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress") return -1 end return 0 end