-- 基础信息 local base_info = { group_id = 199003129 } -- DEFS_MISCS local defs = { target_leveltag = 21, pos = { x=-675.8, y=121.19, z=-221.63}, rot = {x=0, y=0, z=1}, radius = 2, } --================================================================ -- -- 配置 -- --================================================================ -- 怪物 monsters = { } -- NPC npcs = { } -- 装置 gadgets = { [129001] = { config_id = 129001, gadget_id = 70310399, pos = { x = -676.202, y = 119.830, z = -228.274 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 20, area_id = 403 } } -- 区域 regions = { } -- 触发器 triggers = { { config_id = 1129002, name = "GROUP_LOAD_129002", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_EVENT_GROUP_LOAD_129002", trigger_count = 0 } } -- 变量 variables = { } --================================================================ -- -- 初始化配置 -- --================================================================ -- 初始化时创建 init_config = { suite = 1, end_suite = 2, rand_suite = false } --================================================================ -- -- 小组配置 -- --================================================================ suites = { { -- suite_id = 1, -- description = , monsters = { }, gadgets = { 129001 }, regions = { }, triggers = { "GROUP_LOAD_129002" }, rand_weight = 100 }, { -- suite_id = 2, -- description = , monsters = { }, gadgets = { }, regions = { }, triggers = { "GROUP_LOAD_129002" }, rand_weight = 100 } } --================================================================ -- -- 触发器 -- --================================================================ -- 触发操作 function action_EVENT_GROUP_LOAD_129002(context, evt) if ScriptLib.GetHostQuestState(context,4007501)==2 or ScriptLib.GetHostQuestState(context,4007601)==2 then ScriptLib.RefreshGroup(context, { group_id = 199003129, suite = 2 }) else ScriptLib.RefreshGroup(context, { group_id = 199003129, suite = 1 }) end return 0 end require "V2_8/MonaPortal"