Files
2022-11-30 00:00:20 +08:00

332 lines
13 KiB
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
-- 基础信息
local base_info = {
group_id = 302001046
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 46001, monster_id = 21020202, pos = { x = 248.675, y = 224.595, z = 249.938 }, rot = { x = 0.000, y = 300.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 46002, monster_id = 21011001, pos = { x = 237.356, y = 225.848, z = 244.581 }, rot = { x = 0.000, y = 30.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 9 },
{ config_id = 46003, monster_id = 21020201, pos = { x = 248.675, y = 224.595, z = 249.938 }, rot = { x = 0.000, y = 300.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 46004, monster_id = 21020201, pos = { x = 247.801, y = 224.613, z = 245.263 }, rot = { x = 0.000, y = 320.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 46005, monster_id = 21020201, pos = { x = 247.750, y = 224.534, z = 255.969 }, rot = { x = 0.000, y = 240.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 46006, monster_id = 21020201, pos = { x = 240.487, y = 225.541, z = 244.159 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 46007, monster_id = 21020301, pos = { x = 244.106, y = 223.913, z = 259.034 }, rot = { x = 0.000, y = 220.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 46008, monster_id = 21020301, pos = { x = 250.924, y = 224.354, z = 246.584 }, rot = { x = 0.000, y = 300.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 46009, monster_id = 22010101, pos = { x = 244.191, y = 226.305, z = 244.602 }, rot = { x = 0.000, y = 330.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 46012, monster_id = 21020202, pos = { x = 247.801, y = 224.613, z = 245.263 }, rot = { x = 0.000, y = 320.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 46013, monster_id = 21020301, pos = { x = 247.750, y = 224.534, z = 255.969 }, rot = { x = 0.000, y = 240.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 46014, monster_id = 21020301, pos = { x = 240.487, y = 225.541, z = 244.159 }, rot = { x = 0.000, y = 0.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 46015, monster_id = 22010102, pos = { x = 244.191, y = 226.305, z = 244.602 }, rot = { x = 0.000, y = 330.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 46016, monster_id = 21020202, pos = { x = 250.924, y = 224.354, z = 246.584 }, rot = { x = 0.000, y = 300.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 9 },
{ config_id = 46020, monster_id = 21011002, pos = { x = 237.356, y = 225.848, z = 244.581 }, rot = { x = 0.000, y = 30.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 9 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1046023, name = "ANY_MONSTER_LIVE_46023", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_46023", action = "action_EVENT_ANY_MONSTER_LIVE_46023", trigger_count = 0 },
{ config_id = 1046024, name = "MONSTER_TIDE_DIE_46024", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_46024", action = "action_EVENT_MONSTER_TIDE_DIE_46024", trigger_count = 0 },
{ config_id = 1046025, name = "MONSTER_TIDE_DIE_46025", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_46025", action = "action_EVENT_MONSTER_TIDE_DIE_46025", trigger_count = 0 },
{ config_id = 1046027, name = "MONSTER_TIDE_DIE_46027", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_46027", action = "action_EVENT_MONSTER_TIDE_DIE_46027", trigger_count = 0 },
{ config_id = 1046028, name = "MONSTER_TIDE_DIE_46028", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_46028", action = "action_EVENT_MONSTER_TIDE_DIE_46028", trigger_count = 0 },
{ config_id = 1046032, name = "ANY_MONSTER_LIVE_46032", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_46032", action = "action_EVENT_ANY_MONSTER_LIVE_46032", trigger_count = 0 },
{ config_id = 1046033, name = "MONSTER_TIDE_DIE_46033", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_46033", action = "action_EVENT_MONSTER_TIDE_DIE_46033", trigger_count = 0 },
{ config_id = 1046034, name = "MONSTER_TIDE_DIE_46034", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_46034", action = "action_EVENT_MONSTER_TIDE_DIE_46034", trigger_count = 0 },
{ config_id = 1046036, name = "MONSTER_TIDE_DIE_46036", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_46036", action = "action_EVENT_MONSTER_TIDE_DIE_46036", trigger_count = 0 },
{ config_id = 1046037, name = "MONSTER_TIDE_DIE_46037", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_46037", action = "action_EVENT_MONSTER_TIDE_DIE_46037", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 1,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 46002 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_46023", "MONSTER_TIDE_DIE_46024", "MONSTER_TIDE_DIE_46025", "MONSTER_TIDE_DIE_46027", "MONSTER_TIDE_DIE_46028" },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 46003, 46004, 46005, 46006, 46007, 46008, 46009 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 46020 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_46032", "MONSTER_TIDE_DIE_46033", "MONSTER_TIDE_DIE_46034", "MONSTER_TIDE_DIE_46036", "MONSTER_TIDE_DIE_46037" },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { 46001, 46012, 46013, 46014, 46015, 46016 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_46023(context, evt)
if 46002 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_46023(context, evt)
-- 创建编号为1(该怪物潮的识别id)的怪物潮,创建怪物总数为2,场上怪物最少1只,最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001046, {46003,46004}, 2, 1, 1) then
return -1
end
-- 创建编号为2(该怪物潮的识别id)的怪物潮,创建怪物总数为4,场上怪物最少1只,最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001046, {46005,46006}, 4, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_46024(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_46024(context, evt)
-- 创建编号为4(该怪物潮的识别id)的怪物潮,创建怪物总数为2,场上怪物最少1只,最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001046, {46007,46008}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_46025(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_46025(context, evt)
-- 创建编号为5(该怪物潮的识别id)的怪物潮,创建怪物总数为1,场上怪物最少1只,最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001046, {46009}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_46027(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_46027(context, evt)
-- 创建编号为1(该怪物潮的识别id)的怪物潮,创建怪物总数为2,场上怪物最少1只,最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001046, {46003,46004}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_46028(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_46028(context, evt)
-- 创建编号为2(该怪物潮的识别id)的怪物潮,创建怪物总数为4,场上怪物最少1只,最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001046, {46005,46006}, 4, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_46032(context, evt)
if 46020 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_46032(context, evt)
-- 创建编号为1(该怪物潮的识别id)的怪物潮,创建怪物总数为4,场上怪物最少1只,最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001046, {46001,46012}, 4, 1, 1) then
return -1
end
-- 创建编号为2(该怪物潮的识别id)的怪物潮,创建怪物总数为2,场上怪物最少1只,最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001046, {46013,46014}, 2, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_46033(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_46033(context, evt)
-- 创建编号为4(该怪物潮的识别id)的怪物潮,创建怪物总数为1,场上怪物最少1只,最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001046, {46015}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_46034(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_46034(context, evt)
-- 创建编号为5(该怪物潮的识别id)的怪物潮,创建怪物总数为1,场上怪物最少1只,最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001046, {46016}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_46036(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_46036(context, evt)
-- 创建编号为1(该怪物潮的识别id)的怪物潮,创建怪物总数为4,场上怪物最少1只,最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001046, {46001,46012}, 4, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_46037(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_46037(context, evt)
-- 创建编号为2(该怪物潮的识别id)的怪物潮,创建怪物总数为2,场上怪物最少1只,最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001046, {46013,46014}, 2, 1, 1) then
return -1
end
return 0
end