添加配置表

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 = -3509.6, z = -3509.6 },
size = { x = 7019.3, z = 7019.3 },
born_pos = { x = -122.190, y = -36.695, z = 70.579 },
born_rot = { x = 0.000, y = 84.004, z = 0.000 },
die_y = -100,
city_id = 1,
vision_anchor = { x = -3509.6, z = -3509.6 }
}
-- 所有的区块
blocks = { 20026 }
-- 所有的区块范围坐标
block_rects = {
{ min = { x = -3509.6, z = -3509.6 }, max = { x = 3509.6, z = 3509.6 } }
}
-- Dummy Points
dummy_points = { }
-- Routes
routes_config = { "routes" }

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,24 @@
-- 所有的group
groups = {
{ id = 220026002, refresh_id = 1002, pos = { x = -43.579, y = -32.562, z = 69.222 } },
{ id = 220026003, refresh_id = 1002, pos = { x = -56.976, y = -67.400, z = -162.629 } },
{ id = 220026004, pos = { x = -52.906, y = -67.400, z = -214.391 } },
{ id = 220026005, refresh_id = 1001, pos = { x = -48.991, y = -34.897, z = 3.171 } },
{ id = 220026006, refresh_id = 1002, pos = { x = -53.374, y = -67.470, z = -115.964 } },
{ id = 220026007, refresh_id = 1001, pos = { x = -50.628, y = -67.400, z = -210.817 } },
{ id = 220026008, refresh_id = 1001, pos = { x = -66.524, y = -34.963, z = 105.062 } },
{ id = 220026009, pos = { x = -65.303, y = -80.249, z = -207.582 } },
{ id = 220026010, refresh_id = 1, pos = { x = 121.872, y = -92.292, z = -204.163 } },
{ id = 220026011, refresh_id = 1, pos = { x = 162.170, y = -89.485, z = -199.716 } },
{ id = 220026012, refresh_id = 1001, pos = { x = -40.151, y = -32.312, z = 72.754 } },
{ id = 220026013, pos = { x = -45.201, y = -32.312, z = 67.487 } },
{ id = 220026014, refresh_id = 1002, pos = { x = -51.256, y = -52.648, z = -19.883 } },
{ id = 220026015, refresh_id = 1, pos = { x = -92.268, y = -80.249, z = -201.519 } },
{ id = 220026016, refresh_id = 1003, pos = { x = 131.571, y = -92.292, z = -208.410 } },
{ id = 220026017, refresh_id = 1, pos = { x = -62.154, y = -67.481, z = -157.324 } },
{ id = 220026018, refresh_id = 1, pos = { x = 119.720, y = -92.292, z = -197.827 } },
{ id = 220026019, refresh_id = 1, pos = { x = 126.170, y = -92.292, z = -194.120 } },
{ id = 220026020, refresh_id = 1002, pos = { x = 131.105, y = -92.292, z = -195.505 } },
{ id = 220026022, refresh_id = 1, pos = { x = -111.853, y = -37.346, z = 71.216 } },
{ id = 220026023, refresh_id = 1, pos = { x = 130.344, y = -92.292, z = -201.909 } }
}

View File

@@ -0,0 +1,139 @@
-- 基础信息
local base_info = {
group_id = 220026002
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 1, monster_id = 21010201, pos = { x = -32.396, y = -32.312, z = 71.972 }, rot = { x = 0.000, y = 231.378, z = 0.000 }, level = 1, disableWander = true, pose_id = 9003 },
{ config_id = 3, monster_id = 24010101, pos = { x = -61.247, y = -32.312, z = 72.982 }, rot = { x = 0.000, y = 92.700, z = 0.000 }, level = 1, pose_id = 101 },
{ config_id = 8, monster_id = 21020101, pos = { x = -38.465, y = -32.312, z = 61.751 }, rot = { x = 0.000, y = 69.048, z = 0.000 }, level = 1, disableWander = true, pose_id = 401 },
{ config_id = 18, monster_id = 21010301, pos = { x = -36.374, y = -32.312, z = 68.093 }, rot = { x = 0.000, y = 137.812, z = 0.000 }, level = 1, disableWander = true, pose_id = 9012 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 25, gadget_id = 70350009, pos = { x = -45.698, y = -32.537, z = 33.414 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 54, gadget_id = 70220014, pos = { x = -33.644, y = -32.357, z = 62.412 }, rot = { x = 0.000, y = 323.295, z = 0.000 }, level = 1 },
{ config_id = 55, gadget_id = 70220014, pos = { x = -32.869, y = -32.372, z = 64.521 }, rot = { x = 0.000, y = 338.859, z = 0.000 }, level = 1 },
{ config_id = 88, gadget_id = 70220013, pos = { x = -55.390, y = -32.312, z = 77.242 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 89, gadget_id = 70220013, pos = { x = -56.914, y = -32.312, z = 79.057 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 90, gadget_id = 70220013, pos = { x = -59.403, y = -32.312, z = 79.103 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 91, gadget_id = 70220013, pos = { x = -62.431, y = -32.312, z = 79.008 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 2001, gadget_id = 70220013, pos = { x = -31.162, y = -32.312, z = 62.524 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 2002, gadget_id = 70220013, pos = { x = -32.559, y = -32.312, z = 59.985 }, rot = { x = 0.000, y = 331.920, z = 0.000 }, level = 1 },
{ config_id = 2003, gadget_id = 70220014, pos = { x = -29.401, y = -32.312, z = 63.039 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 2004, gadget_id = 70220014, pos = { x = -29.905, y = -31.868, z = 64.147 }, rot = { x = 293.288, y = 7.429, z = 102.930 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1000004, name = "ANY_MONSTER_DIE_4", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_4", action = "action_EVENT_ANY_MONSTER_DIE_4" },
{ config_id = 1000013, name = "ANY_MONSTER_DIE_13", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_13", action = "action_EVENT_ANY_MONSTER_DIE_13" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 1, 3, 8, 18 },
gadgets = { 25, 54, 55, 88, 89, 90, 91, 2003, 2004 },
regions = { },
triggers = { "ANY_MONSTER_DIE_4" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_4(context, evt)
-- 判断指定group组剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCountByGroupId(context, 220026002) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_4(context, evt)
-- 将configid为 25 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 25, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 触发镜头注目,注目位置为坐标(-45-2033持续时间为2秒并且为强制注目形式不广播其他玩家
local pos = {x=-45, y=-20, z=33}
local pos_follow = {x=0, y=0, z=0}
if 0 ~= ScriptLib.BeginCameraSceneLook(context, { look_pos = pos, is_allow_input = false, duration = 2, is_force = true, is_broadcast = false, is_recover_keep_current = true, delay = 0,
is_set_follow_pos = false, follow_pos = pos_follow, is_force_walk = false, is_change_play_mode = false,
is_set_screen_XY = false, screen_x = 0, screen_y = 0 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_cameraLook_Begin")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_13(context, evt)
if 8 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_13(context, evt)
-- 重新生成指定group指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220026012, suite = 2 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end

View File

@@ -0,0 +1,225 @@
-- 基础信息
local base_info = {
group_id = 220026003
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 3001, monster_id = 23020101, pos = { x = -56.921, y = -67.400, z = -167.900 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 3002, monster_id = 21010501, pos = { x = -69.164, y = -67.481, z = -171.060 }, rot = { x = 0.000, y = 27.526, z = 0.000 }, level = 1, pose_id = 32 },
{ config_id = 3003, monster_id = 21010501, pos = { x = -43.745, y = -67.481, z = -150.805 }, rot = { x = 0.000, y = 241.644, z = 0.000 }, level = 1, pose_id = 32 },
{ config_id = 3004, monster_id = 21011001, pos = { x = -43.646, y = -67.481, z = -170.814 }, rot = { x = 0.000, y = 338.134, z = 0.000 }, level = 1, pose_id = 32 },
{ config_id = 3005, monster_id = 21011001, pos = { x = -69.259, y = -67.481, z = -150.636 }, rot = { x = 0.000, y = 144.514, z = 0.000 }, level = 1, pose_id = 32 },
{ config_id = 3006, monster_id = 21010901, pos = { x = -58.965, y = -67.481, z = -171.455 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, pose_id = 32 },
{ config_id = 3007, monster_id = 21010901, pos = { x = -56.367, y = -67.481, z = -150.728 }, rot = { x = 0.000, y = 186.138, z = 0.000 }, level = 1, pose_id = 32 },
{ config_id = 3008, monster_id = 21011001, pos = { x = -43.388, y = -67.481, z = -160.624 }, rot = { x = 0.000, y = 285.621, z = 0.000 }, level = 1, pose_id = 32 },
{ config_id = 3009, monster_id = 21011001, pos = { x = -69.221, y = -67.481, z = -159.398 }, rot = { x = 0.000, y = 98.202, z = 0.000 }, level = 1, pose_id = 32 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 3010, gadget_id = 70350009, pos = { x = -56.556, y = -67.400, z = -135.723 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearStart },
{ config_id = 3011, gadget_id = 70350009, pos = { x = -56.969, y = -67.836, z = -187.111 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3012, gadget_id = 70220014, pos = { x = -98.279, y = -80.249, z = -202.804 }, rot = { x = 0.000, y = 56.770, z = 0.000 }, level = 1 },
{ config_id = 3013, gadget_id = 70220014, pos = { x = -98.590, y = -80.249, z = -200.117 }, rot = { x = 0.000, y = 119.395, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1000020, name = "SPECIFIC_MONSTER_HP_CHANGE_20", event = EventType.EVENT_SPECIFIC_MONSTER_HP_CHANGE, source = "3001", condition = "condition_EVENT_SPECIFIC_MONSTER_HP_CHANGE_20", action = "action_EVENT_SPECIFIC_MONSTER_HP_CHANGE_20" },
{ config_id = 1000031, name = "ANY_MONSTER_LIVE_31", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_31", action = "action_EVENT_ANY_MONSTER_LIVE_31" },
{ config_id = 1000034, name = "CHALLENGE_FAIL_34", event = EventType.EVENT_CHALLENGE_FAIL, source = "1", condition = "", action = "action_EVENT_CHALLENGE_FAIL_34" },
{ config_id = 1000035, name = "CHALLENGE_SUCCESS_35", event = EventType.EVENT_CHALLENGE_SUCCESS, source = "1", condition = "", action = "action_EVENT_CHALLENGE_SUCCESS_35" }
}
-- 变量
variables = {
{ config_id = 1, name = "Key", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 2,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 3001, 3002, 3003, 3004, 3005 },
gadgets = { 3010, 3011, 3012, 3013 },
regions = { },
triggers = { "SPECIFIC_MONSTER_HP_CHANGE_20", "ANY_MONSTER_LIVE_31", "CHALLENGE_FAIL_34", "CHALLENGE_SUCCESS_35" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = suite_2,
monsters = { },
gadgets = { 3010, 3011 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_SPECIFIC_MONSTER_HP_CHANGE_20(context, evt)
--[[判断指定configid的怪物的血量小于%50时触发指定后续操作]]--
if evt.type ~= EventType.EVENT_SPECIFIC_MONSTER_HP_CHANGE or evt.param3 > 50 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SPECIFIC_MONSTER_HP_CHANGE_20(context, evt)
-- 延迟0秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 3006, delay_time = 0 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
return -1
end
-- 延迟0秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 3007, delay_time = 0 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
return -1
end
-- 延迟0秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 3008, delay_time = 0 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
return -1
end
-- 延迟0秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 3009, delay_time = 0 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_31(context, evt)
if 3001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_31(context, evt)
-- 创建编号为1该挑战的识别id),挑战内容为183的区域挑战具体参数填写方式见DungeonChallengeData表中的注释所有填写的值都必须是int类型
if 0 ~= ScriptLib.ActiveChallenge(context, 1, 183, 480, 220026003, 9, 0) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_challenge")
return -1
end
-- 改变指定group组220026017中 configid为111的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220026017, 111, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
-- 删除指定group 220026017 指定config111物件身上指定option7
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 220026017, 111, 7) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_CHALLENGE_FAIL_34(context, evt)
-- 改变指定group组220026017中 configid为111的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220026017, 111, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
-- 设置操作台选项
if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, 220026017, 111, {7}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid")
return -1
end
-- 重新生成指定group指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220026003, suite = 2 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_CHALLENGE_SUCCESS_35(context, evt)
-- 改变指定group组220026003中 configid为3011的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220026003, 3011, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
-- 触发镜头注目,注目位置为坐标(-56-55-186持续时间为2秒并且为强制注目形式不广播其他玩家
local pos = {x=-56, y=-55, z=-186}
local pos_follow = {x=0, y=0, z=0}
if 0 ~= ScriptLib.BeginCameraSceneLook(context, { look_pos = pos, is_allow_input = false, duration = 2, is_force = true, is_broadcast = false, is_recover_keep_current = true, delay = 0,
is_set_follow_pos = false, follow_pos = pos_follow, is_force_walk = false, is_change_play_mode = false,
is_set_screen_XY = false, screen_x = 0, screen_y = 0 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_cameraLook_Begin")
return -1
end
-- 改变指定group组220026003中 configid为3010的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220026003, 3010, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
-- 改变指定group组220026003中 configid为3010的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220026003, 3010, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
return 0
end

View File

@@ -0,0 +1,71 @@
-- 基础信息
local base_info = {
group_id = 220026004
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
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
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,79 @@
-- 基础信息
local base_info = {
group_id = 220026005
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 39, monster_id = 21011001, pos = { x = -72.924, y = -54.001, z = -23.065 }, rot = { x = 0.000, y = 71.733, z = 0.000 }, level = 1, pose_id = 32 },
{ config_id = 40, monster_id = 21010901, pos = { x = -70.176, y = -48.300, z = -46.222 }, rot = { x = 0.000, y = 37.757, z = 0.000 }, level = 1, pose_id = 32 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 50, gadget_id = 70220014, pos = { x = -37.628, y = -58.274, z = -20.473 }, rot = { x = 0.000, y = 154.617, z = 0.000 }, level = 1 },
{ config_id = 51, gadget_id = 70220014, pos = { x = -72.947, y = -48.345, z = -48.629 }, rot = { x = 0.000, y = 38.995, z = 0.000 }, level = 1 },
{ config_id = 52, gadget_id = 70220014, pos = { x = -36.894, y = -50.202, z = -52.647 }, rot = { x = 0.000, y = 209.498, z = 0.000 }, level = 1 },
{ config_id = 64, gadget_id = 70360021, pos = { x = -29.996, y = -42.905, z = -4.608 }, rot = { x = 0.000, y = 270.716, z = 0.000 }, level = 1, state = GadgetState.GearStart, route_id = 1 },
{ config_id = 65, gadget_id = 70360021, pos = { x = -31.870, y = -48.978, z = -31.826 }, rot = { x = 0.000, y = 270.716, z = 0.000 }, level = 1, state = GadgetState.GearStart, route_id = 2 },
{ config_id = 113, gadget_id = 70220014, pos = { x = -75.285, y = -54.045, z = -24.632 }, 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 = { 39, 40 },
gadgets = { 50, 51, 52, 64, 65, 113 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,100 @@
-- 基础信息
local base_info = {
group_id = 220026006
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 10, monster_id = 21020101, pos = { x = -56.438, y = -67.524, z = -128.248 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, pose_id = 401 },
{ config_id = 11, monster_id = 21011001, pos = { x = -77.103, y = -67.470, z = -123.164 }, rot = { x = 0.000, y = 68.738, z = 0.000 }, level = 1, disableWander = true, pose_id = 32 },
{ config_id = 12, monster_id = 21010901, pos = { x = -34.928, y = -67.458, z = -119.442 }, rot = { x = 0.000, y = 279.254, z = 0.000 }, level = 1, disableWander = true, pose_id = 32 },
{ config_id = 44, monster_id = 21011001, pos = { x = -78.710, y = -67.648, z = -117.188 }, rot = { x = 0.000, y = 92.600, z = 0.000 }, level = 1, disableWander = true, pose_id = 32 },
{ config_id = 45, monster_id = 21010901, pos = { x = -34.901, y = -67.648, z = -126.159 }, rot = { x = 0.000, y = 279.254, z = 0.000 }, level = 1, disableWander = true, pose_id = 32 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 57, gadget_id = 70220014, pos = { x = -21.028, y = -67.470, z = -123.141 }, rot = { x = 0.000, y = 314.918, z = 0.000 }, level = 1 },
{ config_id = 58, gadget_id = 70220014, pos = { x = -19.875, y = -67.470, z = -118.337 }, rot = { x = 0.000, y = 303.861, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1000008, name = "ANY_MONSTER_DIE_8", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_8", action = "action_EVENT_ANY_MONSTER_DIE_8" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 10, 11, 12, 44, 45 },
gadgets = { 57, 58 },
regions = { },
triggers = { "ANY_MONSTER_DIE_8" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_8(context, evt)
-- 判断指定group组剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCountByGroupId(context, 220026006) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_8(context, evt)
-- 改变指定group组220026003中 configid为3010的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220026003, 3010, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
return 0
end

View File

@@ -0,0 +1,97 @@
-- 基础信息
local base_info = {
group_id = 220026007
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 24, monster_id = 21010901, pos = { x = 31.240, y = -92.329, z = -203.850 }, rot = { x = 0.000, y = 268.156, z = 0.000 }, level = 1, pose_id = 32 },
{ config_id = 43, monster_id = 21010901, pos = { x = 31.582, y = -92.329, z = -198.807 }, rot = { x = 0.000, y = 264.700, z = 0.000 }, level = 1, pose_id = 32 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 72, gadget_id = 70220014, pos = { x = -1.240, y = -88.830, z = -207.446 }, rot = { x = 0.000, y = 302.971, z = 0.000 }, level = 1 },
{ config_id = 73, gadget_id = 70220014, pos = { x = 11.596, y = -90.730, z = -199.330 }, rot = { x = 0.000, y = 233.355, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1000039, name = "ANY_MONSTER_DIE_39", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_39", action = "action_EVENT_ANY_MONSTER_DIE_39" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 24, 43 },
gadgets = { 72, 73 },
regions = { },
triggers = { "ANY_MONSTER_DIE_39" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_39(context, evt)
-- 判断指定group组剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCountByGroupId(context, 220026007) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_39(context, evt)
-- 将configid为 0 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 0, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end

View File

@@ -0,0 +1,75 @@
-- 基础信息
local base_info = {
group_id = 220026008
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 16, monster_id = 21010501, pos = { x = -68.969, y = -32.418, z = 83.712 }, rot = { x = 0.000, y = 232.660, z = 0.000 }, level = 1, disableWander = true, pose_id = 32 },
{ config_id = 17, monster_id = 21011001, pos = { x = -68.981, y = -32.428, z = 94.665 }, rot = { x = 0.000, y = 225.043, z = 0.000 }, level = 1, pose_id = 32 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 86, gadget_id = 70220014, pos = { x = -69.358, y = -32.532, z = 85.322 }, rot = { x = 0.000, y = 354.944, z = 0.000 }, level = 1 },
{ config_id = 87, gadget_id = 70220013, pos = { x = -67.323, y = -32.532, z = 85.532 }, 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 = { 16, 17 },
gadgets = { 86, 87 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,71 @@
-- 基础信息
local base_info = {
group_id = 220026009
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
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
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,187 @@
-- 基础信息
local base_info = {
group_id = 220026010
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 74, gadget_id = 70350014, pos = { x = 98.381, y = -92.710, z = -200.981 }, rot = { x = 0.000, y = 272.428, z = 0.000 }, level = 1, state = GadgetState.GearStart },
{ config_id = 75, gadget_id = 70350013, pos = { x = 148.861, y = -92.292, z = -201.081 }, rot = { x = 0.000, y = 270.642, z = 0.000 }, level = 1 },
{ config_id = 107, gadget_id = 70360010, pos = { x = 124.462, y = -92.221, z = -201.134 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearStop }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1000011, name = "ANY_MONSTER_DIE_11", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_11", action = "action_EVENT_ANY_MONSTER_DIE_11" },
{ config_id = 1000016, name = "SELECT_OPTION_16", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_16", action = "action_EVENT_SELECT_OPTION_16", trigger_count = 0, forbid_guest = false }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 74, 75, 107 },
regions = { },
triggers = { "ANY_MONSTER_DIE_11", "SELECT_OPTION_16" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_11(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_11(context, evt)
-- 将configid为 75 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 75, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_SELECT_OPTION_16(context, evt)
-- 判断是gadgetid 107 option_id 7
if 107 ~= evt.param1 then
return false
end
if 7 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_16(context, evt)
-- 将configid为 107 的物件更改为状态 GadgetState.GearStop
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 107, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 重新生成指定group指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220026016, suite = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
-- 删除指定group 220026010 指定config107物件身上指定option7
if 0 ~= ScriptLib.DelWorktopOptionByGroupId(context, 220026010, 107, 7) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : del_work_options_by_group_configId")
return -1
end
-- 触发镜头注目注目位置为坐标134-92-200持续时间为2秒并且为强制注目形式不广播其他玩家
local pos = {x=134, y=-92, z=-200}
local pos_follow = {x=0, y=0, z=0}
if 0 ~= ScriptLib.BeginCameraSceneLook(context, { look_pos = pos, is_allow_input = false, duration = 2, is_force = true, is_broadcast = false, is_recover_keep_current = true, delay = 0,
is_set_follow_pos = false, follow_pos = pos_follow, is_force_walk = false, is_change_play_mode = false,
is_set_screen_XY = false, screen_x = 0, screen_y = 0 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_cameraLook_Begin")
return -1
end
-- 改变指定group组220026010中 configid为74的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220026010, 74, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
-- 改变指定group组220026019中 configid为114的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220026019, 114, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
-- 改变指定group组220026019中 configid为117的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220026019, 117, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
-- 改变指定group组220026019中 configid为119的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220026019, 119, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
-- 改变指定group组220026019中 configid为120的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220026019, 120, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
-- 改变指定group组220026019中 configid为121的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220026019, 121, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
-- 改变指定group组220026019中 configid为122的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220026019, 122, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
return 0
end

View File

@@ -0,0 +1,120 @@
-- 基础信息
local base_info = {
group_id = 220026011
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 76, gadget_id = 70340014, pos = { x = 190.927, y = -92.440, z = -201.034 }, rot = { x = 0.000, y = 267.400, z = 0.000 }, level = 1 },
{ config_id = 77, gadget_id = 70350008, pos = { x = 187.300, y = -89.400, z = -201.000 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1 },
{ config_id = 78, gadget_id = 70350008, pos = { x = 187.700, y = -89.400, z = -201.800 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 79, gadget_id = 70350008, pos = { x = 187.300, y = -89.400, z = -200.400 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 80, gadget_id = 70350008, pos = { x = 187.300, y = -89.400, z = -201.000 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 81, gadget_id = 70350008, pos = { x = 187.300, y = -89.400, z = -201.000 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 82, gadget_id = 70350008, pos = { x = 187.300, y = -89.400, z = -201.000 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 83, gadget_id = 70350008, pos = { x = 187.300, y = -89.400, z = -201.000 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 84, gadget_id = 70350008, pos = { x = 187.300, y = -89.400, z = -201.000 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 85, gadget_id = 70350008, pos = { x = 187.300, y = -89.400, z = -201.000 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1000012, name = "DUNGEON_SETTLE_12", event = EventType.EVENT_DUNGEON_SETTLE, source = "", condition = "condition_EVENT_DUNGEON_SETTLE_12", action = "action_EVENT_DUNGEON_SETTLE_12" },
{ config_id = 1011001, name = "DUNGEON_REWARD_GET_11001", event = EventType.EVENT_DUNGEON_REWARD_GET, source = "", condition = "", action = "action_EVENT_DUNGEON_REWARD_GET_11001" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { "DUNGEON_SETTLE_12" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_DUNGEON_SETTLE_12(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_DUNGEON_SETTLE_12(context, evt)
-- 将configid为 76 的物件更改为状态 GadgetState.StatueActive
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 76, GadgetState.StatueActive) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 改变指定group组220026010中 configid为74的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220026010, 74, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_DUNGEON_REWARD_GET_11001(context, evt)
-- 将configid为 76 的物件更改为状态 GadgetState.GearStop
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 76, GadgetState.GearStop) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end

View File

@@ -0,0 +1,85 @@
-- 基础信息
local base_info = {
group_id = 220026012
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 27, monster_id = 20011201, pos = { x = -38.377, y = -26.861, z = 71.246 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 28, monster_id = 20011201, pos = { x = -45.736, y = -26.861, z = 76.719 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 29, monster_id = 20011201, pos = { x = -53.351, y = -26.861, z = 68.521 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 30, monster_id = 20011201, pos = { x = -45.473, y = -26.861, z = 59.723 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 31, monster_id = 20011201, pos = { x = -45.513, y = -26.861, z = 68.636 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
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 = suite_2,
monsters = { 27, 28, 29, 30, 31 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,80 @@
-- 基础信息
local base_info = {
group_id = 220026013
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
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 = suite_2,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,93 @@
-- 基础信息
local base_info = {
group_id = 220026014
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 32, monster_id = 22010301, pos = { x = -54.389, y = -53.040, z = -49.187 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 92, gadget_id = 70220013, pos = { x = -91.213, y = -67.607, z = -126.432 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 93, gadget_id = 70220013, pos = { x = -93.352, y = -67.607, z = -124.295 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 94, gadget_id = 70220013, pos = { x = -90.387, y = -67.607, z = -121.600 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 95, gadget_id = 70220013, pos = { x = -89.814, y = -67.607, z = -124.251 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 96, gadget_id = 70220013, pos = { x = -15.426, y = -67.540, z = -123.614 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 97, gadget_id = 70220013, pos = { x = -14.119, y = -67.540, z = -121.100 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 98, gadget_id = 70220013, pos = { x = -16.294, y = -67.540, z = -120.125 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 99, gadget_id = 70220013, pos = { x = -13.606, y = -67.540, z = -118.514 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
{ config_id = 14001, shape = RegionShape.SPHERE, radius = 32.3, pos = { x = -53.791, y = -48.005, z = -43.638 } }
}
-- 触发器
triggers = {
{ config_id = 1014001, name = "ENTER_REGION_14001", event = EventType.EVENT_ENTER_REGION, source = "", condition = "", action = "action_EVENT_ENTER_REGION_14001", forbid_guest = false }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 32 },
gadgets = { 92, 93, 94, 95, 96, 97, 98, 99 },
regions = { 14001 },
triggers = { "ENTER_REGION_14001" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_ENTER_REGION_14001(context, evt)
-- 改变指定group组220026003中 configid为3010的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220026003, 3010, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
return 0
end

View File

@@ -0,0 +1,79 @@
-- 基础信息
local base_info = {
group_id = 220026015
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 100, gadget_id = 70360021, pos = { x = -92.387, y = -80.375, z = -197.960 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, state = GadgetState.GearStart, route_id = 4 },
{ config_id = 101, gadget_id = 70360021, pos = { x = -74.761, y = -80.249, z = -213.070 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearStart, route_id = 5 },
{ config_id = 102, gadget_id = 70360021, pos = { x = -62.762, y = -80.249, z = -213.032 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearStart, route_id = 21 },
{ config_id = 103, gadget_id = 70360021, pos = { x = -62.755, y = -78.237, z = -213.113 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearStart, route_id = 7 },
{ config_id = 104, gadget_id = 70360021, pos = { x = -55.957, y = -80.249, z = -213.199 }, rot = { x = 90.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearStart, route_id = 8 },
{ config_id = 105, gadget_id = 70360021, pos = { x = -50.005, y = -80.249, z = -212.926 }, rot = { x = 90.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearStart, route_id = 9 },
{ config_id = 106, gadget_id = 70360021, pos = { x = -42.647, y = -80.249, z = -212.897 }, rot = { x = 90.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearStart, route_id = 10 },
{ config_id = 123, gadget_id = 70360021, pos = { x = -80.477, y = -70.721, z = -205.134 }, rot = { x = 90.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearStart, route_id = 20 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 100, 101, 102, 103, 104, 105, 106, 123 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,167 @@
-- 基础信息
local base_info = {
group_id = 220026016
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 25, monster_id = 20040101, pos = { x = 134.223, y = -92.292, z = -200.906 }, rot = { x = 0.000, y = 271.536, z = 0.000 }, level = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1000017, name = "ANY_MONSTER_LIVE_17", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_17", action = "action_EVENT_ANY_MONSTER_LIVE_17" },
{ config_id = 1000018, name = "CHALLENGE_FAIL_18", event = EventType.EVENT_CHALLENGE_FAIL, source = "2", condition = "", action = "action_EVENT_CHALLENGE_FAIL_18" },
{ config_id = 1000019, name = "CHALLENGE_SUCCESS_19", event = EventType.EVENT_CHALLENGE_SUCCESS, source = "2", condition = "", action = "action_EVENT_CHALLENGE_SUCCESS_19" },
{ config_id = 1000051, name = "ANY_MONSTER_DIE_51", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_51", action = "action_EVENT_ANY_MONSTER_DIE_51" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 2,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 25 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_17", "CHALLENGE_FAIL_18", "CHALLENGE_SUCCESS_19", "ANY_MONSTER_DIE_51" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = suite_2,
monsters = { },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_17", "CHALLENGE_FAIL_18", "CHALLENGE_SUCCESS_19" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_17(context, evt)
if 25 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_17(context, evt)
-- 创建编号为2该挑战的识别id),挑战内容为182的区域挑战具体参数填写方式见DungeonChallengeData表中的注释所有填写的值都必须是int类型
if 0 ~= ScriptLib.ActiveChallenge(context, 2, 182, 480, 220026016, 1, 0) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_challenge")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_CHALLENGE_FAIL_18(context, evt)
-- 改变指定group组220026010中 configid为107的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220026010, 107, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
-- 设置操作台选项
if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, 220026010, 107, {7}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid")
return -1
end
-- 重新生成指定group指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220026016, suite = 2 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
-- 改变指定group组220026010中 configid为74的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220026010, 74, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_CHALLENGE_SUCCESS_19(context, evt)
-- 改变指定group组220026010中 configid为74的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220026010, 74, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_51(context, evt)
--判断死亡怪物的configid是否为 26
if evt.param1 ~= 26 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_51(context, evt)
-- 延迟2秒后,向groupId为220026019的对象,请求一次调用,并将string参数"Boss" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 220026019, "Boss", 2) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
return 0
end

View File

@@ -0,0 +1,157 @@
-- 基础信息
local base_info = {
group_id = 220026017
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 111, gadget_id = 70360010, pos = { x = -56.259, y = -67.534, z = -160.439 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
{ config_id = 17001, shape = RegionShape.SPHERE, radius = 15.8, pos = { x = -55.005, y = -67.648, z = -102.644 } }
}
-- 触发器
triggers = {
{ config_id = 1000032, name = "GADGET_CREATE_32", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_32", action = "action_EVENT_GADGET_CREATE_32" },
{ config_id = 1000033, name = "SELECT_OPTION_33", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_33", action = "action_EVENT_SELECT_OPTION_33", trigger_count = 0, forbid_guest = false },
{ config_id = 1017001, name = "ENTER_REGION_17001", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_17001", action = "action_EVENT_ENTER_REGION_17001" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 111 },
regions = { 17001 },
triggers = { "GADGET_CREATE_32", "SELECT_OPTION_33", "ENTER_REGION_17001" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_GADGET_CREATE_32(context, evt)
if 111 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_32(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_33(context, evt)
-- 判断是gadgetid 111 option_id 7
if 111 ~= evt.param1 then
return false
end
if 7 ~= evt.param2 then
return false
end
return true
end
-- 触发操作
function action_EVENT_SELECT_OPTION_33(context, evt)
-- 重新生成指定group指定suite
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 220026003, suite = 1 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_to_suite")
return -1
end
-- 改变指定group组220026003中 configid为3010的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220026003, 3010, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_17001(context, evt)
if evt.param1 ~= 17001 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_17001(context, evt)
-- 将configid为 111 的物件更改为状态 GadgetState.Action01
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 111, GadgetState.Action01) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 将configid为 111 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 111, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end

View File

@@ -0,0 +1,72 @@
-- 基础信息
local base_info = {
group_id = 220026018
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 112, gadget_id = 70350011, pos = { x = 124.190, y = -65.500, z = -200.948 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, state = GadgetState.GearStart }
}
-- 区域
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
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,202 @@
-- 基础信息
local base_info = {
group_id = 220026019
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 114, gadget_id = 70360021, pos = { x = 121.406, y = -92.107, z = -189.548 }, rot = { x = 90.000, y = 0.000, z = 0.000 }, level = 1, route_id = 11, start_route = false },
{ config_id = 115, gadget_id = 70360021, pos = { x = 112.013, y = -92.072, z = -199.099 }, rot = { x = 90.000, y = 0.000, z = 0.000 }, level = 1, route_id = 12, start_route = false },
{ config_id = 116, gadget_id = 70360021, pos = { x = 131.323, y = -91.965, z = -189.538 }, rot = { x = 90.000, y = 0.000, z = 0.000 }, level = 1, route_id = 13, start_route = false },
{ config_id = 117, gadget_id = 70360021, pos = { x = 121.656, y = -92.038, z = -208.936 }, rot = { x = 90.000, y = 0.000, z = 0.000 }, level = 1, route_id = 14, start_route = false },
{ config_id = 118, gadget_id = 70360021, pos = { x = 131.290, y = -92.072, z = -208.842 }, rot = { x = 90.000, y = 0.000, z = 0.000 }, level = 1, route_id = 15, start_route = false },
{ config_id = 119, gadget_id = 70360021, pos = { x = 131.339, y = -92.198, z = -199.122 }, rot = { x = 90.000, y = 0.000, z = 0.000 }, level = 1, route_id = 16, start_route = false },
{ config_id = 120, gadget_id = 70360021, pos = { x = 140.896, y = -92.113, z = -199.313 }, rot = { x = 90.000, y = 0.000, z = 0.000 }, level = 1, route_id = 17, start_route = false }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1000050, name = "TIMER_EVENT_50", event = EventType.EVENT_TIMER_EVENT, source = "Boss", condition = "", action = "action_EVENT_TIMER_EVENT_50" },
{ config_id = 1000052, name = "TIMER_EVENT_52", event = EventType.EVENT_TIMER_EVENT, source = "First", condition = "", action = "action_EVENT_TIMER_EVENT_52" }
}
-- 变量
variables = {
{ config_id = 1, name = "Key", value = 0, no_refresh = true }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 114, 115, 116, 117, 118, 119, 120 },
regions = { },
triggers = { "TIMER_EVENT_50", "TIMER_EVENT_52" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = suite_2,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_TIMER_EVENT_50(context, evt)
-- 启动移动平台
if 0 ~= ScriptLib.StartPlatform(context, 114) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform")
return -1
end
-- 启动移动平台
if 0 ~= ScriptLib.StartPlatform(context, 115) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform")
return -1
end
-- 启动移动平台
if 0 ~= ScriptLib.StartPlatform(context, 116) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform")
return -1
end
-- 启动移动平台
if 0 ~= ScriptLib.StartPlatform(context, 117) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform")
return -1
end
-- 启动移动平台
if 0 ~= ScriptLib.StartPlatform(context, 118) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform")
return -1
end
-- 启动移动平台
if 0 ~= ScriptLib.StartPlatform(context, 119) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform")
return -1
end
-- 启动移动平台
if 0 ~= ScriptLib.StartPlatform(context, 120) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform")
return -1
end
return 0
end
-- 触发操作
function action_EVENT_TIMER_EVENT_52(context, evt)
-- 启动移动平台
if 0 ~= ScriptLib.StartPlatform(context, 114) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform")
return -1
end
-- 启动移动平台
if 0 ~= ScriptLib.StartPlatform(context, 115) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform")
return -1
end
-- 启动移动平台
if 0 ~= ScriptLib.StartPlatform(context, 116) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform")
return -1
end
-- 启动移动平台
if 0 ~= ScriptLib.StartPlatform(context, 117) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform")
return -1
end
-- 启动移动平台
if 0 ~= ScriptLib.StartPlatform(context, 118) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform")
return -1
end
-- 启动移动平台
if 0 ~= ScriptLib.StartPlatform(context, 119) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform")
return -1
end
-- 启动移动平台
if 0 ~= ScriptLib.StartPlatform(context, 120) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : start_platform")
return -1
end
-- 改变指定group组220026019中 configid为115的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220026019, 115, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
-- 改变指定group组220026019中 configid为116的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220026019, 116, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
-- 改变指定group组220026019中 configid为118的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220026019, 118, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
return 0
end

View File

@@ -0,0 +1,123 @@
-- 基础信息
local base_info = {
group_id = 220026020
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 46, monster_id = 22010201, pos = { x = 133.427, y = -92.292, z = -210.855 }, rot = { x = 0.000, y = 324.406, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 47, monster_id = 22010301, pos = { x = 134.073, y = -92.292, z = -189.064 }, rot = { x = 0.000, y = 248.916, z = 0.000 }, level = 1, disableWander = true }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1000048, name = "MONSTER_BATTLE_48", event = EventType.EVENT_MONSTER_BATTLE, source = "", condition = "condition_EVENT_MONSTER_BATTLE_48", action = "action_EVENT_MONSTER_BATTLE_48" },
{ config_id = 1000049, name = "ANY_MONSTER_DIE_49", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_49", action = "action_EVENT_ANY_MONSTER_DIE_49" }
}
-- 变量
variables = {
{ config_id = 1, name = "Key", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 46, 47 },
gadgets = { },
regions = { },
triggers = { "MONSTER_BATTLE_48", "ANY_MONSTER_DIE_49" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_MONSTER_BATTLE_48(context, evt)
if 46 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_BATTLE_48(context, evt)
-- 延迟1秒后,向groupId为220026019的对象,请求一次调用,并将string参数"First" 传递过去
if 0 ~= ScriptLib.CreateGroupTimerEvent(context, 220026019, "First", 1) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_timerevent_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_49(context, evt)
-- 判断指定group组剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCountByGroupId(context, 220026020) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_49(context, evt)
-- 改变指定group组220026010中 configid为107的gadget的state
if 0 ~= ScriptLib.SetGroupGadgetStateByConfigId(context, 220026010, 107, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId")
return -1
end
-- 设置操作台选项
if 0 ~= ScriptLib.SetWorktopOptionsByGroupId(context, 220026010, 107, {7}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_wok_options_by_configid")
return -1
end
return 0
end

View File

@@ -0,0 +1,93 @@
-- 基础信息
local base_info = {
group_id = 220026022
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 22002, gadget_id = 70350015, pos = { x = -115.403, y = -37.346, z = 70.757 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1022001, name = "GADGET_CREATE_22001", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_22001", action = "action_EVENT_GADGET_CREATE_22001" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 22002 },
regions = { },
triggers = { "GADGET_CREATE_22001" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_GADGET_CREATE_22001(context, evt)
if 22002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_GADGET_CREATE_22001(context, evt)
-- 将configid为 22002 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 22002, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end

View File

@@ -0,0 +1,94 @@
-- 基础信息
local base_info = {
group_id = 220026023
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 23001, gadget_id = 70211031, pos = { x = 131.239, y = -92.292, z = -201.160 }, rot = { x = 0.000, y = 269.072, z = 0.000 }, level = 16, drop_tag = "战斗超级蒙德", showcutscene = true, isOneoff = true, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1023002, name = "DUNGEON_SETTLE_23002", event = EventType.EVENT_DUNGEON_SETTLE, source = "", condition = "condition_EVENT_DUNGEON_SETTLE_23002", action = "action_EVENT_DUNGEON_SETTLE_23002" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { "DUNGEON_SETTLE_23002" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_DUNGEON_SETTLE_23002(context, evt)
-- 判断副本成功
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_DUNGEON_SETTLE_23002(context, evt)
-- 创建id为23001的gadget
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 23001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget")
return -1
end
return 0
end

File diff suppressed because it is too large Load Diff