-- 基础信息 local base_info = { group_id = 111102027 } -- Trigger变量 local defs = { group_ID = 111102027, gadget_1 = 27001, rotation_1 = 0, gadget_2 = 27002, rotation_2 = 90, gadget_3 = 27003, rotation_3 = 180, gadget_4 = 0, rotation_4 = 0, gadget_5 = 0, rotation_5 = 0, gadget_connect1 = {}, gadget_connect2 = {}, gadget_connect3 = {}, gadget_connect4 = {}, gadget_connect5 = {} } --================================================================ -- -- 配置 -- --================================================================ -- 怪物 monsters = { } -- NPC npcs = { } -- 装置 gadgets = { { config_id = 27001, gadget_id = 70330081, pos = { x = 1907.180, y = 195.487, z = -1297.651 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true }, { config_id = 27002, gadget_id = 70330081, pos = { x = 1907.180, y = 197.487, z = -1297.651 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true }, { config_id = 27003, gadget_id = 70330081, pos = { x = 1907.180, y = 199.487, z = -1297.651 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, is_use_point_array = true }, { config_id = 27004, gadget_id = 70330084, pos = { x = 1907.180, y = 195.487, z = -1297.651 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, { config_id = 27005, gadget_id = 70330085, pos = { x = 1907.180, y = 202.209, z = -1297.651 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, { config_id = 27006, gadget_id = 70211111, pos = { x = 1903.213, y = 194.589, z = -1299.272 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "解谜中级蒙德", isOneoff = true, persistent = true } } -- 区域 regions = { } -- 触发器 triggers = { { config_id = 1027007, name = "VARIABLE_CHANGE_27007", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_27007", action = "" } } -- 变量 variables = { } --================================================================ -- -- 初始化配置 -- --================================================================ -- 初始化时创建 init_config = { suite = 1, end_suite = 0, rand_suite = false } --================================================================ -- -- 小组配置 -- --================================================================ suites = { { -- suite_id = 1, -- description = , monsters = { }, gadgets = { 27001, 27002, 27003, 27004, 27005 }, regions = { }, triggers = { }, rand_weight = 100 }, { -- suite_id = 2, -- description = , monsters = { }, gadgets = { 27006 }, regions = { }, triggers = { }, rand_weight = 100 } } --================================================================ -- -- 触发器 -- --================================================================ -- 触发条件 function condition_EVENT_VARIABLE_CHANGE_27007(context, evt) if evt.param1 == evt.param2 then return false end -- 判断变量"successed"为1 if ScriptLib.GetGroupVariableValue(context, "successed") ~= 1 then return false end return true end require "BlackBoxPlay/LightSquare"