local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1 L0_1 = {} L0_1.group_id = 133108228 L1_1 = {} L1_1.group_id = 133108228 L1_1.num_monster = 5 L1_1.monster_id_boss = 228004 L2_1 = {} L3_1 = {} L3_1.config_id = 228001 L3_1.monster_id = 25010601 L4_1 = {} L4_1.x = -195.583 L4_1.y = 200.107 L4_1.z = -444.104 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 335.36 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 30 L3_1.drop_id = 1000100 L3_1.disableWander = true L3_1.pose_id = 9005 L3_1.area_id = 7 L4_1 = {} L4_1.config_id = 228002 L4_1.monster_id = 25010301 L5_1 = {} L5_1.x = -193.1 L5_1.y = 200.55 L5_1.z = -443.857 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 0.0 L5_1.y = 289.435 L5_1.z = 0.0 L4_1.rot = L5_1 L4_1.level = 30 L4_1.drop_id = 1000100 L4_1.disableWander = true L4_1.pose_id = 9005 L4_1.area_id = 7 L5_1 = {} L5_1.config_id = 228003 L5_1.monster_id = 25010401 L6_1 = {} L6_1.x = -193.952 L6_1.y = 200.528 L6_1.z = -446.542 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 37.947 L6_1.z = 0.0 L5_1.rot = L6_1 L5_1.level = 30 L5_1.drop_id = 1000100 L5_1.disableWander = true L5_1.pose_id = 9005 L5_1.area_id = 7 L6_1 = {} L6_1.config_id = 228004 L6_1.monster_id = 25070201 L7_1 = {} L7_1.x = -194.365 L7_1.y = 200.309 L7_1.z = -444.88 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 276.36 L7_1.z = 0.0 L6_1.rot = L7_1 L6_1.level = 30 L6_1.drop_id = 1000100 L6_1.disableWander = true L6_1.pose_id = 9009 L6_1.area_id = 7 L7_1 = {} L7_1.config_id = 228005 L7_1.monster_id = 25010701 L8_1 = {} L8_1.x = -196.97 L8_1.y = 200.169 L8_1.z = -449.713 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 0.0 L8_1.y = 349.121 L8_1.z = 0.0 L7_1.rot = L8_1 L7_1.level = 30 L7_1.drop_id = 1000100 L7_1.disableWander = true L7_1.pose_id = 9003 L7_1.area_id = 7 L8_1 = {} L8_1.config_id = 228006 L8_1.monster_id = 25020201 L9_1 = {} L9_1.x = -198.202 L9_1.y = 200.012 L9_1.z = -448.402 L8_1.pos = L9_1 L9_1 = {} L9_1.x = 0.0 L9_1.y = 73.489 L9_1.z = 0.0 L8_1.rot = L9_1 L8_1.level = 30 L8_1.drop_id = 1000100 L8_1.disableWander = true L8_1.pose_id = 9004 L8_1.area_id = 7 L2_1[1] = L3_1 L2_1[2] = L4_1 L2_1[3] = L5_1 L2_1[4] = L6_1 L2_1[5] = L7_1 L2_1[6] = L8_1 monsters = L2_1 L2_1 = {} npcs = L2_1 L2_1 = {} L3_1 = {} L3_1.config_id = 228007 L3_1.gadget_id = 70800056 L4_1 = {} L4_1.x = -201.586 L4_1.y = 200.012 L4_1.z = -449.408 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 30.918 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 1 L3_1.area_id = 7 L4_1 = {} L4_1.config_id = 228008 L4_1.gadget_id = 70800056 L5_1 = {} L5_1.x = -191.889 L5_1.y = 200.243 L5_1.z = -441.061 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 356.705 L5_1.y = 252.12 L5_1.z = 349.898 L4_1.rot = L5_1 L4_1.level = 1 L4_1.area_id = 7 L5_1 = {} L5_1.config_id = 228009 L5_1.gadget_id = 70300104 L6_1 = {} L6_1.x = -196.377 L6_1.y = 200.447 L6_1.z = -452.566 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 15.1 L6_1.y = 291.856 L6_1.z = 2.26 L5_1.rot = L6_1 L5_1.level = 1 L5_1.area_id = 7 L6_1 = {} L6_1.config_id = 228010 L6_1.gadget_id = 70800102 L7_1 = {} L7_1.x = -196.705 L7_1.y = 200.194 L7_1.z = -448.192 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 7.311 L7_1.y = 294.174 L7_1.z = 3.269 L6_1.rot = L7_1 L6_1.level = 1 L6_1.area_id = 7 L2_1[1] = L3_1 L2_1[2] = L4_1 L2_1[3] = L5_1 L2_1[4] = L6_1 gadgets = L2_1 L2_1 = {} L3_1 = {} L3_1.config_id = 228011 L4_1 = RegionShape L4_1 = L4_1.SPHERE L3_1.shape = L4_1 L3_1.radius = 30 L4_1 = {} L4_1.x = -194.412 L4_1.y = 200.332 L4_1.z = -445.911 L3_1.pos = L4_1 L3_1.area_id = 7 L4_1 = {} L4_1.config_id = 228012 L5_1 = RegionShape L5_1 = L5_1.SPHERE L4_1.shape = L5_1 L4_1.radius = 50 L5_1 = {} L5_1.x = -194.367 L5_1.y = 200.343 L5_1.z = -445.977 L4_1.pos = L5_1 L4_1.area_id = 7 L5_1 = {} L5_1.config_id = 228013 L6_1 = RegionShape L6_1 = L6_1.SPHERE L5_1.shape = L6_1 L5_1.radius = 50 L6_1 = {} L6_1.x = -194.367 L6_1.y = 200.343 L6_1.z = -445.977 L5_1.pos = L6_1 L5_1.area_id = 7 L6_1 = {} L7_1 = "Firecracker_Play" L6_1[1] = L7_1 L5_1.team_ability_group_list = L6_1 L6_1 = {} L6_1.config_id = 228022 L7_1 = RegionShape L7_1 = L7_1.SPHERE L6_1.shape = L7_1 L6_1.radius = 50 L7_1 = {} L7_1.x = -194.367 L7_1.y = 200.343 L7_1.z = -445.977 L6_1.pos = L7_1 L6_1.area_id = 7 L2_1[1] = L3_1 L2_1[2] = L4_1 L2_1[3] = L5_1 L2_1[4] = L6_1 regions = L2_1 L2_1 = {} L3_1 = {} L3_1.config_id = 1228011 L3_1.name = "ENTER_REGION_228011" L4_1 = EventType L4_1 = L4_1.EVENT_ENTER_REGION L3_1.event = L4_1 L3_1.source = "1" L3_1.condition = "condition_EVENT_ENTER_REGION_228011" L3_1.action = "action_EVENT_ENTER_REGION_228011" L3_1.trigger_count = 0 L4_1 = {} L4_1.config_id = 1228012 L4_1.name = "LEAVE_REGION_228012" L5_1 = EventType L5_1 = L5_1.EVENT_LEAVE_REGION L4_1.event = L5_1 L4_1.source = "1" L4_1.condition = "condition_EVENT_LEAVE_REGION_228012" L4_1.action = "action_EVENT_LEAVE_REGION_228012" L4_1.trigger_count = 0 L5_1 = {} L5_1.config_id = 1228014 L5_1.name = "SELECT_OPTION_228014" L6_1 = EventType L6_1 = L6_1.EVENT_SELECT_OPTION L5_1.event = L6_1 L5_1.source = "" L5_1.condition = "condition_EVENT_SELECT_OPTION_228014" L5_1.action = "action_EVENT_SELECT_OPTION_228014" L5_1.trigger_count = 0 L6_1 = {} L6_1.config_id = 1228015 L6_1.name = "VARIABLE_CHANGE_228015" L7_1 = EventType L7_1 = L7_1.EVENT_VARIABLE_CHANGE L6_1.event = L7_1 L6_1.source = "" L6_1.condition = "condition_EVENT_VARIABLE_CHANGE_228015" L6_1.action = "action_EVENT_VARIABLE_CHANGE_228015" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1228016 L7_1.name = "CHALLENGE_SUCCESS_228016" L8_1 = EventType L8_1 = L8_1.EVENT_CHALLENGE_SUCCESS L7_1.event = L8_1 L7_1.source = "2040" L7_1.condition = "" L7_1.action = "action_EVENT_CHALLENGE_SUCCESS_228016" L7_1.trigger_count = 0 L8_1 = {} L8_1.config_id = 1228017 L8_1.name = "CHALLENGE_FAIL_228017" L9_1 = EventType L9_1 = L9_1.EVENT_CHALLENGE_FAIL L8_1.event = L9_1 L8_1.source = "2040" L8_1.condition = "" L8_1.action = "action_EVENT_CHALLENGE_FAIL_228017" L8_1.trigger_count = 0 L9_1 = {} L9_1.config_id = 1228018 L9_1.name = "ANY_MONSTER_DIE_228018" L10_1 = EventType L10_1 = L10_1.EVENT_ANY_MONSTER_DIE L9_1.event = L10_1 L9_1.source = "" L9_1.condition = "condition_EVENT_ANY_MONSTER_DIE_228018" L9_1.action = "" L9_1.trigger_count = 0 L9_1.tag = "20492" L10_1 = {} L10_1.config_id = 1228019 L10_1.name = "ANY_MONSTER_DIE_228019" L11_1 = EventType L11_1 = L11_1.EVENT_ANY_MONSTER_DIE L10_1.event = L11_1 L10_1.source = "" L10_1.condition = "condition_EVENT_ANY_MONSTER_DIE_228019" L10_1.action = "" L10_1.trigger_count = 0 L10_1.tag = "20491" L11_1 = {} L11_1.config_id = 1228020 L11_1.name = "GROUP_LOAD_228020" L12_1 = EventType L12_1 = L12_1.EVENT_GROUP_LOAD L11_1.event = L12_1 L11_1.source = "" L11_1.condition = "condition_EVENT_GROUP_LOAD_228020" L11_1.action = "action_EVENT_GROUP_LOAD_228020" L11_1.trigger_count = 0 L12_1 = {} L12_1.config_id = 1228021 L12_1.name = "TIME_AXIS_PASS_228021" L13_1 = EventType L13_1 = L13_1.EVENT_TIME_AXIS_PASS L12_1.event = L13_1 L12_1.source = "started" L12_1.condition = "condition_EVENT_TIME_AXIS_PASS_228021" L12_1.action = "action_EVENT_TIME_AXIS_PASS_228021" L12_1.trigger_count = 0 L13_1 = {} L13_1.config_id = 1228022 L13_1.name = "ENTER_REGION_228022" L14_1 = EventType L14_1 = L14_1.EVENT_ENTER_REGION L13_1.event = L14_1 L13_1.source = "1" L13_1.condition = "condition_EVENT_ENTER_REGION_228022" L13_1.action = "action_EVENT_ENTER_REGION_228022" L13_1.trigger_count = 0 L14_1 = {} L14_1.config_id = 1228023 L14_1.name = "GROUP_LOAD_228023" L15_1 = EventType L15_1 = L15_1.EVENT_GROUP_LOAD L14_1.event = L15_1 L14_1.source = "" L14_1.condition = "condition_EVENT_GROUP_LOAD_228023" L14_1.action = "action_EVENT_GROUP_LOAD_228023" L14_1.trigger_count = 0 L2_1[1] = L3_1 L2_1[2] = L4_1 L2_1[3] = L5_1 L2_1[4] = L6_1 L2_1[5] = L7_1 L2_1[6] = L8_1 L2_1[7] = L9_1 L2_1[8] = L10_1 L2_1[9] = L11_1 L2_1[10] = L12_1 L2_1[11] = L13_1 L2_1[12] = L14_1 triggers = L2_1 L2_1 = {} L3_1 = {} L3_1.configId = 1 L3_1.name = "challengeStart" L3_1.value = 0 L3_1.no_refresh = false L4_1 = {} L4_1.configId = 2 L4_1.name = "challengeSuccess" L4_1.value = 0 L4_1.no_refresh = false L5_1 = {} L5_1.configId = 3 L5_1.name = "hasReward" L5_1.value = 0 L5_1.no_refresh = true L6_1 = {} L6_1.configId = 4 L6_1.name = "giveReward" L6_1.value = 0 L6_1.no_refresh = false L2_1[1] = L3_1 L2_1[2] = L4_1 L2_1[3] = L5_1 L2_1[4] = L6_1 variables = L2_1 L2_1 = {} L2_1.suite = 1 L2_1.end_suite = 2 L2_1.rand_suite = false init_config = L2_1 L2_1 = {} L3_1 = {} L4_1 = {} L3_1.monsters = L4_1 L4_1 = {} L5_1 = 228007 L6_1 = 228008 L7_1 = 228009 L8_1 = 228010 L4_1[1] = L5_1 L4_1[2] = L6_1 L4_1[3] = L7_1 L4_1[4] = L8_1 L3_1.gadgets = L4_1 L4_1 = {} L5_1 = 228011 L6_1 = 228012 L7_1 = 228013 L4_1[1] = L5_1 L4_1[2] = L6_1 L4_1[3] = L7_1 L3_1.regions = L4_1 L4_1 = {} L5_1 = "ENTER_REGION_228011" L6_1 = "LEAVE_REGION_228012" L7_1 = "VARIABLE_CHANGE_228015" L8_1 = "CHALLENGE_SUCCESS_228016" L9_1 = "CHALLENGE_FAIL_228017" L10_1 = "ANY_MONSTER_DIE_228018" L11_1 = "ANY_MONSTER_DIE_228019" L12_1 = "GROUP_LOAD_228020" L13_1 = "TIME_AXIS_PASS_228021" L14_1 = "GROUP_LOAD_228023" L4_1[1] = L5_1 L4_1[2] = L6_1 L4_1[3] = L7_1 L4_1[4] = L8_1 L4_1[5] = L9_1 L4_1[6] = L10_1 L4_1[7] = L11_1 L4_1[8] = L12_1 L4_1[9] = L13_1 L4_1[10] = L14_1 L3_1.triggers = L4_1 L3_1.rand_weight = 100 L4_1 = {} L5_1 = {} L6_1 = 228001 L7_1 = 228002 L8_1 = 228003 L9_1 = 228004 L10_1 = 228005 L11_1 = 228006 L5_1[1] = L6_1 L5_1[2] = L7_1 L5_1[3] = L8_1 L5_1[4] = L9_1 L5_1[5] = L10_1 L5_1[6] = L11_1 L4_1.monsters = L5_1 L5_1 = {} L4_1.gadgets = L5_1 L5_1 = {} L4_1.regions = L5_1 L5_1 = {} L4_1.triggers = L5_1 L4_1.rand_weight = 100 L5_1 = {} L6_1 = {} L5_1.monsters = L6_1 L6_1 = {} L5_1.gadgets = L6_1 L6_1 = {} L5_1.regions = L6_1 L6_1 = {} L7_1 = "SELECT_OPTION_228014" L6_1[1] = L7_1 L5_1.triggers = L6_1 L5_1.rand_weight = 100 L6_1 = {} L7_1 = {} L6_1.monsters = L7_1 L7_1 = {} L6_1.gadgets = L7_1 L7_1 = {} L6_1.regions = L7_1 L7_1 = {} L6_1.triggers = L7_1 L6_1.rand_weight = 100 L7_1 = {} L8_1 = {} L7_1.monsters = L8_1 L8_1 = {} L7_1.gadgets = L8_1 L8_1 = {} L9_1 = 228022 L8_1[1] = L9_1 L7_1.regions = L8_1 L8_1 = {} L9_1 = "ENTER_REGION_228022" L8_1[1] = L9_1 L7_1.triggers = L8_1 L7_1.rand_weight = 100 L2_1[1] = L3_1 L2_1[2] = L4_1 L2_1[3] = L5_1 L2_1[4] = L6_1 L2_1[5] = L7_1 suites = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = A1_2.param1 if L2_2 ~= 228011 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetRegionEntityCount L3_2 = A0_2 L4_2 = {} L5_2 = A1_2.source_eid L4_2.region_eid = L5_2 L5_2 = EntityType L5_2 = L5_2.AVATAR L4_2.entity_type = L5_2 L2_2 = L2_2(L3_2, L4_2) if L2_2 < 1 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "challengeStart" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 0 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "challengeSuccess" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 0 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetLanternRiteValue L3_2 = A0_2 L2_2 = L2_2(L3_2) if L2_2 ~= 0 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ENTER_REGION_228011 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2 L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "challengeStart" L5_2 = 1 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_groupVariable" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "Variable_StartWatcherCountDown" L5_2 = 0 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_groupVariable" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.CreateFatherChallenge L3_2 = A0_2 L4_2 = 2040 L5_2 = 2004001 L6_2 = 99999999 L7_2 = {} L7_2.success = 2 L7_2.fail = 100 L7_2.fail_on_wipe = true L2_2(L3_2, L4_2, L5_2, L6_2, L7_2) L2_2 = ScriptLib L2_2 = L2_2.GetSceneUidList L3_2 = A0_2 L2_2 = L2_2(L3_2) L3_2 = ScriptLib L3_2 = L3_2.AttachChildChallenge L4_2 = A0_2 L5_2 = 2040 L6_2 = 2041 L7_2 = 2004002 L8_2 = {} L9_2 = 1 L10_2 = 20491 L11_2 = 1 L8_2[1] = L9_2 L8_2[2] = L10_2 L8_2[3] = L11_2 L9_2 = {} L10_2 = L2_2[1] L9_2[1] = L10_2 L10_2 = {} L10_2.success = 1 L10_2.fail = 100 L3_2(L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2) L3_2 = ScriptLib L3_2 = L3_2.AttachChildChallenge L4_2 = A0_2 L5_2 = 2040 L6_2 = 2042 L7_2 = 2004003 L8_2 = {} L9_2 = 1 L10_2 = 20492 L11_2 = L1_1.num_monster L8_2[1] = L9_2 L8_2[2] = L10_2 L8_2[3] = L11_2 L9_2 = {} L10_2 = L2_2[1] L9_2[1] = L10_2 L10_2 = {} L10_2.success = 1 L10_2.fail = 100 L3_2(L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2) L3_2 = ScriptLib L3_2 = L3_2.StartFatherChallenge L4_2 = A0_2 L5_2 = 2040 L3_2(L4_2, L5_2) L3_2 = ScriptLib L3_2 = L3_2.AddExtraGroupSuite L4_2 = A0_2 L5_2 = 133108228 L6_2 = 2 L3_2(L4_2, L5_2, L6_2) L3_2 = ScriptLib L3_2 = L3_2.InitTimeAxis L4_2 = A0_2 L5_2 = "started" L6_2 = {} L7_2 = 5 L6_2[1] = L7_2 L7_2 = false L3_2(L4_2, L5_2, L6_2, L7_2) L3_2 = 0 return L3_2 end action_EVENT_ENTER_REGION_228011 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "challengeStart" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 1 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "challengeSuccess" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 0 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetRegionConfigId L3_2 = A0_2 L4_2 = {} L5_2 = A1_2.source_eid L4_2.region_eid = L5_2 L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 228012 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_LEAVE_REGION_228012 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.StopChallenge L3_2 = A0_2 L4_2 = 2040 L5_2 = 0 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.RemoveExtraGroupSuite L3_2 = A0_2 L4_2 = 133108228 L5_2 = 2 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_LEAVE_REGION_228012 = L2_1 function L2_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 228010 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 68 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_SELECT_OPTION_228014 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.DelWorktopOptionByGroupId L3_2 = A0_2 L4_2 = 133108228 L5_2 = 228010 L6_2 = 68 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : del_work_options_by_group_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGroupGadgetStateByConfigId L3_2 = A0_2 L4_2 = 133108228 L5_2 = 228010 L6_2 = GadgetState L6_2 = L6_2.GearStop L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "giveReward" L5_2 = 1 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_groupVariable" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_SELECT_OPTION_228014 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = A1_2.param1 L3_2 = A1_2.param2 if L2_2 == L3_2 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "giveReward" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 1 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "hasReward" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 0 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_VARIABLE_CHANGE_228015 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "hasReward" L5_2 = 1 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_groupVariable" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.FinishGroupLinkBundle L3_2 = A0_2 L4_2 = L1_1.group_id L2_2(L3_2, L4_2) L2_2 = ScriptLib L2_2 = L2_2.GoToGroupSuite L3_2 = A0_2 L4_2 = 133108228 L5_2 = 4 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : goto_groupSuite" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_VARIABLE_CHANGE_228015 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2 L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "challengeSuccess" L5_2 = 1 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_groupVariable" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "Variable_EndGame" L5_2 = 0 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_groupVariable" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 133108228 L5_2 = 3 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 133108228 L5_2 = 228010 L6_2 = {} L7_2 = 68 L6_2[1] = L7_2 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 228010 L5_2 = GadgetState L5_2 = L5_2.GearStart L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_CHALLENGE_SUCCESS_228016 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "challengeStart" L5_2 = 0 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_groupVariable" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.RefreshGroup L3_2 = A0_2 L4_2 = {} L4_2.group_id = 133108228 L4_2.suite = 1 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : refresh_group_to_suite" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_CHALLENGE_FAIL_228017 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param1 L3_2 = L1_1.monster_id_boss if L2_2 == L3_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_MONSTER_DIE_228018 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param1 L3_2 = L1_1.monster_id_boss if L2_2 ~= L3_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_MONSTER_DIE_228019 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "challengeSuccess" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 1 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GROUP_LOAD_228020 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2 L2_2 = ScriptLib L2_2 = L2_2.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 133108228 L5_2 = 3 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.SetWorktopOptionsByGroupId L3_2 = A0_2 L4_2 = 133108228 L5_2 = 228010 L6_2 = {} L7_2 = 68 L6_2[1] = L7_2 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGadgetStateByConfigId L3_2 = A0_2 L4_2 = 228010 L5_2 = GadgetState L5_2 = L5_2.GearStart L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GROUP_LOAD_228020 = L2_1 function L2_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.source_name if "started" == L2_2 then L2_2 = A1_2.param1 if 1 == L2_2 then goto lbl_9 end end L2_2 = false do return L2_2 end ::lbl_9:: L2_2 = true return L2_2 end condition_EVENT_TIME_AXIS_PASS_228021 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 133108228 L5_2 = 5 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_TIME_AXIS_PASS_228021 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = A1_2.param1 if L2_2 ~= 228022 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetRegionEntityCount L3_2 = A0_2 L4_2 = {} L5_2 = A1_2.source_eid L4_2.region_eid = L5_2 L5_2 = EntityType L5_2 = L5_2.AVATAR L4_2.entity_type = L5_2 L2_2 = L2_2(L3_2, L4_2) if L2_2 < 1 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ENTER_REGION_228022 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2 L2_2 = ScriptLib L2_2 = L2_2.AssignPlayerShowTemplateReminder L3_2 = A0_2 L4_2 = 160 L5_2 = {} L6_2 = {} L5_2.param_uid_vec = L6_2 L6_2 = {} L5_2.param_vec = L6_2 L6_2 = {} L7_2 = A0_2.uid L6_2[1] = L7_2 L5_2.uid_vec = L6_2 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_ENTER_REGION_228022 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "challengeSuccess" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 0 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GROUP_LOAD_228023 = L2_1 function L2_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "challengeStart" L5_2 = 0 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_groupVariable" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GROUP_LOAD_228023 = L2_1 L2_1 = require L3_1 = "V2_4/Firecracker" L2_1(L3_1) L2_1 = require L3_1 = "V2_4/SeaLamp_Challenge_Manager" L2_1(L3_1)