-- 基础信息 local base_info = { group_id = 302001110 } --================================================================ -- -- 配置 -- --================================================================ -- 怪物 monsters = { { config_id = 110001, monster_id = 21011201, pos = { x = 933.404, y = 200.225, z = 191.060 }, rot = { x = 0.000, y = 100.807, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 5 }, { config_id = 110002, monster_id = 21011201, pos = { x = 935.522, y = 200.341, z = 186.544 }, rot = { x = 0.000, y = 60.983, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 5 }, { config_id = 110003, monster_id = 21011201, pos = { x = 933.404, y = 200.225, z = 191.060 }, rot = { x = 0.000, y = 100.807, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 5 }, { config_id = 110004, monster_id = 21011201, pos = { x = 939.014, y = 200.715, z = 194.639 }, rot = { x = 0.000, y = 158.270, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 5 }, { config_id = 110005, monster_id = 21020301, pos = { x = 945.490, y = 201.944, z = 186.606 }, rot = { x = 0.000, y = 317.730, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 50, area_id = 5 }, { config_id = 110006, monster_id = 21011001, pos = { x = 950.685, y = 202.032, z = 194.860 }, rot = { x = 0.000, y = 245.255, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 5 }, { config_id = 110007, monster_id = 21011001, pos = { x = 944.387, y = 202.732, z = 181.667 }, rot = { x = 0.000, y = 351.862, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 5 }, { config_id = 110008, monster_id = 21030201, pos = { x = 950.248, y = 202.355, z = 189.282 }, rot = { x = 0.000, y = 272.575, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 5 }, { config_id = 110009, monster_id = 21010901, pos = { x = 949.469, y = 202.865, z = 183.739 }, rot = { x = 0.000, y = 260.893, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 5 }, { config_id = 110010, monster_id = 21010901, pos = { x = 932.892, y = 200.148, z = 179.558 }, rot = { x = 0.000, y = 31.137, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 5 }, { config_id = 110011, monster_id = 21010901, pos = { x = 935.974, y = 200.218, z = 199.378 }, rot = { x = 0.000, y = 150.713, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 5 }, { config_id = 110012, monster_id = 21011201, pos = { x = 939.014, y = 200.715, z = 194.639 }, rot = { x = 0.000, y = 158.270, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 5 }, { config_id = 110013, monster_id = 21020301, pos = { x = 945.382, y = 201.977, z = 186.343 }, rot = { x = 0.000, y = 317.730, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 50, area_id = 5 }, { config_id = 110014, monster_id = 21011002, pos = { x = 950.768, y = 202.044, z = 194.860 }, rot = { x = 0.000, y = 245.255, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 5 }, { config_id = 110015, monster_id = 21011002, pos = { x = 944.452, y = 202.752, z = 181.517 }, rot = { x = 0.000, y = 351.862, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 5 }, { config_id = 110016, monster_id = 21030201, pos = { x = 950.125, y = 202.317, z = 189.094 }, rot = { x = 0.000, y = 283.559, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 5 }, { config_id = 110017, monster_id = 21010902, pos = { x = 949.496, y = 202.839, z = 183.864 }, rot = { x = 0.000, y = 302.642, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 5 }, { config_id = 110018, monster_id = 21010902, pos = { x = 932.892, y = 200.148, z = 179.558 }, rot = { x = 0.000, y = 31.137, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 5 }, { config_id = 110019, monster_id = 21010902, pos = { x = 935.974, y = 200.218, z = 199.378 }, rot = { x = 0.000, y = 150.713, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 5 }, { config_id = 110020, monster_id = 21011201, pos = { x = 935.522, y = 200.341, z = 186.544 }, rot = { x = 0.000, y = 60.983, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 5 } } -- NPC npcs = { } -- 装置 gadgets = { } -- 区域 regions = { } -- 触发器 triggers = { { config_id = 1110021, name = "ANY_MONSTER_LIVE_110021", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_110021", action = "action_EVENT_ANY_MONSTER_LIVE_110021", trigger_count = 0 }, { config_id = 1110022, name = "ANY_MONSTER_LIVE_110022", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_110022", action = "action_EVENT_ANY_MONSTER_LIVE_110022", 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 = { 110002 }, gadgets = { }, regions = { }, triggers = { "ANY_MONSTER_LIVE_110021" }, rand_weight = 100 }, { -- suite_id = 3, -- description = , monsters = { 110003, 110004, 110005, 110006, 110007, 110008, 110009, 110010, 110011 }, gadgets = { }, regions = { }, triggers = { }, rand_weight = 100 }, { -- suite_id = 4, -- description = , monsters = { 110020 }, gadgets = { }, regions = { }, triggers = { "ANY_MONSTER_LIVE_110022" }, rand_weight = 100 }, { -- suite_id = 5, -- description = , monsters = { 110001, 110012, 110013, 110014, 110015, 110016, 110017, 110018, 110019 }, gadgets = { }, regions = { }, triggers = { }, rand_weight = 100 } } --================================================================ -- -- 触发器 -- --================================================================ -- 触发条件 function condition_EVENT_ANY_MONSTER_LIVE_110021(context, evt) if 110002 ~= evt.param1 then return false end return true end -- 触发操作 function action_EVENT_ANY_MONSTER_LIVE_110021(context, evt) -- 创建编号为1(该怪物潮的识别id)的怪物潮,创建怪物总数为99999,场上怪物最少2只,最多3只 if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001110, {110003,110004,110005}, 99999, 2, 3) then return -1 end -- 创建编号为2(该怪物潮的识别id)的怪物潮,创建怪物总数为99999,场上怪物最少1只,最多1只 if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001110, {110006,110007,110008}, 99999, 1, 1) then return -1 end -- 创建编号为3(该怪物潮的识别id)的怪物潮,创建怪物总数为99999,场上怪物最少1只,最多1只 if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001110, {110009,110010,110011}, 99999, 1, 1) then return -1 end return 0 end -- 触发条件 function condition_EVENT_ANY_MONSTER_LIVE_110022(context, evt) if 110020 ~= evt.param1 then return false end return true end -- 触发操作 function action_EVENT_ANY_MONSTER_LIVE_110022(context, evt) -- 创建编号为1(该怪物潮的识别id)的怪物潮,创建怪物总数为99999,场上怪物最少2只,最多3只 if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001110, {110001,110012,110013}, 99999, 2, 3) then return -1 end -- 创建编号为2(该怪物潮的识别id)的怪物潮,创建怪物总数为99999,场上怪物最少1只,最多1只 if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001110, {110014,110015,110016}, 99999, 1, 1) then return -1 end -- 创建编号为3(该怪物潮的识别id)的怪物潮,创建怪物总数为99999,场上怪物最少1只,最多1只 if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001110, {110017,110018,110019}, 99999, 1, 1) then return -1 end return 0 end