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

427 lines
17 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 = 302001130
}
--================================================================
--
-- 配置
--
--================================================================
-- 怪物
monsters = {
{ config_id = 130001, monster_id = 21010201, pos = { x = -840.104, y = 195.613, z = 745.857 }, rot = { x = 0.000, y = 339.216, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 8 },
{ config_id = 130002, monster_id = 21010201, pos = { x = -847.447, y = 195.754, z = 754.541 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 8 },
{ config_id = 130003, monster_id = 21010201, pos = { x = -843.132, y = 195.031, z = 756.457 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 8 },
{ config_id = 130004, monster_id = 21010301, pos = { x = -837.536, y = 195.153, z = 747.996 }, rot = { x = 0.000, y = 303.068, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 8 },
{ config_id = 130005, monster_id = 21010301, pos = { x = -848.813, y = 195.436, z = 749.891 }, rot = { x = 0.000, y = 80.108, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 8 },
{ config_id = 130006, monster_id = 21010501, pos = { x = -846.372, y = 196.383, z = 745.118 }, rot = { x = 0.000, y = 45.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 8 },
{ config_id = 130007, monster_id = 21011001, pos = { x = -848.621, y = 196.014, z = 746.927 }, rot = { x = 0.000, y = 45.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 8 },
{ config_id = 130008, monster_id = 21020201, pos = { x = -836.252, y = 194.228, z = 755.455 }, rot = { x = 0.000, y = 240.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 8 },
{ config_id = 130009, monster_id = 21020101, pos = { x = -834.187, y = 195.021, z = 751.321 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 8 },
{ config_id = 130010, monster_id = 21030301, pos = { x = -840.145, y = 194.797, z = 756.669 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 40, area_id = 8 },
{ config_id = 130011, monster_id = 21010201, pos = { x = -847.447, y = 195.754, z = 754.541 }, rot = { x = 0.000, y = 118.838, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 8 },
{ config_id = 130012, monster_id = 21010201, pos = { x = -840.104, y = 195.613, z = 745.857 }, rot = { x = 0.000, y = 339.216, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 8 },
{ config_id = 130013, monster_id = 21010201, pos = { x = -843.132, y = 195.031, z = 756.457 }, rot = { x = 0.000, y = 173.028, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 8 },
{ config_id = 130014, monster_id = 21010301, pos = { x = -837.536, y = 195.153, z = 747.996 }, rot = { x = 0.000, y = 303.068, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 8 },
{ config_id = 130015, monster_id = 21011201, pos = { x = -848.813, y = 195.436, z = 749.891 }, rot = { x = 0.000, y = 80.108, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 8 },
{ config_id = 130016, monster_id = 21010502, pos = { x = -846.372, y = 196.383, z = 745.118 }, rot = { x = 0.000, y = 45.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 8 },
{ config_id = 130017, monster_id = 21011002, pos = { x = -848.621, y = 196.014, z = 746.927 }, rot = { x = 0.000, y = 45.000, z = 0.000 }, level = 1, drop_id = 1000100, disableWander = true, affix = { 4107, 4108, 4109 }, kill_score = 20, area_id = 8 },
{ config_id = 130018, monster_id = 21020202, pos = { x = -836.252, y = 194.228, z = 755.455 }, rot = { x = 0.000, y = 240.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 8 },
{ config_id = 130019, monster_id = 21020101, pos = { x = -834.187, y = 195.021, z = 751.321 }, rot = { x = 0.000, y = 270.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 50, area_id = 8 },
{ config_id = 130020, monster_id = 21030304, pos = { x = -840.145, y = 194.797, z = 756.669 }, rot = { x = 0.000, y = 180.000, z = 0.000 }, level = 1, drop_id = 1000100, affix = { 4107, 4108, 4109 }, kill_score = 40, area_id = 8 }
}
-- NPC
npcs = {
}
-- 装置
gadgets = {
}
-- 区域
regions = {
}
-- 触发器
triggers = {
{ config_id = 1130021, name = "ANY_MONSTER_LIVE_130021", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_130021", action = "action_EVENT_ANY_MONSTER_LIVE_130021", trigger_count = 0 },
{ config_id = 1130022, name = "MONSTER_TIDE_DIE_130022", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_130022", action = "action_EVENT_MONSTER_TIDE_DIE_130022", trigger_count = 0 },
{ config_id = 1130023, name = "MONSTER_TIDE_DIE_130023", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_130023", action = "action_EVENT_MONSTER_TIDE_DIE_130023", trigger_count = 0 },
{ config_id = 1130024, name = "MONSTER_TIDE_DIE_130024", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_130024", action = "action_EVENT_MONSTER_TIDE_DIE_130024", trigger_count = 0 },
{ config_id = 1130025, name = "MONSTER_TIDE_DIE_130025", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_130025", action = "action_EVENT_MONSTER_TIDE_DIE_130025", trigger_count = 0 },
{ config_id = 1130026, name = "MONSTER_TIDE_DIE_130026", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_130026", action = "action_EVENT_MONSTER_TIDE_DIE_130026", trigger_count = 0 },
{ config_id = 1130027, name = "MONSTER_TIDE_DIE_130027", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_130027", action = "action_EVENT_MONSTER_TIDE_DIE_130027", trigger_count = 0 },
{ config_id = 1130028, name = "ANY_MONSTER_LIVE_130028", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_130028", action = "action_EVENT_ANY_MONSTER_LIVE_130028", trigger_count = 0 },
{ config_id = 1130029, name = "MONSTER_TIDE_DIE_130029", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "1", condition = "condition_EVENT_MONSTER_TIDE_DIE_130029", action = "action_EVENT_MONSTER_TIDE_DIE_130029", trigger_count = 0 },
{ config_id = 1130030, name = "MONSTER_TIDE_DIE_130030", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "2", condition = "condition_EVENT_MONSTER_TIDE_DIE_130030", action = "action_EVENT_MONSTER_TIDE_DIE_130030", trigger_count = 0 },
{ config_id = 1130031, name = "MONSTER_TIDE_DIE_130031", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "3", condition = "condition_EVENT_MONSTER_TIDE_DIE_130031", action = "action_EVENT_MONSTER_TIDE_DIE_130031", trigger_count = 0 },
{ config_id = 1130032, name = "MONSTER_TIDE_DIE_130032", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "4", condition = "condition_EVENT_MONSTER_TIDE_DIE_130032", action = "action_EVENT_MONSTER_TIDE_DIE_130032", trigger_count = 0 },
{ config_id = 1130033, name = "MONSTER_TIDE_DIE_130033", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "5", condition = "condition_EVENT_MONSTER_TIDE_DIE_130033", action = "action_EVENT_MONSTER_TIDE_DIE_130033", trigger_count = 0 },
{ config_id = 1130034, name = "MONSTER_TIDE_DIE_130034", event = EventType.EVENT_MONSTER_TIDE_DIE, source = "6", condition = "condition_EVENT_MONSTER_TIDE_DIE_130034", action = "action_EVENT_MONSTER_TIDE_DIE_130034", trigger_count = 0 }
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--================================================================
-- 初始化时创建
init_config = {
suite = 5,
end_suite = 0,
rand_suite = false
}
--================================================================
--
-- 小组配置
--
--================================================================
suites = {
{
-- suite_id = 1,
-- description = ,
monsters = { 130001 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_130021", "MONSTER_TIDE_DIE_130022", "MONSTER_TIDE_DIE_130023", "MONSTER_TIDE_DIE_130024", "MONSTER_TIDE_DIE_130025", "MONSTER_TIDE_DIE_130026", "MONSTER_TIDE_DIE_130027" },
rand_weight = 100
},
{
-- suite_id = 2,
-- description = ,
monsters = { 130002, 130003, 130004, 130005, 130006, 130007, 130008, 130009, 130010 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 3,
-- description = ,
monsters = { 130012 },
gadgets = { },
regions = { },
triggers = { "ANY_MONSTER_LIVE_130028", "MONSTER_TIDE_DIE_130029", "MONSTER_TIDE_DIE_130030", "MONSTER_TIDE_DIE_130031", "MONSTER_TIDE_DIE_130032", "MONSTER_TIDE_DIE_130033", "MONSTER_TIDE_DIE_130034" },
rand_weight = 100
},
{
-- suite_id = 4,
-- description = ,
monsters = { 130011, 130013, 130014, 130015, 130016, 130017, 130018, 130019, 130020 },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
},
{
-- suite_id = 5,
-- description = ,
monsters = { },
gadgets = { },
regions = { },
triggers = { },
rand_weight = 100
}
}
--================================================================
--
-- 触发器
--
--================================================================
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_130021(context, evt)
if 130001 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_130021(context, evt)
-- 创建编号为1(该怪物潮的识别id)的怪物潮,创建怪物总数为4,场上怪物最少2只,最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001130, {130002,130003}, 4, 2, 2) then
return -1
end
-- 创建编号为2(该怪物潮的识别id)的怪物潮,创建怪物总数为4,场上怪物最少1只,最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001130, {130004,130005}, 4, 1, 2) then
return -1
end
-- 创建编号为3(该怪物潮的识别id)的怪物潮,创建怪物总数为6,场上怪物最少2只,最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001130, {130006,130007}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_130022(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_130022(context, evt)
-- 创建编号为4(该怪物潮的识别id)的怪物潮,创建怪物总数为1,场上怪物最少1只,最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001130, {130008}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_130023(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_130023(context, evt)
-- 创建编号为5(该怪物潮的识别id)的怪物潮,创建怪物总数为1,场上怪物最少1只,最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001130, {130009}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_130024(context, evt)
if 6 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_130024(context, evt)
-- 创建编号为6(该怪物潮的识别id)的怪物潮,创建怪物总数为1,场上怪物最少1只,最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001130, {130010}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_130025(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_130025(context, evt)
-- 创建编号为1(该怪物潮的识别id)的怪物潮,创建怪物总数为4,场上怪物最少2只,最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001130, {130002,130003}, 4, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_130026(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_130026(context, evt)
-- 创建编号为2(该怪物潮的识别id)的怪物潮,创建怪物总数为4,场上怪物最少1只,最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001130, {130004,130005}, 4, 1, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_130027(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_130027(context, evt)
-- 创建编号为3(该怪物潮的识别id)的怪物潮,创建怪物总数为6,场上怪物最少2只,最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001130, {130006,130007}, 6, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_ANY_MONSTER_LIVE_130028(context, evt)
if 130012 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_ANY_MONSTER_LIVE_130028(context, evt)
-- 创建编号为1(该怪物潮的识别id)的怪物潮,创建怪物总数为2,场上怪物最少2只,最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001130, {130011,130013}, 2, 2, 2) then
return -1
end
-- 创建编号为2(该怪物潮的识别id)的怪物潮,创建怪物总数为4,场上怪物最少2只,最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001130, {130014,130015}, 4, 2, 2) then
return -1
end
-- 创建编号为3(该怪物潮的识别id)的怪物潮,创建怪物总数为4,场上怪物最少2只,最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001130, {130016,130017}, 4, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_130029(context, evt)
if 2 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_130029(context, evt)
-- 创建编号为4(该怪物潮的识别id)的怪物潮,创建怪物总数为1,场上怪物最少1只,最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 4, 302001130, {130018}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_130030(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_130030(context, evt)
-- 创建编号为5(该怪物潮的识别id)的怪物潮,创建怪物总数为1,场上怪物最少1只,最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 5, 302001130, {130019}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_130031(context, evt)
if 4 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_130031(context, evt)
-- 创建编号为6(该怪物潮的识别id)的怪物潮,创建怪物总数为1,场上怪物最少1只,最多1只
if 0 ~= ScriptLib.AutoMonsterTide(context, 6, 302001130, {130020}, 1, 1, 1) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_130032(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_130032(context, evt)
-- 创建编号为1(该怪物潮的识别id)的怪物潮,创建怪物总数为2,场上怪物最少2只,最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001130, {130011,130013}, 2, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_130033(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_130033(context, evt)
-- 创建编号为2(该怪物潮的识别id)的怪物潮,创建怪物总数为4,场上怪物最少2只,最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001130, {130014,130015}, 4, 2, 2) then
return -1
end
return 0
end
-- 触发条件
function condition_EVENT_MONSTER_TIDE_DIE_130034(context, evt)
if 1 ~= evt.param1 then
return false
end
return true
end
-- 触发操作
function action_EVENT_MONSTER_TIDE_DIE_130034(context, evt)
-- 创建编号为3(该怪物潮的识别id)的怪物潮,创建怪物总数为4,场上怪物最少2只,最多2只
if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001130, {130016,130017}, 4, 2, 2) then
return -1
end
return 0
end