--================================================================
-- 
-- 配置
-- 
--================================================================

-- 怪物
monsters = {
}

-- NPC
npcs = {
}

-- 装置
gadgets = {
	{ config_id = 401, gadget_id = 70360002, pos = { x = -162.3, y = -10.3, z = -733.4 }, rot = { x = 0.0, y = 21.4, z = 0.0 }, level = 1 },
	{ config_id = 402, gadget_id = 70211001, pos = { x = -162.8, y = -10.1, z = -731.0 }, rot = { x = 0.0, y = 85.5, z = 0.0 }, level = 1, drop_tag = "战斗低级蒙德", type = GadgetType.GADGET_DUNGEON_SECRET_CHEST },
	{ config_id = 411, gadget_id = 70900023, pos = { x = -151.2, y = -10.7, z = -722.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
	{ config_id = 412, gadget_id = 70900023, pos = { x = -156.2, y = -10.7, z = -722.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
	{ config_id = 413, gadget_id = 70900023, pos = { x = -161.2, y = -10.7, z = -722.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
	{ config_id = 414, gadget_id = 70900023, pos = { x = -166.2, y = -10.7, z = -722.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
	{ config_id = 415, gadget_id = 70900023, pos = { x = -171.2, y = -10.7, z = -722.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
	{ config_id = 416, gadget_id = 70900023, pos = { x = -151.2, y = -10.8, z = -727.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
	{ config_id = 417, gadget_id = 70900023, pos = { x = -156.2, y = -10.8, z = -727.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
	{ config_id = 418, gadget_id = 70900023, pos = { x = -161.2, y = -10.8, z = -727.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
	{ config_id = 419, gadget_id = 70900023, pos = { x = -166.2, y = -10.8, z = -727.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
	{ config_id = 420, gadget_id = 70900023, pos = { x = -171.2, y = -10.8, z = -727.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
	{ config_id = 421, gadget_id = 70900023, pos = { x = -151.1, y = -10.8, z = -732.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
	{ config_id = 422, gadget_id = 70900023, pos = { x = -156.1, y = -10.8, z = -732.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
	{ config_id = 424, gadget_id = 70900023, pos = { x = -166.1, y = -10.8, z = -732.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
	{ config_id = 425, gadget_id = 70900023, pos = { x = -171.1, y = -10.8, z = -732.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
	{ config_id = 426, gadget_id = 70900023, pos = { x = -151.2, y = -10.8, z = -737.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
	{ config_id = 427, gadget_id = 70900023, pos = { x = -156.2, y = -10.8, z = -737.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
	{ config_id = 428, gadget_id = 70900023, pos = { x = -161.2, y = -10.8, z = -737.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
	{ config_id = 429, gadget_id = 70900023, pos = { x = -166.2, y = -10.8, z = -737.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
	{ config_id = 430, gadget_id = 70900023, pos = { x = -171.2, y = -10.8, z = -737.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
	{ config_id = 431, gadget_id = 70900023, pos = { x = -151.2, y = -10.9, z = -742.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
	{ config_id = 433, gadget_id = 70900023, pos = { x = -161.2, y = -10.9, z = -742.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
	{ config_id = 434, gadget_id = 70900023, pos = { x = -166.2, y = -10.9, z = -742.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
	{ config_id = 435, gadget_id = 70900023, pos = { x = -171.2, y = -10.9, z = -742.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
	{ config_id = 436, gadget_id = 70900023, pos = { x = -151.2, y = -10.9, z = -747.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
	{ config_id = 437, gadget_id = 70900023, pos = { x = -156.2, y = -10.9, z = -747.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
	{ config_id = 438, gadget_id = 70900023, pos = { x = -161.2, y = -10.9, z = -747.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
	{ config_id = 439, gadget_id = 70900023, pos = { x = -166.2, y = -10.9, z = -747.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
	{ config_id = 440, gadget_id = 70900023, pos = { x = -171.2, y = -10.9, z = -747.0 }, rot = { x = 0.0, y = 0.0, z = 0.0 }, level = 1 },
	{ config_id = 441, gadget_id = 70211001, pos = { x = -170.8, y = -5.7, z = -736.3 }, rot = { x = 0.0, y = 67.0, z = 0.0 }, level = 1, drop_tag = "战斗低级蒙德", type = GadgetType.GADGET_DUNGEON_SECRET_CHEST },
	{ config_id = 442, gadget_id = 70211001, pos = { x = -154.8, y = -10.1, z = -743.4 }, rot = { x = 0.0, y = 321.1, z = 0.0 }, level = 1, drop_tag = "战斗低级蒙德", type = GadgetType.GADGET_DUNGEON_SECRET_CHEST },
	{ config_id = 443, gadget_id = 70211001, pos = { x = -151.0, y = -7.9, z = -726.3 }, rot = { x = 0.0, y = 41.0, z = 0.0 }, level = 1, drop_tag = "战斗低级蒙德", type = GadgetType.GADGET_DUNGEON_SECRET_CHEST },
	{ config_id = 444, gadget_id = 70211001, pos = { x = -166.3, y = -8.2, z = -721.8 }, rot = { x = 0.0, y = 151.1, z = 0.0 }, level = 1, drop_tag = "战斗低级蒙德", type = GadgetType.GADGET_DUNGEON_SECRET_CHEST },
	{ config_id = 501, gadget_id = 70220020, pos = { x = -155.6, y = -10.3, z = -727.2 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 502, gadget_id = 70220020, pos = { x = -155.7, y = -10.3, z = -729.2 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 503, gadget_id = 70220020, pos = { x = -155.3, y = -10.2, z = -725.4 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 504, gadget_id = 70220020, pos = { x = -155.2, y = -10.2, z = -723.4 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 505, gadget_id = 70220020, pos = { x = -151.5, y = -10.3, z = -729.5 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 506, gadget_id = 70220020, pos = { x = -151.4, y = -10.2, z = -723.9 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 507, gadget_id = 70220020, pos = { x = -155.1, y = -10.2, z = -721.7 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 508, gadget_id = 70220020, pos = { x = -150.7, y = -10.2, z = -722.1 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 509, gadget_id = 70220020, pos = { x = -156.1, y = -10.4, z = -736.2 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 510, gadget_id = 70220020, pos = { x = -156.2, y = -10.4, z = -738.1 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 511, gadget_id = 70220020, pos = { x = -155.8, y = -10.3, z = -734.3 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 512, gadget_id = 70220020, pos = { x = -155.7, y = -10.3, z = -732.4 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 513, gadget_id = 70220020, pos = { x = -152.0, y = -10.4, z = -738.4 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 514, gadget_id = 70220020, pos = { x = -151.9, y = -10.3, z = -732.8 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 515, gadget_id = 70220020, pos = { x = -155.6, y = -10.3, z = -730.6 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 516, gadget_id = 70220020, pos = { x = -151.2, y = -10.3, z = -731.0 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 517, gadget_id = 70220020, pos = { x = -166.6, y = -10.4, z = -741.6 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 518, gadget_id = 70220020, pos = { x = -166.7, y = -10.4, z = -743.5 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 519, gadget_id = 70220020, pos = { x = -166.3, y = -10.3, z = -739.7 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 520, gadget_id = 70220020, pos = { x = -166.2, y = -10.3, z = -737.7 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 521, gadget_id = 70220020, pos = { x = -162.5, y = -10.4, z = -743.8 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 522, gadget_id = 70220020, pos = { x = -162.4, y = -10.3, z = -738.2 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 523, gadget_id = 70220020, pos = { x = -166.1, y = -10.3, z = -736.0 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 524, gadget_id = 70220020, pos = { x = -161.7, y = -10.3, z = -736.4 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 525, gadget_id = 70220020, pos = { x = -170.6, y = -10.3, z = -731.4 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 526, gadget_id = 70220020, pos = { x = -170.8, y = -10.3, z = -733.4 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 527, gadget_id = 70220020, pos = { x = -170.4, y = -10.2, z = -729.6 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 528, gadget_id = 70220020, pos = { x = -170.2, y = -10.2, z = -727.6 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 529, gadget_id = 70220020, pos = { x = -166.5, y = -10.3, z = -733.7 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 530, gadget_id = 70220020, pos = { x = -166.4, y = -10.2, z = -728.0 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 531, gadget_id = 70220020, pos = { x = -170.1, y = -10.2, z = -725.9 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 532, gadget_id = 70220020, pos = { x = -165.7, y = -10.2, z = -726.2 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 533, gadget_id = 70220020, pos = { x = -162.2, y = -10.2, z = -726.5 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 534, gadget_id = 70220020, pos = { x = -162.3, y = -10.2, z = -728.4 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 535, gadget_id = 70220020, pos = { x = -161.9, y = -10.1, z = -724.6 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 536, gadget_id = 70220020, pos = { x = -161.8, y = -10.1, z = -722.7 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 537, gadget_id = 70220020, pos = { x = -158.1, y = -10.2, z = -728.7 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 538, gadget_id = 70220020, pos = { x = -158.0, y = -10.1, z = -723.1 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 539, gadget_id = 70220020, pos = { x = -161.7, y = -10.1, z = -720.9 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 540, gadget_id = 70220020, pos = { x = -157.2, y = -10.1, z = -721.3 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 541, gadget_id = 70220020, pos = { x = -170.9, y = -10.2, z = -724.0 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 542, gadget_id = 70220020, pos = { x = -170.6, y = -10.2, z = -722.1 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 543, gadget_id = 70220020, pos = { x = -170.4, y = -10.2, z = -720.5 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 544, gadget_id = 70220020, pos = { x = -165.9, y = -10.3, z = -724.6 }, rot = { x = 0.0, y = 354.9, z = 0.0 }, level = 50 },
	{ config_id = 545, gadget_id = 70220020, pos = { x = -158.9, y = -10.2, z = -726.2 }, rot = { x = 0.0, y = 252.8, z = 0.0 }, level = 50 },
	{ config_id = 546, gadget_id = 70220020, pos = { x = -152.6, y = -10.3, z = -735.3 }, rot = { x = 0.0, y = 252.8, z = 0.0 }, level = 50 },
	{ config_id = 547, gadget_id = 70220020, pos = { x = -150.5, y = -10.3, z = -735.3 }, rot = { x = 0.0, y = 262.3, z = 0.0 }, level = 50 },
	{ config_id = 548, gadget_id = 70220020, pos = { x = -166.4, y = -10.3, z = -730.7 }, rot = { x = 0.0, y = 262.3, z = 0.0 }, level = 50 },
	{ config_id = 549, gadget_id = 70220020, pos = { x = -170.4, y = -10.4, z = -741.8 }, rot = { x = 0.0, y = 262.3, z = 0.0 }, level = 50 },
	{ config_id = 550, gadget_id = 70220020, pos = { x = -172.5, y = -10.4, z = -741.7 }, rot = { x = 0.0, y = 262.3, z = 0.0 }, level = 50 },
	{ config_id = 551, gadget_id = 70220020, pos = { x = -163.0, y = -10.4, z = -741.0 }, rot = { x = 0.0, y = 262.3, z = 0.0 }, level = 50 },
	{ config_id = 552, gadget_id = 70220020, pos = { x = -160.9, y = -10.4, z = -741.1 }, rot = { x = 0.0, y = 262.3, z = 0.0 }, level = 50 },
	{ config_id = 553, gadget_id = 70220020, pos = { x = -158.8, y = -10.3, z = -737.2 }, rot = { x = 0.0, y = 262.3, z = 0.0 }, level = 50 },
	{ config_id = 554, gadget_id = 70220020, pos = { x = -151.9, y = -10.4, z = -741.9 }, rot = { x = 0.0, y = 262.3, z = 0.0 }, level = 50 },
	{ config_id = 555, gadget_id = 70220020, pos = { x = -156.2, y = -10.4, z = -745.9 }, rot = { x = 0.0, y = 359.9, z = 0.0 }, level = 50 },
	{ config_id = 556, gadget_id = 70220020, pos = { x = -152.4, y = -10.4, z = -745.2 }, rot = { x = 0.0, y = 316.5, z = 0.0 }, level = 50 },
	{ config_id = 557, gadget_id = 70220020, pos = { x = -156.0, y = -10.4, z = -747.7 }, rot = { x = 0.0, y = 4.2, z = 0.0 }, level = 50 },
	{ config_id = 558, gadget_id = 70220020, pos = { x = -160.1, y = -10.4, z = -745.4 }, rot = { x = 0.0, y = 4.2, z = 0.0 }, level = 50 },
	{ config_id = 559, gadget_id = 70220020, pos = { x = -171.1, y = -10.4, z = -745.3 }, rot = { x = 0.0, y = 4.2, z = 0.0 }, level = 50 },
	{ config_id = 560, gadget_id = 70220020, pos = { x = -166.2, y = -10.4, z = -745.4 }, rot = { x = 0.0, y = 4.2, z = 0.0 }, level = 50 },
	{ config_id = 561, gadget_id = 70220020, pos = { x = -170.9, y = -10.4, z = -747.0 }, rot = { x = 0.0, y = 4.2, z = 0.0 }, level = 50 },
	{ config_id = 562, gadget_id = 70220020, pos = { x = -166.0, y = -10.4, z = -747.3 }, rot = { x = 0.0, y = 4.2, z = 0.0 }, level = 50 },
	{ config_id = 563, gadget_id = 70220020, pos = { x = -161.3, y = -10.4, z = -747.2 }, rot = { x = 0.0, y = 4.2, z = 0.0 }, level = 50 },
	{ config_id = 564, gadget_id = 70220020, pos = { x = -150.1, y = -10.4, z = -742.0 }, rot = { x = 0.0, y = 92.4, z = 0.0 }, level = 50 },
	{ config_id = 565, gadget_id = 70220020, pos = { x = -151.1, y = -10.4, z = -746.7 }, rot = { x = 0.0, y = 131.5, z = 0.0 }, level = 50 },
	{ config_id = 566, gadget_id = 70220020, pos = { x = -159.5, y = -10.4, z = -741.1 }, rot = { x = 0.0, y = 90.3, z = 0.0 }, level = 50 }
}

-- 区域
regions = {
}

-- 触发器
triggers = {
	{ name = "GADGET_CREATE_84", event = EventType.EVENT_GADGET_CREATE, source = "", condition = "condition_EVENT_GADGET_CREATE_84", action = "action_EVENT_GADGET_CREATE_84", trigger_count = 0 },
	{ name = "CHALLENGE_SUCCESS_85", event = EventType.EVENT_CHALLENGE_SUCCESS, source = "888", condition = "condition_EVENT_CHALLENGE_SUCCESS_85", action = "action_EVENT_CHALLENGE_SUCCESS_85" },
	{ name = "SELECT_OPTION_86", event = EventType.EVENT_SELECT_OPTION, source = "", condition = "condition_EVENT_SELECT_OPTION_86", action = "action_EVENT_SELECT_OPTION_86", trigger_count = 0, forbid_guest = false },
	{ name = "GADGET_STATE_CHANGE_87", event = EventType.EVENT_GADGET_STATE_CHANGE, source = "666", condition = "", action = "", trigger_count = 0 },
	{ name = "CHALLENGE_FAIL_88", event = EventType.EVENT_CHALLENGE_FAIL, source = "888", condition = "", action = "action_EVENT_CHALLENGE_FAIL_88", trigger_count = 0 }
}

-- 变量
variables = {
}

--================================================================
-- 
-- 初始化配置
-- 
--================================================================

-- 初始化时创建
init_config = {
	suite = 1,
	end_suite = 0,
	rand_suite = true,
	npcs = { }
}

--================================================================
-- 
-- 小组配置
-- 
--================================================================

suites = {
	{
		-- suite_id = 1,
		-- description = ,
		monsters = { },
		gadgets = { 401 },
		regions = { },
		triggers = { "GADGET_CREATE_84", "SELECT_OPTION_86" },
		rand_weight = 100
	},
	{
		-- suite_id = 2,
		-- description = suite_2,
		monsters = { },
		gadgets = { 441, 442, 443, 444, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566 },
		regions = { },
		triggers = { "CHALLENGE_SUCCESS_85", "GADGET_STATE_CHANGE_87", "CHALLENGE_FAIL_88" },
		rand_weight = 100
	},
	{
		-- suite_id = 3,
		-- description = suite_3,
		monsters = { },
		gadgets = { 402 },
		regions = { },
		triggers = { },
		rand_weight = 100
	},
	{
		-- suite_id = 4,
		-- description = suite_4,
		monsters = { },
		gadgets = { 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 424, 425, 426, 427, 428, 429, 430, 431, 433, 434, 435, 436, 437, 438, 439, 440 },
		regions = { },
		triggers = { },
		rand_weight = 100
	}
}

--================================================================
-- 
-- 触发器
-- 
--================================================================

-- 触发条件
function condition_EVENT_GADGET_CREATE_84(context, evt)
	if 401 ~= evt.param1 then
		return false
	end
	
	return true
end

-- 触发操作
function action_EVENT_GADGET_CREATE_84(context, evt)
	-- 设置操作台选项
	if 0 ~= ScriptLib.SetWorktopOptions(context, {104}) then
		return -1
	end
	
	return 0
end

-- 触发条件
function condition_EVENT_CHALLENGE_SUCCESS_85(context, evt)
	-- 判断指定group组剩余gadget数量是否是96 
	if ScriptLib.CheckRemainGadgetCountByGroupId(context, {group_id = 250004048}) ~= 96 then
		return false
	end
	
	return true
end

-- 触发操作
function action_EVENT_CHALLENGE_SUCCESS_85(context, evt)
		-- 重新生成指定group，指定suite
		if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 250004048, suite = 3 }) then
			return -1
		end
	
	return 0
end

-- 触发条件
function condition_EVENT_SELECT_OPTION_86(context, evt)
	if 401 ~= evt.param1 then
		return false
	end
	
	return true
end

-- 触发操作
function action_EVENT_SELECT_OPTION_86(context, evt)
		-- 重新生成指定group，指定suite
		if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 250004048, suite = 2 }) then
			return -1
		end
	
	-- 创建编号为888（该挑战的识别id),挑战内容为169的区域挑战，具体参数填写方式，见DungeonChallengeData表中的注释，所有填写的值都必须是int类型
	if 0 ~= ScriptLib.ActiveChallenge(context, 888, 169, 60, 7, 666, 4) then
		return -1
	end
	
	return 0
end

-- 触发条件

-- 触发操作

-- 触发条件

-- 触发操作
function action_EVENT_CHALLENGE_FAIL_88(context, evt)
		-- 重新生成指定group，指定suite
		if 0 ~= ScriptLib.RefreshGroup(context, { group_id = 250004048, suite = 1 }) then
			return -1
		end
	
	return 0
end
