更新配置表

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 = -269.9, z = -266.9 },
size = { x = 535.3, z = 530.4 },
born_pos = { x = 235.537, y = 92.054, z = 183.730 },
born_rot = { x = 0.000, y = 334.775, z = 0.000 },
die_y = -20,
city_id = 4,
vision_anchor = { x = -1000.0, z = -1000.0 }
}
-- 所有的区块
blocks = { 35882 }
-- 所有的区块范围坐标
block_rects = {
{ min = { x = -269.9, z = -266.9 }, max = { x = 265.4, z = 263.5 } }
}
-- Dummy Points
dummy_points = { }
-- Routes
routes_config = { }

View File

@@ -0,0 +1,7 @@
-- 所有的group
groups = {
{ id = 235882001, refresh_id = 1, pos = { x = 219.144, y = 90.179, z = 213.590 } },
{ id = 235882002, refresh_id = 1002, pos = { x = 219.548, y = 88.419, z = 205.132 } },
{ id = 235882003, refresh_id = 1002, pos = { x = 219.730, y = 90.180, z = 213.382 } },
{ id = 235882004, refresh_id = 1002, pos = { x = 221.889, y = 109.122, z = 205.474 } }
}

View File

@@ -0,0 +1,181 @@
-- 基础信息
local base_info = {
group_id = 235882001
}
-- DEFS_MISCS
local defs =
{
--操作台id
starter_gadget = 1001,
--gallery id
gallery_id = 35003,
--传送点 id
teleportPos_id = 1005,
groups_info =
{
--主控group 怪物数量不用管
[1] = {id = 235882001, monster_num = 0,},
--第一组玩法group
[2] = {id = 235882002, monster_num = 8,},
--第二组玩法group
[3] = {id = 235882003, monster_num = 18,},
--第三组玩法group
[4] = {id = 235882004, monster_num = 14,},
},
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
[1001] = { config_id = 1001, gadget_id = 70800446, pos = { x = 219.037, y = 90.180, z = 213.396 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[1006] = { config_id = 1006, gadget_id = 44000551, pos = { x = 219.037, y = 90.180, z = 213.396 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1001002, name = "VARIABLE_CHANGE_1002", event = EventType.EVENT_VARIABLE_CHANGE, source = "GALLERY_STATE", condition = "condition_EVENT_VARIABLE_CHANGE_1002", action = "action_EVENT_VARIABLE_CHANGE_1002", trigger_count = 0 },
{ config_id = 1001003, name = "VARIABLE_CHANGE_1003", event = EventType.EVENT_VARIABLE_CHANGE, source = "GALLERY_STATE", condition = "condition_EVENT_VARIABLE_CHANGE_1003", action = "action_EVENT_VARIABLE_CHANGE_1003", trigger_count = 0 },
{ config_id = 1001004, name = "VARIABLE_CHANGE_1004", event = EventType.EVENT_VARIABLE_CHANGE, source = "GALLERY_STATE", condition = "condition_EVENT_VARIABLE_CHANGE_1004", action = "action_EVENT_VARIABLE_CHANGE_1004", trigger_count = 0 }
}
-- 点位
points = {
{ config_id = 1005, pos = { x = 235.607, y = 92.054, z = 183.826 }, rot = { x = 0.000, y = 329.288, z = 0.000 } }
}
-- 变量
variables = {
{ config_id = 1, name = "GALLERY_STATE", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 1001, 1006 },
regions = { },
triggers = { "VARIABLE_CHANGE_1002", "VARIABLE_CHANGE_1003", "VARIABLE_CHANGE_1004" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_1002(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"GALLERY_STATE"为1
if ScriptLib.GetGroupVariableValue(context, "GALLERY_STATE") ~= 1 then
return false
end
-- 判断变量"GROUP_INDEX"为2
if ScriptLib.GetGroupVariableValue(context, "GROUP_INDEX") ~= 2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_1002(context, evt)
-- 添加suite3的新内容
ScriptLib.AddExtraGroupSuite(context, 235882002, 3)
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_1003(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"GALLERY_STATE"为1
if ScriptLib.GetGroupVariableValue(context, "GALLERY_STATE") ~= 1 then
return false
end
-- 判断变量"GROUP_INDEX"为3
if ScriptLib.GetGroupVariableValue(context, "GROUP_INDEX") ~= 3 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_1003(context, evt)
-- 添加suite3的新内容
ScriptLib.AddExtraGroupSuite(context, 235882003, 3)
return 0
end
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_1004(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"GALLERY_STATE"为1
if ScriptLib.GetGroupVariableValue(context, "GALLERY_STATE") ~= 1 then
return false
end
-- 判断变量"GROUP_INDEX"为4
if ScriptLib.GetGroupVariableValue(context, "GROUP_INDEX") ~= 4 then
return false
end
return true
end
-- 触发操作
function action_EVENT_VARIABLE_CHANGE_1004(context, evt)
-- 添加suite3的新内容
ScriptLib.AddExtraGroupSuite(context, 235882004, 3)
return 0
end
require "V3_4/Activity_TeamChainChallenge"

View File

@@ -0,0 +1,172 @@
-- 基础信息
local base_info = {
group_id = 235882002
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
[2001] = { config_id = 2001, monster_id = 24020401, pos = { x = 216.986, y = 90.184, z = 217.888 }, rot = { x = 0.000, y = 148.871, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 }, pose_id = 100 },
[2002] = { config_id = 2002, monster_id = 24020201, pos = { x = 219.892, y = 90.183, z = 224.768 }, rot = { x = 0.000, y = 172.850, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 }, pose_id = 100 },
[2003] = { config_id = 2003, monster_id = 24020201, pos = { x = 210.106, y = 90.184, z = 218.162 }, rot = { x = 0.000, y = 124.952, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 }, pose_id = 100 },
[2004] = { config_id = 2004, monster_id = 24030201, pos = { x = 212.912, y = 90.188, z = 223.910 }, rot = { x = 0.000, y = 150.708, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 }, pose_id = 101 },
[2005] = { config_id = 2005, monster_id = 21020201, pos = { x = 224.271, y = 90.183, z = 221.810 }, rot = { x = 0.000, y = 213.925, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 } },
[2006] = { config_id = 2006, monster_id = 21020201, pos = { x = 213.497, y = 90.183, z = 205.492 }, rot = { x = 0.000, y = 31.930, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 } },
[2008] = { config_id = 2008, monster_id = 21020701, pos = { x = 208.336, y = 90.179, z = 214.072 }, rot = { x = 0.000, y = 92.283, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 } },
[2009] = { config_id = 2009, monster_id = 21020701, pos = { x = 230.878, y = 90.183, z = 213.820 }, rot = { x = 0.000, y = 280.184, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 } }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
[2007] = { config_id = 2007, gadget_id = 70710535, pos = { x = 219.071, y = 84.095, z = 213.377 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[2010] = { config_id = 2010, gadget_id = 70900205, pos = { x = 219.317, y = 88.605, z = 215.511 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1002011, name = "ANY_MONSTER_DIE_2011", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_2011", action = "action_EVENT_ANY_MONSTER_DIE_2011", trigger_count = 0 },
{ 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", trigger_count = 0 }
}
-- 变量
variables = {
{ config_id = 1, name = "monster_wave", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 2010 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 2007 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 2005, 2006, 2008, 2009 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_2011" },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 2001, 2002, 2003, 2004 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_2012" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_2011(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
-- 判断变量"monster_wave"为0
if ScriptLib.GetGroupVariableValue(context, "monster_wave") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_2011(context, evt)
-- 针对当前group内变量名为 "monster_wave" 的变量进行修改变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "monster_wave", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
-- 添加suite4的新内容
ScriptLib.AddExtraGroupSuite(context, 235882002, 4)
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_2012(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
-- 判断变量"monster_wave"为1
if ScriptLib.GetGroupVariableValue(context, "monster_wave") ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_2012(context, evt)
-- 针对当前group内变量名为 "monster_wave" 的变量进行修改变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "monster_wave", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
-- 将本组内变量名为 "GALLERY_STATE" 的变量设置为 2
if 0 ~= ScriptLib.SetGroupVariableValueByGroup(context, "GALLERY_STATE", 2, 235882001) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable_by_group")
return -1
end
return 0
end

View File

@@ -0,0 +1,219 @@
-- 基础信息
local base_info = {
group_id = 235882003
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
[3002] = { config_id = 3002, monster_id = 22040201, pos = { x = 212.767, y = 90.184, z = 218.043 }, rot = { x = 0.000, y = 135.763, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 }, pose_id = 101 },
[3003] = { config_id = 3003, monster_id = 22040201, pos = { x = 223.020, y = 90.184, z = 220.272 }, rot = { x = 0.000, y = 201.644, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 }, pose_id = 101 },
[3004] = { config_id = 3004, monster_id = 22040201, pos = { x = 215.158, y = 90.184, z = 221.354 }, rot = { x = 0.000, y = 152.681, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 }, pose_id = 101 },
[3005] = { config_id = 3005, monster_id = 22040201, pos = { x = 219.930, y = 90.183, z = 221.260 }, rot = { x = 0.000, y = 179.415, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 }, pose_id = 101 },
[3006] = { config_id = 3006, monster_id = 22040201, pos = { x = 211.028, y = 90.179, z = 214.697 }, rot = { x = 0.000, y = 111.645, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 }, pose_id = 101 },
[3007] = { config_id = 3007, monster_id = 22040101, pos = { x = 218.119, y = 90.184, z = 204.488 }, rot = { x = 0.000, y = 352.679, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 }, pose_id = 101 },
[3008] = { config_id = 3008, monster_id = 22040101, pos = { x = 227.189, y = 90.184, z = 213.113 }, rot = { x = 0.000, y = 278.251, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 }, pose_id = 101 },
[3009] = { config_id = 3009, monster_id = 22040101, pos = { x = 223.498, y = 90.190, z = 204.946 }, rot = { x = 0.000, y = 331.774, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 }, pose_id = 101 },
[3010] = { config_id = 3010, monster_id = 22040101, pos = { x = 226.269, y = 90.184, z = 208.679 }, rot = { x = 0.000, y = 291.561, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 }, pose_id = 101 },
[3011] = { config_id = 3011, monster_id = 22040101, pos = { x = 213.103, y = 90.182, z = 204.426 }, rot = { x = 0.000, y = 31.593, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 }, pose_id = 101 },
[3012] = { config_id = 3012, monster_id = 22040201, pos = { x = 224.659, y = 90.184, z = 208.793 }, rot = { x = 0.000, y = 277.802, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 }, pose_id = 101 },
[3013] = { config_id = 3013, monster_id = 22040201, pos = { x = 223.550, y = 90.184, z = 218.716 }, rot = { x = 0.000, y = 246.352, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 }, pose_id = 101 },
[3014] = { config_id = 3014, monster_id = 22040101, pos = { x = 211.277, y = 90.178, z = 217.430 }, rot = { x = 0.000, y = 117.043, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 }, pose_id = 101 },
[3015] = { config_id = 3015, monster_id = 22040101, pos = { x = 211.447, y = 90.183, z = 209.996 }, rot = { x = 0.000, y = 72.497, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 }, pose_id = 101 },
[3016] = { config_id = 3016, monster_id = 22050201, pos = { x = 226.547, y = 90.184, z = 213.551 }, rot = { x = 0.000, y = 269.095, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 }, pose_id = 101 },
[3017] = { config_id = 3017, monster_id = 22050101, pos = { x = 209.384, y = 90.183, z = 213.517 }, rot = { x = 0.000, y = 86.757, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 }, pose_id = 101 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
[3001] = { config_id = 3001, gadget_id = 70710535, pos = { x = 219.071, y = 84.095, z = 213.377 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[3018] = { config_id = 3018, gadget_id = 70900205, pos = { x = 219.317, y = 88.605, z = 215.511 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1003019, name = "ANY_MONSTER_DIE_3019", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_3019", action = "action_EVENT_ANY_MONSTER_DIE_3019", trigger_count = 0 },
{ config_id = 1003020, name = "ANY_MONSTER_DIE_3020", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_3020", action = "action_EVENT_ANY_MONSTER_DIE_3020", trigger_count = 0 },
{ config_id = 1003021, name = "ANY_MONSTER_DIE_3021", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_3021", action = "action_EVENT_ANY_MONSTER_DIE_3021", trigger_count = 0 }
}
-- 变量
variables = {
{ config_id = 1, name = "monster_wave", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 3018 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 3001 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 3002, 3003, 3004, 3005, 3006 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_3019" },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 3007, 3008, 3009, 3010, 3011 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_3021" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 3012, 3013, 3014, 3015, 3016, 3017 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_3020" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_3019(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
-- 判断变量"monster_wave"为0
if ScriptLib.GetGroupVariableValue(context, "monster_wave") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_3019(context, evt)
-- 针对当前group内变量名为 "monster_wave" 的变量进行修改变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "monster_wave", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
-- 添加suite4的新内容
ScriptLib.AddExtraGroupSuite(context, 235882003, 4)
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_3020(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
-- 判断变量"monster_wave"为2
if ScriptLib.GetGroupVariableValue(context, "monster_wave") ~= 2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_3020(context, evt)
-- 针对当前group内变量名为 "monster_wave" 的变量进行修改变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "monster_wave", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
-- 将本组内变量名为 "GALLERY_STATE" 的变量设置为 2
if 0 ~= ScriptLib.SetGroupVariableValueByGroup(context, "GALLERY_STATE", 2, 235882001) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_3021(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
-- 判断变量"monster_wave"为1
if ScriptLib.GetGroupVariableValue(context, "monster_wave") ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_3021(context, evt)
-- 针对当前group内变量名为 "monster_wave" 的变量进行修改变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "monster_wave", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
-- 添加suite5的新内容
ScriptLib.AddExtraGroupSuite(context, 235882003, 5)
return 0
end

View File

@@ -0,0 +1,217 @@
-- 基础信息
local base_info = {
group_id = 235882004
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
[4002] = { config_id = 4002, monster_id = 22010301, pos = { x = 217.472, y = 90.183, z = 225.290 }, rot = { x = 0.000, y = 172.388, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 } },
[4003] = { config_id = 4003, monster_id = 20050203, pos = { x = 223.139, y = 90.184, z = 220.717 }, rot = { x = 0.000, y = 192.370, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 } },
[4004] = { config_id = 4004, monster_id = 20050203, pos = { x = 213.764, y = 90.184, z = 219.517 }, rot = { x = 0.000, y = 167.140, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 } },
[4005] = { config_id = 4005, monster_id = 22010301, pos = { x = 208.146, y = 90.171, z = 216.618 }, rot = { x = 0.000, y = 102.903, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 } },
[4006] = { config_id = 4006, monster_id = 20050603, pos = { x = 224.248, y = 90.184, z = 208.270 }, rot = { x = 0.000, y = 336.746, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 } },
[4007] = { config_id = 4007, monster_id = 20050603, pos = { x = 217.413, y = 90.184, z = 206.531 }, rot = { x = 0.000, y = 355.029, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 } },
[4008] = { config_id = 4008, monster_id = 20050802, pos = { x = 217.472, y = 90.183, z = 225.290 }, rot = { x = 0.000, y = 172.388, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 } },
[4009] = { config_id = 4009, monster_id = 20011101, pos = { x = 227.399, y = 90.183, z = 212.147 }, rot = { x = 0.000, y = 268.920, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 } },
[4010] = { config_id = 4010, monster_id = 20011101, pos = { x = 228.776, y = 90.184, z = 215.767 }, rot = { x = 0.000, y = 253.080, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 } },
[4011] = { config_id = 4011, monster_id = 20011101, pos = { x = 211.571, y = 90.173, z = 215.646 }, rot = { x = 0.000, y = 86.434, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 } },
[4012] = { config_id = 4012, monster_id = 20011101, pos = { x = 212.828, y = 90.183, z = 209.203 }, rot = { x = 0.000, y = 69.410, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 } },
[4013] = { config_id = 4013, monster_id = 20011101, pos = { x = 209.465, y = 90.183, z = 212.289 }, rot = { x = 0.000, y = 73.964, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 } },
[4014] = { config_id = 4014, monster_id = 20011101, pos = { x = 227.120, y = 90.184, z = 218.530 }, rot = { x = 0.000, y = 253.080, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 } },
[4015] = { config_id = 4015, monster_id = 22010301, pos = { x = 228.069, y = 90.184, z = 217.904 }, rot = { x = 0.000, y = 232.141, z = 0.000 }, level = 1, disableWander = true, affix = { 5257 } }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
[4001] = { config_id = 4001, gadget_id = 70710535, pos = { x = 219.071, y = 84.095, z = 213.377 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[4016] = { config_id = 4016, gadget_id = 70900205, pos = { x = 219.317, y = 88.605, z = 215.511 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1004017, name = "ANY_MONSTER_DIE_4017", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_4017", action = "action_EVENT_ANY_MONSTER_DIE_4017", trigger_count = 0 },
{ config_id = 1004018, name = "ANY_MONSTER_DIE_4018", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_4018", action = "action_EVENT_ANY_MONSTER_DIE_4018", trigger_count = 0 },
{ config_id = 1004019, name = "ANY_MONSTER_DIE_4019", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_4019", action = "action_EVENT_ANY_MONSTER_DIE_4019", trigger_count = 0 }
}
-- 变量
variables = {
{ config_id = 1, name = "monster_wave", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 4016 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 4001 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 4003, 4004, 4006, 4007, 4008 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_4017" },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 4009, 4010, 4011, 4012, 4013, 4014 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_4018" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 4002, 4005, 4015 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_4019" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_4017(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
-- 判断变量"monster_wave"为0
if ScriptLib.GetGroupVariableValue(context, "monster_wave") ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_4017(context, evt)
-- 针对当前group内变量名为 "monster_wave" 的变量进行修改变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "monster_wave", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
-- 添加suite4的新内容
ScriptLib.AddExtraGroupSuite(context, 235882004, 4)
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_4018(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
-- 判断变量"monster_wave"为1
if ScriptLib.GetGroupVariableValue(context, "monster_wave") ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_4018(context, evt)
-- 针对当前group内变量名为 "monster_wave" 的变量进行修改变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "monster_wave", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
-- 添加suite5的新内容
ScriptLib.AddExtraGroupSuite(context, 235882004, 5)
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_4019(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
-- 判断变量"monster_wave"为2
if ScriptLib.GetGroupVariableValue(context, "monster_wave") ~= 2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_4019(context, evt)
-- 针对当前group内变量名为 "monster_wave" 的变量进行修改变化值为 1
if 0 ~= ScriptLib.ChangeGroupVariableValue(context, "monster_wave", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : change_GroupVariable")
return -1
end
-- 将本组内变量名为 "GALLERY_STATE" 的变量设置为 2
if 0 ~= ScriptLib.SetGroupVariableValueByGroup(context, "GALLERY_STATE", 2, 235882001) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable_by_group")
return -1
end
return 0
end

View File

@@ -0,0 +1,189 @@
{
"areas": {},
"doors": {},
"entities": {
"1": {
"$type": "ConfigLocalTrigger",
"alias": "",
"areaId": 0,
"checkCount": 0,
"checkDist": 150.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": 227.3795,
"y": 80.35374,
"z": 213.2799
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"shape": {
"$type": "ConfigShapeRect",
"centerType": "Center",
"height": 3.0,
"heightType": "Center",
"length": 150.0,
"useHeight": true,
"width": 150.0
},
"stringParam": "",
"tranPos": {
"x": 227.38,
"y": 90.18361,
"z": 213.2803
},
"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
}
},
"forces": {},
"points": {
"1": {
"$type": "DungeonSlipRevivePoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70010006,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isModelHidden": false,
"pointType": "DungeonSlipRevivePoint",
"pos": {
"x": 218.9426,
"y": 90.17912,
"z": 213.5474
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"size": {
"x": 15.0,
"y": 10.0,
"z": 15.0
},
"tranPos": {
"x": 235.767212,
"y": 92.08606,
"z": 183.584167
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": true
},
"2": {
"$type": "DungeonSlipRevivePoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70010006,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isModelHidden": false,
"pointType": "DungeonSlipRevivePoint",
"pos": {
"x": 234.5587,
"y": 92.25927,
"z": 183.584
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"size": {
"x": 15.0,
"y": 10.0,
"z": 15.0
},
"tranPos": {
"x": 235.767212,
"y": 92.08606,
"z": 183.584167
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": true
},
"3": {
"$type": "DungeonWayPoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70010006,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isBoss": false,
"isModelHidden": false,
"pointType": "DungeonWayPoint",
"pos": {
"x": 248.5004,
"y": 101.1226,
"z": 169.9791
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"size": {
"x": 20.0,
"y": 10.0,
"z": 20.0
},
"tranPos": {
"x": 248.500443,
"y": 101.1226,
"z": 169.979065
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": true
}
},
"transRadius": 0.0
}