-- 基础信息 local base_info = { group_id = 111101152 } -- Trigger变量 local defs = { group_ID = 111101152, gadget_fundation01 = 152001, gadget_hand01 = 152003, gadget_fundation02 = 152002, gadget_hand02 = 152004, gadget_fundation03 = 0, gadget_hand03 = 0, gadget_fundation04 = 0, gadget_hand04 = 0, gadget_fundation05 = 0, gadget_hand05 = 0, minDiscrapancy = 15 } --================================================================ -- -- 配置 -- --================================================================ -- 怪物 monsters = { } -- NPC npcs = { } -- 装置 gadgets = { { config_id = 152001, gadget_id = 70950084, pos = { x = 2893.802, y = 270.001, z = -1280.750 }, rot = { x = 0.000, y = 290.000, z = 0.000 }, level = 1 }, { config_id = 152002, gadget_id = 70950084, pos = { x = 2890.267, y = 270.044, z = -1285.525 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, { config_id = 152003, gadget_id = 70950085, pos = { x = 2893.802, y = 269.948, z = -1280.750 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, { config_id = 152004, gadget_id = 70950085, pos = { x = 2890.267, y = 269.948, z = -1285.525 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 }, { config_id = 152005, gadget_id = 70211111, pos = { x = 2892.084, y = 269.872, z = -1287.718 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 26, drop_tag = "解谜中级蒙德", isOneoff = true, persistent = true } } -- 区域 regions = { } -- 触发器 triggers = { { config_id = 1152006, name = "VARIABLE_CHANGE_152006", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_152006", action = "" } } -- 变量 variables = { } --================================================================ -- -- 初始化配置 -- --================================================================ -- 初始化时创建 init_config = { suite = 1, end_suite = 0, rand_suite = false } --================================================================ -- -- 小组配置 -- --================================================================ suites = { { -- suite_id = 1, -- description = , monsters = { }, gadgets = { 152001, 152002, 152003, 152004 }, regions = { }, triggers = { }, rand_weight = 100 }, { -- suite_id = 2, -- description = , monsters = { }, gadgets = { 152005 }, regions = { }, triggers = { }, rand_weight = 100 } } --================================================================ -- -- 触发器 -- --================================================================ -- 触发条件 function condition_EVENT_VARIABLE_CHANGE_152006(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/MagneticGear"