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/20027/scene20027_group220027023.lua
KingRainbow44 8dd3a721e5
Revert "The Great De-Local'ifying of defs and base_info"
This reverts commit 0989747b
2023-08-30 21:15:50 -04:00

94 lines
2.0 KiB
Lua

-- 基础信息
local base_info = {
group_id = 220027023
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
{ config_id = 23001, gadget_id = 70211031, pos = { x = 131.265, y = -92.292, z = -201.193 }, rot = { x = 0.000, y = 269.604, z = 0.000 }, level = 26, drop_tag = "战斗超级蒙德", showcutscene = true, isOneoff = true, persistent = true, is_guest_can_operate = true }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1023002, name = "DUNGEON_SETTLE_23002", event = EventType.EVENT_DUNGEON_SETTLE, source = "", condition = "condition_EVENT_DUNGEON_SETTLE_23002", action = "action_EVENT_DUNGEON_SETTLE_23002" }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { "DUNGEON_SETTLE_23002" },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_DUNGEON_SETTLE_23002(context, evt)
-- 判断副本成功
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_DUNGEON_SETTLE_23002(context, evt)
-- 创建id为23001的gadget
if 0 ~= ScriptLib.CreateGadget(context, { config_id = 23001 }) then
ScriptLib.PrintContextLog(context, "@@ LUA_WARNING : create_gadget")
return -1
end
return 0
end