-- 基础信息 local base_info = { group_id = 220133042 } --================================================================ -- -- 配置 -- --================================================================ -- 怪物 monsters = { } -- NPC npcs = { } -- 装置 gadgets = { { config_id = 42001, gadget_id = 70211021, pos = { x = 15.488, y = 198.256, z = 614.718 }, rot = { x = 355.881, y = 192.424, z = 347.412 }, level = 16, drop_tag = "战斗高级群岛", isOneoff = true, persistent = true } } -- 区域 regions = { } -- 触发器 triggers = { { config_id = 1042002, name = "GROUP_LOAD_42002", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_EVENT_GROUP_LOAD_42002", trigger_count = 0 } } -- 变量 variables = { } --================================================================ -- -- 初始化配置 -- --================================================================ -- 初始化时创建 init_config = { suite = 2, end_suite = 0, rand_suite = false } --================================================================ -- -- 小组配置 -- --================================================================ suites = { { -- suite_id = 1, -- description = , monsters = { }, gadgets = { 42001 }, regions = { }, triggers = { }, rand_weight = 100 }, { -- suite_id = 2, -- description = , monsters = { }, gadgets = { }, regions = { }, triggers = { "GROUP_LOAD_42002" }, rand_weight = 100 } } --================================================================ -- -- 触发器 -- --================================================================ -- 触发操作 function action_EVENT_GROUP_LOAD_42002(context, evt) if ScriptLib.GetHostQuestState(context,4007010)==3 then ScriptLib.RefreshGroup(context, { group_id = 220133042, suite = 1 }) end return 0 end