更新配置表

This commit is contained in:
flswld
2023-01-29 13:00:55 +08:00
parent 0ab4fd1d18
commit 5fbe66113e
3108 changed files with 587829 additions and 26766 deletions

View File

@@ -0,0 +1,24 @@
-- 地图配置
scene_config = {
begin_pos = { x = -512.0, z = -512.0 },
size = { x = 1024.0, z = 1024.0 },
born_pos = { x = 257.442, y = 160.234, z = 364.919 },
born_rot = { x = 0.000, y = 270.000, z = 0.000 },
die_y = -20,
city_id = 4,
vision_anchor = { x = -1000.0, z = -1000.0 }
}
-- 所有的区块
blocks = { 47201 }
-- 所有的区块范围坐标
block_rects = {
{ min = { x = -512.0, z = -512.0 }, max = { x = 512.0, z = 512.0 } }
}
-- Dummy Points
dummy_points = { }
-- Routes
routes_config = { "routes" }

View File

@@ -0,0 +1,35 @@
{
"sceneId": 47201,
"routes": [
{
"localId": 1,
"name": "Route_001",
"type": "Reciprocate",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"isSimulateTempRouteByTime": true,
"points": [
{
"pos": {
"x": 219.937088,
"y": 163.452286,
"z": 364.965576
},
"waitTime": 0.0,
"targetVelocity": 3.5
},
{
"pos": {
"x": 219.937088,
"y": 187.360474,
"z": 364.965576
},
"waitTime": 8.0,
"targetVelocity": 3.5,
"hasReachEvent": true
}
]
}
]
}

View File

@@ -0,0 +1,20 @@
-- 所有的group
groups = {
{ id = 247201001, refresh_id = 1, pos = { x = 243.139, y = 162.132, z = 364.784 } },
{ id = 247201002, refresh_id = 1001, pos = { x = 324.526, y = 155.012, z = 364.964 } },
{ id = 247201003, refresh_id = 1002, pos = { x = 243.282, y = 162.292, z = 442.007 } },
{ id = 247201004, refresh_id = 1001, pos = { x = 243.364, y = 157.392, z = 292.217 } },
{ id = 247201005, refresh_id = 1, pos = { x = 306.038, y = 160.597, z = 442.256 } },
{ id = 247201006, refresh_id = 1, pos = { x = 314.532, y = 173.334, z = 285.408 } },
{ id = 247201007, refresh_id = 1, pos = { x = 181.265, y = 148.451, z = 423.055 } },
{ id = 247201008, refresh_id = 1, pos = { x = 242.919, y = 162.398, z = 364.789 } },
{ id = 247201009, refresh_id = 1001, pos = { x = 324.544, y = 163.242, z = 483.697 } },
{ id = 247201010, refresh_id = 1001, pos = { x = 333.015, y = 178.990, z = 263.297 } },
{ id = 247201011, refresh_id = 1001, pos = { x = 180.647, y = 144.022, z = 365.932 } },
{ id = 247201012, refresh_id = 1001, pos = { x = 141.271, y = 194.822, z = 365.056 } },
{ id = 247201013, refresh_id = 1, pos = { x = 284.282, y = 160.152, z = 441.754 } },
{ id = 247201014, refresh_id = 1, pos = { x = 324.649, y = 154.832, z = 364.942 } },
{ id = 247201015, refresh_id = 1, pos = { x = 243.214, y = 162.282, z = 441.854 } },
{ id = 247201016, refresh_id = 1, pos = { x = 244.785, y = 162.090, z = 365.137 } },
{ id = 247201017, refresh_id = 1, pos = { x = 243.416, y = 163.122, z = 365.349 } }
}

View File

@@ -0,0 +1,532 @@
-- 基础信息
local base_info = {
group_id = 247201001
}
-- DEFS_MISCS
local defs = {
--三期新增电梯所在房间的region id用于保底玩家离开之后又飞速冲回来
elevatorRegion = 1016,
--三期新增离开区域关电梯厅的门
elevatorCloseRegion = 1030,
keyDoor = {
[1] = { challengeIdx = 233, center = 1007, left = 1008, right = 1009, },
[2] = { challengeIdx = 233, center = 1010, left = 1011, right = 1012, },
[3] = { challengeIdx = 233, center = 1013, left = 1014, right = 1015, }
},
--三期新增电梯所在房间的三个门123需要跟上面keyDoor的[1][2][3]对应起来
elevatorDoor = {1004, 1005, 1006},
--galleryID
gallery_id = 31001,
--galley限时秒数
--迷城战线v2的限时用Gallery控制excel表此处用于保证FatherChallenge的时长不要小于Gallery
time_limit = 300,
--父挑战ChallengeId
challenge_id = 228,
--父挑战大RegionID,这个region用于地城中断线重连接续挑战
region_id = 1017,
--激活古代符文ChallengeId
key_challenge = 229,
--启动遗迹控制台ChallengeId
worktop_challenge = 230,
--最终挑战ChallengeId
final_challenge = 231,
--激活古代符文目标数量
key_target = 3,
--当前groupId
group_1 = 247201001,
--父机关接收器
gadget_switch = 1003,
--光桥地板
gadget_floor = 1001,
--父挑战识别ID
challenge_father = 999,
--随机球GroupID
buff_group = 247201008,
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
-- 电梯大门
[1001] = { config_id = 1001, gadget_id = 70330416, pos = { x = 225.814, y = 164.522, z = 364.988 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
[1002] = { config_id = 1002, gadget_id = 70330365, pos = { x = 219.937, y = 163.452, z = 364.966 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, route_id = 1, start_route = false },
[1003] = { config_id = 1003, gadget_id = 70360393, pos = { x = 243.383, y = 162.090, z = 365.022 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, mark_flag = 2 },
-- 电梯1号门
[1004] = { config_id = 1004, gadget_id = 70330416, pos = { x = 243.324, y = 162.587, z = 349.477 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
-- 电梯2号门
[1005] = { config_id = 1005, gadget_id = 70330416, pos = { x = 265.712, y = 160.617, z = 365.018 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
-- 电梯3号门
[1006] = { config_id = 1006, gadget_id = 70330416, pos = { x = 243.301, y = 162.587, z = 380.515 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
-- 1号房center门
[1007] = { config_id = 1007, gadget_id = 70330466, pos = { x = 243.293, y = 160.596, z = 325.024 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
-- 1号房left门
[1008] = { config_id = 1008, gadget_id = 70330466, pos = { x = 216.666, y = 160.600, z = 292.269 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
-- 1号房right门
[1009] = { config_id = 1009, gadget_id = 70330466, pos = { x = 270.019, y = 160.599, z = 292.268 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
-- 2号房center门
[1010] = { config_id = 1010, gadget_id = 70330466, pos = { x = 296.666, y = 158.438, z = 365.011 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
-- 2号房left门
[1011] = { config_id = 1011, gadget_id = 70330466, pos = { x = 324.522, y = 158.437, z = 334.878 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
-- 2号房right门
[1012] = { config_id = 1012, gadget_id = 70330466, pos = { x = 324.520, y = 158.437, z = 394.939 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
-- 3号房center门
[1013] = { config_id = 1013, gadget_id = 70330466, pos = { x = 243.004, y = 160.487, z = 405.481 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
-- 3号房left门
[1014] = { config_id = 1014, gadget_id = 70330466, pos = { x = 272.196, y = 160.484, z = 441.812 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
-- 3号房right门
[1015] = { config_id = 1015, gadget_id = 70330466, pos = { x = 214.149, y = 160.367, z = 441.917 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
[1018] = { config_id = 1018, gadget_id = 70360394, pos = { x = 243.351, y = 157.392, z = 292.208 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[1019] = { config_id = 1019, gadget_id = 70360395, pos = { x = 324.518, y = 154.832, z = 364.991 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[1020] = { config_id = 1020, gadget_id = 70360396, pos = { x = 243.289, y = 162.282, z = 441.907 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[1034] = { config_id = 1034, gadget_id = 70900201, pos = { x = 243.171, y = 163.564, z = 365.123 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
-- 电梯厅开门保底
[1016] = { config_id = 1016, shape = RegionShape.CUBIC, size = { x = 30.000, y = 25.000, z = 25.000 }, pos = { x = 244.483, y = 172.073, z = 365.132 } },
-- 断线重连保底
[1017] = { config_id = 1017, shape = RegionShape.CUBIC, size = { x = 350.000, y = 200.000, z = 350.000 }, pos = { x = 225.436, y = 192.461, z = 364.607 } },
-- 电梯运行
[1023] = { config_id = 1023, shape = RegionShape.CUBIC, size = { x = 8.000, y = 10.000, z = 8.000 }, pos = { x = 219.937, y = 164.932, z = 364.966 } },
-- 电梯厅离开关门
[1030] = { config_id = 1030, shape = RegionShape.CUBIC, size = { x = 50.000, y = 40.000, z = 45.000 }, pos = { x = 244.483, y = 172.073, z = 365.132 } }
}
-- 触发器
triggers = {
-- 灭队占位
{ config_id = 1001021, name = "DUNGEON_ALL_AVATAR_DIE_1021", event = EventType.EVENT_DUNGEON_ALL_AVATAR_DIE, source = "", condition = "", action = "action_EVENT_DUNGEON_ALL_AVATAR_DIE_1021" },
-- 随机刷buff球
{ config_id = 1001022, name = "GADGET_CREATE_1022", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_1022", action = "action_EVENT_GADGET_CREATE_1022" },
-- 电梯运行
{ config_id = 1001023, name = "ENTER_REGION_1023", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_1023", action = "action_EVENT_ENTER_REGION_1023" },
-- 激活第1个符文提示
{ config_id = 1001024, name = "VARIABLE_CHANGE_1024", event = EventType.EVENT_VARIABLE_CHANGE, source = "runes", condition = "condition_EVENT_VARIABLE_CHANGE_1024", action = "action_EVENT_VARIABLE_CHANGE_1024" },
-- 激活第2个符文提示
{ config_id = 1001025, name = "VARIABLE_CHANGE_1025", event = EventType.EVENT_VARIABLE_CHANGE, source = "runes", condition = "condition_EVENT_VARIABLE_CHANGE_1025", action = "action_EVENT_VARIABLE_CHANGE_1025" },
-- 激活第3个符文提示
{ config_id = 1001026, name = "VARIABLE_CHANGE_1026", event = EventType.EVENT_VARIABLE_CHANGE, source = "runes", condition = "condition_EVENT_VARIABLE_CHANGE_1026", action = "action_EVENT_VARIABLE_CHANGE_1026" },
-- 父机关挂option
{ config_id = 1001027, name = "VARIABLE_CHANGE_1027", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_1027", action = "action_EVENT_VARIABLE_CHANGE_1027", trigger_count = 0 },
-- 启动父机关
{ config_id = 1001028, name = "SELECT_OPTION_1028", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_1028", action = "action_EVENT_SELECT_OPTION_1028" },
-- 符文计数
{ config_id = 1001031, name = "VARIABLE_CHANGE_1031", event = EventType.EVENT_VARIABLE_CHANGE, source = "runes", condition = "", action = "action_EVENT_VARIABLE_CHANGE_1031", trigger_count = 0, tag = "901" },
-- BOSS房完成判断
{ config_id = 1001032, name = "VARIABLE_CHANGE_1032", event = EventType.EVENT_VARIABLE_CHANGE, source = "success", condition = "condition_EVENT_VARIABLE_CHANGE_1032", action = "", tag = "903" },
-- 电梯开门完成判断
{ config_id = 1001033, name = "GADGET_STATE_CHANGE_1033", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "", condition = "condition_EVENT_GADGET_STATE_CHANGE_1033", action = "", tag = "902" },
-- 结算停gallery
{ config_id = 1001038, name = "DUNGEON_SETTLE_1038", event = EventType.EVENT_DUNGEON_SETTLE, source = "", condition = "", action = "action_EVENT_DUNGEON_SETTLE_1038" }
}
-- 变量
variables = {
{ config_id = 1, name = "runes", value = 0, no_refresh = false },
{ config_id = 2, name = "AddTime", value = 0, no_refresh = false },
{ config_id = 3, name = "success", value = 0, no_refresh = false },
{ config_id = 4, name = "KeyRoom1", value = 0, no_refresh = false },
{ config_id = 5, name = "KeyRoom2", value = 0, no_refresh = false },
{ config_id = 6, name = "KeyRoom3", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1009, 1010, 1011, 1012, 1013, 1014, 1015, 1018, 1019, 1020 },
regions = { 1016, 1017, 1030 },
triggers = { "DUNGEON_ALL_AVATAR_DIE_1021", "GADGET_CREATE_1022", "VARIABLE_CHANGE_1024", "VARIABLE_CHANGE_1025", "VARIABLE_CHANGE_1026", "VARIABLE_CHANGE_1027", "SELECT_OPTION_1028", "VARIABLE_CHANGE_1031", "VARIABLE_CHANGE_1032", "GADGET_STATE_CHANGE_1033", "DUNGEON_SETTLE_1038" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { },
regions = { 1023 },
triggers = { "ENTER_REGION_1023" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { 1034 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 使用reminderUI
function TLA_active_reminder_ui(context, evt, reminder_id)
-- 调用提示id为 reminder_id 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, reminder_id) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
return 0
end
-- 刷新指定group至指定suite
function TLA_refresh_group_tosuite(context, evt, group_id, suite_id)
-- 重新生成指定group指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = group_id, suite = suite_id }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end
-- 检测variable为1
function TLC_check_variable_equal_1(context, evt, variable)
-- 判断变量variable为1
if ScriptLib.GetGroupVariableValue(context, variable) ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_DUNGEON_ALL_AVATAR_DIE_1021(context, evt)
-- 挑战失败触发结算
if 0 ~= ScriptLib.FailMistTrialDungeonChallenge(context, 999) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : 结束挑战失败!!!!")
return -1
end
-- 地城失败结算
if 0 ~= ScriptLib.CauseDungeonFail(context) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : cause_dungeonfail")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_CREATE_1022(context, evt)
if 1001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_1022(context, evt)
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 247201008 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_randall")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_1023(context, evt)
if evt.param1 ~= 1023 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_1023(context, evt)
ScriptLib.SetGadgetStateByConfigId(context,1002, GadgetState.GearStart)
ScriptLib.SetPlatformRouteId(context, 1002, 1)
ScriptLib.StartPlatform(context, 1002)
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_1024(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"runes"为1
if ScriptLib.GetGroupVariableValue(context, "runes") ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_1024(context, evt)
-- 调用提示id为 47201001 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 47201001) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_1025(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"runes"为2
if ScriptLib.GetGroupVariableValue(context, "runes") ~= 2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_1025(context, evt)
TLA_active_reminder_ui(context, evt, 47201002)
if TLC_check_variable_equal_1(context, evt, "KeyRoom1") and TLC_check_variable_equal_1(context, evt, "KeyRoom2") then
TLA_refresh_group_tosuite(context, evt, 247201017, 4)
else
if TLC_check_variable_equal_1(context, evt, "KeyRoom1") and TLC_check_variable_equal_1(context, evt, "KeyRoom3") then
TLA_refresh_group_tosuite(context, evt, 247201017, 3)
else
TLA_refresh_group_tosuite(context, evt, 247201017, 2)
end
end
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_1026(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"runes"为3
if ScriptLib.GetGroupVariableValue(context, "runes") ~= 3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_1026(context, evt)
-- 调用提示id为 47201003 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 47201003) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
-- 添加suite3的新内容
ScriptLib.AddExtraGroupSuite(context, 247201001, 3)
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_1027(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"runes"为3
if ScriptLib.GetGroupVariableValue(context, "runes") ~= 3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_1027(context, evt)
-- 将本组内变量名为 "runes" 的变量设置为 99
if 0 ~= ScriptLib.SetGroupVariableValue(context, "runes", 99) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
-- 设置操作台选项
if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, defs.group_1, defs.gadget_switch, {59}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid")
return -1
end
--子挑战 启动父机关 打开电梯门
ScriptLib.AttachChildChallenge(context, 999, 902, 230, {7,902,1,1},{},{success=1,fail=1})
ScriptLib.PrintContextLog(context, "操作台子挑战挂载!!!!!!!!")
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_1028(context, evt)
-- 判断是gadgetid 1003 option_id 59
if 1003 ~= evt.param1 then
return false
end
if 59 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_1028(context, evt)
-- 将电梯门物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1001, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 247201001, 2)
-- 删除指引点
ScriptLib.RemoveExtraGroupSuite(context, 247201001, 3)
-- 删除中控台group的地上操作台物件物件身上指定option59
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 247201001, 1003, 59) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
--子挑战 完成最终试练
ScriptLib.AttachChildChallenge(context, 999, 903, 231, {3,903,1,1},{},{success=99999,fail=1})
ScriptLib.PrintContextLog(context, "操作台子挑战挂载!!!!!!!!")
-- 调用提示id为 43001011 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 47201004) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
--电梯开门镜头
local pos = { x=225.815, y=165.119, z=364.989}
local pos_follow = { x=244.54, y=166.77, z=364.989}
if 0 ~= ScriptLib.BeginCameraSceneLook(context, { look_pos = pos, is_allow_input = false, duration = 2.5, is_force = true, is_broadcast = false, is_recover_keep_current = true, delay = 0, is_set_follow_pos = true, is_abs_follow_pos = true, follow_pos = pos_follow, is_force_walk = false, is_change_play_mode = false, screen_x = 0, screen_y = 0, is_set_screenXY = false }) then
ScriptLib.PrintContextLog(context, "@@Lua_warning : active_cameralook_begin")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_1031(context, evt)
if evt.param1 == evt.param2 then return -1 end
ScriptLib.PrintContextLog(context, "符文计数+1")
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_1032(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"success"为1
if ScriptLib.GetGroupVariableValueByGroup(context, "success", 247201001) ~= 1 then
return false
end
return true
end
-- 触发条件
function condition_EVENT_GADGET_STATE_CHANGE_1033(context, evt)
if 1001 ~= evt.param2 or GadgetState.GearStart ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_DUNGEON_SETTLE_1038(context, evt)
--判断胜利or失败
if 1 ~= evt.param1 then
ScriptLib.StopGallery(context, defs.gallery_id, true)
ScriptLib.PrintContextLog(context, "gallery失败结算!!!!!!!!")
else
ScriptLib.StopGallery(context, defs.gallery_id, false)
ScriptLib.PrintContextLog(context, "galllery胜利结算!!!!!!!!")
end
return 0
end

View File

@@ -0,0 +1,256 @@
-- 基础信息
local base_info = {
group_id = 247201002
}
-- Trigger变量
local defs = {
gadget_1 = 2001,
group_1 = 247201002,
challenge1 = 1,
challenge_father = 999,
group_core = 247201001,
gadget_rune = 1018,
MonsterCount = 8,
challenge_kill = 233
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 2006, monster_id = 25210201, pos = { x = 248.809, y = 157.320, z = 288.902 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2007, monster_id = 25210503, pos = { x = 242.171, y = 157.290, z = 286.673 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2008, monster_id = 25210302, pos = { x = 237.668, y = 157.129, z = 288.893 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2009, monster_id = 25210203, pos = { x = 239.770, y = 157.290, z = 286.846 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2010, monster_id = 25210101, pos = { x = 246.943, y = 157.290, z = 286.709 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2011, monster_id = 25210402, pos = { x = 244.497, y = 157.290, z = 286.644 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 2018, monster_id = 25080101, pos = { x = 244.980, y = 157.290, z = 286.645 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 1 },
{ config_id = 2019, monster_id = 25080201, pos = { x = 241.681, y = 157.290, z = 286.630 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 2001, gadget_id = 70360001, pos = { x = 243.351, y = 158.345, z = 292.208 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1002002, name = "GADGET_CREATE_2002", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_2002", action = "action_EVENT_GADGET_CREATE_2002", trigger_count = 0 },
-- 开启挑战
{ config_id = 1002003, name = "SELECT_OPTION_2003", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_2003", action = "action_EVENT_SELECT_OPTION_2003", trigger_count = 0 },
{ config_id = 1002004, name = "ANY_MONSTER_DIE_2004", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "", action = "action_EVENT_ANY_MONSTER_DIE_2004", trigger_count = 0 },
-- 挑战成功
{ config_id = 1002005, name = "VARIABLE_CHANGE_2005", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_2005", action = "action_EVENT_VARIABLE_CHANGE_2005" },
{ config_id = 1002012, name = "ANY_MONSTER_DIE_2012", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_2012", action = "action_EVENT_ANY_MONSTER_DIE_2012" }
}
-- 变量
variables = {
{ config_id = 1, name = "success", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 2001 },
regions = { },
triggers = { "GADGET_CREATE_2002", "SELECT_OPTION_2003", "ANY_MONSTER_DIE_2004", "VARIABLE_CHANGE_2005" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 2007, 2009, 2010, 2011 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_2012" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 2006, 2008, 2018, 2019 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_GADGET_CREATE_2002(context, evt)
if 2001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_2002(context, evt)
-- 设置操作台选项
if 0 ~= ScriptLib.SetWorktopOptions(context, {7}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_2003(context, evt)
-- 判断是gadgetid 2001 option_id 7
if 2001 ~= evt.param1 then
return false
end
if 7 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_2003(context, evt)
--向编号999的父挑战挂接子挑战
ScriptLib.ExecuteGroupLua(context,defs.group_core,"SetKillMonsterTarget" ,{defs.group_1, defs.MonsterCount})
ScriptLib.ExecuteGroupLua(context,defs.group_core,"StartSubChallengeKillMonster" ,{defs.challenge1, defs.challenge_kill})
-- 添加suite2的新内容刷怪
ScriptLib.AddExtraGroupSuite(context, 247201002, 2)
-- 切换符文状态
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_core, defs.gadget_rune, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
-- 调用提示id为 43001009 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 43001009) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
-- 删除指定group 247201002 指定config2001物件身上指定option7
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, defs.group_1, defs.gadget_1, 7) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 切换隐形操作台状态
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_1, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_2004(context, evt)
--发送怪物死亡通知
ScriptLib.ExecuteGroupLua(context, defs.group_core, "AddMistTrialChildChallengeScore", {1})
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_2005(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"success"为1
if ScriptLib.GetGroupVariableValue(context, "success") ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_2005(context, evt)
-- 将本组内变量名为 "success" 的变量设置为 99
if 0 ~= ScriptLib.SetGroupVariableValue(context, "success", 99) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
ScriptLib.ChangeGroupVariableValueByGroup(context, "runes", 1, defs.group_core)
ScriptLib.PrintContextLog(context, "符文计数+1")
-- 改变指定group组247201001中 configid为1018的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_core, defs.gadget_rune, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
ScriptLib.PrintContextLog(context, "1号机关启动")
--调用符文计数接口
ScriptLib.ExecuteGroupLua(context,defs.group_core,"AddMistTrialKeyProgress",{1,defs.challenge1})
ScriptLib.ChangeGroupVariableValueByGroup(context, "KeyRoom1", 1, defs.group_core)
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_2012(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_2012(context, evt)
-- 添加suite3的新内容
ScriptLib.AddExtraGroupSuite(context, 247201002, 3)
return 0
end

View File

@@ -0,0 +1,233 @@
-- 基础信息
local base_info = {
group_id = 247201003
}
-- Trigger变量
local defs = {
gadget_1 = 3001,
group_1 = 247201003,
challenge1 = 2,
challenge_father = 999,
group_core = 247201001,
gadget_rune = 1019,
MonsterCount = 12,
challenge_kill = 233
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 3006, monster_id = 20011301, pos = { x = 329.318, y = 155.144, z = 364.982 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 3007, monster_id = 21010201, pos = { x = 329.148, y = 155.144, z = 362.696 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 3008, monster_id = 21010201, pos = { x = 329.170, y = 155.144, z = 367.394 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 3009, monster_id = 20010801, pos = { x = 329.259, y = 155.144, z = 360.679 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 3010, monster_id = 20010801, pos = { x = 329.259, y = 155.144, z = 369.274 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 3011, monster_id = 21010701, pos = { x = 327.264, y = 154.979, z = 370.746 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 3012, monster_id = 21010701, pos = { x = 327.172, y = 154.979, z = 359.307 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 3013, monster_id = 20011301, pos = { x = 324.594, y = 154.979, z = 370.810 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 3014, monster_id = 21010201, pos = { x = 324.333, y = 154.979, z = 359.365 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 3015, monster_id = 21010601, pos = { x = 330.262, y = 154.979, z = 368.390 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 3016, monster_id = 20010801, pos = { x = 330.262, y = 154.979, z = 361.912 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 3017, monster_id = 21020201, pos = { x = 331.563, y = 154.820, z = 364.945 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, disableWander = true }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 3001, gadget_id = 70360001, pos = { x = 324.553, y = 155.876, z = 365.009 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1003002, name = "GADGET_CREATE_3002", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_3002", action = "action_EVENT_GADGET_CREATE_3002", trigger_count = 0 },
-- 开启挑战
{ config_id = 1003003, name = "SELECT_OPTION_3003", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_3003", action = "action_EVENT_SELECT_OPTION_3003", trigger_count = 0 },
{ config_id = 1003004, name = "ANY_MONSTER_DIE_3004", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "", action = "action_EVENT_ANY_MONSTER_DIE_3004", trigger_count = 0 },
-- 挑战成功
{ config_id = 1003005, name = "VARIABLE_CHANGE_3005", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_3005", action = "action_EVENT_VARIABLE_CHANGE_3005" }
}
-- 变量
variables = {
{ config_id = 1, name = "success", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 3001 },
regions = { },
triggers = { "GADGET_CREATE_3002", "SELECT_OPTION_3003", "ANY_MONSTER_DIE_3004", "VARIABLE_CHANGE_3005" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 3006, 3007, 3008, 3009, 3010, 3011, 3012, 3013, 3014, 3015, 3016, 3017 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_GADGET_CREATE_3002(context, evt)
if 3001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_3002(context, evt)
-- 设置操作台选项
if 0 ~= ScriptLib.SetWorktopOptions(context, {7}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_3003(context, evt)
-- 判断是gadgetid 3001 option_id 7
if 3001 ~= evt.param1 then
return false
end
if 7 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_3003(context, evt)
--向编号999的父挑战挂接子挑战
ScriptLib.ExecuteGroupLua(context,defs.group_core,"SetKillMonsterTarget" ,{defs.group_1, defs.MonsterCount})
ScriptLib.ExecuteGroupLua(context,defs.group_core,"StartSubChallengeKillMonster" ,{defs.challenge1, defs.challenge_kill})
--怪物潮刷怪
ScriptLib.AutoMonsterTide(context, 1, defs.group_1, {3006,3007,3008,3009,3010,3011,3012,3013,3014,3015,3016,3017}, 12, 5, 5)
-- 切换符文状态
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_core, defs.gadget_rune, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
-- 调用提示id为 43001009 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 43001009) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
-- 删除指定group 247201003 指定config3001物件身上指定option7
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, defs.group_1, defs.gadget_1, 7) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 切换隐形操作台状态
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_1, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_3004(context, evt)
--发送怪物死亡通知
ScriptLib.ExecuteGroupLua(context, defs.group_core, "AddMistTrialChildChallengeScore", {1})
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_3005(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"success"为1
if ScriptLib.GetGroupVariableValue(context, "success") ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_3005(context, evt)
-- 将本组内变量名为 "success" 的变量设置为 99
if 0 ~= ScriptLib.SetGroupVariableValue(context, "success", 99) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
ScriptLib.ChangeGroupVariableValueByGroup(context, "runes", 1, defs.group_core)
ScriptLib.PrintContextLog(context, "符文计数+1")
-- 改变指定group组247201001中 configid为1019的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_core, defs.gadget_rune, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
ScriptLib.PrintContextLog(context, "1号机关启动")
--调用符文计数接口
ScriptLib.ExecuteGroupLua(context,defs.group_core,"AddMistTrialKeyProgress",{1,defs.challenge1})
ScriptLib.ChangeGroupVariableValueByGroup(context, "KeyRoom2", 1, defs.group_core)
return 0
end

View File

@@ -0,0 +1,247 @@
-- 基础信息
local base_info = {
group_id = 247201004
}
-- Trigger变量
local defs = {
gadget_1 = 4001,
group_1 = 247201004,
challenge1 = 3,
challenge_father = 999,
group_core = 247201001,
gadget_rune = 1020,
MonsterCount = 12,
challenge_kill = 233
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 4006, monster_id = 20010801, pos = { x = 240.487, y = 162.354, z = 446.683 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 4007, monster_id = 20010801, pos = { x = 246.054, y = 162.354, z = 446.558 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 4008, monster_id = 26120101, pos = { x = 243.307, y = 162.354, z = 446.837 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 201 },
{ config_id = 4009, monster_id = 26090701, pos = { x = 238.527, y = 162.420, z = 446.006 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 101 },
{ config_id = 4010, monster_id = 26090701, pos = { x = 248.078, y = 162.354, z = 446.047 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 101 },
{ config_id = 4011, monster_id = 26090901, pos = { x = 238.533, y = 162.354, z = 443.961 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 101 },
{ config_id = 4012, monster_id = 26090901, pos = { x = 248.090, y = 162.376, z = 444.014 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 101 },
{ config_id = 4014, monster_id = 20011301, pos = { x = 238.533, y = 162.354, z = 441.843 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 4015, monster_id = 26090501, pos = { x = 248.090, y = 162.354, z = 441.897 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 101 },
{ config_id = 4016, monster_id = 26090501, pos = { x = 238.533, y = 162.354, z = 439.453 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 101 },
{ config_id = 4017, monster_id = 20011201, pos = { x = 248.090, y = 162.354, z = 439.507 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 4018, monster_id = 26120401, pos = { x = 243.307, y = 162.406, z = 446.835 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, disableWander = true, pose_id = 101 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 4001, gadget_id = 70360001, pos = { x = 243.289, y = 163.324, z = 441.907 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 4013, gadget_id = 70310043, pos = { x = 243.262, y = 162.282, z = 441.888 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1004002, name = "GADGET_CREATE_4002", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_4002", action = "action_EVENT_GADGET_CREATE_4002", trigger_count = 0 },
-- 开启挑战
{ config_id = 1004003, name = "SELECT_OPTION_4003", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_4003", action = "action_EVENT_SELECT_OPTION_4003", trigger_count = 0 },
{ config_id = 1004004, name = "ANY_MONSTER_DIE_4004", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "", action = "action_EVENT_ANY_MONSTER_DIE_4004", trigger_count = 0 },
-- 挑战成功
{ config_id = 1004005, name = "VARIABLE_CHANGE_4005", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_4005", action = "action_EVENT_VARIABLE_CHANGE_4005" }
}
-- 变量
variables = {
{ config_id = 1, name = "success", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 4001 },
regions = { },
triggers = { "GADGET_CREATE_4002", "SELECT_OPTION_4003", "ANY_MONSTER_DIE_4004", "VARIABLE_CHANGE_4005" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 4013 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 4006, 4007, 4008, 4009, 4010, 4011, 4012, 4014, 4015, 4016, 4017, 4018 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_GADGET_CREATE_4002(context, evt)
if 4001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_4002(context, evt)
-- 设置操作台选项
if 0 ~= ScriptLib.SetWorktopOptions(context, {7}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_work_options")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_4003(context, evt)
-- 判断是gadgetid 4001 option_id 7
if 4001 ~= evt.param1 then
return false
end
if 7 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_4003(context, evt)
--向编号999的父挑战挂接子挑战
ScriptLib.ExecuteGroupLua(context,defs.group_core,"SetKillMonsterTarget" ,{defs.group_1, defs.MonsterCount})
ScriptLib.ExecuteGroupLua(context,defs.group_core,"StartSubChallengeKillMonster" ,{defs.challenge1, defs.challenge_kill})
-- 添加suite2的新内容刷怪加空气墙
ScriptLib.AddExtraGroupSuite(context, defs.group_1, 2)
ScriptLib.AutoMonsterTide(context, 1, defs.group_1, {4006,4007,4008,4009,4010,4011,4012,4014,4015,4016,4017,4018}, 12, 5, 5)
-- 切换符文状态
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_core, defs.gadget_rune, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
-- 调用提示id为 43001009 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 43001009) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
-- 删除指定group 247201004 指定config4001物件身上指定option7
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, defs.group_1, defs.gadget_1, 7) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 切换隐形操作台状态
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_1, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_4004(context, evt)
--发送怪物死亡通知
ScriptLib.ExecuteGroupLua(context, defs.group_core, "AddMistTrialChildChallengeScore", {1})
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_4005(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"success"为1
if ScriptLib.GetGroupVariableValue(context, "success") ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_4005(context, evt)
-- 将本组内变量名为 "success" 的变量设置为 99
if 0 ~= ScriptLib.SetGroupVariableValue(context, "success", 99) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
-- 卸载空气墙
ScriptLib.RemoveExtraGroupSuite(context, defs.group_1, 2)
ScriptLib.ChangeGroupVariableValueByGroup(context, "runes", 1, defs.group_core)
ScriptLib.PrintContextLog(context, "符文计数+1")
-- 改变指定group组247201001中 configid为1020的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, defs.group_core, defs.gadget_rune, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
ScriptLib.PrintContextLog(context, "1号机关启动")
--调用符文计数接口
ScriptLib.ExecuteGroupLua(context,defs.group_core,"AddMistTrialKeyProgress",{1,defs.challenge1})
ScriptLib.ChangeGroupVariableValueByGroup(context, "KeyRoom3", 1, defs.group_core)
return 0
end

View File

@@ -0,0 +1,76 @@
-- 基础信息
local base_info = {
group_id = 247201005
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 5001, gadget_id = 70220103, pos = { x = 277.746, y = 162.657, z = 441.791 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5002, gadget_id = 70220103, pos = { x = 302.518, y = 162.778, z = 441.993 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5003, gadget_id = 70220103, pos = { x = 324.703, y = 162.824, z = 440.963 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5004, gadget_id = 70220103, pos = { x = 324.453, y = 165.628, z = 461.347 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5005, gadget_id = 70220103, pos = { x = 324.122, y = 159.703, z = 407.646 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 5001, 5002, 5003, 5004, 5005 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,75 @@
-- 基础信息
local base_info = {
group_id = 247201006
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 6001, gadget_id = 70310488, pos = { x = 280.811, y = 160.247, z = 289.695 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6002, gadget_id = 70310488, pos = { x = 324.971, y = 158.484, z = 312.794 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6003, gadget_id = 70220103, pos = { x = 310.276, y = 173.161, z = 286.902 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6004, gadget_id = 70220103, pos = { x = 318.247, y = 174.301, z = 292.529 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 6001, 6002, 6003 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,131 @@
-- 基础信息
local base_info = {
group_id = 247201007
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 7001, gadget_id = 70330407, pos = { x = 181.014, y = 148.512, z = 417.264 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, server_global_value_config = {SGV_BulletType = 1} },
{ config_id = 7002, gadget_id = 70220103, pos = { x = 180.996, y = 150.634, z = 292.275 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7004, gadget_id = 70330407, pos = { x = 181.027, y = 148.460, z = 316.464 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, server_global_value_config = {SGV_BulletType = 1} },
{ config_id = 7005, gadget_id = 70220103, pos = { x = 180.871, y = 150.763, z = 328.555 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7006, gadget_id = 70220103, pos = { x = 181.028, y = 150.755, z = 405.318 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7008, gadget_id = 70220103, pos = { x = 181.804, y = 150.633, z = 441.116 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7011, gadget_id = 70220103, pos = { x = 181.014, y = 152.514, z = 419.735 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7012, gadget_id = 70220103, pos = { x = 181.027, y = 152.539, z = 313.907 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7013, gadget_id = 70220103, pos = { x = 205.750, y = 162.604, z = 292.208 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7014, gadget_id = 70220103, pos = { x = 205.148, y = 162.343, z = 441.862 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
{ config_id = 7003, shape = RegionShape.CUBIC, size = { x = 10.000, y = 10.000, z = 40.000 }, pos = { x = 181.265, y = 152.383, z = 423.055 } },
{ config_id = 7007, shape = RegionShape.CUBIC, size = { x = 10.000, y = 10.000, z = 45.000 }, pos = { x = 181.041, y = 152.296, z = 313.636 } }
}
-- 触发器
triggers = {
{ config_id = 1007003, name = "ENTER_REGION_7003", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_7003", action = "action_EVENT_ENTER_REGION_7003" },
{ config_id = 1007007, name = "ENTER_REGION_7007", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_7007", action = "action_EVENT_ENTER_REGION_7007" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 7001, 7002, 7004, 7005, 7006, 7008, 7011, 7012, 7013, 7014 },
regions = { 7003, 7007 },
triggers = { "ENTER_REGION_7003", "ENTER_REGION_7007" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ENTER_REGION_7003(context, evt)
if evt.param1 ~= 7003 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_7003(context, evt)
-- 将configid为 7001 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 7001, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_7007(context, evt)
if evt.param1 ~= 7007 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_7007(context, evt)
-- 将configid为 7004 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 7004, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end

View File

@@ -0,0 +1,121 @@
-- 基础信息
local base_info = {
group_id = 247201008
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 8004, gadget_id = 70350245, pos = { x = 233.656, y = 158.232, z = 309.015 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8005, gadget_id = 70350245, pos = { x = 324.852, y = 179.994, z = 257.865 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8006, gadget_id = 70350245, pos = { x = 324.816, y = 159.025, z = 323.075 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8007, gadget_id = 70350245, pos = { x = 324.465, y = 163.614, z = 458.538 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8008, gadget_id = 70350245, pos = { x = 234.426, y = 162.931, z = 428.297 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8009, gadget_id = 70350246, pos = { x = 309.672, y = 155.357, z = 373.885 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8010, gadget_id = 70350246, pos = { x = 311.294, y = 172.239, z = 288.410 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8011, gadget_id = 70350246, pos = { x = 181.158, y = 148.955, z = 303.911 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8012, gadget_id = 70350246, pos = { x = 164.770, y = 143.521, z = 361.006 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8013, gadget_id = 70350246, pos = { x = 210.181, y = 160.734, z = 445.771 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8014, gadget_id = 70350246, pos = { x = 291.003, y = 161.038, z = 444.842 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8015, gadget_id = 70350245, pos = { x = 251.756, y = 162.477, z = 428.741 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8016, gadget_id = 70350245, pos = { x = 181.461, y = 149.130, z = 441.897 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8017, gadget_id = 70350245, pos = { x = 173.805, y = 143.522, z = 381.549 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8018, gadget_id = 70350245, pos = { x = 318.556, y = 158.582, z = 318.110 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8019, gadget_id = 70350245, pos = { x = 327.153, y = 159.614, z = 435.407 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8020, gadget_id = 70350246, pos = { x = 310.107, y = 164.415, z = 483.478 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8021, gadget_id = 70350246, pos = { x = 183.800, y = 143.811, z = 389.509 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8022, gadget_id = 70350246, pos = { x = 254.465, y = 157.633, z = 306.092 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8023, gadget_id = 70350246, pos = { x = 317.120, y = 158.600, z = 341.556 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8024, gadget_id = 70350246, pos = { x = 181.058, y = 148.963, z = 318.729 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8025, gadget_id = 70350245, pos = { x = 187.712, y = 144.531, z = 360.188 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8026, gadget_id = 70350245, pos = { x = 181.013, y = 149.135, z = 292.274 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8027, gadget_id = 70350245, pos = { x = 275.385, y = 160.906, z = 288.635 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8028, gadget_id = 70350245, pos = { x = 330.979, y = 179.480, z = 278.735 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8029, gadget_id = 70350245, pos = { x = 327.868, y = 157.981, z = 407.135 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8030, gadget_id = 70350245, pos = { x = 180.976, y = 149.018, z = 412.501 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8031, gadget_id = 70350246, pos = { x = 261.822, y = 158.162, z = 429.312 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8032, gadget_id = 70350246, pos = { x = 181.568, y = 149.134, z = 441.899 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8033, gadget_id = 70350246, pos = { x = 230.946, y = 157.629, z = 301.146 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8034, gadget_id = 70350246, pos = { x = 322.027, y = 158.802, z = 312.799 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 8035, gadget_id = 70350246, pos = { x = 339.463, y = 164.426, z = 483.710 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = true
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 8004, 8005, 8006, 8007, 8008, 8009, 8010, 8011, 8012, 8013, 8014 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 8015, 8016, 8017, 8018, 8019, 8020, 8021, 8022, 8023, 8024 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { 8025, 8026, 8027, 8028, 8029, 8030, 8031, 8032, 8033, 8034, 8035 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,278 @@
-- 基础信息
local base_info = {
group_id = 247201009
}
-- DEFS_MISCS
local defs = {
group_1 = 247201009,
challenge1 = 201,
challenge_father = 999,
group_core = 247201001,
galleryid = 31001,
gadget_1 = 9001,
MonsterCount = 7,
challenge_kill = 233,
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 9006, monster_id = 20011101, pos = { x = 323.080, y = 163.189, z = 483.835 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 9007, monster_id = 20011301, pos = { x = 325.821, y = 163.189, z = 483.721 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 9008, monster_id = 21010201, pos = { x = 320.662, y = 163.223, z = 483.405 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 9009, monster_id = 21010201, pos = { x = 328.214, y = 163.189, z = 483.421 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 9010, monster_id = 20011001, pos = { x = 321.664, y = 163.189, z = 485.601 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 9011, monster_id = 21010201, pos = { x = 324.606, y = 163.189, z = 485.758 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 9012, monster_id = 20011201, pos = { x = 327.229, y = 163.189, z = 485.491 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, disableWander = true }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 9001, gadget_id = 70360397, pos = { x = 324.515, y = 163.242, z = 473.903 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, worktop_config = { init_options = { 0 } } },
{ config_id = 9014, gadget_id = 70310041, pos = { x = 324.441, y = 163.375, z = 467.962 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1009002, name = "GADGET_CREATE_9002", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_9002", action = "action_EVENT_GADGET_CREATE_9002" },
-- 开启挑战
{ config_id = 1009003, name = "SELECT_OPTION_9003", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_9003", action = "action_EVENT_SELECT_OPTION_9003", trigger_count = 0 },
{ config_id = 1009004, name = "VARIABLE_CHANGE_9004", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_9004", action = "action_EVENT_VARIABLE_CHANGE_9004", trigger_count = 0 },
{ config_id = 1009005, name = "ANY_MONSTER_DIE_9005", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "", action = "action_EVENT_ANY_MONSTER_DIE_9005", trigger_count = 0 },
-- 激活BUFF
{ config_id = 1009013, name = "SELECT_OPTION_9013", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_9013", action = "action_EVENT_SELECT_OPTION_9013" }
}
-- 变量
variables = {
{ config_id = 1, name = "success", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 9001 },
regions = { },
triggers = { "GADGET_CREATE_9002", "SELECT_OPTION_9003", "VARIABLE_CHANGE_9004", "ANY_MONSTER_DIE_9005", "SELECT_OPTION_9013" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 9014 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_GADGET_CREATE_9002(context, evt)
if 9001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_9002(context, evt)
-- 设置操作台选项
if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, 247201009, 9001, {7}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_9003(context, evt)
-- 判断是gadgetid 9001 option_id 7
if 9001 ~= evt.param1 then
return false
end
if 7 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_9003(context, evt)
--向编号999的父挑战挂接子挑战
ScriptLib.ExecuteGroupLua(context,defs.group_core,"SetKillMonsterTarget" ,{defs.group_1, defs.MonsterCount})
ScriptLib.ExecuteGroupLua(context,defs.group_core,"StartSubChallengeKillMonster" ,{defs.challenge1, defs.challenge_kill})
ScriptLib.PrintContextLog(context, "子挑战挂接完成!!!!!!!!")
--开启怪物潮
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为7场上怪物最少4只最多4只
ScriptLib.AutoMonsterTide(context, 1, defs.group_1, {9006,9007,9008,9009,9010,9011,9012}, 7, 4, 4)
ScriptLib.PrintContextLog(context, "怪物潮开启!!!!!!!!")
-- 调用提示id为 43001009 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 43001009) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
-- 加载空气墙
ScriptLib.AddExtraGroupSuite(context, defs.group_1, 2)
-- 删除指定group 247201009 指定config9001物件身上指定option7
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, defs.group_1, defs.gadget_1, 7) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
ScriptLib.PrintContextLog(context, "操作台切换到GearStart!!!!!!!!")
-- 切换机关状态
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_1, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
ScriptLib.PrintContextLog(context, "操作台切换到GearStart!!!!!!!!")
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_9004(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"success"为1
if ScriptLib.GetGroupVariableValue(context, "success") ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_9004(context, evt)
-- 将本组内变量名为 "success" 的变量设置为 99
if 0 ~= ScriptLib.SetGroupVariableValue(context, "success", 99) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
-- 设置操作台选项
if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, defs.group_1, defs.gadget_1, {65}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid")
return -1
end
-- 切换机关状态
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_1, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_9005(context, evt)
--发送怪物死亡通知
ScriptLib.ExecuteGroupLua(context, defs.group_core, "AddMistTrialChildChallengeScore", {1})
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_9013(context, evt)
-- 判断是gadgetid 9001 option_id 65
if 9001 ~= evt.param1 then
return false
end
if 65 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_9013(context, evt)
--通知地脉异常升级
ScriptLib.ExecuteGroupLua(context, defs.group_core, "ModifyMistTrialAbility",{ 1 })
ScriptLib.ExecuteGroupLua(context, defs.group_core, "ModifyMistTrialAbility",{ 0 })
ScriptLib.PrintContextLog(context, "地脉异常升级,复活回血!!!!!")
-- 删除buff机关option
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, defs.group_1, defs.gadget_1, 65) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 切换机关状态
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_1, GadgetState.GearAction1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 卸载空气墙
ScriptLib.RemoveExtraGroupSuite(context, defs.group_1, 2)
-- 调用提示id为 47201005 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 47201005) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
return 0
end

View File

@@ -0,0 +1,274 @@
-- 基础信息
local base_info = {
group_id = 247201010
}
-- DEFS_MISCS
local defs = {
group_1 = 247201010,
challenge1 = 201,
challenge_father = 999,
group_core = 247201001,
galleryid = 31001,
gadget_1 = 10001,
MonsterCount = 4,
challenge_kill = 233,
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 10006, monster_id = 25210302, pos = { x = 335.516, y = 178.990, z = 265.928 }, rot = { x = 0.000, y = 315.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 10007, monster_id = 25210401, pos = { x = 332.128, y = 178.990, z = 262.263 }, rot = { x = 0.000, y = 315.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 10008, monster_id = 25210203, pos = { x = 330.249, y = 178.990, z = 260.656 }, rot = { x = 0.000, y = 315.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 10009, monster_id = 25210502, pos = { x = 333.936, y = 178.990, z = 264.013 }, rot = { x = 0.000, y = 315.000, z = 0.000 }, level = 1, disableWander = true }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 10001, gadget_id = 70360397, pos = { x = 324.740, y = 179.102, z = 271.441 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 10014, gadget_id = 70310041, pos = { x = 320.637, y = 179.165, z = 275.621 }, rot = { x = 0.000, y = 135.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1010002, name = "GADGET_CREATE_10002", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_10002", action = "action_EVENT_GADGET_CREATE_10002" },
-- 开启挑战
{ config_id = 1010003, name = "SELECT_OPTION_10003", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_10003", action = "action_EVENT_SELECT_OPTION_10003", trigger_count = 0 },
{ config_id = 1010004, name = "VARIABLE_CHANGE_10004", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_10004", action = "action_EVENT_VARIABLE_CHANGE_10004", trigger_count = 0 },
{ config_id = 1010005, name = "ANY_MONSTER_DIE_10005", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "", action = "action_EVENT_ANY_MONSTER_DIE_10005", trigger_count = 0 },
-- 激活BUFF
{ config_id = 1010013, name = "SELECT_OPTION_10013", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_10013", action = "action_EVENT_SELECT_OPTION_10013" }
}
-- 变量
variables = {
{ config_id = 1, name = "success", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 10001 },
regions = { },
triggers = { "GADGET_CREATE_10002", "SELECT_OPTION_10003", "VARIABLE_CHANGE_10004", "ANY_MONSTER_DIE_10005", "SELECT_OPTION_10013" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 10014 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_GADGET_CREATE_10002(context, evt)
if 10001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_10002(context, evt)
-- 设置操作台选项
if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, 247201010, 10001, {7}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_10003(context, evt)
-- 判断是gadgetid 10001 option_id 7
if 10001 ~= evt.param1 then
return false
end
if 7 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_10003(context, evt)
--向编号999的父挑战挂接子挑战
ScriptLib.ExecuteGroupLua(context,defs.group_core,"SetKillMonsterTarget" ,{defs.group_1, defs.MonsterCount})
ScriptLib.ExecuteGroupLua(context,defs.group_core,"StartSubChallengeKillMonster" ,{defs.challenge1, defs.challenge_kill})
ScriptLib.PrintContextLog(context, "子挑战挂接完成!!!!!!!!")
--开启怪物潮
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为7场上怪物最少4只最多4只
ScriptLib.AutoMonsterTide(context, 1, defs.group_1, {10006,10007,10008,10009}, 4, 4, 4)
ScriptLib.PrintContextLog(context, "怪物潮开启!!!!!!!!")
-- 调用提示id为 43001009 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 43001009) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
-- 加载空气墙
ScriptLib.AddExtraGroupSuite(context, defs.group_1, 2)
-- 删除指定group 247201010 指定config10001物件身上指定option7
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, defs.group_1, defs.gadget_1, 7) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
ScriptLib.PrintContextLog(context, "操作台切换到GearStart!!!!!!!!")
-- 切换机关状态
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_1, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
ScriptLib.PrintContextLog(context, "操作台切换到GearStart!!!!!!!!")
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_10004(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"success"为1
if ScriptLib.GetGroupVariableValue(context, "success") ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_10004(context, evt)
-- 将本组内变量名为 "success" 的变量设置为 99
if 0 ~= ScriptLib.SetGroupVariableValue(context, "success", 99) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
-- 设置操作台选项
if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, defs.group_1, defs.gadget_1, {65}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid")
return -1
end
-- 切换机关状态
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_1, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_10005(context, evt)
--发送怪物死亡通知
ScriptLib.ExecuteGroupLua(context, defs.group_core, "AddMistTrialChildChallengeScore", {1})
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_10013(context, evt)
-- 判断是gadgetid 10001 option_id 65
if 10001 ~= evt.param1 then
return false
end
if 65 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_10013(context, evt)
--通知地脉异常升级
ScriptLib.ExecuteGroupLua(context, defs.group_core, "ModifyMistTrialAbility",{ 1 })
ScriptLib.ExecuteGroupLua(context, defs.group_core, "ModifyMistTrialAbility",{ 0 })
ScriptLib.PrintContextLog(context, "地脉异常升级,复活回血!!!!!")
-- 删除buff机关option
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, defs.group_1, defs.gadget_1, 65) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 切换机关状态
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_1, GadgetState.GearAction1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 卸载空气墙
ScriptLib.RemoveExtraGroupSuite(context, defs.group_1, 2)
-- 调用提示id为 47201005 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 47201005) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
return 0
end

View File

@@ -0,0 +1,276 @@
-- 基础信息
local base_info = {
group_id = 247201011
}
-- DEFS_MISCS
local defs = {
group_1 = 247201011,
challenge1 = 201,
challenge_father = 999,
group_core = 247201001,
galleryid = 31001,
gadget_1 = 11001,
MonsterCount = 5,
challenge_kill = 233,
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 11006, monster_id = 25010201, pos = { x = 178.665, y = 144.022, z = 371.334 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 11007, monster_id = 25010701, pos = { x = 183.526, y = 144.022, z = 371.300 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 11008, monster_id = 25010301, pos = { x = 178.696, y = 144.022, z = 362.585 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 11009, monster_id = 25060101, pos = { x = 183.705, y = 144.022, z = 362.600 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 11010, monster_id = 25010601, pos = { x = 185.947, y = 144.022, z = 366.952 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, disableWander = true }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 11001, gadget_id = 70360397, pos = { x = 181.024, y = 144.022, z = 366.946 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 11015, gadget_id = 70310041, pos = { x = 181.024, y = 143.195, z = 385.835 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 11016, gadget_id = 70310041, pos = { x = 181.024, y = 143.208, z = 347.486 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1011002, name = "GADGET_CREATE_11002", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_11002", action = "action_EVENT_GADGET_CREATE_11002" },
-- 开启挑战
{ config_id = 1011003, name = "SELECT_OPTION_11003", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_11003", action = "action_EVENT_SELECT_OPTION_11003", trigger_count = 0 },
{ config_id = 1011004, name = "VARIABLE_CHANGE_11004", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_11004", action = "action_EVENT_VARIABLE_CHANGE_11004", trigger_count = 0 },
{ config_id = 1011005, name = "ANY_MONSTER_DIE_11005", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "", action = "action_EVENT_ANY_MONSTER_DIE_11005", trigger_count = 0 },
-- 激活BUFF
{ config_id = 1011014, name = "SELECT_OPTION_11014", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_11014", action = "action_EVENT_SELECT_OPTION_11014" }
}
-- 变量
variables = {
{ config_id = 1, name = "success", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 11001 },
regions = { },
triggers = { "GADGET_CREATE_11002", "SELECT_OPTION_11003", "VARIABLE_CHANGE_11004", "ANY_MONSTER_DIE_11005", "SELECT_OPTION_11014" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 11015, 11016 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_GADGET_CREATE_11002(context, evt)
if 11001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_11002(context, evt)
-- 设置操作台选项
if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, 247201011, 11001, {7}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_11003(context, evt)
-- 判断是gadgetid 11001 option_id 7
if 11001 ~= evt.param1 then
return false
end
if 7 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_11003(context, evt)
--向编号999的父挑战挂接子挑战
ScriptLib.ExecuteGroupLua(context,defs.group_core,"SetKillMonsterTarget" ,{defs.group_1, defs.MonsterCount})
ScriptLib.ExecuteGroupLua(context,defs.group_core,"StartSubChallengeKillMonster" ,{defs.challenge1, defs.challenge_kill})
ScriptLib.PrintContextLog(context, "子挑战挂接完成!!!!!!!!")
--开启怪物潮
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为5场上怪物最少4只最多4只
ScriptLib.AutoMonsterTide(context, 1, defs.group_1, {11006,11007,11008,11009,11010}, 5, 4, 4)
ScriptLib.PrintContextLog(context, "怪物潮开启!!!!!!!!")
-- 调用提示id为 43001009 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 43001009) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
-- 加载空气墙
ScriptLib.AddExtraGroupSuite(context, defs.group_1, 2)
-- 删除指定group 247201009 指定config9001物件身上指定option7
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, defs.group_1, defs.gadget_1, 7) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
ScriptLib.PrintContextLog(context, "操作台切换到GearStart!!!!!!!!")
-- 切换机关状态
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_1, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
ScriptLib.PrintContextLog(context, "操作台切换到GearStart!!!!!!!!")
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_11004(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"success"为1
if ScriptLib.GetGroupVariableValue(context, "success") ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_11004(context, evt)
-- 将本组内变量名为 "success" 的变量设置为 99
if 0 ~= ScriptLib.SetGroupVariableValue(context, "success", 99) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
-- 设置操作台选项
if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, defs.group_1, defs.gadget_1, {65}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid")
return -1
end
-- 切换机关状态
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_1, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_11005(context, evt)
--发送怪物死亡通知
ScriptLib.ExecuteGroupLua(context, defs.group_core, "AddMistTrialChildChallengeScore", {1})
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_11014(context, evt)
-- 判断是gadgetid 11001 option_id 65
if 11001 ~= evt.param1 then
return false
end
if 65 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_11014(context, evt)
--通知地脉异常升级
ScriptLib.ExecuteGroupLua(context, defs.group_core, "ModifyMistTrialAbility",{ 1 })
ScriptLib.ExecuteGroupLua(context, defs.group_core, "ModifyMistTrialAbility",{ 0 })
ScriptLib.PrintContextLog(context, "地脉异常升级,复活回血!!!!!")
-- 删除buff机关option
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, defs.group_1, defs.gadget_1, 65) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 切换机关状态
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_1, GadgetState.GearAction1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 卸载空气墙
ScriptLib.RemoveExtraGroupSuite(context, defs.group_1, 2)
-- 调用提示id为 47201005 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 47201005) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
return 0
end

View File

@@ -0,0 +1,222 @@
-- 基础信息
local base_info = {
group_id = 247201012
}
-- DEFS_MISCS
local defs = {
gadget_1 = 12001,
group_1 = 247201012,
group_core = 247201001,
challenge_father = 999,
challenge1 = 120,
MonsterCount = 11,
challenge_kill = 233,
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 12006, monster_id = 25210403, pos = { x = 135.769, y = 194.727, z = 365.124 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 11, disableWander = true, affix = { 1007 } },
{ config_id = 12007, monster_id = 25010301, pos = { x = 135.770, y = 194.727, z = 363.157 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 11, disableWander = true, affix = { 1007 } },
{ config_id = 12008, monster_id = 25010601, pos = { x = 135.769, y = 194.727, z = 367.017 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 11, disableWander = true, affix = { 1007 } },
{ config_id = 12010, monster_id = 25210301, pos = { x = 135.769, y = 194.727, z = 368.923 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 11, disableWander = true, affix = { 1007 } },
{ config_id = 12011, monster_id = 25210101, pos = { x = 135.770, y = 194.727, z = 361.258 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 11, disableWander = true, affix = { 1007 } },
{ config_id = 12012, monster_id = 25210501, pos = { x = 133.989, y = 194.592, z = 365.124 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 11, disableWander = true, affix = { 1007 } },
{ config_id = 12013, monster_id = 25010201, pos = { x = 137.726, y = 194.770, z = 359.408 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 11, disableWander = true, affix = { 1007 } },
{ config_id = 12014, monster_id = 25010301, pos = { x = 137.726, y = 194.770, z = 370.788 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 11, disableWander = true, affix = { 1007 } },
{ config_id = 12015, monster_id = 25210103, pos = { x = 139.678, y = 194.770, z = 359.408 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 11, disableWander = true, affix = { 1007 } },
{ config_id = 12016, monster_id = 25060101, pos = { x = 139.678, y = 194.770, z = 370.788 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 11, disableWander = true, affix = { 1007 } },
{ config_id = 12017, monster_id = 25410201, pos = { x = 135.686, y = 194.727, z = 365.124 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 11, disableWander = true, affix = { 1007 }, pose_id = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 12001, gadget_id = 70360010, pos = { x = 141.340, y = 194.656, z = 365.008 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearStop },
{ config_id = 12009, gadget_id = 70950009, pos = { x = 141.340, y = 194.656, z = 365.008 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
{ config_id = 12002, shape = RegionShape.CUBIC, size = { x = 10.000, y = 25.000, z = 35.000 }, pos = { x = 170.064, y = 202.269, z = 365.008 } }
}
-- 触发器
triggers = {
{ config_id = 1012002, name = "ENTER_REGION_12002", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_12002", action = "action_EVENT_ENTER_REGION_12002" },
{ config_id = 1012003, name = "SELECT_OPTION_12003", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_12003", action = "action_EVENT_SELECT_OPTION_12003", trigger_count = 0 },
{ config_id = 1012004, name = "VARIABLE_CHANGE_12004", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_12004", action = "action_EVENT_VARIABLE_CHANGE_12004", trigger_count = 0 },
{ config_id = 1012005, name = "ANY_MONSTER_DIE_12005", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "", action = "action_EVENT_ANY_MONSTER_DIE_12005", trigger_count = 0 }
}
-- 变量
variables = {
{ config_id = 1, name = "success", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 12001 },
regions = { 12002 },
triggers = { "ENTER_REGION_12002", "SELECT_OPTION_12003", "VARIABLE_CHANGE_12004", "ANY_MONSTER_DIE_12005" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 12009 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ENTER_REGION_12002(context, evt)
if evt.param1 ~= 12002 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_12002(context, evt)
-- 将configid为 12001 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_1, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 设置操作台选项
if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, defs.group_1, defs.gadget_1, {7}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_12003(context, evt)
-- 判断是gadgetid 12001 option_id 7
if 12001 ~= evt.param1 then
return false
end
if 7 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_12003(context, evt)
--向编号999的父挑战挂接子挑战
ScriptLib.ExecuteGroupLua(context,defs.group_core,"SetKillMonsterTarget" ,{defs.group_1, defs.MonsterCount})
ScriptLib.ExecuteGroupLua(context,defs.group_core,"StartSubChallengeKillMonster" ,{defs.challenge1, defs.challenge_kill})
-- 创建编号为1该怪物潮的识别id)的怪物潮创建怪物总数为11场上怪物最少5只最多5只
ScriptLib.AutoMonsterTide(context, 1, defs.group_1, {12006,12007,12008,12010,12011,12012,12013,12014,12015,12016,12017}, 11, 5, 5)
ScriptLib.PrintContextLog(context, "怪物潮开启!!!!!!!!")
-- 添加suite2的新内容空气墙
ScriptLib.AddExtraGroupSuite(context, 247201012, 2)
-- 删除指定group 247201012 指定config12001物件身上指定option7
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, defs.group_1, defs.gadget_1, 7) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 将configid为 12001 的物件更改为状态 GadgetState.GearStop
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, defs.gadget_1, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_12004(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"success"为1
if ScriptLib.GetGroupVariableValue(context, "success") ~= 1 then
return false
end
-- 判断变量"success"为0
if ScriptLib.GetGroupVariableValueByGroup(context, "success", 247201001) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_12004(context, evt)
-- 针对指定group内变量名为 "success" 的变量进行修改变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValueByGroup(context, "success", 1, defs.group_core) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable_by_group")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_12005(context, evt)
--发送怪物死亡通知
ScriptLib.ExecuteGroupLua(context, defs.group_core, "AddMistTrialChildChallengeScore", {1})
return 0
end
require "MonsterQuickDeath"

View File

@@ -0,0 +1,208 @@
-- 基础信息
local base_info = {
group_id = 247201013
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 13003, gadget_id = 70900203, pos = { x = 209.187, y = 160.680, z = 441.955 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 13004, gadget_id = 70900201, pos = { x = 324.831, y = 158.632, z = 331.116 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
-- 机关直道
{ config_id = 13001, shape = RegionShape.CUBIC, size = { x = 10.000, y = 15.000, z = 10.000 }, pos = { x = 181.014, y = 153.471, z = 292.230 } },
-- 断裂高坡
{ config_id = 13002, shape = RegionShape.CUBIC, size = { x = 25.000, y = 80.000, z = 40.000 }, pos = { x = 313.671, y = 168.105, z = 289.494 } },
-- 机关直道房门
{ config_id = 13005, shape = RegionShape.CUBIC, size = { x = 10.000, y = 15.000, z = 10.000 }, pos = { x = 209.187, y = 164.804, z = 441.955 } },
-- 断裂高坡房门
{ config_id = 13006, shape = RegionShape.CUBIC, size = { x = 10.000, y = 20.000, z = 10.000 }, pos = { x = 324.831, y = 165.358, z = 331.116 } }
}
-- 触发器
triggers = {
-- 机关直道
{ config_id = 1013001, name = "ENTER_REGION_13001", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_13001", action = "action_EVENT_ENTER_REGION_13001", trigger_count = 0 },
-- 断裂高坡
{ config_id = 1013002, name = "ENTER_REGION_13002", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_13002", action = "action_EVENT_ENTER_REGION_13002", trigger_count = 0 },
-- 机关直道房门
{ config_id = 1013005, name = "ENTER_REGION_13005", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_13005", action = "action_EVENT_ENTER_REGION_13005", trigger_count = 0 },
-- 断裂高坡房门
{ config_id = 1013006, name = "ENTER_REGION_13006", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_13006", action = "action_EVENT_ENTER_REGION_13006", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { },
regions = { 13001, 13002 },
triggers = { "ENTER_REGION_13001", "ENTER_REGION_13002" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { 13003 },
regions = { 13001, 13002, 13005 },
triggers = { "ENTER_REGION_13001", "ENTER_REGION_13002", "ENTER_REGION_13005" },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { },
gadgets = { 13004 },
regions = { 13001, 13002, 13006 },
triggers = { "ENTER_REGION_13001", "ENTER_REGION_13002", "ENTER_REGION_13006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ENTER_REGION_13001(context, evt)
if evt.param1 ~= 13001 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_13001(context, evt)
-- 重新生成指定group指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 247201013, suite = 3 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_13002(context, evt)
if evt.param1 ~= 13002 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_13002(context, evt)
-- 重新生成指定group指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 247201013, suite = 4 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_13005(context, evt)
if evt.param1 ~= 13005 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_13005(context, evt)
-- 重新生成指定group指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 247201013, suite = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_13006(context, evt)
if evt.param1 ~= 13006 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_13006(context, evt)
-- 重新生成指定group指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 247201013, suite = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end

View File

@@ -0,0 +1,208 @@
-- 基础信息
local base_info = {
group_id = 247201014
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 14003, gadget_id = 70900201, pos = { x = 278.601, y = 160.649, z = 442.000 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 14006, gadget_id = 70900201, pos = { x = 273.319, y = 160.958, z = 292.256 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
-- 断裂桥道
{ config_id = 14001, shape = RegionShape.CUBIC, size = { x = 25.000, y = 20.000, z = 20.000 }, pos = { x = 324.553, y = 163.738, z = 440.865 } },
-- 断裂高坡
{ config_id = 14002, shape = RegionShape.SPHERE, radius = 20, pos = { x = 301.824, y = 172.942, z = 287.098 } },
-- 断裂桥道房门
{ config_id = 14004, shape = RegionShape.CUBIC, size = { x = 15.000, y = 20.000, z = 25.000 }, pos = { x = 278.601, y = 164.712, z = 442.000 } },
-- 断裂高坡房门
{ config_id = 14005, shape = RegionShape.CUBIC, size = { x = 10.000, y = 15.000, z = 15.000 }, pos = { x = 273.319, y = 165.061, z = 292.256 } }
}
-- 触发器
triggers = {
-- 断裂桥道
{ config_id = 1014001, name = "ENTER_REGION_14001", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_14001", action = "action_EVENT_ENTER_REGION_14001", trigger_count = 0 },
-- 断裂高坡
{ config_id = 1014002, name = "ENTER_REGION_14002", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_14002", action = "action_EVENT_ENTER_REGION_14002", trigger_count = 0, forbid_guest = false },
-- 断裂桥道房门
{ config_id = 1014004, name = "ENTER_REGION_14004", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_14004", action = "action_EVENT_ENTER_REGION_14004", trigger_count = 0 },
-- 断裂高坡房门
{ config_id = 1014005, name = "ENTER_REGION_14005", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_14005", action = "action_EVENT_ENTER_REGION_14005", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { },
regions = { 14001, 14002 },
triggers = { "ENTER_REGION_14001", "ENTER_REGION_14002" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { 14003 },
regions = { 14001, 14002, 14004 },
triggers = { "ENTER_REGION_14001", "ENTER_REGION_14002", "ENTER_REGION_14004" },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { },
gadgets = { 14006 },
regions = { 14001, 14002, 14005 },
triggers = { "ENTER_REGION_14001", "ENTER_REGION_14002", "ENTER_REGION_14005" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ENTER_REGION_14001(context, evt)
if evt.param1 ~= 14001 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_14001(context, evt)
-- 重新生成指定group指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 247201014, suite = 3 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_14002(context, evt)
if evt.param1 ~= 14002 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_14002(context, evt)
-- 重新生成指定group指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 247201014, suite = 4 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_14004(context, evt)
if evt.param1 ~= 14004 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_14004(context, evt)
-- 重新生成指定group指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 247201014, suite = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_14005(context, evt)
if evt.param1 ~= 14005 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_14005(context, evt)
-- 重新生成指定group指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 247201014, suite = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end

View File

@@ -0,0 +1,208 @@
-- 基础信息
local base_info = {
group_id = 247201015
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 15007, gadget_id = 70900201, pos = { x = 324.360, y = 158.404, z = 402.624 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 15008, gadget_id = 70900203, pos = { x = 210.883, y = 160.929, z = 292.255 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
-- 断裂桥道
{ config_id = 15003, shape = RegionShape.CUBIC, size = { x = 20.000, y = 20.000, z = 20.000 }, pos = { x = 324.263, y = 162.114, z = 442.007 } },
-- 机关直道
{ config_id = 15004, shape = RegionShape.CUBIC, size = { x = 10.000, y = 20.000, z = 10.000 }, pos = { x = 181.012, y = 150.872, z = 442.007 } },
-- 断裂桥道房门
{ config_id = 15005, shape = RegionShape.CUBIC, size = { x = 20.000, y = 20.000, z = 10.000 }, pos = { x = 324.360, y = 161.101, z = 402.624 } },
-- 机关直道房门
{ config_id = 15006, shape = RegionShape.CUBIC, size = { x = 10.000, y = 20.000, z = 10.000 }, pos = { x = 210.883, y = 163.117, z = 292.255 } }
}
-- 触发器
triggers = {
-- 断裂桥道
{ config_id = 1015003, name = "ENTER_REGION_15003", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_15003", action = "action_EVENT_ENTER_REGION_15003", trigger_count = 0 },
-- 机关直道
{ config_id = 1015004, name = "ENTER_REGION_15004", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_15004", action = "action_EVENT_ENTER_REGION_15004", trigger_count = 0 },
-- 断裂桥道房门
{ config_id = 1015005, name = "ENTER_REGION_15005", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_15005", action = "action_EVENT_ENTER_REGION_15005", trigger_count = 0 },
-- 机关直道房门
{ config_id = 1015006, name = "ENTER_REGION_15006", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_15006", action = "action_EVENT_ENTER_REGION_15006", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { },
regions = { 15003, 15004 },
triggers = { "ENTER_REGION_15003", "ENTER_REGION_15004" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { 15007 },
regions = { 15003, 15004, 15005 },
triggers = { "ENTER_REGION_15003", "ENTER_REGION_15004", "ENTER_REGION_15005" },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { },
gadgets = { 15008 },
regions = { 15003, 15004, 15006 },
triggers = { "ENTER_REGION_15003", "ENTER_REGION_15004", "ENTER_REGION_15006" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ENTER_REGION_15003(context, evt)
if evt.param1 ~= 15003 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_15003(context, evt)
-- 重新生成指定group指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 247201015, suite = 3 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_15004(context, evt)
if evt.param1 ~= 15004 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_15004(context, evt)
-- 重新生成指定group指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 247201015, suite = 4 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_15005(context, evt)
if evt.param1 ~= 15005 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_15005(context, evt)
-- 重新生成指定group指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 247201015, suite = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_15006(context, evt)
if evt.param1 ~= 15006 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_15006(context, evt)
-- 重新生成指定group指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 247201015, suite = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end

View File

@@ -0,0 +1,74 @@
-- 基础信息
local base_info = {
group_id = 247201016
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 16001, gadget_id = 70220103, pos = { x = 243.705, y = 164.433, z = 339.343 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 16002, gadget_id = 70220103, pos = { x = 243.364, y = 164.420, z = 390.102 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 16003, gadget_id = 70220103, pos = { x = 275.675, y = 162.252, z = 365.041 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 16001, 16002, 16003 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,101 @@
-- 基础信息
local base_info = {
group_id = 247201017
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 17001, gadget_id = 70900201, pos = { x = 243.351, y = 157.850, z = 292.208 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 17002, gadget_id = 70900201, pos = { x = 324.518, y = 155.581, z = 364.991 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 17003, gadget_id = 70900201, pos = { x = 243.289, y = 162.661, z = 441.907 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 17001 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { 17002 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { },
gadgets = { 17003 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,876 @@
{
"areas": {},
"doors": {},
"entities": {
"1": {
"$type": "ConfigLocalTrigger",
"alias": "",
"areaId": 0,
"checkCount": 0,
"checkDist": 100.0,
"floatParam": 0.0,
"gadgetId": 70010006,
"groupLimit": false,
"isModelHidden": false,
"meta": {
"floatParam": 0.0,
"stringParam": "",
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
},
"pointType": "Other",
"pos": {
"x": 136.2166,
"y": 184.6165,
"z": 364.9675
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"shape": {
"$type": "ConfigShapeRect",
"centerType": "Center",
"height": 10.0,
"heightType": "Center",
"length": 100.0,
"useHeight": true,
"width": 110.0
},
"stringParam": "",
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"triggerFlag": "DeadRegion",
"triggerInterval": 0.1,
"type": "NORMAL",
"unlocked": true,
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"withGO": false
},
"10": {
"$type": "ConfigLocalTrigger",
"alias": "",
"areaId": 0,
"checkCount": 0,
"checkDist": 100.0,
"floatParam": 0.0,
"gadgetId": 70010006,
"groupLimit": false,
"isModelHidden": false,
"meta": {
"floatParam": 0.0,
"stringParam": "",
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
},
"pointType": "Other",
"pos": {
"x": 325.4537,
"y": 155.468,
"z": 459.8978
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"shape": {
"$type": "ConfigShapeRect",
"centerType": "Center",
"height": 10.0,
"heightType": "Center",
"length": 20.0,
"useHeight": true,
"width": 25.0
},
"stringParam": "",
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"triggerFlag": "NoReviveRegion",
"triggerInterval": 0.1,
"type": "NORMAL",
"unlocked": true,
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"withGO": false
},
"11": {
"$type": "ConfigLocalTrigger",
"alias": "",
"areaId": 0,
"checkCount": 0,
"checkDist": 100.0,
"floatParam": 0.0,
"gadgetId": 70010006,
"groupLimit": false,
"isModelHidden": false,
"meta": {
"floatParam": 0.0,
"stringParam": "",
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
},
"pointType": "Other",
"pos": {
"x": 308.244,
"y": 147.552,
"z": 294.7525
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"shape": {
"$type": "ConfigShapeRect",
"centerType": "Center",
"height": 20.0,
"heightType": "Center",
"length": 40.0,
"useHeight": true,
"width": 45.0
},
"stringParam": "",
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"triggerFlag": "DeadRegion",
"triggerInterval": 0.1,
"type": "NORMAL",
"unlocked": true,
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"withGO": false
},
"2": {
"$type": "ConfigLocalTrigger",
"alias": "",
"areaId": 0,
"checkCount": 0,
"checkDist": 100.0,
"floatParam": 0.0,
"gadgetId": 70010006,
"groupLimit": false,
"isModelHidden": false,
"meta": {
"floatParam": 0.0,
"stringParam": "",
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
},
"pointType": "Other",
"pos": {
"x": 202.1604,
"y": 181.3758,
"z": 364.9675
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"shape": {
"$type": "ConfigShapeRect",
"centerType": "Center",
"height": 10.0,
"heightType": "Center",
"length": 30.0,
"useHeight": true,
"width": 22.0
},
"stringParam": "",
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"triggerFlag": "DeadRegion",
"triggerInterval": 0.1,
"type": "NORMAL",
"unlocked": true,
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"withGO": false
},
"3": {
"$type": "ConfigLocalTrigger",
"alias": "",
"areaId": 0,
"checkCount": 0,
"checkDist": 100.0,
"floatParam": 0.0,
"gadgetId": 70010006,
"groupLimit": false,
"isModelHidden": false,
"meta": {
"floatParam": 0.0,
"stringParam": "",
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
},
"pointType": "Other",
"pos": {
"x": 293.8663,
"y": 147.7713,
"z": 441.6989
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"shape": {
"$type": "ConfigShapeRect",
"centerType": "Center",
"height": 10.0,
"heightType": "Center",
"length": 25.0,
"useHeight": true,
"width": 40.0
},
"stringParam": "",
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"triggerFlag": "DeadRegion",
"triggerInterval": 0.1,
"type": "NORMAL",
"unlocked": true,
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"withGO": false
},
"4": {
"$type": "ConfigLocalTrigger",
"alias": "",
"areaId": 0,
"checkCount": 0,
"checkDist": 100.0,
"floatParam": 0.0,
"gadgetId": 70010006,
"groupLimit": false,
"isModelHidden": false,
"meta": {
"floatParam": 0.0,
"stringParam": "",
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
},
"pointType": "Other",
"pos": {
"x": 325.4537,
"y": 147.7713,
"z": 432.6028
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"shape": {
"$type": "ConfigShapeRect",
"centerType": "Center",
"height": 10.0,
"heightType": "Center",
"length": 80.0,
"useHeight": true,
"width": 25.0
},
"stringParam": "",
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"triggerFlag": "DeadRegion",
"triggerInterval": 0.1,
"type": "NORMAL",
"unlocked": true,
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"withGO": false
},
"5": {
"$type": "ConfigLocalTrigger",
"alias": "",
"areaId": 0,
"checkCount": 0,
"checkDist": 100.0,
"floatParam": 0.0,
"gadgetId": 70010006,
"groupLimit": false,
"isModelHidden": false,
"meta": {
"floatParam": 0.0,
"stringParam": "",
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
},
"pointType": "Other",
"pos": {
"x": 318.4116,
"y": 142.1822,
"z": 294.7525
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"shape": {
"$type": "ConfigShapeRect",
"centerType": "Center",
"height": 10.0,
"heightType": "Center",
"length": 40.0,
"useHeight": true,
"width": 40.0
},
"stringParam": "",
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"triggerFlag": "DeadRegion",
"triggerInterval": 0.1,
"type": "NORMAL",
"unlocked": true,
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"withGO": false
},
"6": {
"$type": "ConfigLocalTrigger",
"alias": "",
"areaId": 0,
"checkCount": 0,
"checkDist": 100.0,
"floatParam": 0.0,
"gadgetId": 70010006,
"groupLimit": false,
"isModelHidden": false,
"meta": {
"floatParam": 0.0,
"stringParam": "",
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
},
"pointType": "Other",
"pos": {
"x": 136.2166,
"y": 184.6165,
"z": 364.9675
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"shape": {
"$type": "ConfigShapeRect",
"centerType": "Center",
"height": 10.0,
"heightType": "Center",
"length": 100.0,
"useHeight": true,
"width": 110.0
},
"stringParam": "",
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"triggerFlag": "NoReviveRegion",
"triggerInterval": 0.1,
"type": "NORMAL",
"unlocked": true,
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"withGO": false
},
"7": {
"$type": "ConfigLocalTrigger",
"alias": "",
"areaId": 0,
"checkCount": 0,
"checkDist": 100.0,
"floatParam": 0.0,
"gadgetId": 70010006,
"groupLimit": false,
"isModelHidden": false,
"meta": {
"floatParam": 0.0,
"stringParam": "",
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
},
"pointType": "Other",
"pos": {
"x": 202.1604,
"y": 181.3758,
"z": 364.9675
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"shape": {
"$type": "ConfigShapeRect",
"centerType": "Center",
"height": 10.0,
"heightType": "Center",
"length": 30.0,
"useHeight": true,
"width": 22.0
},
"stringParam": "",
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"triggerFlag": "NoReviveRegion",
"triggerInterval": 0.1,
"type": "NORMAL",
"unlocked": true,
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"withGO": false
},
"8": {
"$type": "ConfigLocalTrigger",
"alias": "",
"areaId": 0,
"checkCount": 0,
"checkDist": 100.0,
"floatParam": 0.0,
"gadgetId": 70010006,
"groupLimit": false,
"isModelHidden": false,
"meta": {
"floatParam": 0.0,
"stringParam": "",
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
},
"pointType": "Other",
"pos": {
"x": 293.8663,
"y": 154.4686,
"z": 441.6989
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"shape": {
"$type": "ConfigShapeRect",
"centerType": "Center",
"height": 10.0,
"heightType": "Center",
"length": 25.0,
"useHeight": true,
"width": 50.0
},
"stringParam": "",
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"triggerFlag": "NoReviveRegion",
"triggerInterval": 0.1,
"type": "NORMAL",
"unlocked": true,
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"withGO": false
},
"9": {
"$type": "ConfigLocalTrigger",
"alias": "",
"areaId": 0,
"checkCount": 0,
"checkDist": 100.0,
"floatParam": 0.0,
"gadgetId": 70010006,
"groupLimit": false,
"isModelHidden": false,
"meta": {
"floatParam": 0.0,
"stringParam": "",
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
},
"pointType": "Other",
"pos": {
"x": 325.4537,
"y": 148.071,
"z": 432.6028
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"shape": {
"$type": "ConfigShapeRect",
"centerType": "Center",
"height": 15.0,
"heightType": "Center",
"length": 80.0,
"useHeight": true,
"width": 25.0
},
"stringParam": "",
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"triggerFlag": "NoReviveRegion",
"triggerInterval": 0.1,
"type": "NORMAL",
"unlocked": true,
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"withGO": false
}
},
"forces": {},
"points": {
"1": {
"$type": "DungeonSlipRevivePoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70360001,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isModelHidden": false,
"pointType": "DungeonSlipRevivePoint",
"pos": {
"x": 210.5055,
"y": 188.4557,
"z": 365.079
},
"rot": {
"x": 0.0,
"y": 270.0,
"z": 0.0
},
"size": {
"x": 5.0,
"y": 20.0,
"z": 10.0
},
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": false
},
"2": {
"$type": "DungeonSlipRevivePoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70360001,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isModelHidden": false,
"pointType": "DungeonSlipRevivePoint",
"pos": {
"x": 274.718,
"y": 160.4162,
"z": 292.0991
},
"rot": {
"x": 0.0,
"y": 90.0,
"z": 0.0
},
"size": {
"x": 8.0,
"y": 25.0,
"z": 20.0
},
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": false
},
"3": {
"$type": "DungeonSlipRevivePoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70360001,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isModelHidden": false,
"pointType": "DungeonSlipRevivePoint",
"pos": {
"x": 324.94,
"y": 158.0601,
"z": 330.127
},
"rot": {
"x": 0.0,
"y": 180.0,
"z": 0.0
},
"size": {
"x": 15.0,
"y": 25.0,
"z": 8.0
},
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": false
},
"4": {
"$type": "DungeonSlipRevivePoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70360001,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isModelHidden": false,
"pointType": "DungeonSlipRevivePoint",
"pos": {
"x": 278.5405,
"y": 160.1488,
"z": 442.0001
},
"rot": {
"x": 0.0,
"y": 90.0,
"z": 0.0
},
"size": {
"x": 10.0,
"y": 25.0,
"z": 15.0
},
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": false
},
"5": {
"$type": "DungeonSlipRevivePoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70360001,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isModelHidden": false,
"pointType": "DungeonSlipRevivePoint",
"pos": {
"x": 324.3601,
"y": 157.8744,
"z": 402.6235
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"size": {
"x": 15.0,
"y": 25.0,
"z": 15.0
},
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": false
}
},
"transRadius": 0.0
}