This commit is contained in:
Akbar Yahya
2022-11-21 16:30:31 +08:00
commit e0d4d8040c
3326 changed files with 683000 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
-- 地图配置
scene_config = {
begin_pos = { x = 384.5, z = 28.3 },
size = { x = 175.7, z = 242.6 },
born_pos = { x = 439.8, y = -8.8, z = 122.2 },
born_rot = { x = 0.0, y = 91.2, z = 0.0 },
die_y = -100
}
-- 所有的区块
blocks = { 20015 }
-- 所有的区块范围坐标
block_rects = {
{ min = { x = 384.5, z = 28.3 }, max = { x = 560.1, z = 270.9 } }
}
-- Dummy Points
dummy_points = { "dummy_points" }
-- Routes
routes_config = { }

View File

@@ -0,0 +1,4 @@
{
"sceneId": 20015,
"routes": []
}

View File

@@ -0,0 +1,4 @@
-- 所有的group
groups = {
{ id = 220015002, refresh_time = 0, pos = { x = 401.8, y = -23.9, z = 119.3 } }
}

View File

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

View File

@@ -0,0 +1,117 @@
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 13, monster_id = 20011001, pos = { x = 409.6, y = -23.9, z = 125.6 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
{ config_id = 14, monster_id = 20011001, pos = { x = 409.6, y = -23.9, z = 122.9 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
{ config_id = 15, monster_id = 20011001, pos = { x = 403.9, y = -23.9, z = 126.9 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
{ config_id = 16, monster_id = 20011001, pos = { x = 399.3, y = -23.9, z = 125.3 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 },
{ config_id = 17, monster_id = 20011001, pos = { x = 397.5, y = -23.9, z = 122.7 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 0 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 2, gadget_id = 70900207, pos = { x = 406.0, y = -24.1, z = 119.5 }, rot = { x = 0.0, y = 40.2, z = 0.0 }, level = 1 },
{ config_id = 3, gadget_id = 70900207, pos = { x = 400.6, y = -24.1, z = 119.6 }, rot = { x = 0.0, y = 116.2, z = 0.0 }, level = 1 },
{ config_id = 4, gadget_id = 70900207, pos = { x = 406.0, y = -24.1, z = 125.2 }, rot = { x = 0.0, y = 53.1, z = 0.0 }, level = 1 },
{ config_id = 5, gadget_id = 70900207, pos = { x = 400.5, y = -24.1, z = 125.2 }, rot = { x = 0.0, y = 251.6, z = 0.0 }, level = 1 },
{ config_id = 6, gadget_id = 70210022, pos = { x = 403.2, y = -23.6, z = 121.8 }, rot = { x = 0.0, y = 180.0, z = 0.0 }, level = 1, chest_drop_id = 201000, type = GadgetType.GADGET_DUNGEON_SECRET_CHEST }
}
-- 区域
regions = {
{ config_id = 6, shape = RegionShape.SPHERE, radius = 5, pos = { x = 402.8, y = -22.7, z = 121.4 } }
}
-- 触发器
triggers = {
{ name = "ANY_GADGET_DIE_6", event = EventType.EVENT_ANY_GADGET_DIE, source = "", condition = "condition_EVENT_ANY_GADGET_DIE_6", action = "action_EVENT_ANY_GADGET_DIE_6" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
rand_suite = true,
npcs = { }
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 0,
-- description = ,
monsters = { },
gadgets = { 2, 3, 4, 5, 6 },
regions = { 6 },
triggers = { "ANY_GADGET_DIE_6" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_GADGET_DIE_6(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_GADGET_DIE_6(context, evt)
-- 延迟0秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 13, delay_time = 0 }) then
return -1
end
-- 延迟0秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 14, delay_time = 0 }) then
return -1
end
-- 延迟0秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 15, delay_time = 0 }) then
return -1
end
-- 延迟0秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 16, delay_time = 0 }) then
return -1
end
-- 延迟0秒刷怪
if 0 ~= ScriptLib.CreateMonster(context, { config_id = 17, delay_time = 0 }) then
return -1
end
return 0
end

View File

@@ -0,0 +1,7 @@
{
"radius": 10.0,
"points": {},
"areas": {},
"forces": {},
"entities": {}
}