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

118 lines
3.3 KiB
Lua

-- 基础信息
local base_info = {
group_id = 199004016
}
-- Trigger变量
local defs = {
group_ID = 199004016,
trigger_playRegion = 16006,
gadget_1 = 16002
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 16001, gadget_id = 70950068, pos = { x = -330.519, y = 232.009, z = -658.199 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 20, state = GadgetState.GearStart, area_id = 400 },
{ config_id = 16002, gadget_id = 70290116, pos = { x = -356.330, y = 227.263, z = -654.459 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 20, area_id = 400 },
{ config_id = 16003, gadget_id = 70950069, pos = { x = -336.575, y = 225.656, z = -646.364 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 20, area_id = 400 },
{ config_id = 16004, gadget_id = 70950069, pos = { x = -341.844, y = 229.127, z = -641.925 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 20, area_id = 400 },
{ config_id = 16005, gadget_id = 70211101, pos = { x = -337.765, y = 231.024, z = -658.309 }, rot = { x = 0.003, y = 359.987, z = 359.957 }, level = 16, drop_tag = "解谜低级群岛", isOneoff = true, persistent = true, explore = { name = "chest", exp = 1 }, area_id = 400 },
{ config_id = 16008, gadget_id = 70950068, pos = { x = -346.694, y = 226.105, z = -640.749 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 20, state = GadgetState.GearStart, area_id = 400 }
}
-- 区域
regions = {
{ config_id = 16006, shape = RegionShape.SPHERE, radius = 30, pos = { x = -340.409, y = 230.593, z = -653.337 }, area_id = 400, team_ability_group_list = { "Move_Electric_Stake_Play" } }
}
-- 触发器
triggers = {
{ config_id = 1016007, name = "VARIABLE_CHANGE_16007", event = EventType.EVENT_VARIABLE_CHANGE, source = "", condition = "condition_EVENT_VARIABLE_CHANGE_16007", action = "" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { 16001, 16002, 16003, 16004, 16008 },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { },
gadgets = { },
regions = { 16006 },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { },
gadgets = { 16005 },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_VARIABLE_CHANGE_16007(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"