0
0
mirror of https://gitlab.com/YuukiPS/GC-Resources.git synced 2025-04-29 09:35:48 +00:00
GC-Resources/Resources/Scripts/Scene/1/scene1_group111101161.lua
Yuuki b09934e7b9 Revert "remove local in defs"
This reverts commit 7e0a645ef33da87ddd5c402c6a64180001c6b03d.
2023-11-23 23:27:47 +08:00

117 lines
2.9 KiB
Lua

-- 基础信息
local base_info = {
group_id = 111101161
}
-- Trigger变量
local defs = {
group_ID = 111101161,
trigger_playRegion = 161006,
gadget_1 = 161002
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 161001, gadget_id = 70950068, pos = { x = 2984.614, y = 272.509, z = -1273.112 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 161002, gadget_id = 70950070, pos = { x = 2971.171, y = 270.625, z = -1287.810 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 161003, gadget_id = 70950069, pos = { x = 2984.841, y = 272.184, z = -1285.497 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 161004, gadget_id = 70950069, pos = { x = 2981.332, y = 271.398, z = -1287.355 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1 },
{ config_id = 161005, gadget_id = 70211111, pos = { x = 2978.316, y = 271.612, z = -1278.977 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 26, drop_tag = "解谜中级蒙德", isOneoff = true, persistent = true }
}
-- 区域
regions = {
{ config_id = 161006, shape = RegionShape.SPHERE, radius = 20, pos = { x = 2980.174, y = 271.960, z = -1274.991 }, ability_group_list = { "Move_Electric_Stake_Play" } }
}
-- 触发器
triggers = {
{ config_id = 1161007, name = "VARIABLE_CHANGE_161007", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_161007", action = "" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 161001, 161002, 161003, 161004 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { },
regions = { 161006 },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { 161005 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_161007(context, evt)
if evt.param1 == evt.param2 then return false end
-- 判断变量"successed"为1
if ScriptLib.GetGroupVariableValue(context, "successed") ~= 1 then
return false
end
return true
end
require "BlackBoxPlay/ChargingPort"