-- 基础信息 local base_info = { group_id = 302001049 } --================================================================ -- -- 配置 -- --================================================================ -- 怪物 monsters = { { config_id = 49001, monster_id = 25060101, pos = { x = 841.108, y = 200.592, z = -6.183 }, rot = { x = 0.000, y = 100.807, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 50, area_id = 9 }, { config_id = 49002, monster_id = 25060101, pos = { x = 842.731, y = 201.231, z = -10.774 }, rot = { x = 0.000, y = 60.983, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 50, area_id = 9 }, { config_id = 49003, monster_id = 25060101, pos = { x = 841.108, y = 200.592, z = -6.183 }, rot = { x = 0.000, y = 100.807, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 50, area_id = 9 }, { config_id = 49004, monster_id = 25070101, pos = { x = 845.398, y = 200.764, z = -2.963 }, rot = { x = 0.000, y = 158.270, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 50, area_id = 9 }, { config_id = 49005, monster_id = 25070101, pos = { x = 850.203, y = 201.466, z = -3.758 }, rot = { x = 0.000, y = 202.290, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 50, area_id = 9 }, { config_id = 49006, monster_id = 25010201, pos = { x = 840.934, y = 200.825, z = -8.553 }, rot = { x = 0.000, y = 80.108, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 9 }, { config_id = 49007, monster_id = 25010201, pos = { x = 842.742, y = 200.563, z = -4.145 }, rot = { x = 0.000, y = 123.538, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 9 }, { config_id = 49008, monster_id = 25010201, pos = { x = 847.840, y = 201.072, z = -2.888 }, rot = { x = 0.000, y = 179.909, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 9 }, { config_id = 49009, monster_id = 25010501, pos = { x = 843.187, y = 202.087, z = -16.128 }, rot = { x = 0.000, y = 317.454, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 9 }, { config_id = 49010, monster_id = 25010301, pos = { x = 851.811, y = 202.898, z = -14.437 }, rot = { x = 0.000, y = 308.521, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 9 }, { config_id = 49011, monster_id = 25010501, pos = { x = 836.714, y = 200.632, z = -7.918 }, rot = { x = 0.000, y = 97.050, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 9 }, { config_id = 49012, monster_id = 25070101, pos = { x = 845.398, y = 200.764, z = -2.963 }, rot = { x = 0.000, y = 158.270, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 50, area_id = 9 }, { config_id = 49013, monster_id = 25070101, pos = { x = 850.203, y = 201.466, z = -3.758 }, rot = { x = 0.000, y = 202.290, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 50, area_id = 9 }, { config_id = 49014, monster_id = 25010201, pos = { x = 840.934, y = 200.825, z = -8.553 }, rot = { x = 0.000, y = 80.108, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 9 }, { config_id = 49015, monster_id = 25010201, pos = { x = 842.742, y = 200.563, z = -4.145 }, rot = { x = 0.000, y = 123.538, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 9 }, { config_id = 49016, monster_id = 25010201, pos = { x = 847.840, y = 201.072, z = -2.888 }, rot = { x = 0.000, y = 179.909, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 9 }, { config_id = 49017, monster_id = 25010501, pos = { x = 842.940, y = 202.091, z = -16.349 }, rot = { x = 0.000, y = 359.203, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 9 }, { config_id = 49018, monster_id = 25010301, pos = { x = 851.811, y = 202.898, z = -14.437 }, rot = { x = 0.000, y = 308.521, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 9 }, { config_id = 49019, monster_id = 25010501, pos = { x = 836.714, y = 200.632, z = -7.918 }, rot = { x = 0.000, y = 97.050, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 20, area_id = 9 }, { config_id = 49020, monster_id = 25060101, pos = { x = 842.731, y = 201.231, z = -10.774 }, rot = { x = 0.000, y = 60.983, z = 0.000 }, level = 1, drop_id = 1000100, kill_score = 50, area_id = 9 } } -- NPC npcs = { } -- 装置 gadgets = { } -- 区域 regions = { } -- 触发器 triggers = { { config_id = 1049023, name = "ANY_MONSTER_LIVE_49023", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_49023", action = "action_EVENT_ANY_MONSTER_LIVE_49023", trigger_count = 0 }, { config_id = 1049032, name = "ANY_MONSTER_LIVE_49032", event = EventType.EVENT_ANY_MONSTER_LIVE, source = "", condition = "condition_EVENT_ANY_MONSTER_LIVE_49032", action = "action_EVENT_ANY_MONSTER_LIVE_49032", 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 = { 49002 }, gadgets = { }, regions = { }, triggers = { "ANY_MONSTER_LIVE_49023" }, rand_weight = 100 }, { -- suite_id = 3, -- description = , monsters = { 49003, 49004, 49005, 49006, 49007, 49008, 49009, 49010, 49011 }, gadgets = { }, regions = { }, triggers = { }, rand_weight = 100 }, { -- suite_id = 4, -- description = , monsters = { 49020 }, gadgets = { }, regions = { }, triggers = { "ANY_MONSTER_LIVE_49032" }, rand_weight = 100 }, { -- suite_id = 5, -- description = , monsters = { 49001, 49012, 49013, 49014, 49015, 49016, 49017, 49018, 49019 }, gadgets = { }, regions = { }, triggers = { }, rand_weight = 100 } } --================================================================ -- -- 触发器 -- --================================================================ -- 触发条件 function condition_EVENT_ANY_MONSTER_LIVE_49023(context, evt) if 49002 ~= evt.param1 then return false end return true end -- 触发操作 function action_EVENT_ANY_MONSTER_LIVE_49023(context, evt) -- 创建编号为1(该怪物潮的识别id)的怪物潮,创建怪物总数为99999,场上怪物最少1只,最多2只 if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001049, {49003,49004,49005}, 99999, 1, 2) then return -1 end -- 创建编号为2(该怪物潮的识别id)的怪物潮,创建怪物总数为99999,场上怪物最少1只,最多2只 if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001049, {49006,49007,49008}, 99999, 1, 2) then return -1 end -- 创建编号为3(该怪物潮的识别id)的怪物潮,创建怪物总数为99999,场上怪物最少1只,最多2只 if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001049, {49009,49010,49011}, 99999, 1, 2) then return -1 end return 0 end -- 触发条件 function condition_EVENT_ANY_MONSTER_LIVE_49032(context, evt) if 49020 ~= evt.param1 then return false end return true end -- 触发操作 function action_EVENT_ANY_MONSTER_LIVE_49032(context, evt) -- 创建编号为1(该怪物潮的识别id)的怪物潮,创建怪物总数为99999,场上怪物最少1只,最多2只 if 0 ~= ScriptLib.AutoMonsterTide(context, 1, 302001049, {49001,49012,49013}, 99999, 1, 2) then return -1 end -- 创建编号为2(该怪物潮的识别id)的怪物潮,创建怪物总数为99999,场上怪物最少1只,最多2只 if 0 ~= ScriptLib.AutoMonsterTide(context, 2, 302001049, {49014,49015,49016}, 99999, 1, 2) then return -1 end -- 创建编号为3(该怪物潮的识别id)的怪物潮,创建怪物总数为99999,场上怪物最少1只,最多2只 if 0 ~= ScriptLib.AutoMonsterTide(context, 3, 302001049, {49017,49018,49019}, 99999, 1, 2) then return -1 end return 0 end