0
0
mirror of https://gitlab.com/YuukiPS/GC-Resources.git synced 2025-04-28 17:15:22 +00:00
GC-Resources/Resources/Scripts/Scene/9/scene9_group199003129.lua
Yuuki b09934e7b9 Revert "remove local in defs"
This reverts commit 7e0a645ef33da87ddd5c402c6a64180001c6b03d.
2023-11-23 23:27:47 +08:00

104 lines
2.1 KiB
Lua

-- 基础信息
local base_info = {
group_id = 199003129
}
-- DEFS_MISCS
local defs = {
target_leveltag = 21,
pos = { x=-675.8, y=121.19, z=-221.63},
rot = {x=0, y=0, z=1},
radius = 2,
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
[129001] = { config_id = 129001, gadget_id = 70310399, pos = { x = -676.202, y = 119.830, z = -228.274 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 20, area_id = 403 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1129002, name = "GROUP_LOAD_129002", event = EventType.EVENT_GROUP_LOAD, source = "", condition = "", action = "action_EVENT_GROUP_LOAD_129002", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 2,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 129001 },
regions = { },
triggers = { "GROUP_LOAD_129002" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { "GROUP_LOAD_129002" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发操作
function action_EVENT_GROUP_LOAD_129002(context, evt)
if ScriptLib.GetHostQuestState(context,4007501)==2 or ScriptLib.GetHostQuestState(context,4007601)==2 then
ScriptLib.RefreshGroup(context, { group_id = 199003129, suite = 2 })
else
ScriptLib.RefreshGroup(context, { group_id = 199003129, suite = 1 })
end
return 0
end
require "V2_8/MonaPortal"