-- 基础信息 local base_info = { group_id = 133008002 } --================================================================ -- -- 配置 -- --================================================================ -- 怪物 monsters = { } -- NPC npcs = { } -- 装置 gadgets = { { config_id = 2001, gadget_id = 70500000, pos = { x = 1306.499, y = 275.063, z = -801.903 }, rot = { x = 322.656, y = 0.000, z = 0.000 }, level = 30, point_type = 9126, isOneoff = true, persistent = true, autopick = true, area_id = 10 } } -- 区域 regions = { } -- 触发器 triggers = { { config_id = 1002002, name = "GATHER_2002", event = EventType.EVENT_GATHER, source = "2001", condition = "", action = "action_EVENT_GATHER_2002" } } -- 变量 variables = { } --================================================================ -- -- 初始化配置 -- --================================================================ -- 初始化时创建 init_config = { suite = 1, end_suite = 0, rand_suite = false } --================================================================ -- -- 小组配置 -- --================================================================ suites = { { -- suite_id = 1, -- description = , monsters = { }, gadgets = { 2001 }, regions = { }, triggers = { "GATHER_2002" }, rand_weight = 100 }, { -- suite_id = 2, -- description = , monsters = { }, gadgets = { }, regions = { }, triggers = { }, rand_weight = 100 } } --================================================================ -- -- 触发器 -- --================================================================ -- 触发操作 function action_EVENT_GATHER_2002(context, evt) -- 通知任务系统完成条件类型"LUA通知",复杂参数为quest_param的进度+1 if 0 ~= ScriptLib.AddQuestProgress(context, "133008002") then ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : add_quest_progress") return -1 end return 0 end