添加配置表

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 = -121.3, z = -323.5 },
size = { x = 323.2, z = 352.4 },
born_pos = { x = -4.706, y = 0.016, z = 4.189 },
born_rot = { x = 0.000, y = 180.000, z = 0.000 },
die_y = -20,
city_id = 1,
vision_anchor = { x = -121.3, z = -323.5 }
}
-- 所有的区块
blocks = { 30001 }
-- 所有的区块范围坐标
block_rects = {
{ min = { x = -121.3, z = -323.5 }, max = { x = 201.9, z = 28.9 } }
}
-- Dummy Points
dummy_points = { }
-- Routes
routes_config = { }

View File

@@ -0,0 +1,24 @@
-- 所有的group
groups = {
{ id = 230001001, refresh_id = 1001, pos = { x = -6.461, y = 0.016, z = -63.364 } },
{ id = 230001002, refresh_id = 1001, pos = { x = 27.019, y = 1.516, z = -86.009 } },
{ id = 230001003, refresh_id = 1001, pos = { x = 54.316, y = -0.483, z = -108.216 } },
{ id = 230001004, refresh_id = 1001, pos = { x = 73.148, y = -0.483, z = -116.308 } },
{ id = 230001005, refresh_id = 1002, pos = { x = 151.590, y = -0.484, z = -114.577 } },
{ id = 230001006, refresh_id = 1, pos = { x = 50.469, y = -0.484, z = -144.293 } },
{ id = 230001007, refresh_id = 1002, pos = { x = 15.412, y = -0.484, z = -169.923 } },
{ id = 230001008, refresh_id = 1, pos = { x = 83.152, y = 1.017, z = -169.721 } },
{ id = 230001009, refresh_id = 1002, pos = { x = 65.388, y = -1.080, z = -216.319 } },
{ id = 230001010, refresh_id = 1, pos = { x = 12.243, y = -0.484, z = -219.871 } },
{ id = 230001011, refresh_id = 1, pos = { x = -24.730, y = -0.484, z = -216.216 } },
{ id = 230001012, refresh_id = 1002, pos = { x = -21.608, y = -0.483, z = -266.733 } },
{ id = 230001013, refresh_id = 1001, pos = { x = -65.487, y = -0.483, z = -217.124 } },
{ id = 230001014, refresh_id = 1001, pos = { x = -63.830, y = -0.484, z = -150.522 } },
{ id = 230001015, refresh_id = 1, pos = { x = -30.227, y = -0.484, z = -169.156 } },
{ id = 230001016, refresh_id = 1001, pos = { x = -46.933, y = -0.984, z = -103.487 } },
{ id = 230001018, refresh_id = 1002, pos = { x = 25.315, y = -0.483, z = -152.024 } },
{ id = 230001019, refresh_id = 1, pos = { x = -7.011, y = 0.016, z = -0.825 } },
{ id = 230001020, refresh_id = 1001, pos = { x = 73.193, y = 0.017, z = -26.536 } },
{ id = 230001021, refresh_id = 1001, pos = { x = 73.264, y = 0.016, z = -63.631 } },
{ id = 230001022, refresh_id = 1001, pos = { x = 91.317, y = 0.016, z = -26.453 } }
}

View File

@@ -0,0 +1,2 @@
dummy_points = {
}

View File

@@ -0,0 +1,140 @@
-- 基础信息
local base_info = {
group_id = 230001001
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 2, monster_id = 20011201, pos = { x = 2.083, y = 0.017, z = -70.693 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3, monster_id = 20011201, pos = { x = -9.968, y = 0.017, z = -70.924 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 4, monster_id = 20011201, pos = { x = -15.529, y = 0.017, z = -65.198 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 57, monster_id = 20010801, pos = { x = -5.384, y = 0.017, z = -68.817 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 58, monster_id = 20010801, pos = { x = -0.100, y = 0.016, z = -65.549 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 59, monster_id = 20010801, pos = { x = -8.596, y = 0.016, z = -63.713 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 60, monster_id = 20011401, pos = { x = -11.888, y = 0.016, z = -67.268 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 61, monster_id = 20011401, pos = { x = -5.185, y = 0.017, z = -70.136 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 62, monster_id = 20011401, pos = { x = -2.498, y = 0.017, z = -63.699 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 63, monster_id = 20010501, pos = { x = -10.431, y = 0.016, z = -63.191 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 64, monster_id = 20010501, pos = { x = -6.823, y = 0.016, z = -68.317 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 65, monster_id = 20010501, pos = { x = -0.250, y = 0.016, z = -65.988 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 66, monster_id = 20011001, pos = { x = -3.629, y = 0.017, z = -63.926 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 1, gadget_id = 70211002, pos = { x = -5.007, y = 0.016, z = -62.663 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, drop_tag = "战斗低级蒙德", state = GadgetState.ChestLocked, isOneoff = true, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1000019, name = "ANY_MONSTER_DIE_19", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_19", action = "action_EVENT_ANY_MONSTER_DIE_19" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = true
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 2, 3, 4 },
gadgets = { 1 },
regions = { },
triggers = { "ANY_MONSTER_DIE_19" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = suite_2,
monsters = { 57, 58, 59 },
gadgets = { 1 },
regions = { },
triggers = { "ANY_MONSTER_DIE_19" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = suite_3,
monsters = { 60, 61, 62 },
gadgets = { 1 },
regions = { },
triggers = { "ANY_MONSTER_DIE_19" },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = suite_4,
monsters = { 63, 64, 65, 66 },
gadgets = { 1 },
regions = { },
triggers = { "ANY_MONSTER_DIE_19" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_19(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_19(context, evt)
-- 解锁目标1
if 0 ~= ScriptLib.ChangeGroupGadget(context, { config_id = 1, state = GadgetState.Default }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : unlock_gadget")
return -1
end
-- 调用提示id为 20010301 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 20010301) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
return 0
end

View File

@@ -0,0 +1,117 @@
-- 基础信息
local base_info = {
group_id = 230001002
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 67, monster_id = 21010701, pos = { x = 29.217, y = 1.517, z = -87.076 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 68, monster_id = 21010701, pos = { x = 24.500, y = 1.517, z = -87.001 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 69, monster_id = 21010701, pos = { x = 29.117, y = -2.364, z = -85.941 }, rot = { x = 0.000, y = 193.390, z = 0.000 }, level = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 2, gadget_id = 70220003, pos = { x = 30.190, y = 1.516, z = -86.883 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1 },
{ config_id = 3, gadget_id = 70220003, pos = { x = 24.860, y = 1.516, z = -86.565 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 4, gadget_id = 70220003, pos = { x = 27.175, y = 1.516, z = -81.134 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5, gadget_id = 70220003, pos = { x = 27.005, y = 1.516, z = -92.592 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 6, gadget_id = 70211001, pos = { x = 35.529, y = 3.016, z = -86.433 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1, drop_tag = "战斗低级蒙德", isOneoff = true, persistent = true },
{ config_id = 85, gadget_id = 70220003, pos = { x = 24.542, y = 1.517, z = -80.990 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 86, gadget_id = 70220003, pos = { x = 30.129, y = 1.516, z = -86.259 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 87, gadget_id = 70220003, pos = { x = 24.480, y = 1.517, z = -92.179 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 88, gadget_id = 70220003, pos = { x = 30.020, y = 1.516, z = -98.685 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 89, gadget_id = 70220003, pos = { x = 29.987, y = 1.516, z = -76.452 }, rot = { x = 0.000, y = 12.900, z = 0.000 }, level = 1 },
{ config_id = 90, gadget_id = 70220003, pos = { x = 23.764, y = 1.516, z = -73.233 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 91, gadget_id = 70220003, pos = { x = 25.855, y = 1.516, z = -75.210 }, rot = { x = 0.000, y = 5.060, z = 0.000 }, level = 1 },
{ config_id = 92, gadget_id = 70211001, pos = { x = 29.905, y = 1.516, z = -72.994 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, drop_tag = "战斗低级蒙德", isOneoff = true, persistent = true },
{ config_id = 93, gadget_id = 70220004, pos = { x = 29.839, y = 1.516, z = -78.177 }, rot = { x = 0.000, y = 191.074, z = 0.000 }, level = 1 },
{ config_id = 94, gadget_id = 70220004, pos = { x = 26.729, y = 1.516, z = -80.240 }, rot = { x = 0.000, y = 221.390, z = 0.000 }, level = 1 },
{ config_id = 95, gadget_id = 70220004, pos = { x = 23.680, y = 1.517, z = -82.574 }, rot = { x = 0.000, y = 49.537, z = 0.000 }, level = 1 },
{ config_id = 96, gadget_id = 70220004, pos = { x = 26.419, y = 1.516, z = -86.000 }, rot = { x = 0.000, y = 8.521, z = 0.000 }, level = 1 },
{ config_id = 97, gadget_id = 70220004, pos = { x = 30.445, y = 1.516, z = -84.873 }, rot = { x = 0.000, y = 103.022, z = 0.000 }, level = 1 },
{ config_id = 98, gadget_id = 70220004, pos = { x = 30.384, y = 1.516, z = -91.477 }, rot = { x = 0.000, y = 269.970, z = 0.000 }, level = 1 },
{ config_id = 99, gadget_id = 70220004, pos = { x = 26.796, y = 1.516, z = -92.525 }, rot = { x = 0.000, y = 201.015, z = 0.000 }, level = 1 },
{ config_id = 100, gadget_id = 70220004, pos = { x = 23.104, y = 1.517, z = -92.585 }, rot = { x = 0.000, y = 207.185, z = 0.000 }, level = 1 },
{ config_id = 101, gadget_id = 70220004, pos = { x = 23.472, y = 1.517, z = -97.963 }, rot = { x = 0.000, y = 316.780, z = 0.000 }, level = 1 },
{ config_id = 102, gadget_id = 70220004, pos = { x = 27.877, y = 1.517, z = -98.663 }, rot = { x = 0.000, y = 19.160, z = 0.000 }, level = 1 },
{ config_id = 103, gadget_id = 70220004, pos = { x = 30.996, y = 1.516, z = -99.064 }, rot = { x = 0.000, y = 310.704, z = 0.000 }, level = 1 },
{ config_id = 104, gadget_id = 70220004, pos = { x = 25.107, y = 1.516, z = -75.729 }, rot = { x = 0.000, y = 255.798, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = true
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 2, 3, 4, 5, 6 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = suite_2,
monsters = { },
gadgets = { 6, 85, 86, 87, 88, 89, 90, 91, 92 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = suite_3,
monsters = { 67, 68, 69 },
gadgets = { 6, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,129 @@
-- 基础信息
local base_info = {
group_id = 230001003
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 3001, monster_id = 21010101, pos = { x = 52.016, y = -0.484, z = -115.426 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3002, monster_id = 21010101, pos = { x = 62.307, y = -0.484, z = -108.962 }, rot = { x = 0.000, y = 254.390, z = 0.000 }, level = 1 },
{ config_id = 3003, monster_id = 21010101, pos = { x = 55.714, y = -0.483, z = -101.501 }, rot = { x = 0.000, y = 201.850, z = 0.000 }, level = 1 },
{ config_id = 3004, monster_id = 21010201, pos = { x = 53.506, y = -0.483, z = -114.381 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3005, monster_id = 21010201, pos = { x = 62.054, y = -0.484, z = -108.934 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3006, monster_id = 21010201, pos = { x = 54.487, y = -0.483, z = -101.963 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3007, monster_id = 21010101, pos = { x = 54.891, y = -0.484, z = -113.656 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3008, monster_id = 21010101, pos = { x = 61.349, y = -0.484, z = -107.860 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3009, monster_id = 21010101, pos = { x = 54.279, y = -0.483, z = -101.837 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3010, monster_id = 21010201, pos = { x = 50.846, y = -0.484, z = -111.246 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3011, monster_id = 21010201, pos = { x = 51.212, y = -0.484, z = -106.361 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 3012, gadget_id = 70211002, pos = { x = 54.855, y = -0.484, z = -108.828 }, rot = { x = 0.000, y = 87.705, z = 0.000 }, level = 1, drop_tag = "战斗低级蒙德", state = GadgetState.ChestLocked, isOneoff = true, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1000020, name = "ANY_MONSTER_DIE_20", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_20", action = "action_EVENT_ANY_MONSTER_DIE_20" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = true
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 3001, 3002, 3003 },
gadgets = { 3012 },
regions = { },
triggers = { "ANY_MONSTER_DIE_20" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = suite_2,
monsters = { 3004, 3005, 3006 },
gadgets = { 3012 },
regions = { },
triggers = { "ANY_MONSTER_DIE_20" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = suite_3,
monsters = { 3007, 3008, 3009, 3010, 3011 },
gadgets = { 3012 },
regions = { },
triggers = { "ANY_MONSTER_DIE_20" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_20(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_20(context, evt)
-- 解锁目标3012
if 0 ~= ScriptLib.ChangeGroupGadget(context, { config_id = 3012, state = GadgetState.Default }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : unlock_gadget")
return -1
end
-- 调用提示id为 20010301 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 20010301) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
return 0
end

View File

@@ -0,0 +1,98 @@
-- 基础信息
local base_info = {
group_id = 230001004
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 4001, monster_id = 21010601, pos = { x = 91.120, y = 1.971, z = -127.429 }, rot = { x = 0.000, y = 338.910, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 4002, monster_id = 21010601, pos = { x = 92.685, y = 2.016, z = -101.922 }, rot = { x = 0.000, y = 200.060, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 4003, monster_id = 21010601, pos = { x = 113.030, y = 4.017, z = -128.192 }, rot = { x = 0.000, y = 335.480, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 4004, monster_id = 21010601, pos = { x = 115.258, y = 4.016, z = -102.115 }, rot = { x = 0.000, y = 246.460, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 4005, monster_id = 21010601, pos = { x = 131.457, y = 9.017, z = -127.781 }, rot = { x = 0.000, y = 320.430, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 4006, monster_id = 21010601, pos = { x = 131.435, y = 9.016, z = -102.105 }, rot = { x = 0.000, y = 226.480, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 4007, monster_id = 21010701, pos = { x = 109.858, y = 0.928, z = -117.132 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 4008, monster_id = 21010701, pos = { x = 109.985, y = -0.484, z = -115.045 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 4009, monster_id = 21010701, pos = { x = 109.730, y = -0.483, z = -111.695 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 4010, monster_id = 21010701, pos = { x = 107.296, y = -0.484, z = -118.748 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1 },
{ config_id = 4011, monster_id = 21010701, pos = { x = 107.294, y = -0.483, z = -115.682 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1 },
{ config_id = 4012, monster_id = 21010701, pos = { x = 107.503, y = -0.483, z = -112.379 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 4013, gadget_id = 70220005, pos = { x = 84.345, y = -0.484, z = -117.503 }, rot = { x = 0.000, y = 170.113, z = 0.000 }, level = 1 },
{ config_id = 4014, gadget_id = 70220005, pos = { x = 106.311, y = -0.484, z = -112.012 }, rot = { x = 0.000, y = 245.708, z = 0.000 }, level = 1 },
{ config_id = 4015, gadget_id = 70220005, pos = { x = 130.888, y = -0.483, z = -114.861 }, rot = { x = 0.000, y = 154.842, z = 0.000 }, level = 1 },
{ config_id = 4016, gadget_id = 70220005, pos = { x = 118.261, y = -0.484, z = -116.470 }, rot = { x = 0.000, y = 237.611, z = 0.000 }, level = 1 },
{ config_id = 4017, gadget_id = 70220005, pos = { x = 93.512, y = -0.483, z = -117.629 }, rot = { x = 0.000, y = 125.388, z = 0.000 }, level = 1 },
{ config_id = 4018, gadget_id = 70220005, pos = { x = 106.580, y = -0.484, z = -116.669 }, rot = { x = 0.000, y = 113.081, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = true
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 4001, 4002, 4003, 4004, 4005, 4006 },
gadgets = { 4013, 4014, 4015, 4016, 4017, 4018 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = suite_2,
monsters = { 4007, 4008, 4009, 4010, 4011, 4012 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,288 @@
-- 基础信息
local base_info = {
group_id = 230001005
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 14, monster_id = 21010101, pos = { x = 171.356, y = -0.483, z = -124.009 }, rot = { x = 0.000, y = 278.530, z = 0.000 }, level = 1 },
{ config_id = 15, monster_id = 21010101, pos = { x = 173.990, y = -0.483, z = -114.287 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1 },
{ config_id = 16, monster_id = 21010101, pos = { x = 169.276, y = -0.484, z = -106.646 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1 },
{ config_id = 17, monster_id = 21020201, pos = { x = 166.944, y = -0.484, z = -114.933 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1 },
{ config_id = 84, monster_id = 20011101, pos = { x = 166.768, y = -0.484, z = -119.578 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 85, monster_id = 20010901, pos = { x = 167.041, y = -0.484, z = -111.454 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 86, monster_id = 22010101, pos = { x = 165.565, y = -0.484, z = -115.101 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1 },
{ config_id = 87, monster_id = 20011201, pos = { x = 161.065, y = -0.483, z = -118.200 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 88, monster_id = 20011201, pos = { x = 164.369, y = -0.484, z = -120.399 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 89, monster_id = 20011201, pos = { x = 164.638, y = -0.483, z = -109.547 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 90, monster_id = 20011201, pos = { x = 160.754, y = -0.484, z = -111.122 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 91, monster_id = 20010601, pos = { x = 164.688, y = -0.484, z = -114.868 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 92, monster_id = 20010701, pos = { x = 169.900, y = -0.484, z = -111.938 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 93, monster_id = 20010501, pos = { x = 168.758, y = -0.483, z = -118.291 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 94, monster_id = 20010501, pos = { x = 161.917, y = -0.483, z = -118.072 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 95, monster_id = 20010501, pos = { x = 163.718, y = -0.484, z = -111.320 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 96, monster_id = 20010501, pos = { x = 166.871, y = -0.484, z = -109.564 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 11, gadget_id = 70211012, pos = { x = 170.526, y = -0.484, z = -115.046 }, rot = { x = 0.000, y = 271.450, z = 0.000 }, level = 1, drop_tag = "战斗中级蒙德", state = GadgetState.ChestLocked, isOneoff = true, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1000021, name = "ANY_MONSTER_DIE_21", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_21", action = "action_EVENT_ANY_MONSTER_DIE_21" },
{ config_id = 1000028, name = "ANY_MONSTER_DIE_28", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_28", action = "action_EVENT_ANY_MONSTER_DIE_28" },
{ config_id = 1000029, name = "ANY_MONSTER_DIE_29", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_29", action = "action_EVENT_ANY_MONSTER_DIE_29" },
{ config_id = 1000030, name = "ANY_MONSTER_DIE_30", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_30", action = "action_EVENT_ANY_MONSTER_DIE_30" },
{ config_id = 1000031, name = "ANY_MONSTER_DIE_31", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_31", action = "action_EVENT_ANY_MONSTER_DIE_31" },
{ config_id = 1000032, name = "ANY_MONSTER_DIE_32", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_32", action = "action_EVENT_ANY_MONSTER_DIE_32" },
{ config_id = 1000033, name = "ANY_MONSTER_DIE_33", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_33", action = "action_EVENT_ANY_MONSTER_DIE_33" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = true
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 14, 15, 16, 17 },
gadgets = { 11 },
regions = { },
triggers = { "ANY_MONSTER_DIE_21", "ANY_MONSTER_DIE_28" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = suite_2,
monsters = { 84, 85 },
gadgets = { 11 },
regions = { },
triggers = { "ANY_MONSTER_DIE_21", "ANY_MONSTER_DIE_29", "ANY_MONSTER_DIE_30" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = suite_3,
monsters = { 86, 87, 88, 89, 90 },
gadgets = { 11 },
regions = { },
triggers = { "ANY_MONSTER_DIE_21", "ANY_MONSTER_DIE_31" },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = suite_4,
monsters = { 91, 92, 93, 94, 95, 96 },
gadgets = { 11 },
regions = { },
triggers = { "ANY_MONSTER_DIE_21", "ANY_MONSTER_DIE_32", "ANY_MONSTER_DIE_33" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_21(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_21(context, evt)
-- 解锁目标11
if 0 ~= ScriptLib.ChangeGroupGadget(context, { config_id = 11, state = GadgetState.Default }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : unlock_gadget")
return -1
end
-- 调用提示id为 20010301 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 20010301) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_28(context, evt)
--判断死亡怪物的configid是否为 17
if evt.param1 ~= 17 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_28(context, evt)
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001021, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_29(context, evt)
--判断死亡怪物的configid是否为 84
if evt.param1 ~= 84 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_29(context, evt)
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001020, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_30(context, evt)
--判断死亡怪物的configid是否为 85
if evt.param1 ~= 85 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_30(context, evt)
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001022, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_31(context, evt)
--判断死亡怪物的configid是否为 86
if evt.param1 ~= 86 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_31(context, evt)
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001021, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_32(context, evt)
--判断死亡怪物的configid是否为 91
if evt.param1 ~= 91 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_32(context, evt)
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001020, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_33(context, evt)
--判断死亡怪物的configid是否为 92
if evt.param1 ~= 92 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_33(context, evt)
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001022, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
return 0
end

View File

@@ -0,0 +1,109 @@
-- 基础信息
local base_info = {
group_id = 230001006
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 12, gadget_id = 70220003, pos = { x = 53.909, y = -0.483, z = -132.659 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 13, gadget_id = 70220003, pos = { x = 55.750, y = -0.483, z = -132.790 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 14, gadget_id = 70220003, pos = { x = 58.423, y = -0.483, z = -141.129 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 15, gadget_id = 70220003, pos = { x = 56.313, y = -0.484, z = -141.110 }, rot = { x = 0.000, y = 351.958, z = 0.000 }, level = 1 },
{ config_id = 16, gadget_id = 70220003, pos = { x = 53.786, y = -0.483, z = -150.469 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 17, gadget_id = 70220003, pos = { x = 56.139, y = -0.484, z = -151.346 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 18, gadget_id = 70220013, pos = { x = 59.557, y = -0.493, z = -132.698 }, rot = { x = 0.000, y = 243.356, z = 0.000 }, level = 1 },
{ config_id = 19, gadget_id = 70220013, pos = { x = 53.384, y = -0.512, z = -141.115 }, rot = { x = 0.000, y = 116.534, z = 0.000 }, level = 1 },
{ config_id = 20, gadget_id = 70220013, pos = { x = 59.647, y = -0.503, z = -151.360 }, rot = { x = 0.000, y = 92.077, z = 0.000 }, level = 1 },
{ config_id = 21, gadget_id = 70211001, pos = { x = 44.163, y = -0.484, z = -129.025 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "战斗低级蒙德", isOneoff = true, persistent = true },
{ config_id = 108, gadget_id = 70320001, pos = { x = 50.101, y = -0.484, z = -136.175 }, rot = { x = 0.000, y = 120.900, z = 0.000 }, level = 1 },
{ config_id = 109, gadget_id = 70220013, pos = { x = 52.788, y = -0.569, z = -132.944 }, rot = { x = 0.000, y = 196.457, z = 0.000 }, level = 1 },
{ config_id = 110, gadget_id = 70220013, pos = { x = 52.650, y = -0.532, z = -150.953 }, rot = { x = 0.000, y = 198.148, z = 0.000 }, level = 1 },
{ config_id = 111, gadget_id = 70220013, pos = { x = 59.941, y = -0.538, z = -141.731 }, rot = { x = 0.000, y = 291.537, z = 0.000 }, level = 1 },
{ config_id = 112, gadget_id = 70220003, pos = { x = 59.054, y = -0.484, z = -133.347 }, rot = { x = 0.000, y = 0.100, z = 0.000 }, level = 1 },
{ config_id = 113, gadget_id = 70220003, pos = { x = 56.373, y = -0.484, z = -133.260 }, rot = { x = 0.000, y = 3.500, z = 0.000 }, level = 1 },
{ config_id = 114, gadget_id = 70220003, pos = { x = 54.333, y = -0.483, z = -141.952 }, rot = { x = 0.000, y = 2.700, z = 0.000 }, level = 1 },
{ config_id = 115, gadget_id = 70220003, pos = { x = 55.758, y = -0.483, z = -141.034 }, rot = { x = 0.000, y = 3.050, z = 0.000 }, level = 1 },
{ config_id = 116, gadget_id = 70220003, pos = { x = 56.085, y = -0.484, z = -150.869 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 117, gadget_id = 70220003, pos = { x = 59.500, y = 0.073, z = -150.699 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = true
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 12, 13, 14, 15, 16, 17, 18, 19, 20, 21 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = suite_2,
monsters = { },
gadgets = { 108 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = suite_3,
monsters = { },
gadgets = { 21, 109, 110, 111, 112, 113, 114, 115, 116, 117 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,291 @@
-- 基础信息
local base_info = {
group_id = 230001007
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 7001, monster_id = 22010101, pos = { x = 12.902, y = 0.000, z = -169.803 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7002, monster_id = 21010701, pos = { x = 12.955, y = -0.483, z = -185.420 }, rot = { x = 0.000, y = 45.800, z = 0.000 }, level = 1 },
{ config_id = 7003, monster_id = 21010701, pos = { x = -3.155, y = -0.484, z = -169.518 }, rot = { x = 0.000, y = 37.720, z = 0.000 }, level = 1 },
{ config_id = 7004, monster_id = 21010301, pos = { x = 15.896, y = -0.484, z = -172.793 }, rot = { x = 0.000, y = 23.190, z = 0.000 }, level = 1 },
{ config_id = 7005, monster_id = 21010301, pos = { x = 10.882, y = -0.483, z = -166.798 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7006, monster_id = 22010201, pos = { x = 14.971, y = 0.000, z = -170.275 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7007, monster_id = 22010301, pos = { x = 10.624, y = -0.484, z = -167.744 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7008, monster_id = 21010301, pos = { x = 9.502, y = -0.484, z = -164.932 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7009, monster_id = 21010301, pos = { x = 15.995, y = -0.483, z = -165.441 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7010, monster_id = 21010301, pos = { x = 17.951, y = -0.484, z = -172.367 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7011, monster_id = 21010301, pos = { x = 10.066, y = -0.484, z = -174.248 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7012, monster_id = 20020101, pos = { x = 13.911, y = 0.000, z = -169.087 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7013, monster_id = 20010301, pos = { x = 12.666, y = -0.484, z = -177.084 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7014, monster_id = 20010301, pos = { x = 19.199, y = -0.484, z = -177.882 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7015, monster_id = 20010301, pos = { x = 20.964, y = -0.484, z = -168.228 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7016, monster_id = 20010301, pos = { x = 10.125, y = -0.483, z = -161.986 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7017, monster_id = 20010601, pos = { x = 12.889, y = 0.000, z = -169.486 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7018, monster_id = 20010701, pos = { x = 7.467, y = -0.484, z = -163.461 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7019, monster_id = 20010501, pos = { x = 18.949, y = -0.484, z = -164.474 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7020, monster_id = 20010501, pos = { x = 9.085, y = -0.484, z = -162.575 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 7021, gadget_id = 70211012, pos = { x = 8.992, y = -0.483, z = -170.037 }, rot = { x = 0.000, y = 275.830, z = 0.000 }, level = 1, drop_tag = "战斗中级蒙德", state = GadgetState.ChestLocked, isOneoff = true, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1000022, name = "ANY_MONSTER_DIE_22", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_22", action = "action_EVENT_ANY_MONSTER_DIE_22" },
{ config_id = 1000034, name = "ANY_MONSTER_DIE_34", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_34", action = "action_EVENT_ANY_MONSTER_DIE_34" },
{ config_id = 1000035, name = "ANY_MONSTER_DIE_35", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_35", action = "action_EVENT_ANY_MONSTER_DIE_35" },
{ config_id = 1000036, name = "ANY_MONSTER_DIE_36", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_36", action = "action_EVENT_ANY_MONSTER_DIE_36" },
{ config_id = 1000037, name = "ANY_MONSTER_DIE_37", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_37", action = "action_EVENT_ANY_MONSTER_DIE_37" },
{ config_id = 1000038, name = "ANY_MONSTER_DIE_38", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_38", action = "action_EVENT_ANY_MONSTER_DIE_38" },
{ 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 = true
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 7001, 7002, 7003, 7004, 7005 },
gadgets = { 7021 },
regions = { },
triggers = { "ANY_MONSTER_DIE_22", "ANY_MONSTER_DIE_34" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = suite_2,
monsters = { 7006, 7007, 7008, 7009, 7010, 7011 },
gadgets = { 7021 },
regions = { },
triggers = { "ANY_MONSTER_DIE_22", "ANY_MONSTER_DIE_35", "ANY_MONSTER_DIE_36" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = suite_3,
monsters = { 7012, 7013, 7014, 7015, 7016 },
gadgets = { 7021 },
regions = { },
triggers = { "ANY_MONSTER_DIE_22", "ANY_MONSTER_DIE_37" },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = suite_4,
monsters = { 7017, 7018, 7019, 7020 },
gadgets = { 7021 },
regions = { },
triggers = { "ANY_MONSTER_DIE_22" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_22(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_22(context, evt)
-- 解锁目标7021
if 0 ~= ScriptLib.ChangeGroupGadget(context, { config_id = 7021, state = GadgetState.Default }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : unlock_gadget")
return -1
end
-- 调用提示id为 20010301 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 20010301) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_34(context, evt)
--判断死亡怪物的configid是否为 7001
if evt.param1 ~= 7001 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_34(context, evt)
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001021, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_35(context, evt)
--判断死亡怪物的configid是否为 7006
if evt.param1 ~= 7006 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_35(context, evt)
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001020, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_36(context, evt)
--判断死亡怪物的configid是否为 7007
if evt.param1 ~= 7007 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_36(context, evt)
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001022, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_37(context, evt)
--判断死亡怪物的configid是否为 7012
if evt.param1 ~= 7012 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_37(context, evt)
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001021, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_38(context, evt)
--判断死亡怪物的configid是否为 7017
if evt.param1 ~= 7017 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_38(context, evt)
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001020, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_39(context, evt)
--判断死亡怪物的configid是否为 7018
if evt.param1 ~= 7018 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_39(context, evt)
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001022, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
return 0
end

View File

@@ -0,0 +1,76 @@
-- 基础信息
local base_info = {
group_id = 230001008
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 23, gadget_id = 70320002, pos = { x = 78.355, y = 1.017, z = -151.922 }, rot = { x = 0.000, y = 180.600, z = 0.000 }, level = 1 },
{ config_id = 24, gadget_id = 70320002, pos = { x = 86.004, y = 1.016, z = -162.393 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1 },
{ config_id = 25, gadget_id = 70320002, pos = { x = 78.501, y = 1.017, z = -170.917 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 26, gadget_id = 70320002, pos = { x = 86.116, y = 1.016, z = -179.856 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1 },
{ config_id = 27, gadget_id = 70211001, pos = { x = 89.446, y = 2.517, z = -166.806 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, drop_tag = "战斗低级蒙德", isOneoff = true, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = true
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 23, 24, 25, 26, 27 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,254 @@
-- 基础信息
local base_info = {
group_id = 230001009
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 9001, monster_id = 22010201, pos = { x = 66.772, y = -1.091, z = -218.847 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 9002, monster_id = 20011001, pos = { x = 77.169, y = -1.107, z = -227.876 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 9003, monster_id = 20011001, pos = { x = 79.279, y = -1.149, z = -211.207 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 9004, monster_id = 20011001, pos = { x = 56.675, y = -1.006, z = -211.367 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 9005, monster_id = 20011001, pos = { x = 53.030, y = -1.009, z = -226.293 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 9006, monster_id = 22010301, pos = { x = 67.574, y = -1.016, z = -222.736 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 9007, monster_id = 20010801, pos = { x = 61.768, y = -1.006, z = -217.589 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 9008, monster_id = 20010801, pos = { x = 60.546, y = -1.043, z = -213.134 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 9009, monster_id = 20010801, pos = { x = 66.297, y = -1.010, z = -212.353 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 9010, monster_id = 20010801, pos = { x = 72.683, y = -1.006, z = -216.904 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 9011, monster_id = 20010801, pos = { x = 70.131, y = -1.056, z = -213.332 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 9012, monster_id = 21020201, pos = { x = 66.663, y = -1.141, z = -220.108 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 9013, monster_id = 21010301, pos = { x = 63.161, y = -1.022, z = -216.943 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 9014, monster_id = 21010301, pos = { x = 70.421, y = -1.045, z = -218.161 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 9015, monster_id = 21010301, pos = { x = 70.553, y = -1.066, z = -215.133 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 9016, monster_id = 21010301, pos = { x = 62.445, y = -1.002, z = -214.048 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 9017, monster_id = 21020101, pos = { x = 66.823, y = -1.087, z = -218.785 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 9018, monster_id = 20011001, pos = { x = 63.076, y = -1.020, z = -216.920 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 9019, monster_id = 20011001, pos = { x = 69.961, y = -1.057, z = -213.339 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 9020, monster_id = 20011001, pos = { x = 61.245, y = -1.024, z = -212.851 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 9021, monster_id = 20011001, pos = { x = 63.691, y = -1.011, z = -212.341 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 9022, monster_id = 21010601, pos = { x = 71.430, y = -1.002, z = -222.537 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 9023, gadget_id = 70211002, pos = { x = 55.822, y = -1.113, z = -179.637 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, drop_tag = "战斗低级蒙德", state = GadgetState.ChestLocked, isOneoff = true, persistent = true },
{ config_id = 9024, gadget_id = 70211012, pos = { x = 65.699, y = -1.109, z = -224.756 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, drop_tag = "战斗中级蒙德", state = GadgetState.ChestLocked, isOneoff = true, persistent = true },
{ config_id = 9025, gadget_id = 70211021, pos = { x = 61.665, y = -1.028, z = -224.767 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "战斗高级蒙德", isOneoff = true, persistent = true },
{ config_id = 9026, gadget_id = 70211021, pos = { x = 70.331, y = -1.074, z = -224.352 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "战斗高级蒙德", isOneoff = true, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1000023, name = "ANY_MONSTER_DIE_23", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_23", action = "action_EVENT_ANY_MONSTER_DIE_23" },
{ config_id = 1000040, name = "ANY_MONSTER_DIE_40", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_40", action = "action_EVENT_ANY_MONSTER_DIE_40" },
{ config_id = 1000041, name = "ANY_MONSTER_DIE_41", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_41", action = "action_EVENT_ANY_MONSTER_DIE_41" },
{ config_id = 1000042, name = "ANY_MONSTER_DIE_42", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_42", action = "action_EVENT_ANY_MONSTER_DIE_42" },
{ config_id = 1000043, name = "ANY_MONSTER_DIE_43", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_43", action = "action_EVENT_ANY_MONSTER_DIE_43" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = true
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 9001, 9002, 9003, 9004, 9005 },
gadgets = { 9023, 9024, 9025, 9026 },
regions = { },
triggers = { "ANY_MONSTER_DIE_23", "ANY_MONSTER_DIE_40" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = suite_2,
monsters = { 9006, 9007, 9008, 9009, 9010, 9011 },
gadgets = { 9023, 9024, 9025, 9026 },
regions = { },
triggers = { "ANY_MONSTER_DIE_23", "ANY_MONSTER_DIE_41" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = suite_3,
monsters = { 9012, 9013, 9014, 9015, 9016 },
gadgets = { 9023, 9024, 9025, 9026 },
regions = { },
triggers = { "ANY_MONSTER_DIE_23", "ANY_MONSTER_DIE_42" },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = suite_4,
monsters = { 9017, 9018, 9019, 9020, 9021, 9022 },
gadgets = { 9023, 9024, 9025, 9026 },
regions = { },
triggers = { "ANY_MONSTER_DIE_23", "ANY_MONSTER_DIE_43" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_23(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_23(context, evt)
-- 解锁目标9023
if 0 ~= ScriptLib.ChangeGroupGadget(context, { config_id = 9023, state = GadgetState.Default }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : unlock_gadget")
return -1
end
-- 解锁目标9024
if 0 ~= ScriptLib.ChangeGroupGadget(context, { config_id = 9024, state = GadgetState.Default }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : unlock_gadget")
return -1
end
-- 调用提示id为 20010301 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 20010301) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_40(context, evt)
--判断死亡怪物的configid是否为 9001
if evt.param1 ~= 9001 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_40(context, evt)
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001021, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_41(context, evt)
--判断死亡怪物的configid是否为 9006
if evt.param1 ~= 9006 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_41(context, evt)
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001021, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_42(context, evt)
--判断死亡怪物的configid是否为 9012
if evt.param1 ~= 9012 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_42(context, evt)
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001021, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_43(context, evt)
--判断死亡怪物的configid是否为 9017
if evt.param1 ~= 9017 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_43(context, evt)
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001021, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
return 0
end

View File

@@ -0,0 +1,73 @@
-- 基础信息
local base_info = {
group_id = 230001010
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 32, gadget_id = 70320001, pos = { x = 12.541, y = -0.483, z = -218.788 }, rot = { x = 0.000, y = 246.535, z = 0.000 }, level = 1 },
{ config_id = 33, gadget_id = 70211011, pos = { x = 30.885, y = -0.484, z = -206.322 }, rot = { x = 0.000, y = 185.804, z = 0.000 }, level = 1, drop_tag = "战斗中级蒙德", isOneoff = true, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = true
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 32, 33 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,104 @@
-- 基础信息
local base_info = {
group_id = 230001011
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 34, gadget_id = 70220003, pos = { x = -36.449, y = -0.483, z = -205.624 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 35, gadget_id = 70220003, pos = { x = -28.294, y = -0.483, z = -205.729 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 36, gadget_id = 70220003, pos = { x = -23.685, y = -0.483, z = -205.640 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 37, gadget_id = 70220003, pos = { x = -18.822, y = -0.483, z = -205.595 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 38, gadget_id = 70220003, pos = { x = -14.701, y = -0.483, z = -200.489 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 39, gadget_id = 70220003, pos = { x = -19.497, y = -0.484, z = -200.410 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 40, gadget_id = 70220003, pos = { x = -20.085, y = -0.484, z = -198.195 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 41, gadget_id = 70220003, pos = { x = -29.824, y = -0.484, z = -203.569 }, rot = { x = 0.000, y = 267.600, z = 0.000 }, level = 1 },
{ config_id = 42, gadget_id = 70220003, pos = { x = -32.276, y = -0.484, z = -201.197 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 43, gadget_id = 70220003, pos = { x = -23.688, y = -0.484, z = -200.367 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 44, gadget_id = 70220003, pos = { x = -36.766, y = -0.484, z = -198.026 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 45, gadget_id = 70220003, pos = { x = -25.985, y = -0.484, z = -198.839 }, rot = { x = 0.000, y = 265.950, z = 0.000 }, level = 1 },
{ config_id = 46, gadget_id = 70220003, pos = { x = -32.787, y = -0.484, z = -195.842 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 47, gadget_id = 70220003, pos = { x = -30.581, y = -0.484, z = -193.893 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 48, gadget_id = 70220003, pos = { x = -23.642, y = -0.484, z = -195.784 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 49, gadget_id = 70220003, pos = { x = -27.732, y = -0.484, z = -191.566 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 50, gadget_id = 70220003, pos = { x = -20.955, y = -0.484, z = -193.920 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 51, gadget_id = 70220003, pos = { x = -19.154, y = -0.483, z = -190.928 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 52, gadget_id = 70220003, pos = { x = -30.824, y = -0.484, z = -189.433 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 53, gadget_id = 70220003, pos = { x = -38.776, y = -0.484, z = -190.550 }, rot = { x = 0.000, y = 87.250, z = 0.000 }, level = 1 },
{ config_id = 54, gadget_id = 70220003, pos = { x = -38.747, y = -0.484, z = -186.644 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1 },
{ config_id = 55, gadget_id = 70220003, pos = { x = -14.090, y = -0.484, z = -195.380 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 56, gadget_id = 70220003, pos = { x = -37.260, y = -0.483, z = -194.851 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 57, gadget_id = 70211011, pos = { x = -41.625, y = -0.484, z = -188.402 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1, drop_tag = "战斗中级蒙德", isOneoff = true, persistent = true },
{ config_id = 58, gadget_id = 70211011, pos = { x = -14.453, y = -0.484, z = -192.627 }, rot = { x = 0.000, y = 174.714, z = 0.000 }, level = 1, drop_tag = "战斗中级蒙德", isOneoff = true, persistent = true },
{ config_id = 59, gadget_id = 70211001, pos = { x = -30.351, y = -0.484, z = -191.885 }, rot = { x = 0.000, y = 335.501, z = 0.000 }, level = 1, drop_tag = "战斗低级蒙德", isOneoff = true, persistent = true },
{ config_id = 60, gadget_id = 70211001, pos = { x = -29.228, y = -0.484, z = -198.038 }, rot = { x = 0.000, y = 353.120, z = 0.000 }, level = 1, drop_tag = "战斗低级蒙德", isOneoff = true, persistent = true },
{ config_id = 61, gadget_id = 70220013, pos = { x = -14.161, y = -0.526, z = -197.304 }, rot = { x = 0.000, y = 101.268, z = 0.000 }, level = 1 },
{ config_id = 62, gadget_id = 70220013, pos = { x = -15.530, y = -0.474, z = -199.023 }, rot = { x = 0.000, y = 162.215, z = 0.000 }, level = 1 },
{ config_id = 63, gadget_id = 70220013, pos = { x = -14.128, y = 1.107, z = -198.558 }, rot = { x = 0.000, y = 86.227, z = 0.000 }, level = 1 },
{ config_id = 64, gadget_id = 70220013, pos = { x = -13.439, y = -0.525, z = -199.142 }, rot = { x = 0.000, y = 155.197, z = 0.000 }, level = 1 },
{ config_id = 65, gadget_id = 70220013, pos = { x = -23.120, y = -0.648, z = -193.988 }, rot = { x = 0.000, y = 132.551, z = 0.000 }, level = 1 },
{ config_id = 66, gadget_id = 70220013, pos = { x = -23.195, y = 0.937, z = -193.804 }, rot = { x = 0.000, y = 333.164, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = true
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,309 @@
-- 基础信息
local base_info = {
group_id = 230001012
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 12001, monster_id = 21020201, pos = { x = -21.127, y = -0.483, z = -270.307 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 12002, monster_id = 20011201, pos = { x = -3.939, y = -0.484, z = -254.201 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 12003, monster_id = 20011201, pos = { x = -4.652, y = -0.484, z = -247.357 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 12004, monster_id = 20011201, pos = { x = -37.753, y = -0.484, z = -254.736 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 12005, monster_id = 20011201, pos = { x = -35.522, y = -0.483, z = -247.958 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 12006, monster_id = 21010201, pos = { x = -14.659, y = -0.484, z = -266.727 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 12007, monster_id = 21010201, pos = { x = -27.899, y = -0.484, z = -267.046 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 12008, monster_id = 21010601, pos = { x = -9.319, y = -0.484, z = -266.596 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 12009, monster_id = 22010201, pos = { x = -20.599, y = -0.483, z = -268.572 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 12010, monster_id = 21020101, pos = { x = -17.743, y = -0.484, z = -264.731 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 12011, monster_id = 21010201, pos = { x = -22.697, y = -0.484, z = -261.256 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 12012, monster_id = 21010201, pos = { x = -16.954, y = -0.483, z = -261.457 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 12013, monster_id = 21020201, pos = { x = -20.752, y = -0.483, z = -264.128 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 12014, monster_id = 21010701, pos = { x = -24.683, y = -0.484, z = -266.670 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 12015, monster_id = 21010701, pos = { x = -19.072, y = -0.484, z = -266.673 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 12016, monster_id = 21010701, pos = { x = -12.895, y = -0.484, z = -267.167 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 12017, monster_id = 21010201, pos = { x = -15.804, y = -0.483, z = -259.618 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 12018, monster_id = 21010201, pos = { x = -24.178, y = -0.484, z = -259.035 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 12019, monster_id = 22010201, pos = { x = -20.406, y = -0.484, z = -267.983 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 12020, monster_id = 21020201, pos = { x = -19.926, y = -0.484, z = -264.244 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 12021, monster_id = 21010301, pos = { x = -24.438, y = -0.484, z = -259.942 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 12022, monster_id = 21010301, pos = { x = -15.867, y = -0.483, z = -260.233 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 12023, monster_id = 21010501, pos = { x = -30.388, y = -0.484, z = -266.747 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 12024, monster_id = 21010501, pos = { x = -11.075, y = -0.483, z = -267.895 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 12025, gadget_id = 70211012, pos = { x = -20.103, y = -0.484, z = -273.862 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "战斗中级蒙德", state = GadgetState.ChestLocked, isOneoff = true, persistent = true },
{ config_id = 12026, gadget_id = 70211002, pos = { x = -13.829, y = -0.484, z = -273.848 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "战斗低级蒙德", state = GadgetState.ChestLocked, isOneoff = true, persistent = true },
{ config_id = 12027, gadget_id = 70211002, pos = { x = -25.668, y = -0.483, z = -273.848 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "战斗低级蒙德", state = GadgetState.ChestLocked, isOneoff = true, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1000024, name = "ANY_MONSTER_DIE_24", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_24", action = "action_EVENT_ANY_MONSTER_DIE_24" },
{ config_id = 1000044, name = "ANY_MONSTER_DIE_44", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_44", action = "action_EVENT_ANY_MONSTER_DIE_44" },
{ config_id = 1000045, name = "ANY_MONSTER_DIE_45", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_45", action = "action_EVENT_ANY_MONSTER_DIE_45" },
{ config_id = 1000046, name = "ANY_MONSTER_DIE_46", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_46", action = "action_EVENT_ANY_MONSTER_DIE_46" },
{ config_id = 1000047, name = "ANY_MONSTER_DIE_47", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_47", action = "action_EVENT_ANY_MONSTER_DIE_47" },
{ config_id = 1000048, name = "ANY_MONSTER_DIE_48", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_48", action = "action_EVENT_ANY_MONSTER_DIE_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 = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = true
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 12001, 12002, 12003, 12004, 12005, 12006, 12007, 12008 },
gadgets = { 12025, 12026, 12027 },
regions = { },
triggers = { "ANY_MONSTER_DIE_24", "ANY_MONSTER_DIE_44" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = suite_2,
monsters = { 12009, 12010, 12011, 12012 },
gadgets = { 12025, 12026, 12027 },
regions = { },
triggers = { "ANY_MONSTER_DIE_24", "ANY_MONSTER_DIE_45", "ANY_MONSTER_DIE_46" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = suite_3,
monsters = { 12013, 12014, 12015, 12016, 12017, 12018 },
gadgets = { 12025, 12026, 12027 },
regions = { },
triggers = { "ANY_MONSTER_DIE_24", "ANY_MONSTER_DIE_47" },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = suite_4,
monsters = { 12019, 12020, 12021, 12022, 12023, 12024 },
gadgets = { 12025, 12026, 12027 },
regions = { },
triggers = { "ANY_MONSTER_DIE_24", "ANY_MONSTER_DIE_48", "ANY_MONSTER_DIE_49" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_24(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_24(context, evt)
-- 调用提示id为 20010301 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 20010301) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
-- 解锁目标12025
if 0 ~= ScriptLib.ChangeGroupGadget(context, { config_id = 12025, state = GadgetState.Default }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : unlock_gadget")
return -1
end
-- 解锁目标12026
if 0 ~= ScriptLib.ChangeGroupGadget(context, { config_id = 12026, state = GadgetState.Default }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : unlock_gadget")
return -1
end
-- 解锁目标12027
if 0 ~= ScriptLib.ChangeGroupGadget(context, { config_id = 12027, state = GadgetState.Default }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : unlock_gadget")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_44(context, evt)
--判断死亡怪物的configid是否为 12001
if evt.param1 ~= 12001 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_44(context, evt)
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001021, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_45(context, evt)
--判断死亡怪物的configid是否为 12009
if evt.param1 ~= 12009 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_45(context, evt)
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001020, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_46(context, evt)
--判断死亡怪物的configid是否为 12010
if evt.param1 ~= 12010 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_46(context, evt)
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001022, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_47(context, evt)
--判断死亡怪物的configid是否为 12013
if evt.param1 ~= 12013 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_47(context, evt)
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001021, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_48(context, evt)
--判断死亡怪物的configid是否为 12019
if evt.param1 ~= 12019 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_48(context, evt)
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001020, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_49(context, evt)
--判断死亡怪物的configid是否为 12020
if evt.param1 ~= 12020 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_49(context, evt)
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001022, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
return 0
end

View File

@@ -0,0 +1,75 @@
-- 基础信息
local base_info = {
group_id = 230001013
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 31, monster_id = 20010801, pos = { x = -65.297, y = -0.484, z = -193.165 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 32, monster_id = 20010801, pos = { x = -65.578, y = -0.483, z = -214.586 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 33, monster_id = 20011001, pos = { x = -61.565, y = -0.483, z = -197.815 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 34, monster_id = 20011001, pos = { x = -65.319, y = -0.484, z = -220.325 }, 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 = true
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 31, 32, 33, 34 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,152 @@
-- 基础信息
local base_info = {
group_id = 230001014
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 35, monster_id = 21010201, pos = { x = -37.883, y = -0.484, z = -143.116 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 36, monster_id = 21010301, pos = { x = -44.134, y = -0.484, z = -149.153 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 37, monster_id = 21010201, pos = { x = -62.640, y = -0.484, z = -142.273 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 38, monster_id = 21010301, pos = { x = -69.318, y = -0.484, z = -148.942 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 39, monster_id = 21010201, pos = { x = -55.942, y = -0.483, z = -172.884 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 40, monster_id = 21010301, pos = { x = -51.427, y = -0.483, z = -164.932 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 145, monster_id = 20011401, pos = { x = -37.461, y = -0.483, z = -143.138 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 146, monster_id = 20011401, pos = { x = -42.721, y = -0.484, z = -148.875 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 147, monster_id = 20011401, pos = { x = -63.208, y = -0.484, z = -142.141 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 148, monster_id = 20011401, pos = { x = -70.324, y = -0.484, z = -147.925 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 149, monster_id = 20011401, pos = { x = -55.992, y = -0.483, z = -173.242 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 150, monster_id = 20011401, pos = { x = -52.119, y = -0.483, z = -166.057 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 152, monster_id = 20010301, pos = { x = -43.900, y = -0.484, z = -149.020 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 153, monster_id = 20010301, pos = { x = -38.690, y = -0.484, z = -142.729 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 154, monster_id = 20010301, pos = { x = -51.706, y = -0.483, z = -164.770 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 155, monster_id = 20010301, pos = { x = -55.753, y = -0.483, z = -172.682 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 156, monster_id = 20010301, pos = { x = -63.535, y = -0.484, z = -141.951 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 157, monster_id = 20010301, pos = { x = -66.083, y = -0.483, z = -151.690 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 70, gadget_id = 70211002, pos = { x = -51.621, y = -0.483, z = -153.513 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, drop_tag = "战斗低级蒙德", state = GadgetState.ChestLocked, isOneoff = true, persistent = true },
{ config_id = 71, gadget_id = 70211002, pos = { x = -70.580, y = -0.483, z = -169.875 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "战斗低级蒙德", state = GadgetState.ChestLocked, isOneoff = true, persistent = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1000025, name = "ANY_MONSTER_DIE_25", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_25", action = "action_EVENT_ANY_MONSTER_DIE_25" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = true
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 35, 36, 37, 38, 39, 40 },
gadgets = { 70, 71 },
regions = { },
triggers = { "ANY_MONSTER_DIE_25" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = suite_2,
monsters = { 145, 146, 147, 148, 149, 150 },
gadgets = { 71 },
regions = { },
triggers = { "ANY_MONSTER_DIE_25" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = suite_3,
monsters = { },
gadgets = { 70, 71 },
regions = { },
triggers = { "ANY_MONSTER_DIE_25" },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = suite_4,
monsters = { 152, 153, 154, 155, 156, 157 },
gadgets = { 71 },
regions = { },
triggers = { "ANY_MONSTER_DIE_25" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_25(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_25(context, evt)
-- 解锁目标70
if 0 ~= ScriptLib.ChangeGroupGadget(context, { config_id = 70, state = GadgetState.Default }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : unlock_gadget")
return -1
end
-- 解锁目标71
if 0 ~= ScriptLib.ChangeGroupGadget(context, { config_id = 71, state = GadgetState.Default }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : unlock_gadget")
return -1
end
-- 调用提示id为 20010301 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 20010301) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
return 0
end

View File

@@ -0,0 +1,73 @@
-- 基础信息
local base_info = {
group_id = 230001015
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 72, gadget_id = 70320002, pos = { x = -22.281, y = -0.483, z = -163.709 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1 },
{ config_id = 73, gadget_id = 70320002, pos = { x = -35.107, y = -0.484, z = -176.548 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = true
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 72, 73 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,110 @@
-- 基础信息
local base_info = {
group_id = 230001016
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 49, monster_id = 20010501, pos = { x = -50.843, y = 2.013, z = -97.302 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 50, monster_id = 20010501, pos = { x = -39.255, y = 2.013, z = -97.385 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 51, monster_id = 20011001, pos = { x = -48.464, y = -0.983, z = -95.173 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 52, monster_id = 20011001, pos = { x = -42.740, y = -0.984, z = -101.848 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 53, monster_id = 20011001, pos = { x = -41.658, y = -0.984, z = -93.326 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 158, monster_id = 21010601, pos = { x = -51.344, y = 2.013, z = -97.825 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 159, monster_id = 21010601, pos = { x = -39.056, y = 2.013, z = -98.162 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 160, monster_id = 21010701, pos = { x = -41.310, y = 2.016, z = -111.282 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 161, monster_id = 21010701, pos = { x = -48.163, y = 2.016, z = -111.414 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 162, monster_id = 21010501, pos = { x = -50.867, y = 2.013, z = -98.984 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 163, monster_id = 21010501, pos = { x = -39.420, y = 2.013, z = -99.040 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 164, monster_id = 21010501, pos = { x = -39.369, y = 2.013, z = -96.941 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 165, monster_id = 21010501, pos = { x = -50.513, y = 2.013, z = -96.883 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 118, gadget_id = 70220004, pos = { x = -48.011, y = -0.984, z = -103.388 }, rot = { x = 0.000, y = 177.376, z = 0.000 }, level = 1 },
{ config_id = 119, gadget_id = 70220004, pos = { x = -42.041, y = -0.984, z = -102.799 }, rot = { x = 0.000, y = 335.536, z = 0.000 }, level = 1 },
{ config_id = 120, gadget_id = 70220004, pos = { x = -42.223, y = -0.984, z = -96.630 }, rot = { x = 0.000, y = 149.468, z = 0.000 }, level = 1 },
{ config_id = 121, gadget_id = 70220004, pos = { x = -48.044, y = -0.983, z = -96.458 }, rot = { x = 0.000, y = 26.786, z = 0.000 }, level = 1 },
{ config_id = 122, gadget_id = 70220004, pos = { x = -42.482, y = -0.983, z = -91.291 }, rot = { x = 0.000, y = 262.649, z = 0.000 }, level = 1 },
{ config_id = 123, gadget_id = 70220004, pos = { x = -48.525, y = -0.983, z = -90.974 }, rot = { x = 0.000, y = 67.663, z = 0.000 }, level = 1 },
{ config_id = 124, gadget_id = 70220004, pos = { x = -42.163, y = -0.984, z = -87.132 }, rot = { x = 0.000, y = 342.120, z = 0.000 }, level = 1 },
{ config_id = 125, gadget_id = 70220004, pos = { x = -49.290, y = -0.984, z = -86.877 }, rot = { x = 0.000, y = 226.856, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = true
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 49, 50, 51, 52, 53 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = suite_2,
monsters = { 158, 159, 160, 161 },
gadgets = { 118, 119, 120, 121, 122, 123, 124, 125 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = suite_3,
monsters = { 162, 163, 164, 165 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,235 @@
-- 基础信息
local base_info = {
group_id = 230001018
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 54, monster_id = 24010101, pos = { x = 16.922, y = -0.483, z = -161.056 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, pose_id = 100 },
{ config_id = 55, monster_id = 24010101, pos = { x = 66.738, y = -1.132, z = -219.448 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, pose_id = 100 },
{ config_id = 56, monster_id = 24010101, pos = { x = -21.708, y = -0.483, z = -263.092 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, pose_id = 100 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1000026, name = "ANY_MONSTER_DIE_26", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_26", action = "action_EVENT_ANY_MONSTER_DIE_26" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 4,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 54 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_26" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = suite_2,
monsters = { 55 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_26" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = suite_3,
monsters = { 56 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_DIE_26" },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = suite_4,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_26(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_26(context, evt)
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001001, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001002, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001003, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001005, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001006, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001007, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001008, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001009, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001010, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001011, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001012, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001013, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001014, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001015, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001016, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
-- 杀死Group内所有monster
if 0 ~= ScriptLib.KillGroupEntity(context, { group_id = 230001017, kill_policy = GroupKillPolicy.GROUP_KILL_MONSTER }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : kill_monster_by_group")
return -1
end
-- 调用提示id为 20010701 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 20010701) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
return 0
end

View File

@@ -0,0 +1,928 @@
-- 基础信息
local base_info = {
group_id = 230001019
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
{ config_id = 1, npc_id = 86, pos = { x = -5.657, y = 0.017, z = -9.214 }, rot = { x = 0.000, y = 0.000, z = 0.000 } }
}
-- 装置
gadgets = {
{ config_id = 74, gadget_id = 70211001, pos = { x = -5.256, y = 0.016, z = -78.658 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "战斗低级蒙德", showcutscene = true, isOneoff = true, persistent = true },
{ config_id = 75, gadget_id = 70211001, pos = { x = -5.308, y = 0.017, z = -76.790 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "战斗低级蒙德", showcutscene = true, isOneoff = true, persistent = true },
{ config_id = 76, gadget_id = 70211011, pos = { x = -5.329, y = 0.016, z = -74.912 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "战斗中级蒙德", showcutscene = true, isOneoff = true, persistent = true },
{ config_id = 77, gadget_id = 70350002, pos = { x = -4.900, y = -0.240, z = -83.906 }, rot = { x = 0.000, y = 177.663, z = 0.000 }, level = 1 },
{ config_id = 126, gadget_id = 70211012, pos = { x = 1.280, y = 7.517, z = -119.299 }, rot = { x = 0.000, y = 269.400, z = 0.000 }, level = 1, drop_tag = "战斗中级蒙德", state = GadgetState.ChestLocked, isOneoff = true, persistent = true },
{ config_id = 127, gadget_id = 70211012, pos = { x = -2.734, y = 7.517, z = -122.953 }, rot = { x = 0.000, y = 359.200, z = 0.000 }, level = 1, drop_tag = "战斗中级蒙德", state = GadgetState.ChestLocked, isOneoff = true, persistent = true },
{ config_id = 128, gadget_id = 70211012, pos = { x = -9.135, y = 7.517, z = -122.652 }, rot = { x = 0.000, y = 359.900, z = 0.000 }, level = 1, drop_tag = "战斗中级蒙德", state = GadgetState.ChestLocked, isOneoff = true, persistent = true },
{ config_id = 129, gadget_id = 70211012, pos = { x = -11.642, y = 7.517, z = -118.448 }, rot = { x = 0.000, y = 93.490, z = 0.000 }, level = 1, drop_tag = "战斗中级蒙德", state = GadgetState.ChestLocked, isOneoff = true, persistent = true }
}
-- 区域
regions = {
{ config_id = 5, shape = RegionShape.CUBIC, size = { x = 2.530, y = 5.910, z = 10.380 }, pos = { x = 37.816, y = 1.516, z = -106.200 } },
{ config_id = 6, shape = RegionShape.CUBIC, size = { x = 3.020, y = 9.360, z = 17.840 }, pos = { x = 13.800, y = 2.899, z = -75.214 } },
{ config_id = 8, shape = RegionShape.CUBIC, size = { x = 2.690, y = 18.810, z = 8.740 }, pos = { x = 74.620, y = -0.484, z = -114.557 } },
{ config_id = 9, shape = RegionShape.CUBIC, size = { x = 2.460, y = 15.380, z = 10.110 }, pos = { x = 142.004, y = -0.484, z = -114.956 } },
{ config_id = 10, shape = RegionShape.CUBIC, size = { x = 2.460, y = 15.240, z = 8.060 }, pos = { x = 65.265, y = -0.483, z = -156.546 } },
{ config_id = 11, shape = RegionShape.CUBIC, size = { x = 2.140, y = 13.440, z = 8.650 }, pos = { x = 37.776, y = -0.484, z = -154.862 } },
{ config_id = 12, shape = RegionShape.CUBIC, size = { x = 9.090, y = 15.540, z = 2.300 }, pos = { x = 55.620, y = -0.484, z = -124.911 } },
{ config_id = 13, shape = RegionShape.CUBIC, size = { x = 11.930, y = 17.260, z = 3.180 }, pos = { x = 11.789, y = -0.484, z = -192.948 } },
{ config_id = 14, shape = RegionShape.CUBIC, size = { x = 10.130, y = 24.110, z = 3.090 }, pos = { x = -20.194, y = -0.568, z = -234.308 } },
{ config_id = 15, shape = RegionShape.CUBIC, size = { x = 17.500, y = 14.630, z = 2.790 }, pos = { x = -66.600, y = 5.425, z = -179.311 } },
{ config_id = 16, shape = RegionShape.CUBIC, size = { x = 8.800, y = 12.310, z = 2.500 }, pos = { x = -45.998, y = 2.017, z = -120.205 } },
{ config_id = 17, shape = RegionShape.CUBIC, size = { x = 3.890, y = 14.970, z = 13.130 }, pos = { x = -22.903, y = 0.016, z = -74.020 } },
{ config_id = 18, shape = RegionShape.SPHERE, radius = 5, pos = { x = -4.733, y = 0.016, z = -12.288 } },
{ config_id = 50, shape = RegionShape.SPHERE, radius = 5, pos = { x = -5.324, y = 0.016, z = -23.993 } }
}
-- 触发器
triggers = {
{ config_id = 1000005, name = "ENTER_REGION_5", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_5", action = "action_EVENT_ENTER_REGION_5", trigger_count = 0, forbid_guest = false },
{ config_id = 1000006, name = "ENTER_REGION_6", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_6", action = "action_EVENT_ENTER_REGION_6", trigger_count = 0, forbid_guest = false },
{ config_id = 1000008, name = "ENTER_REGION_8", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_8", action = "action_EVENT_ENTER_REGION_8", trigger_count = 0, forbid_guest = false },
{ config_id = 1000009, name = "ENTER_REGION_9", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_9", action = "action_EVENT_ENTER_REGION_9", trigger_count = 0, forbid_guest = false },
{ config_id = 1000010, name = "ENTER_REGION_10", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_10", action = "action_EVENT_ENTER_REGION_10", trigger_count = 0, forbid_guest = false },
{ config_id = 1000011, name = "ENTER_REGION_11", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_11", action = "action_EVENT_ENTER_REGION_11", trigger_count = 0, forbid_guest = false },
{ config_id = 1000012, name = "ENTER_REGION_12", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_12", action = "action_EVENT_ENTER_REGION_12", trigger_count = 0, forbid_guest = false },
{ config_id = 1000013, name = "ENTER_REGION_13", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_13", action = "action_EVENT_ENTER_REGION_13", trigger_count = 0, forbid_guest = false },
{ config_id = 1000014, name = "ENTER_REGION_14", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_14", action = "action_EVENT_ENTER_REGION_14", trigger_count = 0, forbid_guest = false },
{ config_id = 1000015, name = "ENTER_REGION_15", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_15", action = "action_EVENT_ENTER_REGION_15", trigger_count = 0, forbid_guest = false },
{ config_id = 1000016, name = "ENTER_REGION_16", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_16", action = "action_EVENT_ENTER_REGION_16", trigger_count = 0, forbid_guest = false },
{ config_id = 1000017, name = "ENTER_REGION_17", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_17", action = "action_EVENT_ENTER_REGION_17", trigger_count = 0, forbid_guest = false },
{ config_id = 1000018, name = "ENTER_REGION_18", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_18", action = "action_EVENT_ENTER_REGION_18", trigger_count = 0, forbid_guest = false },
{ config_id = 1000050, name = "ENTER_REGION_50", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_50", action = "action_EVENT_ENTER_REGION_50", forbid_guest = false }
}
-- 变量
variables = {
{ config_id = 1, name = "grouplevel1", value = 0, no_refresh = false },
{ config_id = 2, name = "grouplevel3", value = 0, no_refresh = false },
{ config_id = 3, name = "grouplevel5", value = 0, no_refresh = false },
{ config_id = 4, name = "grouplevel7", value = 0, no_refresh = false },
{ config_id = 5, name = "grouplevel9", value = 0, no_refresh = false },
{ config_id = 6, name = "grouplevel12", value = 0, no_refresh = false },
{ config_id = 7, name = "grouplevel14", value = 0, no_refresh = false }
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = true
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 77, 126, 127, 128, 129 },
regions = { 5, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 50 },
triggers = { "ENTER_REGION_5", "ENTER_REGION_6", "ENTER_REGION_8", "ENTER_REGION_9", "ENTER_REGION_10", "ENTER_REGION_11", "ENTER_REGION_12", "ENTER_REGION_13", "ENTER_REGION_14", "ENTER_REGION_15", "ENTER_REGION_16", "ENTER_REGION_17", "ENTER_REGION_18", "ENTER_REGION_50" },
npcs = { 1 },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ENTER_REGION_5(context, evt)
if evt.param1 ~= 5 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_5(context, evt)
-- 重新生成指定group默认为独立随机
-- 判断如果group1中怪物已经被清除完那么再次刷新会递增其level等级提高group的数值强度
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001001) == 0 then
ScriptLib.ChangeGroupVariableValue(context, "grouplevel1", 1)
c_grouplevel1 = ScriptLib.GetGroupVariableValue(context, "grouplevel1")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001001, refresh_level_revise = c_grouplevel1}) then
return -1
end
end
-- 判断如果group1中怪物没有清除完那么单纯刷新
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001001) > 0 then
c_grouplevel1 = ScriptLib.GetGroupVariableValue(context, "grouplevel1")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001001, refresh_level_revise = c_grouplevel1}) then
return -1
end
end
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001004 }) then
return -1
end
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001006 }) then
return -1
end
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001008 }) then
return -1
end
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001016 }) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_6(context, evt)
if evt.param1 ~= 6 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_6(context, evt)
-- 重新生成指定group默认为独立随机
-- 判断如果group3中怪物已经被清除完那么再次刷新会递增其level等级提高group的数值强度
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001003) == 0 then
ScriptLib.ChangeGroupVariableValue(context, "grouplevel3", 1)
c_grouplevel3 = ScriptLib.GetGroupVariableValue(context, "grouplevel3")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001003, refresh_level_revise = c_grouplevel3}) then
return -1
end
end
-- 判断如果group3中怪物没有清除完那么单纯刷新
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001003) > 0 then
c_grouplevel3 = ScriptLib.GetGroupVariableValue(context, "grouplevel3")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001003, refresh_level_revise = c_grouplevel3}) then
return -1
end
end
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001016 }) then
return -1
end
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001004 }) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_8(context, evt)
if evt.param1 ~= 8 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_8(context, evt)
-- 判断如果230001005中怪物已经被清除完那么再次刷新会递增其level等级提高group的数值强度
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001005) == 0 then
ScriptLib.ChangeGroupVariableValue(context, "grouplevel5", 1)
local c_grouplevel5 = ScriptLib.GetGroupVariableValue(context, "grouplevel5")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001005, refresh_level_revise = c_grouplevel5}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
-- 判断如果group1中怪物没有清除完那么单纯刷新
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001005) > 0 then
local c_grouplevel5 = ScriptLib.GetGroupVariableValue(context, "grouplevel5")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001005, refresh_level_revise = c_grouplevel5}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001006 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_randall")
return -1
end
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001002 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_randall")
return -1
end
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001014 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_randall")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_9(context, evt)
if evt.param1 ~= 9 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_9(context, evt)
-- 判断如果230001003中怪物已经被清除完那么再次刷新会递增其level等级提高group的数值强度
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001003) == 0 then
ScriptLib.ChangeGroupVariableValue(context, "grouplevel3", 1)
local c_grouplevel3 = ScriptLib.GetGroupVariableValue(context, "grouplevel3")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001003, refresh_level_revise = c_grouplevel3}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
-- 判断如果group1中怪物没有清除完那么单纯刷新
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001003) > 0 then
local c_grouplevel3 = ScriptLib.GetGroupVariableValue(context, "grouplevel3")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001003, refresh_level_revise = c_grouplevel3}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_10(context, evt)
if evt.param1 ~= 10 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_10(context, evt)
-- 判断如果230001007中怪物已经被清除完那么再次刷新会递增其level等级提高group的数值强度
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001007) == 0 then
ScriptLib.ChangeGroupVariableValue(context, "grouplevel7", 1)
local c_grouplevel7 = ScriptLib.GetGroupVariableValue(context, "grouplevel7")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001007, refresh_level_revise = c_grouplevel7}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
-- 判断如果group1中怪物没有清除完那么单纯刷新
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001007) > 0 then
local c_grouplevel7 = ScriptLib.GetGroupVariableValue(context, "grouplevel7")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001007, refresh_level_revise = c_grouplevel7}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
-- 判断如果230001009中怪物已经被清除完那么再次刷新会递增其level等级提高group的数值强度
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001009) == 0 then
ScriptLib.ChangeGroupVariableValue(context, "grouplevel9", 1)
local c_grouplevel9 = ScriptLib.GetGroupVariableValue(context, "grouplevel9")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001009, refresh_level_revise = c_grouplevel9}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
-- 判断如果group1中怪物没有清除完那么单纯刷新
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001009) > 0 then
local c_grouplevel9 = ScriptLib.GetGroupVariableValue(context, "grouplevel9")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001009, refresh_level_revise = c_grouplevel9}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
-- 判断如果230001003中怪物已经被清除完那么再次刷新会递增其level等级提高group的数值强度
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001003) == 0 then
ScriptLib.ChangeGroupVariableValue(context, "grouplevel3", 1)
local c_grouplevel3 = ScriptLib.GetGroupVariableValue(context, "grouplevel3")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001003, refresh_level_revise = c_grouplevel3}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
-- 判断如果group1中怪物没有清除完那么单纯刷新
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001003) > 0 then
local c_grouplevel3 = ScriptLib.GetGroupVariableValue(context, "grouplevel3")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001003, refresh_level_revise = c_grouplevel3}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001006 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_randall")
return -1
end
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001010 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_randall")
return -1
end
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001011 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_randall")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_11(context, evt)
if evt.param1 ~= 11 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_11(context, evt)
-- 判断如果230001003中怪物已经被清除完那么再次刷新会递增其level等级提高group的数值强度
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001003) == 0 then
ScriptLib.ChangeGroupVariableValue(context, "grouplevel3", 1)
local c_grouplevel3 = ScriptLib.GetGroupVariableValue(context, "grouplevel3")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001003, refresh_level_revise = c_grouplevel3}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
-- 判断如果group1中怪物没有清除完那么单纯刷新
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001003) > 0 then
local c_grouplevel3 = ScriptLib.GetGroupVariableValue(context, "grouplevel3")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001003, refresh_level_revise = c_grouplevel3}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
-- 判断如果230001009中怪物已经被清除完那么再次刷新会递增其level等级提高group的数值强度
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001009) == 0 then
ScriptLib.ChangeGroupVariableValue(context, "grouplevel9", 1)
local c_grouplevel9 = ScriptLib.GetGroupVariableValue(context, "grouplevel9")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001009, refresh_level_revise = c_grouplevel9}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
-- 判断如果group1中怪物没有清除完那么单纯刷新
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001009) > 0 then
local c_grouplevel9 = ScriptLib.GetGroupVariableValue(context, "grouplevel9")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001009, refresh_level_revise = c_grouplevel9}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001010 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_randall")
return -1
end
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001015 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_randall")
return -1
end
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001004 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_randall")
return -1
end
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001002 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_randall")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_12(context, evt)
if evt.param1 ~= 12 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_12(context, evt)
-- 判断如果230001007中怪物已经被清除完那么再次刷新会递增其level等级提高group的数值强度
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001007) == 0 then
ScriptLib.ChangeGroupVariableValue(context, "grouplevel7", 1)
local c_grouplevel7 = ScriptLib.GetGroupVariableValue(context, "grouplevel7")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001007, refresh_level_revise = c_grouplevel7}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
-- 判断如果group1中怪物没有清除完那么单纯刷新
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001007) > 0 then
local c_grouplevel7 = ScriptLib.GetGroupVariableValue(context, "grouplevel7")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001007, refresh_level_revise = c_grouplevel7}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
-- 判断如果230001009中怪物已经被清除完那么再次刷新会递增其level等级提高group的数值强度
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001009) == 0 then
ScriptLib.ChangeGroupVariableValue(context, "grouplevel9", 1)
local c_grouplevel9 = ScriptLib.GetGroupVariableValue(context, "grouplevel9")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001009, refresh_level_revise = c_grouplevel9}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
-- 判断如果group1中怪物没有清除完那么单纯刷新
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001009) > 0 then
local c_grouplevel9 = ScriptLib.GetGroupVariableValue(context, "grouplevel9")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001009, refresh_level_revise = c_grouplevel9}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001008 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_randall")
return -1
end
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001002 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_randall")
return -1
end
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001004 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_randall")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_13(context, evt)
if evt.param1 ~= 13 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_13(context, evt)
-- 判断如果230001012中怪物已经被清除完那么再次刷新会递增其level等级提高group的数值强度
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001012) == 0 then
ScriptLib.ChangeGroupVariableValue(context, "grouplevel12", 1)
local c_grouplevel12 = ScriptLib.GetGroupVariableValue(context, "grouplevel12")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001012, refresh_level_revise = c_grouplevel12}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
-- 判断如果group1中怪物没有清除完那么单纯刷新
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001012) > 0 then
local c_grouplevel12 = ScriptLib.GetGroupVariableValue(context, "grouplevel12")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001012, refresh_level_revise = c_grouplevel12}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001013 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_randall")
return -1
end
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001015 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_randall")
return -1
end
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001006 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_randall")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_14(context, evt)
if evt.param1 ~= 14 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_14(context, evt)
-- 判断如果230001007中怪物已经被清除完那么再次刷新会递增其level等级提高group的数值强度
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001007) == 0 then
ScriptLib.ChangeGroupVariableValue(context, "grouplevel7", 1)
local c_grouplevel7 = ScriptLib.GetGroupVariableValue(context, "grouplevel7")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001007, refresh_level_revise = c_grouplevel7}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
-- 判断如果group1中怪物没有清除完那么单纯刷新
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001007) > 0 then
local c_grouplevel7 = ScriptLib.GetGroupVariableValue(context, "grouplevel7")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001007, refresh_level_revise = c_grouplevel7}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
-- 判断如果230001014中怪物已经被清除完那么再次刷新会递增其level等级提高group的数值强度
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001014) == 0 then
ScriptLib.ChangeGroupVariableValue(context, "grouplevel14", 1)
local c_grouplevel14 = ScriptLib.GetGroupVariableValue(context, "grouplevel14")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001014, refresh_level_revise = c_grouplevel14}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
-- 判断如果group1中怪物没有清除完那么单纯刷新
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001014) > 0 then
local c_grouplevel14 = ScriptLib.GetGroupVariableValue(context, "grouplevel14")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001014, refresh_level_revise = c_grouplevel14}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001013 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_randall")
return -1
end
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001015 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_randall")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_15(context, evt)
if evt.param1 ~= 15 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_15(context, evt)
-- 判断如果230001007中怪物已经被清除完那么再次刷新会递增其level等级提高group的数值强度
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001007) == 0 then
ScriptLib.ChangeGroupVariableValue(context, "grouplevel7", 1)
local c_grouplevel7 = ScriptLib.GetGroupVariableValue(context, "grouplevel7")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001007, refresh_level_revise = c_grouplevel7}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
-- 判断如果group1中怪物没有清除完那么单纯刷新
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001007) > 0 then
local c_grouplevel7 = ScriptLib.GetGroupVariableValue(context, "grouplevel7")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001007, refresh_level_revise = c_grouplevel7}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
-- 判断如果230001012中怪物已经被清除完那么再次刷新会递增其level等级提高group的数值强度
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001012) == 0 then
ScriptLib.ChangeGroupVariableValue(context, "grouplevel12", 1)
local c_grouplevel12 = ScriptLib.GetGroupVariableValue(context, "grouplevel12")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001012, refresh_level_revise = c_grouplevel12}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
-- 判断如果group1中怪物没有清除完那么单纯刷新
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001012) > 0 then
local c_grouplevel12 = ScriptLib.GetGroupVariableValue(context, "grouplevel12")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001012, refresh_level_revise = c_grouplevel12}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001015 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_randall")
return -1
end
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001016 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_randall")
return -1
end
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001010 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_randall")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_16(context, evt)
if evt.param1 ~= 16 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_16(context, evt)
-- 判断如果230001001中怪物已经被清除完那么再次刷新会递增其level等级提高group的数值强度
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001001) == 0 then
ScriptLib.ChangeGroupVariableValue(context, "grouplevel1", 1)
local c_grouplevel1 = ScriptLib.GetGroupVariableValue(context, "grouplevel1")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001001, refresh_level_revise = c_grouplevel1}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
-- 判断如果group1中怪物没有清除完那么单纯刷新
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001001) > 0 then
local c_grouplevel1 = ScriptLib.GetGroupVariableValue(context, "grouplevel1")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001001, refresh_level_revise = c_grouplevel1}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001002 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_randall")
return -1
end
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001011 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_randall")
return -1
end
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001010 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_randall")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_17(context, evt)
if evt.param1 ~= 17 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_17(context, evt)
-- 判断如果230001014中怪物已经被清除完那么再次刷新会递增其level等级提高group的数值强度
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001014) == 0 then
ScriptLib.ChangeGroupVariableValue(context, "grouplevel14", 1)
local c_grouplevel14 = ScriptLib.GetGroupVariableValue(context, "grouplevel14")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001014, refresh_level_revise = c_grouplevel14}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
-- 判断如果group1中怪物没有清除完那么单纯刷新
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001014) > 0 then
local c_grouplevel14 = ScriptLib.GetGroupVariableValue(context, "grouplevel14")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001014, refresh_level_revise = c_grouplevel14}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001015 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_randall")
return -1
end
-- 重新生成指定group默认为独立随机
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001002 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : refresh_group_randall")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_18(context, evt)
if evt.param1 ~= 18 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_18(context, evt)
-- 判断如果230001001中怪物已经被清除完那么再次刷新会递增其level等级提高group的数值强度
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001001) == 0 then
ScriptLib.ChangeGroupVariableValue(context, "grouplevel1", 1)
local c_grouplevel1 = ScriptLib.GetGroupVariableValue(context, "grouplevel1")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001001, refresh_level_revise = c_grouplevel1}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
-- 判断如果group1中怪物没有清除完那么单纯刷新
if ScriptLib.GetGroupMonsterCountByGroupId(context, 230001001) > 0 then
local c_grouplevel1 = ScriptLib.GetGroupVariableValue(context, "grouplevel1")
if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 230001001, refresh_level_revise = c_grouplevel1}) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : test_curseMaze_groupLevel")
return -1
end
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_50(context, evt)
if evt.param1 ~= 50 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_50(context, evt)
-- 调用提示id为 20010101 的提示UI会显示在屏幕中央偏下位置id索引自 ReminderData表格
if 0 ~= ScriptLib.ShowReminder(context, 20010101) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : active_reminder_ui")
return -1
end
return 0
end

View File

@@ -0,0 +1,74 @@
-- 基础信息
local base_info = {
group_id = 230001020
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 166, monster_id = 20011201, pos = { x = 75.162, y = 0.016, z = -20.243 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 167, monster_id = 20011201, pos = { x = 74.727, y = 0.016, z = -24.111 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 168, monster_id = 20011201, pos = { x = 72.104, y = 0.016, z = -24.214 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = true
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 166, 167, 168 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,78 @@
-- 基础信息
local base_info = {
group_id = 230001021
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 169, monster_id = 20011201, pos = { x = 58.564, y = 0.016, z = -58.855 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 170, monster_id = 20011201, pos = { x = 58.564, y = 0.016, z = -58.855 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 171, monster_id = 20011201, pos = { x = 61.383, y = 0.016, z = -69.031 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 172, monster_id = 20011201, pos = { x = 62.316, y = 0.017, z = -63.086 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 173, monster_id = 20011201, pos = { x = 57.907, y = 0.016, z = -65.229 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 174, monster_id = 20011201, pos = { x = 63.975, y = 0.016, z = -65.405 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 175, monster_id = 20011201, pos = { x = 63.490, y = 0.017, z = -58.286 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = true
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 169, 170, 171, 172, 173, 174, 175 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,74 @@
-- 基础信息
local base_info = {
group_id = 230001022
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 176, monster_id = 20011201, pos = { x = 92.737, y = 0.016, z = -19.692 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 177, monster_id = 20011201, pos = { x = 93.816, y = 0.016, z = -23.592 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 178, monster_id = 20011201, pos = { x = 88.820, y = 0.017, z = -23.458 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = true
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 176, 177, 178 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================

View File

@@ -0,0 +1,85 @@
{
"areas": {},
"doors": {},
"entities": {},
"forces": {},
"points": {
"1": {
"$type": "DungeonQuitPoint",
"alias": "",
"areaId": 0,
"gadgetId": 70110002,
"groupLimit": false,
"isModelHidden": false,
"pointType": "DungeonQuitPoint",
"pos": {
"x": -5.211,
"y": 8.516427,
"z": -133.85
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"size": {
"x": 10.0,
"y": 10.0,
"z": 10.0
},
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": true
},
"2": {
"$type": "DungeonWayPoint",
"alias": "",
"areaId": 0,
"disableClientTrigger": false,
"gadgetId": 70120003,
"groupIds": [],
"groupLimit": false,
"isActive": false,
"isBoss": false,
"isModelHidden": false,
"pointType": "DungeonWayPoint",
"pos": {
"x": 0.5262328,
"y": 0.01655902,
"z": -9.037609
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"size": {
"x": 36.08,
"y": 12.85,
"z": 6.23
},
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": true
}
},
"transRadius": 0.0
}