添加配置表

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
@@ -0,0 +1,24 @@
-- 地图配置
scene_config = {
begin_pos = { x = -2595.5, z = -1646.1 },
size = { x = 6046.2, z = 4599.1 },
born_pos = { x = 336.540, y = -32.890, z = 526.914 },
born_rot = { x = 0.000, y = 180.600, z = 0.000 },
die_y = -35,
city_id = 1,
vision_anchor = { x = -2595.5, z = -1646.1 }
}
-- 所有的区块
blocks = { 20013 }
-- 所有的区块范围坐标
block_rects = {
{ min = { x = -2595.5, z = -1646.1 }, max = { x = 3450.7, z = 2953.0 } }
}
-- Dummy Points
dummy_points = { "dummy_points" }
-- Routes
routes_config = { "routes" }
@@ -0,0 +1,394 @@
{
"sceneId": 20013,
"routes": [
{
"localId": 1,
"name": "DefaultRouteName",
"type": "Reciprocate",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": 349.75705,
"y": -28.9836845,
"z": 419.519653
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 336.0088,
"y": -28.983387,
"z": 419.283051
},
"waitTime": 0.0,
"speedLevel": 1
}
]
},
{
"localId": 2,
"name": "DefaultRouteName",
"type": "Reciprocate",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": 338.0471,
"y": -28.8000355,
"z": 429.8052
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 348.943237,
"y": -28.9833412,
"z": 429.750977
},
"waitTime": 0.0,
"speedLevel": 1
}
]
},
{
"localId": 3,
"name": "DefaultRouteName",
"type": "Reciprocate",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": 350.034271,
"y": -28.9834633,
"z": 429.197479
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 350.0058,
"y": -28.98346,
"z": 417.322174
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 335.849884,
"y": -28.9835548,
"z": 417.431915
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 337.732635,
"y": -28.9837685,
"z": 430.143127
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 349.7135,
"y": -28.983427,
"z": 430.000549
},
"waitTime": 0.0,
"speedLevel": 1
}
]
},
{
"localId": 4,
"name": "DefaultRouteName",
"type": "Reciprocate",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": 347.950775,
"y": -18.8535538,
"z": 341.080963
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 347.467468,
"y": -18.8537369,
"z": 349.882324
},
"waitTime": 0.0,
"speedLevel": 1
}
]
},
{
"localId": 5,
"name": "DefaultRouteName",
"type": "Reciprocate",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": 338.979858,
"y": -18.8533478,
"z": 350.408722
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 337.9868,
"y": -18.8536224,
"z": 341.7971
},
"waitTime": 0.0,
"speedLevel": 1
}
]
},
{
"localId": 6,
"name": "DefaultRouteName",
"type": "Reciprocate",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": 349.664,
"y": -18.85342,
"z": 352.225342
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 337.786316,
"y": -18.853775,
"z": 352.863
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 334.908417,
"y": -18.8533859,
"z": 339.696
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 350.859467,
"y": -18.85382,
"z": 338.715332
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 349.548767,
"y": -18.8534069,
"z": 352.695923
},
"waitTime": 0.0,
"speedLevel": 1
}
]
},
{
"localId": 7,
"name": "DefaultRouteName",
"type": "Reciprocate",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": 335.410645,
"y": -18.853487,
"z": 340.59848
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 337.4358,
"y": -18.853735,
"z": 352.901764
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 350.714966,
"y": -18.8535385,
"z": 352.4871
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 352.091461,
"y": -18.853693,
"z": 338.043945
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 336.161255,
"y": -18.8534565,
"z": 340.332184
},
"waitTime": 0.0,
"speedLevel": 1
}
]
},
{
"localId": 8,
"name": "DefaultRouteName",
"type": "Reciprocate",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": 351.483673,
"y": -12.8536215,
"z": 256.384
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 333.479675,
"y": -12.8532839,
"z": 256.77774
},
"waitTime": 0.0,
"speedLevel": 1
}
]
},
{
"localId": 9,
"name": "DefaultRouteName",
"type": "Reciprocate",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": 334.5992,
"y": -12.8538046,
"z": 269.9562
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 351.2127,
"y": -12.8533926,
"z": 268.9864
},
"waitTime": 0.0,
"speedLevel": 1
}
]
},
{
"localId": 10,
"name": "DefaultRouteName",
"type": "Reciprocate",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": 349.05954,
"y": -12.85359,
"z": 262.734772
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 338.157623,
"y": -12.8534784,
"z": 262.555847
},
"waitTime": 0.0,
"speedLevel": 1
}
]
},
{
"localId": 11,
"name": "DefaultRouteName",
"type": "Reciprocate",
"rotType": "ROT_NONE",
"rotAngleType": "ROT_ANGLE_Y",
"arriveRange": 2.0,
"points": [
{
"pos": {
"x": 338.035126,
"y": -12.8537989,
"z": 269.0597
},
"waitTime": 0.0,
"speedLevel": 1
},
{
"pos": {
"x": 348.660675,
"y": -12.8533039,
"z": 268.933838
},
"waitTime": 0.0,
"speedLevel": 1
}
]
}
]
}
@@ -0,0 +1,9 @@
-- 所有的group
groups = {
{ id = 220013001, refresh_id = 1002, pos = { x = 343.457, y = -28.974, z = 429.551 } },
{ id = 220013002, refresh_id = 1, pos = { x = 343.390, y = -25.794, z = 391.859 } },
{ id = 220013003, refresh_id = 1002, pos = { x = 343.260, y = -18.854, z = 346.738 } },
{ id = 220013005, refresh_id = 1002, pos = { x = 343.206, y = -12.742, z = 266.876 } },
{ id = 220013006, refresh_id = 1, pos = { x = 342.545, y = -27.850, z = 468.326 } },
{ id = 220013007, refresh_id = 1, pos = { x = 344.012, y = -27.850, z = 456.001 } }
}
@@ -0,0 +1,3 @@
dummy_points = {
["M 0001"] = { pos = { x = 337.372, y = -27.833, z = 487.808 }, rot = { x = 0.000, y = 154.700, z = 0.000 } }
}
@@ -0,0 +1,158 @@
-- 基础信息
local base_info = {
group_id = 220013001
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 1001, monster_id = 20011301, pos = { x = 343.101, y = -28.901, z = 429.407 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 1002, monster_id = 20011201, pos = { x = 348.350, y = -28.984, z = 426.000 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 1003, monster_id = 20011201, pos = { x = 348.348, y = -28.984, z = 435.646 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 1004, monster_id = 20011201, pos = { x = 338.319, y = -28.983, z = 425.736 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 1005, monster_id = 20011201, pos = { x = 338.327, y = -28.984, z = 435.794 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 1006, monster_id = 21010701, pos = { x = 350.604, y = -27.984, z = 414.486 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 1007, monster_id = 21010701, pos = { x = 343.766, y = -27.983, z = 414.742 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 1008, monster_id = 21010701, pos = { x = 335.193, y = -27.983, z = 414.467 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 1009, monster_id = 21010201, pos = { x = 349.727, y = -28.984, z = 426.070 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 1010, monster_id = 21010201, pos = { x = 338.214, y = -28.800, z = 435.212 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 1011, monster_id = 20020101, pos = { x = 343.159, y = -28.901, z = 431.757 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 1012, monster_id = 21010301, pos = { x = 347.946, y = -28.933, z = 428.108 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 1013, monster_id = 21010301, pos = { x = 343.382, y = -28.942, z = 430.425 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 1014, monster_id = 21010301, pos = { x = 338.440, y = -28.895, z = 428.636 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 1015, monster_id = 21010601, pos = { x = 343.246, y = -27.853, z = 414.999 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 1016, gadget_id = 70350003, pos = { x = 333.229, y = -28.075, z = 404.540 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 1017, gadget_id = 70350003, pos = { x = 343.002, y = -28.053, z = 404.658 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 1018, gadget_id = 70350003, pos = { x = 353.149, y = -27.976, z = 404.620 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 1019, gadget_id = 70220010, pos = { x = 348.279, y = -28.800, z = 435.665 }, rot = { x = 0.000, y = 101.837, z = 0.000 }, level = 1 },
{ config_id = 1020, gadget_id = 70220010, pos = { x = 348.410, y = -28.800, z = 425.647 }, rot = { x = 0.000, y = 0.617, z = 0.000 }, level = 1 },
{ config_id = 1021, gadget_id = 70220010, pos = { x = 338.208, y = -28.800, z = 425.824 }, rot = { x = 0.000, y = 177.456, z = 0.000 }, level = 1 },
{ config_id = 1022, gadget_id = 70220010, pos = { x = 338.255, y = -28.800, z = 435.784 }, rot = { x = 0.000, y = 88.924, z = 0.000 }, level = 1 },
{ config_id = 1023, gadget_id = 70310001, pos = { x = 350.343, y = -28.984, z = 423.674 }, rot = { x = 0.000, y = 128.690, z = 0.000 }, level = 1, state = GadgetState.GearStart },
{ config_id = 1024, gadget_id = 70310001, pos = { x = 336.928, y = -28.983, z = 423.746 }, rot = { x = 0.000, y = 347.011, z = 0.000 }, level = 1, state = GadgetState.GearStart },
{ config_id = 1025, gadget_id = 70310001, pos = { x = 337.179, y = -28.984, z = 437.460 }, rot = { x = 0.000, y = 184.232, z = 0.000 }, level = 1, state = GadgetState.GearStart },
{ config_id = 1026, gadget_id = 70310001, pos = { x = 349.412, y = -28.983, z = 437.089 }, rot = { x = 0.000, y = 242.657, z = 0.000 }, level = 1, state = GadgetState.GearStart }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1000001, name = "ANY_MONSTER_DIE_1", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_1", action = "action_EVENT_ANY_MONSTER_DIE_1" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = true
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = suite_1,
monsters = { 1001, 1002, 1003, 1004, 1005 },
gadgets = { 1016, 1017, 1018 },
regions = { },
triggers = { "ANY_MONSTER_DIE_1" },
rand_weight = 50
},
{
-- suite_id = 2,
-- description = suite_2,
monsters = { 1006, 1007, 1008, 1009, 1010 },
gadgets = { 1016, 1017, 1018 },
regions = { },
triggers = { "ANY_MONSTER_DIE_1" },
rand_weight = 50
},
{
-- suite_id = 3,
-- description = suite_3,
monsters = { 1011 },
gadgets = { 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026 },
regions = { },
triggers = { "ANY_MONSTER_DIE_1" },
rand_weight = 40
},
{
-- suite_id = 4,
-- description = suite_4,
monsters = { 1012, 1013, 1014, 1015 },
gadgets = { 1016, 1017, 1018 },
regions = { },
triggers = { "ANY_MONSTER_DIE_1" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_1(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_1(context, evt)
-- 将configid为 1016 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1016, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 将configid为 1017 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1017, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 将configid为 1018 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 1018, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,194 @@
-- 基础信息
local base_info = {
group_id = 220013003
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 3001, monster_id = 22010101, pos = { x = 343.219, y = -18.854, z = 343.315 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 3002, monster_id = 21010701, pos = { x = 352.256, y = -19.046, z = 331.748 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 3003, monster_id = 21010701, pos = { x = 342.960, y = -18.372, z = 331.960 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 3004, monster_id = 21010701, pos = { x = 333.905, y = -19.156, z = 331.680 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 3005, monster_id = 20011201, pos = { x = 350.913, y = -18.853, z = 342.873 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3006, monster_id = 20011201, pos = { x = 336.941, y = -18.854, z = 349.753 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3007, monster_id = 22010201, pos = { x = 343.208, y = -18.854, z = 343.559 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 3008, monster_id = 20010801, pos = { x = 350.015, y = -18.853, z = 340.226 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3009, monster_id = 20010801, pos = { x = 337.221, y = -18.854, z = 347.722 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3010, monster_id = 21010401, pos = { x = 358.074, y = -14.159, z = 336.311 }, rot = { x = 0.000, y = 327.900, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 3011, monster_id = 21010401, pos = { x = 358.367, y = -16.914, z = 339.406 }, rot = { x = 0.000, y = 323.010, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 3012, monster_id = 20010601, pos = { x = 347.237, y = -18.854, z = 342.386 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3013, monster_id = 20010701, pos = { x = 337.808, y = -18.853, z = 343.417 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3014, monster_id = 20010501, pos = { x = 348.065, y = -18.853, z = 348.263 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3015, monster_id = 20010501, pos = { x = 336.519, y = -18.853, z = 338.330 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 3016, gadget_id = 70350003, pos = { x = 353.177, y = -18.581, z = 322.583 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3017, gadget_id = 70350003, pos = { x = 343.226, y = -18.422, z = 322.607 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3018, gadget_id = 70350003, pos = { x = 333.348, y = -18.482, z = 322.648 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 3019, gadget_id = 70220005, pos = { x = 357.400, y = -19.390, z = 350.482 }, rot = { x = 0.000, y = 29.704, z = 0.000 }, level = 1 },
{ config_id = 3020, gadget_id = 70220005, pos = { x = 360.466, y = -14.283, z = 336.726 }, rot = { x = 0.000, y = 146.296, z = 0.000 }, level = 1 },
{ config_id = 3021, gadget_id = 70211011, pos = { x = 366.096, y = -14.284, z = 332.570 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, drop_tag = "战斗中级蒙德", isOneoff = true },
{ config_id = 3022, gadget_id = 70220004, pos = { x = 357.327, y = -19.277, z = 346.420 }, rot = { x = 0.000, y = 119.197, z = 0.000 }, level = 3 },
{ config_id = 3023, gadget_id = 70220004, pos = { x = 358.263, y = -16.894, z = 344.400 }, rot = { x = 0.000, y = 130.992, z = 0.000 }, level = 3 },
{ config_id = 3024, gadget_id = 70220004, pos = { x = 358.216, y = -16.893, z = 340.838 }, rot = { x = 0.000, y = 339.018, z = 0.000 }, level = 3 },
{ config_id = 3025, gadget_id = 70220004, pos = { x = 357.898, y = -16.894, z = 338.435 }, rot = { x = 0.000, y = 266.014, z = 0.000 }, level = 3 },
{ config_id = 3026, gadget_id = 70220004, pos = { x = 357.903, y = -14.283, z = 337.276 }, rot = { x = 0.000, y = 91.746, z = 0.000 }, level = 3 },
{ config_id = 3027, gadget_id = 70220005, pos = { x = 357.264, y = -19.277, z = 345.523 }, rot = { x = 0.000, y = 21.325, z = 0.000 }, level = 1 },
{ config_id = 3028, gadget_id = 70310001, pos = { x = 361.966, y = -14.283, z = 336.545 }, rot = { x = 0.000, y = 17.777, z = 0.000 }, level = 1 },
{ config_id = 3029, gadget_id = 70310001, pos = { x = 358.560, y = -16.894, z = 354.601 }, rot = { x = 0.000, y = 17.777, z = 0.000 }, level = 1, state = GadgetState.GearStart },
{ config_id = 3030, gadget_id = 70310001, pos = { x = 358.590, y = -16.894, z = 350.230 }, rot = { x = 0.000, y = 17.777, z = 0.000 }, level = 1, state = GadgetState.GearStart },
{ config_id = 3031, gadget_id = 70310001, pos = { x = 358.555, y = -16.894, z = 345.238 }, rot = { x = 0.000, y = 17.777, z = 0.000 }, level = 1, state = GadgetState.GearStart },
{ config_id = 3032, gadget_id = 70310001, pos = { x = 358.686, y = -16.894, z = 340.267 }, rot = { x = 0.000, y = 17.777, z = 0.000 }, level = 1, state = GadgetState.GearStart },
{ config_id = 3033, gadget_id = 70310001, pos = { x = 358.748, y = -14.284, z = 335.225 }, rot = { x = 0.000, y = 17.777, z = 0.000 }, level = 1, state = GadgetState.GearStart },
{ config_id = 3034, gadget_id = 70310001, pos = { x = 358.758, y = -14.284, z = 330.217 }, rot = { x = 0.000, y = 17.777, z = 0.000 }, level = 1, state = GadgetState.GearStart }
}
-- 区域
regions = {
{ config_id = 7, shape = RegionShape.SPHERE, radius = 49.11, pos = { x = 342.548, y = -18.854, z = 314.996 } }
}
-- 触发器
triggers = {
{ config_id = 1000006, name = "ANY_MONSTER_DIE_6", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_6", action = "action_EVENT_ANY_MONSTER_DIE_6" },
{ config_id = 1000007, name = "ENTER_REGION_7", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_7", action = "action_EVENT_ENTER_REGION_7", trigger_count = 0, forbid_guest = false }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = true
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = suite_1,
monsters = { 3001, 3002, 3003, 3004, 3005, 3006 },
gadgets = { 3016, 3017, 3018, 3021, 3028 },
regions = { 7 },
triggers = { "ANY_MONSTER_DIE_6", "ENTER_REGION_7" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = suite_2,
monsters = { 3007, 3008, 3009, 3010, 3011 },
gadgets = { 3016, 3017, 3018, 3021, 3022, 3023, 3024, 3025, 3026, 3027, 3028 },
regions = { 7 },
triggers = { "ANY_MONSTER_DIE_6", "ENTER_REGION_7" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = suite_3,
monsters = { 3012, 3013, 3014, 3015 },
gadgets = { 3016, 3017, 3018, 3021, 3028 },
regions = { 7 },
triggers = { "ANY_MONSTER_DIE_6", "ENTER_REGION_7" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_6(context, evt)
-- 判断剩余怪物数量是否是0
if ScriptLib.GetGroupMonsterCount(context) ~= 0 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_6(context, evt)
-- 将configid为 3016 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 3016, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 将configid为 3017 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 3017, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 将configid为 3018 的物件更改为状态 GadgetState.GearStart
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 3018, GadgetState.GearStart) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_7(context, evt)
if evt.param1 ~= 7 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_7(context, evt)
-- 将configid为 8 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 8, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 将configid为 9 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 9, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
-- 将configid为 10 的物件更改为状态 GadgetState.Default
if 0 ~= ScriptLib.SetGadgetStateByConfigId(context, 10, GadgetState.Default) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : set_gadget_state_by_configId")
return -1
end
return 0
end
@@ -0,0 +1,855 @@
-- 基础信息
local base_info = {
group_id = 220013005
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 5001, monster_id = 21020201, pos = { x = 343.051, y = -12.854, z = 251.635 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 5002, monster_id = 20011201, pos = { x = 354.608, y = -12.853, z = 262.622 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5003, monster_id = 20011201, pos = { x = 332.458, y = -12.714, z = 254.330 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5004, monster_id = 20011201, pos = { x = 330.718, y = -12.622, z = 264.997 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5005, monster_id = 20011201, pos = { x = 332.048, y = -12.893, z = 275.984 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5006, monster_id = 20011201, pos = { x = 353.749, y = -12.853, z = 275.445 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5007, monster_id = 20011201, pos = { x = 341.984, y = -12.742, z = 265.803 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5008, monster_id = 20011201, pos = { x = 326.841, y = -11.354, z = 281.976 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5009, monster_id = 20011201, pos = { x = 359.756, y = -11.353, z = 281.596 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5010, monster_id = 20011201, pos = { x = 355.673, y = -12.622, z = 251.498 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5011, monster_id = 22010201, pos = { x = 342.995, y = -12.741, z = 259.201 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 5012, monster_id = 20011001, pos = { x = 351.614, y = -12.758, z = 255.573 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 5013, monster_id = 20011001, pos = { x = 334.522, y = -12.758, z = 257.178 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 5014, monster_id = 22010301, pos = { x = 343.040, y = -12.758, z = 252.545 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5015, monster_id = 20010501, pos = { x = 338.268, y = -12.741, z = 264.891 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5016, monster_id = 20010601, pos = { x = 347.843, y = -12.741, z = 259.709 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 5017, monster_id = 20010701, pos = { x = 336.532, y = -12.741, z = 259.423 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 5018, monster_id = 21020101, pos = { x = 348.510, y = -12.742, z = 255.900 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 5019, monster_id = 21020101, pos = { x = 337.772, y = -12.742, z = 255.934 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 5020, monster_id = 22010201, pos = { x = 342.748, y = -12.742, z = 255.725 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5021, monster_id = 20010901, pos = { x = 342.919, y = -12.742, z = 261.113 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5022, monster_id = 20011101, pos = { x = 337.680, y = -12.741, z = 264.156 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5023, monster_id = 20011501, pos = { x = 348.735, y = -12.741, z = 258.328 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5024, monster_id = 20010501, pos = { x = 345.984, y = -12.741, z = 262.632 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5025, monster_id = 20010601, pos = { x = 346.958, y = -12.741, z = 258.435 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5026, monster_id = 20010701, pos = { x = 337.063, y = -12.741, z = 259.059 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5027, monster_id = 20010501, pos = { x = 350.200, y = -12.741, z = 263.828 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5028, monster_id = 20010501, pos = { x = 335.823, y = -12.741, z = 264.248 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5029, monster_id = 21020201, pos = { x = 342.479, y = -12.854, z = 251.647 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 5030, monster_id = 21010501, pos = { x = 351.503, y = -11.354, z = 244.459 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 5031, monster_id = 21010701, pos = { x = 350.802, y = -12.758, z = 258.149 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 5032, monster_id = 21010701, pos = { x = 335.162, y = -12.758, z = 257.680 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 5033, monster_id = 22010201, pos = { x = 348.179, y = -12.741, z = 259.508 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 5034, monster_id = 22010301, pos = { x = 336.864, y = -12.741, z = 259.744 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 5035, monster_id = 20010801, pos = { x = 347.189, y = -12.741, z = 265.433 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5036, monster_id = 20010801, pos = { x = 351.573, y = -12.758, z = 262.850 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5037, monster_id = 22010301, pos = { x = 342.692, y = -12.741, z = 259.766 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 5038, monster_id = 20010601, pos = { x = 347.322, y = -12.741, z = 262.195 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 5039, monster_id = 20010701, pos = { x = 336.928, y = -12.741, z = 262.619 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, disableWander = true },
{ config_id = 5040, monster_id = 20010501, pos = { x = 346.951, y = -12.742, z = 256.824 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5041, monster_id = 20010501, pos = { x = 338.190, y = -12.742, z = 256.592 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 5042, gadget_id = 70320002, pos = { x = 361.454, y = -11.354, z = 268.220 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, state = GadgetState.GearStart },
{ config_id = 5043, gadget_id = 70320002, pos = { x = 361.701, y = -11.354, z = 258.306 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, state = GadgetState.GearStart },
{ config_id = 5044, gadget_id = 70320002, pos = { x = 325.386, y = -11.354, z = 258.050 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1, state = GadgetState.GearStart },
{ config_id = 5045, gadget_id = 70320002, pos = { x = 325.153, y = -11.354, z = 268.143 }, rot = { x = 0.000, y = 90.000, z = 0.000 }, level = 1, state = GadgetState.GearStart },
{ config_id = 5046, gadget_id = 70220010, pos = { x = 359.320, y = -11.353, z = 266.495 }, rot = { x = 0.000, y = 213.708, z = 0.000 }, level = 1 },
{ config_id = 5047, gadget_id = 70220010, pos = { x = 350.747, y = -12.742, z = 265.641 }, rot = { x = 0.000, y = 263.576, z = 0.000 }, level = 1 },
{ config_id = 5048, gadget_id = 70220010, pos = { x = 335.370, y = -12.758, z = 266.080 }, rot = { x = 0.000, y = 353.618, z = 0.000 }, level = 1 },
{ config_id = 5049, gadget_id = 70220010, pos = { x = 350.970, y = -12.758, z = 255.448 }, rot = { x = 0.000, y = 151.714, z = 0.000 }, level = 1 },
{ config_id = 5050, gadget_id = 70220010, pos = { x = 334.959, y = -12.758, z = 255.879 }, rot = { x = 0.000, y = 118.399, z = 0.000 }, level = 1 },
{ config_id = 5051, gadget_id = 70220010, pos = { x = 342.904, y = -12.742, z = 261.140 }, rot = { x = 0.000, y = 39.787, z = 0.000 }, level = 1 },
{ config_id = 5052, gadget_id = 70220010, pos = { x = 343.095, y = -12.741, z = 267.308 }, rot = { x = 0.000, y = 299.248, z = 0.000 }, level = 1 },
{ config_id = 5053, gadget_id = 70220010, pos = { x = 358.193, y = -11.347, z = 258.741 }, rot = { x = 0.000, y = 63.687, z = 0.000 }, level = 1 },
{ config_id = 5054, gadget_id = 70220010, pos = { x = 327.776, y = -11.354, z = 260.544 }, rot = { x = 0.000, y = 49.860, z = 0.000 }, level = 1 },
{ config_id = 5055, gadget_id = 70211011, pos = { x = 343.505, y = -12.758, z = 253.398 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "战斗中级蒙德", showcutscene = true, isOneoff = true },
{ config_id = 5056, gadget_id = 70211011, pos = { x = 343.442, y = -12.758, z = 253.649 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "战斗中级蒙德", showcutscene = true, isOneoff = true },
{ config_id = 5057, gadget_id = 70211011, pos = { x = 343.483, y = -12.758, z = 253.649 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "战斗中级蒙德", showcutscene = true, isOneoff = true },
{ config_id = 5058, gadget_id = 70211011, pos = { x = 343.451, y = -12.758, z = 253.634 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "战斗中级蒙德", showcutscene = true, isOneoff = true },
{ config_id = 5059, gadget_id = 70211011, pos = { x = 343.509, y = -12.758, z = 253.634 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "战斗中级蒙德", showcutscene = true, isOneoff = true },
{ config_id = 5060, gadget_id = 70211011, pos = { x = 343.605, y = -12.758, z = 253.634 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "战斗中级蒙德", showcutscene = true, isOneoff = true },
{ config_id = 5061, gadget_id = 70211011, pos = { x = 343.597, y = -12.758, z = 253.634 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "战斗中级蒙德", showcutscene = true, isOneoff = true },
{ config_id = 5062, gadget_id = 70211011, pos = { x = 343.407, y = -12.758, z = 253.634 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "战斗中级蒙德", showcutscene = true, isOneoff = true },
{ config_id = 5063, gadget_id = 70211011, pos = { x = 343.486, y = -12.758, z = 253.634 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_tag = "战斗中级蒙德", showcutscene = true, isOneoff = true },
{ config_id = 5064, gadget_id = 70350002, pos = { x = 343.306, y = -11.397, z = 240.244 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 5065, gadget_id = 70220023, pos = { x = 343.279, y = -12.741, z = 267.120 }, rot = { x = 0.000, y = 314.858, z = 0.000 }, level = 1 },
{ config_id = 5066, gadget_id = 70220023, pos = { x = 350.133, y = -12.741, z = 263.489 }, rot = { x = 0.000, y = 153.961, z = 0.000 }, level = 1 },
{ config_id = 5067, gadget_id = 70220023, pos = { x = 336.172, y = -12.741, z = 263.223 }, rot = { x = 0.000, y = 44.673, z = 0.000 }, level = 1 },
{ config_id = 5068, gadget_id = 70220023, pos = { x = 340.948, y = -12.741, z = 259.370 }, rot = { x = 0.000, y = 136.698, z = 0.000 }, level = 1 },
{ config_id = 5069, gadget_id = 70220023, pos = { x = 347.486, y = -12.741, z = 257.567 }, rot = { x = 0.000, y = 99.155, z = 0.000 }, level = 1 },
{ config_id = 5070, gadget_id = 70220023, pos = { x = 343.014, y = -12.758, z = 253.618 }, rot = { x = 0.000, y = 325.771, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
{ config_id = 11, shape = RegionShape.SPHERE, radius = 1.68, pos = { x = 353.899, y = -12.714, z = 262.749 } },
{ config_id = 12, shape = RegionShape.SPHERE, radius = 2.94, pos = { x = 332.071, y = -12.854, z = 254.249 } },
{ config_id = 13, shape = RegionShape.SPHERE, radius = 1.8, pos = { x = 330.436, y = -12.342, z = 264.748 } },
{ config_id = 14, shape = RegionShape.SPHERE, radius = 1.76, pos = { x = 329.969, y = -12.078, z = 277.094 } },
{ config_id = 15, shape = RegionShape.SPHERE, radius = 2.97, pos = { x = 354.598, y = -12.853, z = 275.951 } },
{ config_id = 16, shape = RegionShape.SPHERE, radius = 3.24, pos = { x = 341.938, y = -12.742, z = 265.524 } },
{ config_id = 17, shape = RegionShape.SPHERE, radius = 3.42, pos = { x = 325.071, y = -11.353, z = 283.269 } },
{ config_id = 18, shape = RegionShape.SPHERE, radius = 3.16, pos = { x = 362.686, y = -11.302, z = 281.213 } },
{ config_id = 19, shape = RegionShape.SPHERE, radius = 5, pos = { x = 358.496, y = -11.383, z = 250.091 } }
}
-- 触发器
triggers = {
{ 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", 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", 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", 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", 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", 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", 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", 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", forbid_guest = false },
{ config_id = 1000019, name = "ENTER_REGION_19", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_19", action = "action_EVENT_ENTER_REGION_19", forbid_guest = false },
{ config_id = 1000029, name = "DUNGEON_SETTLE_29", event = EventType.EVENT_DUNGEON_SETTLE, source = "", condition = "condition_EVENT_DUNGEON_SETTLE_29", action = "action_EVENT_DUNGEON_SETTLE_29" },
{ config_id = 1000030, name = "DUNGEON_SETTLE_30", event = EventType.EVENT_DUNGEON_SETTLE, source = "", condition = "condition_EVENT_DUNGEON_SETTLE_30", action = "action_EVENT_DUNGEON_SETTLE_30" },
{ config_id = 1000031, name = "DUNGEON_SETTLE_31", event = EventType.EVENT_DUNGEON_SETTLE, source = "", condition = "condition_EVENT_DUNGEON_SETTLE_31", action = "action_EVENT_DUNGEON_SETTLE_31" },
{ config_id = 1000032, name = "DUNGEON_SETTLE_32", event = EventType.EVENT_DUNGEON_SETTLE, source = "", condition = "condition_EVENT_DUNGEON_SETTLE_32", action = "action_EVENT_DUNGEON_SETTLE_32" },
{ config_id = 1000033, name = "DUNGEON_SETTLE_33", event = EventType.EVENT_DUNGEON_SETTLE, source = "", condition = "condition_EVENT_DUNGEON_SETTLE_33", action = "action_EVENT_DUNGEON_SETTLE_33" },
{ config_id = 1000034, name = "DUNGEON_SETTLE_34", event = EventType.EVENT_DUNGEON_SETTLE, source = "", condition = "condition_EVENT_DUNGEON_SETTLE_34", action = "action_EVENT_DUNGEON_SETTLE_34" },
{ config_id = 1000035, name = "DUNGEON_SETTLE_35", event = EventType.EVENT_DUNGEON_SETTLE, source = "", condition = "condition_EVENT_DUNGEON_SETTLE_35", action = "action_EVENT_DUNGEON_SETTLE_35" },
{ config_id = 1000036, name = "DUNGEON_SETTLE_36", event = EventType.EVENT_DUNGEON_SETTLE, source = "", condition = "condition_EVENT_DUNGEON_SETTLE_36", action = "action_EVENT_DUNGEON_SETTLE_36" },
{ config_id = 1000037, name = "DUNGEON_SETTLE_37", event = EventType.EVENT_DUNGEON_SETTLE, source = "", condition = "condition_EVENT_DUNGEON_SETTLE_37", action = "action_EVENT_DUNGEON_SETTLE_37" },
{ 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", trigger_count = 0 },
{ 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", trigger_count = 0 },
{ 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", trigger_count = 0 },
{ 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", trigger_count = 0 },
{ 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", trigger_count = 0 },
{ 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", trigger_count = 0 },
{ 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", trigger_count = 0 },
{ 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", trigger_count = 0 },
{ config_id = 1000050, name = "ANY_MONSTER_DIE_50", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_50", action = "action_EVENT_ANY_MONSTER_DIE_50", trigger_count = 0 },
{ config_id = 1000051, name = "ANY_MONSTER_DIE_51", event = EventType.EVENT_ANY_MONSTER_DIE, source = "", condition = "condition_EVENT_ANY_MONSTER_DIE_51", action = "" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = true
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = 火+火,
monsters = { 5001 },
gadgets = { 5042, 5043, 5044, 5045, 5064 },
regions = { 11, 12, 13, 14, 15, 16, 17, 18, 19 },
triggers = { "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_19", "DUNGEON_SETTLE_29", "ANY_MONSTER_DIE_51" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = 火+水,
monsters = { 5011, 5012, 5013 },
gadgets = { 5064 },
regions = { },
triggers = { "DUNGEON_SETTLE_30" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = suite_3,
monsters = { 5014, 5015, 5016, 5017 },
gadgets = { 5064 },
regions = { },
triggers = { "DUNGEON_SETTLE_31" },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = suite_4,
monsters = { 5018, 5019, 5020 },
gadgets = { 5047, 5048, 5049, 5050, 5051, 5052, 5053, 5054, 5064 },
regions = { },
triggers = { "DUNGEON_SETTLE_32" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = suite_5,
monsters = { 5021, 5022, 5023 },
gadgets = { 5047, 5048, 5049, 5050, 5051, 5052, 5053, 5054, 5064 },
regions = { },
triggers = { "DUNGEON_SETTLE_33" },
rand_weight = 100
},
{
-- suite_id = 6,
-- description = suite_6,
monsters = { 5024, 5025, 5026, 5027, 5028 },
gadgets = { 5064 },
regions = { },
triggers = { "DUNGEON_SETTLE_34" },
rand_weight = 100
},
{
-- suite_id = 7,
-- description = suite_7,
monsters = { 5029, 5030, 5031, 5032 },
gadgets = { 5064, 5065, 5066, 5067, 5068, 5069, 5070 },
regions = { },
triggers = { "DUNGEON_SETTLE_35" },
rand_weight = 100
},
{
-- suite_id = 8,
-- description = suite_8,
monsters = { 5033, 5034, 5035, 5036 },
gadgets = { 5064 },
regions = { },
triggers = { "DUNGEON_SETTLE_36" },
rand_weight = 100
},
{
-- suite_id = 9,
-- description = suite_9,
monsters = { 5037, 5038, 5039, 5040, 5041 },
gadgets = { 5064 },
regions = { },
triggers = { "DUNGEON_SETTLE_37" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
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)
-- 延迟0秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 5002, delay_time = 0 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
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)
-- 延迟0秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 5003, delay_time = 0 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
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)
-- 延迟0秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 5004, delay_time = 0 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
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)
-- 延迟0秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 5005, delay_time = 0 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
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)
-- 延迟0秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 5006, delay_time = 0 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
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)
-- 延迟2秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 5007, delay_time = 2 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
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)
-- 延迟0秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 5008, delay_time = 0 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
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)
-- 延迟0秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 5009, delay_time = 0 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ENTER_REGION_19(context, evt)
if evt.param1 ~= 19 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_19(context, evt)
-- 延迟0秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 5010, delay_time = 0 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_DUNGEON_SETTLE_29(context, evt)
-- 判断副本成功
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_DUNGEON_SETTLE_29(context, evt)
-- 创生gadget 5055
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 5055 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : dungeon_settle")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_DUNGEON_SETTLE_30(context, evt)
-- 判断副本成功
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_DUNGEON_SETTLE_30(context, evt)
-- 创生gadget 5056
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 5056 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : dungeon_settle")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_DUNGEON_SETTLE_31(context, evt)
-- 判断副本成功
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_DUNGEON_SETTLE_31(context, evt)
-- 创生gadget 5057
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 5057 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : dungeon_settle")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_DUNGEON_SETTLE_32(context, evt)
-- 判断副本成功
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_DUNGEON_SETTLE_32(context, evt)
-- 创生gadget 5058
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 5058 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : dungeon_settle")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_DUNGEON_SETTLE_33(context, evt)
-- 判断副本成功
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_DUNGEON_SETTLE_33(context, evt)
-- 创生gadget 5059
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 5059 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : dungeon_settle")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_DUNGEON_SETTLE_34(context, evt)
-- 判断副本成功
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_DUNGEON_SETTLE_34(context, evt)
-- 创生gadget 5060
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 5060 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : dungeon_settle")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_DUNGEON_SETTLE_35(context, evt)
-- 判断副本成功
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_DUNGEON_SETTLE_35(context, evt)
-- 创生gadget 5061
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 5061 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : dungeon_settle")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_DUNGEON_SETTLE_36(context, evt)
-- 判断副本成功
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_DUNGEON_SETTLE_36(context, evt)
-- 创生gadget 5062
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 5062 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : dungeon_settle")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_DUNGEON_SETTLE_37(context, evt)
-- 判断副本成功
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_DUNGEON_SETTLE_37(context, evt)
-- 创生gadget 5063
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 5063 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : dungeon_settle")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_42(context, evt)
--判断死亡怪物的configid是否为 5005
if evt.param1 ~= 5005 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_42(context, evt)
-- 延迟0秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 5005, delay_time = 0 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_43(context, evt)
--判断死亡怪物的configid是否为 5002
if evt.param1 ~= 5002 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_43(context, evt)
-- 延迟0秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 5002, delay_time = 0 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_44(context, evt)
--判断死亡怪物的configid是否为 5003
if evt.param1 ~= 5003 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_44(context, evt)
-- 延迟0秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 5003, delay_time = 0 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_45(context, evt)
--判断死亡怪物的configid是否为 5004
if evt.param1 ~= 5004 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_45(context, evt)
-- 延迟0秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 5004, delay_time = 0 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_46(context, evt)
--判断死亡怪物的configid是否为 5006
if evt.param1 ~= 5006 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_46(context, evt)
-- 延迟0秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 5006, delay_time = 0 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_47(context, evt)
--判断死亡怪物的configid是否为 5007
if evt.param1 ~= 5007 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_47(context, evt)
-- 延迟0秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 5007, delay_time = 0 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_48(context, evt)
--判断死亡怪物的configid是否为 5008
if evt.param1 ~= 5008 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_48(context, evt)
-- 延迟0秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 5008, delay_time = 0 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_49(context, evt)
--判断死亡怪物的configid是否为 5009
if evt.param1 ~= 5009 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_49(context, evt)
-- 延迟0秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 5009, delay_time = 0 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_50(context, evt)
--判断死亡怪物的configid是否为 5010
if evt.param1 ~= 5010 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_DIE_50(context, evt)
-- 延迟0秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 5010, delay_time = 0 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_monster")
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_DIE_51(context, evt)
--判断死亡怪物的configid是否为 5001
if evt.param1 ~= 5001 then
return false
end
return true
end
@@ -0,0 +1,86 @@
-- 基础信息
local base_info = {
group_id = 220013006
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 204, gadget_id = 70320001, pos = { x = 343.026, y = -27.834, z = 473.202 }, rot = { x = 0.000, y = 300.730, z = 0.000 }, level = 1, state = GadgetState.GearStart }
}
-- 区域
regions = {
{ config_id = 40, shape = RegionShape.SPHERE, radius = 5, pos = { x = 342.790, y = -27.850, z = 452.850 } }
}
-- 触发器
triggers = {
{ config_id = 1000040, name = "ENTER_REGION_40", event = EventType.EVENT_ENTER_REGION, source = "", condition = "condition_EVENT_ENTER_REGION_40", action = "", forbid_guest = false }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = true
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 204 },
regions = { 40 },
triggers = { "ENTER_REGION_40" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ENTER_REGION_40(context, evt)
if evt.param1 ~= 40 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
@@ -0,0 +1,74 @@
-- 基础信息
local base_info = {
group_id = 220013007
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 7001, gadget_id = 70350002, pos = { x = 342.921, y = -27.850, z = 458.769 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7002, gadget_id = 70900023, pos = { x = 344.501, y = -29.611, z = 433.442 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 7003, gadget_id = 70320002, pos = { x = 336.895, y = -12.741, z = 269.208 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 7001, 7002, 7003 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
@@ -0,0 +1,334 @@
{
"areas": {},
"doors": {},
"entities": {
"1": {
"$type": "ConfigLocalTrigger",
"alias": "",
"areaId": 0,
"checkCount": 0,
"checkDist": 100.0,
"floatParam": 0.0,
"gadgetId": 70010006,
"groupLimit": false,
"isModelHidden": false,
"meta": null,
"pointType": "Other",
"pos": {
"x": 355.094,
"y": -39.3,
"z": 438.8426
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"shape": {
"$type": "ConfigShapeRect",
"centerType": "Center",
"height": 4.16,
"heightType": "Center",
"length": 200.0,
"useHeight": true,
"width": 200.0
},
"stringParam": "",
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"triggerFlag": "DeadRegion",
"triggerInterval": 0.1,
"type": "NORMAL",
"unlocked": true,
"vectorParam": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"withGO": false
}
},
"forces": {
"1": {
"$type": "ConfigAirflowField",
"alias": "",
"areaId": 0,
"autoFly": false,
"colliderBlackList": [],
"colliderWhiteList": [],
"enterEffect": "Eff_Windfield_Enter",
"forceHor": false,
"gadgetId": 70610102,
"groupLimit": false,
"isModelHidden": false,
"pointType": "Other",
"pos": {
"x": 359.2,
"y": -59.0,
"z": 431.3
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"scale": 1.0,
"stayEffect": "Eff_Windfield_Stay",
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": true,
"velocity": 10.0
},
"2": {
"$type": "ConfigAirflowField",
"alias": "",
"areaId": 0,
"autoFly": false,
"colliderBlackList": [],
"colliderWhiteList": [],
"enterEffect": "Eff_Windfield_Enter",
"forceHor": false,
"gadgetId": 70610102,
"groupLimit": false,
"isModelHidden": false,
"pointType": "Other",
"pos": {
"x": 359.1,
"y": -56.6,
"z": 422.4
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"scale": 1.0,
"stayEffect": "Eff_Windfield_Stay",
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": true,
"velocity": 10.0
},
"3": {
"$type": "ConfigAirflowField",
"alias": "",
"areaId": 0,
"autoFly": false,
"colliderBlackList": [],
"colliderWhiteList": [],
"enterEffect": "Eff_Windfield_Enter",
"forceHor": false,
"gadgetId": 70610102,
"groupLimit": false,
"isModelHidden": false,
"pointType": "Other",
"pos": {
"x": 324.4,
"y": -56.7,
"z": 435.0
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"scale": 1.0,
"stayEffect": "Eff_Windfield_Stay",
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": true,
"velocity": 10.0
},
"4": {
"$type": "ConfigAirflowField",
"alias": "",
"areaId": 0,
"autoFly": false,
"colliderBlackList": [],
"colliderWhiteList": [],
"enterEffect": "Eff_Windfield_Enter",
"forceHor": false,
"gadgetId": 70610102,
"groupLimit": false,
"isModelHidden": false,
"pointType": "Other",
"pos": {
"x": 325.7,
"y": -53.8,
"z": 423.1
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"scale": 1.0,
"stayEffect": "Eff_Windfield_Stay",
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": true,
"velocity": 10.0
},
"5": {
"$type": "ConfigAirflowField",
"alias": "",
"areaId": 0,
"autoFly": false,
"colliderBlackList": [],
"colliderWhiteList": [],
"enterEffect": "Eff_Windfield_Enter",
"forceHor": false,
"gadgetId": 70610102,
"groupLimit": false,
"isModelHidden": false,
"pointType": "Other",
"pos": {
"x": 351.4,
"y": -55.4,
"z": 447.2
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"scale": 1.0,
"stayEffect": "Eff_Windfield_Stay",
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": true,
"velocity": 10.0
},
"6": {
"$type": "ConfigAirflowField",
"alias": "",
"areaId": 0,
"autoFly": false,
"colliderBlackList": [],
"colliderWhiteList": [],
"enterEffect": "Eff_Windfield_Enter",
"forceHor": false,
"gadgetId": 70610102,
"groupLimit": false,
"isModelHidden": false,
"pointType": "Other",
"pos": {
"x": 335.8,
"y": -57.1,
"z": 445.8427
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"scale": 1.0,
"stayEffect": "Eff_Windfield_Stay",
"tranPos": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"tranRot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"type": "NORMAL",
"unlocked": true,
"velocity": 0.0
}
},
"points": {
"2": {
"$type": "DungeonQuitPoint",
"alias": "",
"areaId": 0,
"gadgetId": 70120004,
"groupLimit": false,
"isModelHidden": false,
"pointType": "DungeonQuitPoint",
"pos": {
"x": 343.1401,
"y": -11.52947,
"z": 242.9898
},
"rot": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"size": {
"x": 5.0,
"y": 5.0,
"z": 5.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
}
},
"transRadius": 0.0
}