-- 基础信息 local base_info = { group_id = 111101016 } -- Trigger变量 local defs = { group_ID = 111101016, gadget_fundation01 = 16001, gadget_hand01 = 16003, gadget_fundation02 = 16002, gadget_hand02 = 16004, 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 = 16001, gadget_id = 70950084, pos = { x = 2665.409, y = 233.746, z = -1094.059 }, rot = { x = 0.000, y = 290.000, z = 0.000 }, level = 1 }, { config_id = 16002, gadget_id = 70950084, pos = { x = 2653.757, y = 232.813, z = -1098.403 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, { config_id = 16003, gadget_id = 70950085, pos = { x = 2665.409, y = 234.447, z = -1094.059 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }, { config_id = 16004, gadget_id = 70950085, pos = { x = 2653.757, y = 233.541, z = -1098.403 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 }, { config_id = 16006, gadget_id = 70211111, pos = { x = 2663.691, y = 234.604, z = -1101.027 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 26, drop_tag = "解谜中级蒙德", isOneoff = true, persistent = true } } -- 区域 regions = { } -- 触发器 triggers = { { config_id = 1016005, name = "VARIABLE_CHANGE_16005", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_16005", action = "" } } -- 变量 variables = { } --================================================================ -- -- 初始化配置 -- --================================================================ -- 初始化时创建 init_config = { suite = 1, end_suite = 0, rand_suite = false } --================================================================ -- -- 小组配置 -- --================================================================ suites = { { -- suite_id = 1, -- description = , monsters = { }, gadgets = { 16001, 16002, 16003, 16004 }, regions = { }, triggers = { }, rand_weight = 100 }, { -- suite_id = 2, -- description = , monsters = { }, gadgets = { 16006 }, regions = { }, triggers = { }, rand_weight = 100 } } --================================================================ -- -- 触发器 -- --================================================================ -- 触发条件 function condition_EVENT_VARIABLE_CHANGE_16005(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"