添加配置表

This commit is contained in:
flswld
2022-11-30 00:00:20 +08:00
parent f70a890338
commit d7f3f3b866
33382 changed files with 8476601 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
-- 地图配置
scene_config = {
begin_pos = { x = -400.0, z = -300.0 },
size = { x = 1024.0, z = 1800.0 },
born_pos = { x = 21.069, y = 84.434, z = 654.458 },
born_rot = { x = 0.000, y = 39.967, z = 0.000 },
die_y = -60,
city_id = 1,
vision_anchor = { x = -1000.0, z = -1000.0 }
}
-- 所有的区块
blocks = { 35848 }
-- 所有的区块范围坐标
block_rects = {
{ min = { x = -400.0, z = -300.0 }, max = { x = 624.0, z = 1500.0 } }
}
-- Dummy Points
dummy_points = { }
-- Routes
routes_config = { }

View File

@@ -0,0 +1,8 @@
-- 所有的group
groups = {
{ id = 235848001, pos = { x = 72.960, y = 106.970, z = 891.771 }, business = { type = 2 } },
{ id = 235848002, pos = { x = 40.009, y = 87.170, z = 583.093 }, business = { type = 2 } },
{ id = 235848003, pos = { x = 122.635, y = 85.400, z = 685.231 }, business = { type = 2 } },
{ id = 235848005, pos = { x = 30.299, y = 84.876, z = 668.901 }, business = { type = 2 } },
{ id = 235848006, pos = { x = 114.660, y = 85.400, z = 758.086 }, business = { type = 2 } }
}

View File

@@ -0,0 +1,326 @@
-- 基础信息
local base_info = {
group_id = 235848001
}
-- DEFS_MISCS
local defs = {
--起始操作台
starter = 1041,
--起始操作台选项
option_id = 94,
--波次之间延时 秒
delay = 3,
--挑战总时限 秒
time_limit = 300,
--挑战ID
challenge_id =2010037,
--怪物潮信息
--monsters填入怪物configID
--当场上本列表的怪数量小于min时触发补怪补至max。max勿超过mosnters数量
--spec_event:随着本怪物潮的出现而发生的关卡事件。为LD约定好的枚举。
tide_cfg = {
[1] = { monsters = {1002,1003,1004,1005,1006,1007,1008}, min = 7, max = 7},
[2] = { monsters = {1009,1010,1011,1012}, min = 4, max = 4},
[3] = { monsters = {1014,1016}, min = 2, max = 2},
[4] = { monsters = {1013}, min = 1, max = 1},
[5] = { monsters = {1047}, min = 1, max = 1},
[6] = { monsters = {1048}, min = 1, max = 1},
[7] = { monsters = {1049}, min = 1, max = 1},
},
--怪物潮随机表
--随机固定顺序怪物潮组合 每次进地城随机取key。
--key对应value代表依序出现的MonsterTide小花括号内配置复数个表示同时刷出。
rand_table = {
[1] =
{
{1},
{3},
{4}
},
[2] =
{
{2},
{3},
{4}
},
[3] =
{
{1},
{3},
{5}
},
[4] =
{
{2},
{3},
{5}
},
[5] =
{
{1},
{3},
{6}
},
[6] =
{
{2},
{3},
{6}
},
[7] =
{
{1},
{3},
{7}
},
[8] =
{
{2},
{3},
{7}
},
},
--谁的地城 1-万叶 2-辛焱 3-菲谢尔 4-莫娜
type = 1,
--莫娜、辛焱需配这里-随机suite池
rand_suites = {},
--万叶、菲谢尔需配这里-生成buff随机点位configIDs
point_list = {1030,1031,1032,1033,1034,1035,1036,1037},
--万叶、菲谢尔需配这里-buff物件池
buff_pool = {1040},
--万叶、菲谢尔需配这里-buff物件每次刷几个
buff_count = 2,
--万叶、菲谢尔需配这里-限定buff物件池
buff_pool_spec = {1038,1039},
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
[1002] = { config_id = 1002, monster_id = 25080101, pos = { x = 76.009, y = 106.970, z = 907.768 }, rot = { x = 0.000, y = 164.329, z = 0.000 }, level = 1, disableWander = true, pose_id = 1 },
[1003] = { config_id = 1003, monster_id = 25080101, pos = { x = 72.027, y = 106.970, z = 908.062 }, rot = { x = 0.000, y = 164.329, z = 0.000 }, level = 1, disableWander = true, pose_id = 1 },
[1004] = { config_id = 1004, monster_id = 25080201, pos = { x = 69.292, y = 106.970, z = 904.034 }, rot = { x = 0.000, y = 164.329, z = 0.000 }, level = 1, disableWander = true, pose_id = 1 },
[1005] = { config_id = 1005, monster_id = 25080201, pos = { x = 77.913, y = 106.970, z = 903.312 }, rot = { x = 0.000, y = 164.329, z = 0.000 }, level = 1, disableWander = true, pose_id = 1 },
[1006] = { config_id = 1006, monster_id = 25080301, pos = { x = 66.738, y = 106.970, z = 874.266 }, rot = { x = 0.000, y = 337.374, z = 0.000 }, level = 1, disableWander = true, pose_id = 1 },
[1007] = { config_id = 1007, monster_id = 25080301, pos = { x = 80.028, y = 106.970, z = 873.100 }, rot = { x = 0.000, y = 337.374, z = 0.000 }, level = 1, disableWander = true, pose_id = 1 },
[1008] = { config_id = 1008, monster_id = 25100101, pos = { x = 73.510, y = 106.970, z = 902.441 }, rot = { x = 0.000, y = 166.547, z = 0.000 }, level = 1, disableWander = true, pose_id = 1 },
[1009] = { config_id = 1009, monster_id = 23010101, pos = { x = 79.220, y = 106.970, z = 907.314 }, rot = { x = 0.000, y = 163.780, z = 0.000 }, level = 1, disableWander = true },
[1010] = { config_id = 1010, monster_id = 23010201, pos = { x = 69.346, y = 106.970, z = 908.038 }, rot = { x = 0.000, y = 163.780, z = 0.000 }, level = 1, disableWander = true },
[1011] = { config_id = 1011, monster_id = 23010301, pos = { x = 71.799, y = 106.970, z = 903.788 }, rot = { x = 0.000, y = 163.780, z = 0.000 }, level = 1, disableWander = true },
[1012] = { config_id = 1012, monster_id = 23010501, pos = { x = 77.444, y = 106.970, z = 903.196 }, rot = { x = 0.000, y = 163.780, z = 0.000 }, level = 1, disableWander = true },
[1013] = { config_id = 1013, monster_id = 26050401, pos = { x = 73.893, y = 106.970, z = 875.301 }, rot = { x = 0.000, y = 10.782, z = 0.000 }, level = 1, disableWander = true, affix = { 1021 }, pose_id = 101 },
[1014] = { config_id = 1014, monster_id = 24010301, pos = { x = 74.932, y = 106.970, z = 875.949 }, rot = { x = 0.000, y = 351.824, z = 0.000 }, level = 1, disableWander = true, pose_id = 100 },
[1016] = { config_id = 1016, monster_id = 24010301, pos = { x = 72.391, y = 107.010, z = 908.115 }, rot = { x = 0.000, y = 162.311, z = 0.000 }, level = 1, disableWander = true, pose_id = 100 },
[1047] = { config_id = 1047, monster_id = 26050101, pos = { x = 73.893, y = 106.970, z = 875.301 }, rot = { x = 0.000, y = 10.782, z = 0.000 }, level = 1, disableWander = true, affix = { 1021 }, pose_id = 101 },
[1048] = { config_id = 1048, monster_id = 26050301, pos = { x = 73.893, y = 106.970, z = 875.301 }, rot = { x = 0.000, y = 10.782, z = 0.000 }, level = 1, disableWander = true, affix = { 1021 }, pose_id = 101 },
[1049] = { config_id = 1049, monster_id = 26050201, pos = { x = 73.893, y = 106.970, z = 875.301 }, rot = { x = 0.000, y = 10.782, z = 0.000 }, level = 1, disableWander = true, affix = { 1021 }, pose_id = 101 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
[1001] = { config_id = 1001, gadget_id = 70360010, pos = { x = 72.461, y = 106.870, z = 891.608 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[1015] = { config_id = 1015, gadget_id = 70360001, pos = { x = 74.193, y = 106.970, z = 888.722 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[1017] = { config_id = 1017, gadget_id = 70950011, pos = { x = 94.046, y = 104.984, z = 869.714 }, rot = { x = 0.000, y = 358.664, z = 0.000 }, level = 1 },
[1018] = { config_id = 1018, gadget_id = 70950011, pos = { x = 63.306, y = 104.984, z = 868.997 }, rot = { x = 0.000, y = 358.664, z = 0.000 }, level = 1 },
[1019] = { config_id = 1019, gadget_id = 70950011, pos = { x = 47.615, y = 104.984, z = 868.630 }, rot = { x = 0.000, y = 358.664, z = 0.000 }, level = 1 },
[1020] = { config_id = 1020, gadget_id = 70950011, pos = { x = 42.178, y = 105.801, z = 871.109 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
[1021] = { config_id = 1021, gadget_id = 70950011, pos = { x = 42.831, y = 105.156, z = 891.205 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
[1022] = { config_id = 1022, gadget_id = 70950011, pos = { x = 42.921, y = 106.285, z = 911.078 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
[1023] = { config_id = 1023, gadget_id = 70950011, pos = { x = 51.199, y = 106.843, z = 912.289 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[1024] = { config_id = 1024, gadget_id = 70950011, pos = { x = 74.519, y = 106.851, z = 912.289 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[1025] = { config_id = 1025, gadget_id = 70950011, pos = { x = 91.966, y = 105.918, z = 912.289 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[1026] = { config_id = 1026, gadget_id = 70950011, pos = { x = 102.964, y = 107.145, z = 911.880 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
[1027] = { config_id = 1027, gadget_id = 70950011, pos = { x = 102.964, y = 107.145, z = 891.535 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
[1028] = { config_id = 1028, gadget_id = 70950011, pos = { x = 102.964, y = 107.145, z = 871.955 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
[1030] = { config_id = 1030, gadget_id = 70350085, pos = { x = 66.960, y = 107.648, z = 897.301 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[1031] = { config_id = 1031, gadget_id = 70350085, pos = { x = 65.002, y = 107.636, z = 891.842 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[1032] = { config_id = 1032, gadget_id = 70350085, pos = { x = 67.332, y = 107.652, z = 885.546 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[1033] = { config_id = 1033, gadget_id = 70350085, pos = { x = 72.642, y = 107.611, z = 883.863 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[1034] = { config_id = 1034, gadget_id = 70350085, pos = { x = 78.324, y = 107.625, z = 885.814 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[1035] = { config_id = 1035, gadget_id = 70350085, pos = { x = 79.880, y = 107.624, z = 891.612 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[1036] = { config_id = 1036, gadget_id = 70350085, pos = { x = 78.438, y = 107.602, z = 896.729 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[1037] = { config_id = 1037, gadget_id = 70350085, pos = { x = 73.008, y = 107.598, z = 899.507 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[1038] = { config_id = 1038, gadget_id = 70310318, pos = { x = 66.151, y = 107.193, z = 906.681 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[1039] = { config_id = 1039, gadget_id = 70310319, pos = { x = 63.189, y = 107.301, z = 906.462 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[1040] = { config_id = 1040, gadget_id = 70310320, pos = { x = 59.462, y = 107.264, z = 906.293 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[1041] = { config_id = 1041, gadget_id = 70360001, pos = { x = 72.461, y = 106.870, z = 891.608 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, worktop_config = { init_options = { 94 } } },
[1042] = { config_id = 1042, gadget_id = 70900201, pos = { x = 72.461, y = 107.483, z = 891.608 }, rot = { x = 0.000, y = 204.137, z = 0.000 }, level = 1 },
[1043] = { config_id = 1043, gadget_id = 70950011, pos = { x = 76.729, y = 104.984, z = 869.310 }, rot = { x = 0.000, y = 358.664, z = 0.000 }, level = 1 },
[1044] = { config_id = 1044, gadget_id = 70950011, pos = { x = 67.567, y = 105.918, z = 912.289 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1001029, name = "SELECT_OPTION_1029", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_1029", action = "action_EVENT_SELECT_OPTION_1029", trigger_count = 0 },
{ config_id = 1001045, name = "GADGET_CREATE_1045", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_1045", action = "action_EVENT_GADGET_CREATE_1045" },
{ config_id = 1001046, name = "GADGET_CREATE_1046", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_1046", action = "action_EVENT_GADGET_CREATE_1046" }
}
-- 变量
variables = {
{ config_id = 1, name = "suite", value = 0, no_refresh = true }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 1015 },
regions = { },
triggers = { "GADGET_CREATE_1046" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1043, 1044 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { 1042 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { },
gadgets = { 1001, 1041 },
regions = { },
triggers = { "SELECT_OPTION_1029", "GADGET_CREATE_1045" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SELECT_OPTION_1029(context, evt)
-- 判断是gadgetid 1041 option_id 94
if 1041 ~= evt.param1 then
return false
end
if 94 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_1029(context, evt)
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 235848001, 2)
-- 删除指定group 235848001 指定config1041物件身上指定option94
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 235848001, 1041, 94) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 将configid为 1001 的物件更改为状态 GadgetState.GearStop
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1001, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 删除suite3的所有内容
ScriptLib.RemoveExtraGroupSuite(context, 235848001, 3)
return 0
end
-- 触发条件
function condition_EVENT_GADGET_CREATE_1045(context, evt)
if 1001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_1045(context, evt)
-- 将本组内变量名为 "suite" 的变量设置为 1
if 0 ~= ScriptLib.SetGroupVariableValue(context, "suite", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_CREATE_1046(context, evt)
if 1015 ~= evt.param1 then
return false
end
-- 判断变量"suite"为1
if ScriptLib.GetGroupVariableValue(context, "suite") ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_1046(context, evt)
-- 添加suite4的新内容
ScriptLib.AddExtraGroupSuite(context, 235848001, 4)
return 0
end
require "V2_8/DLActivityDungeon"

View File

@@ -0,0 +1,73 @@
-- 基础信息
local base_info = {
group_id = 235848002
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 2001, gadget_id = 70950011, pos = { x = 34.973, y = 87.223, z = 586.558 }, rot = { x = 0.000, y = 7.933, z = 0.000 }, level = 1 },
{ config_id = 2002, gadget_id = 70950011, pos = { x = 53.913, y = 87.223, z = 583.919 }, rot = { x = 0.000, y = 7.933, 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 = { 2001, 2002 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,258 @@
-- 基础信息
local base_info = {
group_id = 235848003
}
-- DEFS_MISCS
local defs = {
--起始操作台
starter =3003,
--起始操作台选项
option_id = 94,
--波次之间延时 秒
delay = 3,
--挑战总时限 秒
time_limit = 60,
--挑战ID
challenge_id =2010053,
--怪物潮信息
--monsters填入怪物configID
--当场上本列表的怪数量小于min时触发补怪补至max。max勿超过mosnters数量
--spec_event:随着本怪物潮的出现而发生的关卡事件。为LD约定好的枚举。
tide_cfg = {
[1] = { monsters = {3001,3004}, min = 2, max = 2},
},
--怪物潮随机表
--随机固定顺序怪物潮组合 每次进地城随机取key。
--key对应value代表依序出现的MonsterTide小花括号内配置复数个表示同时刷出。
rand_table = {
[1] =
{
{1},
},
},
--谁的地城 1-万叶 2-辛焱 3-菲谢尔 4-莫娜
type = 1,
--莫娜、辛焱需配这里-随机suite池
rand_suites = {},
--万叶、菲谢尔需配这里-生成buff随机点位configIDs
point_list = {},
--万叶、菲谢尔需配这里-buff物件池
buff_pool = {},
--万叶、菲谢尔需配这里-buff物件每次刷几个
buff_count = 0,
--万叶、菲谢尔需配这里-限定buff物件池
buff_pool_spec = {},
--是否教学关
is_tutorial = 1,
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
[3001] = { config_id = 3001, monster_id = 25100101, pos = { x = 132.521, y = 85.400, z = 692.348 }, rot = { x = 0.000, y = 248.643, z = 0.000 }, level = 1, pose_id = 1 },
[3004] = { config_id = 3004, monster_id = 25100201, pos = { x = 133.945, y = 85.400, z = 687.427 }, rot = { x = 0.000, y = 264.429, z = 0.000 }, level = 1, pose_id = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
[3002] = { config_id = 3002, gadget_id = 70360010, pos = { x = 122.940, y = 85.333, z = 684.958 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[3003] = { config_id = 3003, gadget_id = 70360001, pos = { x = 122.940, y = 85.333, z = 684.958 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, worktop_config = { init_options = { 94 } } },
[3005] = { config_id = 3005, gadget_id = 70360001, pos = { x = 124.075, y = 85.400, z = 682.361 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[3010] = { config_id = 3010, gadget_id = 70900201, pos = { x = 122.940, y = 86.126, z = 684.958 }, rot = { x = 0.000, y = 161.540, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1003006, name = "GADGET_CREATE_3006", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_3006", action = "action_EVENT_GADGET_CREATE_3006", trigger_count = 0 },
{ config_id = 1003007, name = "GADGET_CREATE_3007", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_3007", action = "action_EVENT_GADGET_CREATE_3007", trigger_count = 0 },
{ config_id = 1003011, name = "SELECT_OPTION_3011", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_3011", action = "action_EVENT_SELECT_OPTION_3011", trigger_count = 0 },
{ config_id = 1003012, name = "ANY_MONSTER_DIE_3012", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_3012", action = "action_EVENT_ANY_MONSTER_DIE_3012" }
}
-- 变量
variables = {
{ config_id = 1, name = "suite", value = 0, no_refresh = true }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 3005 },
regions = { },
triggers = { "GADGET_CREATE_3007" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 3010 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { 3002, 3003 },
regions = { },
triggers = { "GADGET_CREATE_3006", "SELECT_OPTION_3011", "ANY_MONSTER_DIE_3012" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_GADGET_CREATE_3006(context, evt)
if 3002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_3006(context, evt)
-- 将本组内变量名为 "suite" 的变量设置为 1
if 0 ~= ScriptLib.SetGroupVariableValue(context, "suite", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_CREATE_3007(context, evt)
if 3005 ~= evt.param1 then
return false
end
-- 判断变量"suite"为1
if ScriptLib.GetGroupVariableValue(context, "suite") ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_3007(context, evt)
-- 添加suite3的新内容
ScriptLib.AddExtraGroupSuite(context, 235848003, 3)
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_3011(context, evt)
-- 判断是gadgetid 3003 option_id 94
if 3003 ~= evt.param1 then
return false
end
if 94 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_3011(context, evt)
-- 删除指定group 235848003 指定config3003物件身上指定option94
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 235848003, 3003, 94) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 将configid为 3002 的物件更改为状态 GadgetState.GearStop
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 3002, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 删除suite2的所有内容
ScriptLib.RemoveExtraGroupSuite(context, 235848003, 2)
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_3012(context, evt)
-- 判断指定group组剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCountByGroupId(context, 235848003) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_3012(context, evt)
-- 添加suite3的新内容
ScriptLib.AddExtraGroupSuite(context, 235848006, 3)
-- 杀死Group内指定的monster和gadget
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 235848005, monsters = {}, gadgets = {5005} }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monsters_and_gadgets_by_group")
return -1
end
-- 添加suite5的新内容
ScriptLib.AddExtraGroupSuite(context, 235848005, 5)
-- 添加suite4的新内容
ScriptLib.AddExtraGroupSuite(context, 235848006, 4)
return 0
end
require "V2_8/DLActivityDungeon"

View File

@@ -0,0 +1,301 @@
-- 基础信息
local base_info = {
group_id = 235848005
}
-- DEFS_MISCS
local defs = {
--起始操作台
starter = 5002,
--起始操作台选项
option_id = 94,
--波次之间延时 秒
delay = 3,
--挑战总时限 秒
time_limit = 60,
--挑战ID
challenge_id =2010053,
--怪物潮信息
--monsters填入怪物configID
--当场上本列表的怪数量小于min时触发补怪补至max。max勿超过mosnters数量
--spec_event:随着本怪物潮的出现而发生的关卡事件。为LD约定好的枚举。
tide_cfg = {
[1] = { monsters = {5006,5016,5017}, min = 3, max = 3},
},
--怪物潮随机表
--随机固定顺序怪物潮组合 每次进地城随机取key。
--key对应value代表依序出现的MonsterTide小花括号内配置复数个表示同时刷出。
rand_table = {
[1] =
{
{1},
},
},
--谁的地城 1-万叶 2-辛焱 3-菲谢尔 4-莫娜
type = 1,
--莫娜、辛焱需配这里-随机suite池
rand_suites = {},
--万叶、菲谢尔需配这里-生成buff随机点位configIDs
point_list = {},
--万叶、菲谢尔需配这里-buff物件池
buff_pool = {},
--万叶、菲谢尔需配这里-buff物件每次刷几个
buff_count = 0,
--万叶、菲谢尔需配这里-限定buff物件池
buff_pool_spec = {},
--是否教学关
is_tutorial = 1,
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
[5006] = { config_id = 5006, monster_id = 25080401, pos = { x = 27.729, y = 84.004, z = 660.371 }, rot = { x = 0.000, y = 28.176, z = 0.000 }, level = 1, pose_id = 1 },
[5016] = { config_id = 5016, monster_id = 25080401, pos = { x = 30.631, y = 85.744, z = 677.549 }, rot = { x = 0.000, y = 184.475, z = 0.000 }, level = 1, pose_id = 1 },
[5017] = { config_id = 5017, monster_id = 25080401, pos = { x = 42.482, y = 85.366, z = 669.717 }, rot = { x = 0.000, y = 233.706, z = 0.000 }, level = 1, pose_id = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
[5001] = { config_id = 5001, gadget_id = 70360010, pos = { x = 31.583, y = 84.238, z = 669.270 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[5002] = { config_id = 5002, gadget_id = 70360001, pos = { x = 31.571, y = 84.867, z = 669.304 }, rot = { x = 0.000, y = 37.616, z = 0.000 }, level = 1, worktop_config = { init_options = { 94 } } },
[5004] = { config_id = 5004, gadget_id = 70310297, pos = { x = 116.150, y = 93.352, z = 700.720 }, rot = { x = 319.836, y = 56.101, z = 328.138 }, level = 1 },
[5005] = { config_id = 5005, gadget_id = 70310297, pos = { x = 92.700, y = 75.700, z = 733.190 }, rot = { x = 343.360, y = 282.736, z = 283.730 }, level = 1 },
[5008] = { config_id = 5008, gadget_id = 70690027, pos = { x = 99.651, y = 85.400, z = 776.493 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[5009] = { config_id = 5009, gadget_id = 70950011, pos = { x = 34.548, y = 85.062, z = 676.828 }, rot = { x = -0.004, y = 32.532, z = 354.557 }, level = 1 },
[5010] = { config_id = 5010, gadget_id = 70950011, pos = { x = 45.515, y = 83.823, z = 669.833 }, rot = { x = -0.004, y = 32.532, z = 354.557 }, level = 1 },
[5011] = { config_id = 5011, gadget_id = 70950011, pos = { x = 25.856, y = 86.044, z = 682.372 }, rot = { x = -0.004, y = 32.532, z = 354.557 }, level = 1 },
[5013] = { config_id = 5013, gadget_id = 70310296, pos = { x = 107.610, y = 68.913, z = 700.179 }, rot = { x = 0.270, y = 30.516, z = 1.388 }, level = 1 },
[5014] = { config_id = 5014, gadget_id = 70310296, pos = { x = 102.422, y = 68.531, z = 743.746 }, rot = { x = 0.879, y = 283.192, z = 0.836 }, level = 1 },
[5019] = { config_id = 5019, gadget_id = 70690011, pos = { x = 75.670, y = 80.758, z = 855.424 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[5020] = { config_id = 5020, gadget_id = 70900201, pos = { x = 31.583, y = 85.557, z = 669.270 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[5021] = { config_id = 5021, gadget_id = 70360001, pos = { x = 37.189, y = 84.455, z = 667.090 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[5022] = { config_id = 5022, gadget_id = 70690001, pos = { x = 99.312, y = 90.177, z = 787.961 }, rot = { x = 340.345, y = 332.581, z = 0.000 }, level = 1 },
[5023] = { config_id = 5023, gadget_id = 70690001, pos = { x = 94.976, y = 93.540, z = 796.321 }, rot = { x = 340.345, y = 332.581, z = 0.000 }, level = 1 },
[5024] = { config_id = 5024, gadget_id = 70690001, pos = { x = 90.639, y = 96.904, z = 804.680 }, rot = { x = 340.345, y = 332.581, z = 0.000 }, level = 1 },
[5025] = { config_id = 5025, gadget_id = 70690001, pos = { x = 86.302, y = 100.267, z = 813.040 }, rot = { x = 340.345, y = 332.581, z = 0.000 }, level = 1 },
[5026] = { config_id = 5026, gadget_id = 70690001, pos = { x = 81.966, y = 103.631, z = 821.399 }, rot = { x = 340.345, y = 332.581, z = 0.000 }, level = 1 },
[5027] = { config_id = 5027, gadget_id = 70690001, pos = { x = 77.629, y = 106.994, z = 829.759 }, rot = { x = 346.135, y = 338.840, z = 0.000 }, level = 1 },
[5028] = { config_id = 5028, gadget_id = 70690001, pos = { x = 74.263, y = 109.296, z = 838.455 }, rot = { x = 8.441, y = 0.459, z = 0.000 }, level = 1 },
[5029] = { config_id = 5029, gadget_id = 70690001, pos = { x = 74.342, y = 107.828, z = 848.346 }, rot = { x = 8.441, y = 0.459, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
[5007] = { config_id = 5007, shape = RegionShape.SPHERE, radius = 12, pos = { x = 30.299, y = 84.876, z = 668.901 } }
}
-- 触发器
triggers = {
{ config_id = 1005003, name = "SELECT_OPTION_5003", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_5003", action = "action_EVENT_SELECT_OPTION_5003", trigger_count = 0 },
{ config_id = 1005007, name = "ENTER_REGION_5007", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_5007", action = "action_EVENT_ENTER_REGION_5007", trigger_count = 0 },
{ config_id = 1005015, name = "ANY_MONSTER_DIE_5015", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_5015", action = "action_EVENT_ANY_MONSTER_DIE_5015" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 5001, 5002, 5004, 5005, 5020 },
regions = { 5007 },
triggers = { "SELECT_OPTION_5003", "ENTER_REGION_5007" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_5015" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { 5021 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { },
gadgets = { 5008, 5019, 5022, 5023, 5024, 5025, 5026, 5027, 5028, 5029 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { },
gadgets = { 5014 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 6,
-- description = ,
monsters = { },
gadgets = { 5009, 5010, 5011 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SELECT_OPTION_5003(context, evt)
-- 判断是gadgetid 5002 option_id 94
if 5002 ~= evt.param1 then
return false
end
if 94 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_5003(context, evt)
-- 删除指定group 235848005 指定config5002物件身上指定option94
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 235848005, 5002, 94) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 将configid为 5001 的物件更改为状态 GadgetState.GearStop
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 5001, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 235848005, 2)
-- 添加suite6的新内容
ScriptLib.AddExtraGroupSuite(context, 235848005, 6)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 5020 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_5007(context, evt)
if evt.param1 ~= 5007 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
if 0~=ScriptLib.GetExhibitionAccumulableData(context,context.uid,11401108) then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_5007(context, evt)
ScriptLib.AddExhibitionAccumulableData(context, context.uid,"Activity_SummerTimeV2_Kazuha_Guide1", 1)
ScriptLib.ShowClientTutorial(context,862,{})
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_5015(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_5015(context, evt)
-- 永久关闭CongfigId的Gadget需要和Groups的RefreshWithBlock标签搭配
if 0 ~= ScriptLib.KillEntityByConfigId(context, { config_id = 5004 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_entity_by_configId")
return -1
end
-- 创建id为5013的gadget
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 5013 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget")
return -1
end
-- 添加suite2的新内容
ScriptLib.AddExtraGroupSuite(context, 235848003, 2)
-- 添加suite3的新内容
ScriptLib.AddExtraGroupSuite(context, 235848003, 3)
-- 删除suite6的所有内容
ScriptLib.RemoveExtraGroupSuite(context, 235848005, 6)
return 0
end
require "V2_8/DLActivityDungeon"

View File

@@ -0,0 +1,289 @@
-- 基础信息
local base_info = {
group_id = 235848006
}
-- DEFS_MISCS
local defs = {
--起始操作台
starter =6002,
--起始操作台选项
option_id = 94,
--波次之间延时 秒
delay = 3,
--挑战总时限 秒
time_limit = 60,
--挑战ID
challenge_id =2010053,
--怪物潮信息
--monsters填入怪物configID
--当场上本列表的怪数量小于min时触发补怪补至max。max勿超过mosnters数量
--spec_event:随着本怪物潮的出现而发生的关卡事件。为LD约定好的枚举。
tide_cfg = {
[1] = { monsters = {6004}, min = 1, max = 1},
},
--怪物潮随机表
--随机固定顺序怪物潮组合 每次进地城随机取key。
--key对应value代表依序出现的MonsterTide小花括号内配置复数个表示同时刷出。
rand_table = {
[1] =
{
{1},
},
},
--谁的地城 1-万叶 2-辛焱 3-菲谢尔 4-莫娜
type = 1,
--莫娜、辛焱需配这里-随机suite池
rand_suites = {},
--万叶、菲谢尔需配这里-生成buff随机点位configIDs
point_list = {6005,6006,6007},
--万叶、菲谢尔需配这里-buff物件池
buff_pool = {6008,6009,6010},
--万叶、菲谢尔需配这里-buff物件每次刷几个
buff_count = 3,
--万叶、菲谢尔需配这里-限定buff物件池
buff_pool_spec = {},
--是否教学关
is_tutorial = 1,
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
[6004] = { config_id = 6004, monster_id = 24010101, pos = { x = 107.059, y = 85.400, z = 763.045 }, rot = { x = 0.000, y = 108.352, z = 0.000 }, level = 1, affix = { 1007 }, pose_id = 100 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
[6001] = { config_id = 6001, gadget_id = 70360010, pos = { x = 114.965, y = 85.333, z = 757.812 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[6002] = { config_id = 6002, gadget_id = 70360001, pos = { x = 114.965, y = 85.333, z = 757.812 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, worktop_config = { init_options = { 94 } } },
[6005] = { config_id = 6005, gadget_id = 70350085, pos = { x = 110.514, y = 85.938, z = 761.601 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[6006] = { config_id = 6006, gadget_id = 70350085, pos = { x = 114.148, y = 86.027, z = 749.755 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[6007] = { config_id = 6007, gadget_id = 70350085, pos = { x = 122.681, y = 86.045, z = 761.208 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[6008] = { config_id = 6008, gadget_id = 70310318, pos = { x = 97.416, y = 87.568, z = 762.155 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[6009] = { config_id = 6009, gadget_id = 70310319, pos = { x = 99.120, y = 86.849, z = 766.853 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[6010] = { config_id = 6010, gadget_id = 70310320, pos = { x = 103.022, y = 86.969, z = 773.509 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
[6012] = { config_id = 6012, gadget_id = 70900201, pos = { x = 114.965, y = 86.126, z = 757.812 }, rot = { x = 0.000, y = 161.540, z = 0.000 }, level = 1 },
[6014] = { config_id = 6014, gadget_id = 70360001, pos = { x = 115.584, y = 85.400, z = 756.273 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
[6013] = { config_id = 6013, shape = RegionShape.SPHERE, radius = 10, pos = { x = 114.660, y = 85.400, z = 758.086 } }
}
-- 触发器
triggers = {
{ config_id = 1006003, name = "SELECT_OPTION_6003", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_6003", action = "action_EVENT_SELECT_OPTION_6003", trigger_count = 0 },
{ config_id = 1006011, name = "ANY_MONSTER_DIE_6011", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_6011", action = "action_EVENT_ANY_MONSTER_DIE_6011", trigger_count = 0 },
{ config_id = 1006013, name = "ENTER_REGION_6013", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_6013", action = "action_EVENT_ENTER_REGION_6013", trigger_count = 0 },
{ config_id = 1006015, name = "GADGET_CREATE_6015", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_6015", action = "action_EVENT_GADGET_CREATE_6015", trigger_count = 0 },
{ config_id = 1006016, name = "GADGET_CREATE_6016", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_6016", action = "action_EVENT_GADGET_CREATE_6016", trigger_count = 0 }
}
-- 变量
variables = {
{ config_id = 1, name = "suite", value = 0, no_refresh = true }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 6014 },
regions = { },
triggers = { "GADGET_CREATE_6016" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { 6005, 6006, 6007, 6008, 6009, 6010 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { 6012 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { },
gadgets = { 6001, 6002 },
regions = { 6013 },
triggers = { "SELECT_OPTION_6003", "ANY_MONSTER_DIE_6011", "ENTER_REGION_6013", "GADGET_CREATE_6015" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SELECT_OPTION_6003(context, evt)
-- 判断是gadgetid 6002 option_id 94
if 6002 ~= evt.param1 then
return false
end
if 94 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_6003(context, evt)
-- 删除指定group 235848006 指定config6002物件身上指定option94
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 235848006, 6002, 94) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 将configid为 6001 的物件更改为状态 GadgetState.GearStop
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 6001, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 删除suite3的所有内容
ScriptLib.RemoveExtraGroupSuite(context, 235848006, 3)
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_6011(context, evt)
-- 判断指定group组剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCountByGroupId(context, 235848006) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_6011(context, evt)
-- 添加suite4的新内容
ScriptLib.AddExtraGroupSuite(context, 235848005, 4)
-- 添加suite3的新内容
ScriptLib.AddExtraGroupSuite(context, 235848001, 3)
-- 添加suite4的新内容
ScriptLib.AddExtraGroupSuite(context, 235848001, 4)
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_6013(context, evt)
if evt.param1 ~= 6013 then return false end
-- 判断角色数量不少于1
if ScriptLib.GetRegionEntityCount(context, { region_eid = evt.source_eid, entity_type = EntityType.AVATAR }) < 1 then
return false
end
if 0~=ScriptLib.GetExhibitionAccumulableData(context,context.uid,11401109) then
return false
end
return true
end
-- 触发操作
function action_EVENT_ENTER_REGION_6013(context, evt)
ScriptLib.AddExhibitionAccumulableData(context, context.uid,"Activity_SummerTimeV2_Kazuha_Guide2", 1)
ScriptLib.ShowClientTutorial(context,863,{})
return 0
end
-- 触发条件
function condition_EVENT_GADGET_CREATE_6015(context, evt)
if 6001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_6015(context, evt)
-- 将本组内变量名为 "suite" 的变量设置为 1
if 0 ~= ScriptLib.SetGroupVariableValue(context, "suite", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_groupVariable")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_GADGET_CREATE_6016(context, evt)
if 6014 ~= evt.param1 then
return false
end
-- 判断变量"suite"为1
if ScriptLib.GetGroupVariableValue(context, "suite") ~= 1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_6016(context, evt)
-- 添加suite4的新内容
ScriptLib.AddExtraGroupSuite(context, 235848006, 4)
return 0
end
require "V2_8/DLActivityDungeon"

View File

@@ -0,0 +1,570 @@
{
"areas": {},
"doors": {},
"entities": {
"1": {
"$type": "ConfigLocalTrigger",
"alias": "",
"areaId": 0,
"checkCount": 0,
"checkDist": 1000.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": 126.6587,
"y": 32.65591,
"z": 586.5646
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"shape": {
"$type": "ConfigShapeRect",
"centerType": "BottomCenter",
"height": 30.0,
"heightType": "Center",
"length": 700.0,
"useHeight": true,
"width": 700.0
},
"stringParam": "",
"tranPos": {
"x": 126.658737,
"y": 85.4,
"z": 696.4222
},
"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": 1000.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": 126.6587,
"y": 32.65591,
"z": 548.8553
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"shape": {
"$type": "ConfigShapeRect",
"centerType": "BottomCenter",
"height": 300.0,
"heightType": "Center",
"length": 50.0,
"useHeight": true,
"width": 700.0
},
"stringParam": "",
"tranPos": {
"x": 126.658737,
"y": 85.4,
"z": 696.4222
},
"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": 1000.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": -57.02858,
"y": 32.65591,
"z": 543.5251
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"shape": {
"$type": "ConfigShapeRect",
"centerType": "BottomCenter",
"height": 300.0,
"heightType": "Center",
"length": 500.0,
"useHeight": true,
"width": 50.0
},
"stringParam": "",
"tranPos": {
"x": 126.658737,
"y": 85.4,
"z": 696.4222
},
"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": 1000.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": 126.6587,
"y": 32.65591,
"z": 956.139
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"shape": {
"$type": "ConfigShapeRect",
"centerType": "Center",
"height": 300.0,
"heightType": "Center",
"length": 50.0,
"useHeight": true,
"width": 700.0
},
"stringParam": "",
"tranPos": {
"x": 126.658737,
"y": 85.4,
"z": 696.4222
},
"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": 1000.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": 245.5324,
"y": 32.65591,
"z": 543.5873
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"shape": {
"$type": "ConfigShapeRect",
"centerType": "BottomCenter",
"height": 300.0,
"heightType": "Center",
"length": 500.0,
"useHeight": true,
"width": 50.0
},
"stringParam": "",
"tranPos": {
"x": 126.658737,
"y": 85.4,
"z": 696.4222
},
"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": 1000.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": 101.5924,
"y": 29.48204,
"z": 937.0992
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"shape": {
"$type": "ConfigShapeRect",
"centerType": "Center",
"height": 100.0,
"heightType": "Center",
"length": 200.0,
"useHeight": true,
"width": 200.0
},
"stringParam": "",
"tranPos": {
"x": 126.658737,
"y": 85.4,
"z": 696.4222
},
"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": "DungeonQuitPoint",
"alias": "",
"areaId": 0,
"gadgetId": 70120004,
"groupLimit": false,
"isModelHidden": false,
"pointType": "DungeonQuitPoint",
"pos": {
"x": 31.06325,
"y": 83.33674,
"z": 651.8708
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"size": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranPos": {
"x": -36.88599,
"y": -3.471242,
"z": -50.22089
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": false
},
"2": {
"$type": "DungeonSlipRevivePoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70010006,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isModelHidden": false,
"pointType": "DungeonSlipRevivePoint",
"pos": {
"x": 119.1111,
"y": 85.62148,
"z": 750.8168
},
"rot": {
"x": 0.0,
"y": 318.0943,
"z": 0.0
},
"size": {
"x": 10.0,
"y": 10.0,
"z": 10.0
},
"tranPos": {
"x": 119.111122,
"y": 85.6214752,
"z": 750.8168
},
"tranRot": {
"x": 0.0,
"y": 318.0943,
"z": 0.0
},
"type": "NORMAL",
"unlocked": false
},
"3": {
"$type": "DungeonWayPoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70010006,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isBoss": false,
"isModelHidden": false,
"pointType": "DungeonWayPoint",
"pos": {
"x": 119.1111,
"y": 85.62148,
"z": 750.8168
},
"rot": {
"x": 0.0,
"y": 318.0943,
"z": 0.0
},
"size": {
"x": 10.0,
"y": 10.0,
"z": 10.0
},
"tranPos": {
"x": 121.436676,
"y": 85.6214752,
"z": 750.060669
},
"tranRot": {
"x": 0.0,
"y": 298.6809,
"z": 0.0
},
"type": "NORMAL",
"unlocked": false
},
"4": {
"$type": "DungeonSlipRevivePoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70010006,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isModelHidden": false,
"pointType": "DungeonSlipRevivePoint",
"pos": {
"x": 74.64005,
"y": 106.2026,
"z": 868.9555
},
"rot": {
"x": 0.0,
"y": 354.9026,
"z": 0.0
},
"size": {
"x": 50.0,
"y": 50.0,
"z": 10.0
},
"tranPos": {
"x": 74.64005,
"y": 106.2026,
"z": 868.9555
},
"tranRot": {
"x": 0.0,
"y": 354.9026,
"z": 0.0
},
"type": "NORMAL",
"unlocked": false
},
"5": {
"$type": "DungeonWayPoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70010006,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isBoss": false,
"isModelHidden": false,
"pointType": "DungeonWayPoint",
"pos": {
"x": 74.64005,
"y": 106.2026,
"z": 868.9555
},
"rot": {
"x": 0.0,
"y": 354.9026,
"z": 0.0
},
"size": {
"x": 50.0,
"y": 50.0,
"z": 10.0
},
"tranPos": {
"x": 74.64005,
"y": 106.2026,
"z": 868.9555
},
"tranRot": {
"x": 0.0,
"y": 354.9026,
"z": 0.0
},
"type": "NORMAL",
"unlocked": false
}
},
"transRadius": 0.0
}