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 L0_1 = {} L0_1.group_id = 240047001 L1_1 = {} L2_1 = {} L2_1.config_id = 1001 L2_1.monster_id = 25100201 L3_1 = {} L3_1.x = 62.187 L3_1.y = 77.01 L3_1.z = -83.776 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 0.0 L3_1.y = 0.0 L3_1.z = 0.0 L2_1.rot = L3_1 L2_1.level = 1 L2_1.disableWander = true L2_1.pose_id = 1002 L3_1 = {} L3_1.config_id = 1003 L3_1.monster_id = 25100101 L4_1 = {} L4_1.x = 62.039 L4_1.y = 77.01 L4_1.z = -78.321 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 180.0 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 1 L3_1.disableWander = true L3_1.pose_id = 1002 L4_1 = {} L4_1.config_id = 1006 L4_1.monster_id = 25010501 L5_1 = {} L5_1.x = 67.26 L5_1.y = 76.94 L5_1.z = -75.606 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 0.0 L5_1.y = 270.0 L5_1.z = 0.0 L4_1.rot = L5_1 L4_1.level = 1 L5_1 = {} L5_1.config_id = 1007 L5_1.monster_id = 25010401 L6_1 = {} L6_1.x = 66.82 L6_1.y = 76.94 L6_1.z = -86.133 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 270.0 L6_1.z = 0.0 L5_1.rot = L6_1 L5_1.level = 1 L6_1 = {} L6_1.config_id = 1013 L6_1.monster_id = 25080301 L7_1 = {} L7_1.x = 59.937 L7_1.y = 77.01 L7_1.z = -86.545 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 0.0 L7_1.z = 0.0 L6_1.rot = L7_1 L6_1.level = 1 L6_1.pose_id = 1 L7_1 = {} L7_1.config_id = 1014 L7_1.monster_id = 25080301 L8_1 = {} L8_1.x = 59.792 L8_1.y = 77.01 L8_1.z = -77.623 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 0.0 L8_1.y = 180.0 L8_1.z = 0.0 L7_1.rot = L8_1 L7_1.level = 1 L7_1.pose_id = 1 L8_1 = {} L8_1.config_id = 1015 L8_1.monster_id = 25080201 L9_1 = {} L9_1.x = 64.932 L9_1.y = 77.01 L9_1.z = -81.263 L8_1.pos = L9_1 L9_1 = {} L9_1.x = 0.0 L9_1.y = 270.0 L9_1.z = 0.0 L8_1.rot = L9_1 L8_1.level = 1 L8_1.pose_id = 1 L9_1 = {} L9_1.config_id = 1016 L9_1.monster_id = 25080201 L10_1 = {} L10_1.x = 58.014 L10_1.y = 77.01 L10_1.z = -81.185 L9_1.pos = L10_1 L10_1 = {} L10_1.x = 0.0 L10_1.y = 90.0 L10_1.z = 0.0 L9_1.rot = L10_1 L9_1.level = 1 L9_1.pose_id = 1 L10_1 = {} L10_1.config_id = 1017 L10_1.monster_id = 25010401 L11_1 = {} L11_1.x = 65.836 L11_1.y = 77.01 L11_1.z = -87.905 L10_1.pos = L11_1 L11_1 = {} L11_1.x = 0.0 L11_1.y = 270.0 L11_1.z = 0.0 L10_1.rot = L11_1 L10_1.level = 1 L11_1 = {} L11_1.config_id = 1019 L11_1.monster_id = 25010401 L12_1 = {} L12_1.x = 64.746 L12_1.y = 77.01 L12_1.z = -74.563 L11_1.pos = L12_1 L12_1 = {} L12_1.x = 0.0 L12_1.y = 270.0 L12_1.z = 0.0 L11_1.rot = L12_1 L11_1.level = 1 L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 L1_1[4] = L5_1 L1_1[5] = L6_1 L1_1[6] = L7_1 L1_1[7] = L8_1 L1_1[8] = L9_1 L1_1[9] = L10_1 L1_1[10] = L11_1 monsters = L1_1 L1_1 = {} npcs = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1002 L2_1.gadget_id = 70290140 L3_1 = {} L3_1.x = 25.475 L3_1.y = 77.056 L3_1.z = -81.018 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 0.0 L3_1.y = 270.0 L3_1.z = 0.0 L2_1.rot = L3_1 L2_1.level = 1 L3_1 = {} L3_1.config_id = 1005 L3_1.gadget_id = 70290137 L4_1 = {} L4_1.x = 46.126 L4_1.y = 77.212 L4_1.z = -81.005 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 270.0 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 1 L4_1 = GadgetState L4_1 = L4_1.GearStart L3_1.state = L4_1 L4_1 = {} L4_1.config_id = 1010 L4_1.gadget_id = 70360280 L5_1 = {} L5_1.x = 54.888 L5_1.y = 78.209 L5_1.z = -95.887 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 0.0 L5_1.y = 0.0 L5_1.z = 0.0 L4_1.rot = L5_1 L4_1.level = 1 L5_1 = {} L5_1.config_id = 1011 L5_1.gadget_id = 70360280 L6_1 = {} L6_1.x = 68.654 L6_1.y = 78.152 L6_1.z = -95.899 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 0.0 L6_1.z = 0.0 L5_1.rot = L6_1 L5_1.level = 1 L6_1 = {} L6_1.config_id = 1018 L6_1.gadget_id = 70360291 L7_1 = {} L7_1.x = 54.888 L7_1.y = 78.209 L7_1.z = -65.324 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 0.0 L7_1.z = 0.0 L6_1.rot = L7_1 L6_1.level = 1 L7_1 = {} L7_1.config_id = 1020 L7_1.gadget_id = 70360280 L8_1 = {} L8_1.x = 60.553 L8_1.y = 78.101 L8_1.z = -66.343 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 0.0 L8_1.y = 180.0 L8_1.z = 0.0 L7_1.rot = L8_1 L7_1.level = 1 L8_1 = {} L8_1.config_id = 1025 L8_1.gadget_id = 70360291 L9_1 = {} L9_1.x = 68.654 L9_1.y = 78.152 L9_1.z = -65.51 L8_1.pos = L9_1 L9_1 = {} L9_1.x = 0.0 L9_1.y = 0.0 L9_1.z = 0.0 L8_1.rot = L9_1 L8_1.level = 1 L9_1 = {} L9_1.config_id = 1026 L9_1.gadget_id = 70360291 L10_1 = {} L10_1.x = 60.553 L10_1.y = 78.101 L10_1.z = -96.474 L9_1.pos = L10_1 L10_1 = {} L10_1.x = 0.0 L10_1.y = 0.0 L10_1.z = 0.0 L9_1.rot = L10_1 L9_1.level = 1 L10_1 = {} L10_1.config_id = 1027 L10_1.gadget_id = 70211021 L11_1 = {} L11_1.x = 56.153 L11_1.y = 77.01 L11_1.z = -81.001 L10_1.pos = L11_1 L11_1 = {} L11_1.x = 0.0 L11_1.y = 90.0 L11_1.z = 0.0 L10_1.rot = L11_1 L10_1.level = 6 L10_1.drop_tag = "\230\136\152\230\150\151\233\171\152\231\186\167\231\168\187\229\166\187" L10_1.isOneoff = true L10_1.persistent = true L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 L1_1[4] = L5_1 L1_1[5] = L6_1 L1_1[6] = L7_1 L1_1[7] = L8_1 L1_1[8] = L9_1 L1_1[9] = L10_1 gadgets = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1012 L3_1 = RegionShape L3_1 = L3_1.SPHERE L2_1.shape = L3_1 L2_1.radius = 5 L3_1 = {} L3_1.x = 36.597 L3_1.y = 77.957 L3_1.z = -81.428 L2_1.pos = L3_1 L3_1 = {} L3_1.config_id = 1021 L4_1 = RegionShape L4_1 = L4_1.CUBIC L3_1.shape = L4_1 L4_1 = {} L4_1.x = 5.5 L4_1.y = 4.0 L4_1.z = 40.0 L3_1.size = L4_1 L4_1 = {} L4_1.x = 54.627 L4_1.y = 77.241 L4_1.z = -76.116 L3_1.pos = L4_1 L4_1 = {} L4_1.config_id = 1022 L5_1 = RegionShape L5_1 = L5_1.CUBIC L4_1.shape = L5_1 L5_1 = {} L5_1.x = 5.5 L5_1.y = 4.0 L5_1.z = 40.0 L4_1.size = L5_1 L5_1 = {} L5_1.x = 60.337 L5_1.y = 77.241 L5_1.z = -76.116 L4_1.pos = L5_1 L5_1 = {} L5_1.config_id = 1023 L6_1 = RegionShape L6_1 = L6_1.CUBIC L5_1.shape = L6_1 L6_1 = {} L6_1.x = 5.5 L6_1.y = 4.0 L6_1.z = 40.0 L5_1.size = L6_1 L6_1 = {} L6_1.x = 68.474 L6_1.y = 77.241 L6_1.z = -76.116 L5_1.pos = L6_1 L6_1 = {} L6_1.config_id = 1024 L7_1 = RegionShape L7_1 = L7_1.CUBIC L6_1.shape = L7_1 L7_1 = {} L7_1.x = 4.0 L7_1.y = 10.0 L7_1.z = 10.0 L6_1.size = L7_1 L7_1 = {} L7_1.x = 48.788 L7_1.y = 81.869 L7_1.z = -82.728 L6_1.pos = L7_1 L7_1 = {} L7_1.config_id = 1029 L8_1 = RegionShape L8_1 = L8_1.CUBIC L7_1.shape = L8_1 L8_1 = {} L8_1.x = 4.0 L8_1.y = 10.0 L8_1.z = 10.0 L7_1.size = L8_1 L8_1 = {} L8_1.x = 48.788 L8_1.y = 81.869 L8_1.z = -82.728 L7_1.pos = L8_1 L8_1 = {} L8_1.config_id = 1030 L9_1 = RegionShape L9_1 = L9_1.CUBIC L8_1.shape = L9_1 L9_1 = {} L9_1.x = 4.0 L9_1.y = 10.0 L9_1.z = 10.0 L8_1.size = L9_1 L9_1 = {} L9_1.x = 48.788 L9_1.y = 81.869 L9_1.z = -82.728 L8_1.pos = L9_1 L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 L1_1[4] = L5_1 L1_1[5] = L6_1 L1_1[6] = L7_1 L1_1[7] = L8_1 regions = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1001004 L2_1.name = "MONSTER_BATTLE_1004" L3_1 = EventType L3_1 = L3_1.EVENT_MONSTER_BATTLE L2_1.event = L3_1 L2_1.source = "" L2_1.condition = "condition_EVENT_MONSTER_BATTLE_1004" L2_1.action = "action_EVENT_MONSTER_BATTLE_1004" L3_1 = {} L3_1.config_id = 1001008 L3_1.name = "CHALLENGE_FAIL_1008" L4_1 = EventType L4_1 = L4_1.EVENT_CHALLENGE_FAIL L3_1.event = L4_1 L3_1.source = "" L3_1.condition = "" L3_1.action = "action_EVENT_CHALLENGE_FAIL_1008" L4_1 = {} L4_1.config_id = 1001009 L4_1.name = "CHALLENGE_SUCCESS_1009" L5_1 = EventType L5_1 = L5_1.EVENT_CHALLENGE_SUCCESS L4_1.event = L5_1 L4_1.source = "" L4_1.condition = "" L4_1.action = "action_EVENT_CHALLENGE_SUCCESS_1009" L5_1 = {} L5_1.config_id = 1001012 L5_1.name = "ENTER_REGION_1012" L6_1 = EventType L6_1 = L6_1.EVENT_ENTER_REGION L5_1.event = L6_1 L5_1.source = "" L5_1.condition = "condition_EVENT_ENTER_REGION_1012" L5_1.action = "action_EVENT_ENTER_REGION_1012" L6_1 = {} L6_1.config_id = 1001021 L6_1.name = "ENTER_REGION_1021" L7_1 = EventType L7_1 = L7_1.EVENT_ENTER_REGION L6_1.event = L7_1 L6_1.source = "" L6_1.condition = "condition_EVENT_ENTER_REGION_1021" L6_1.action = "action_EVENT_ENTER_REGION_1021" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1001022 L7_1.name = "ENTER_REGION_1022" L8_1 = EventType L8_1 = L8_1.EVENT_ENTER_REGION L7_1.event = L8_1 L7_1.source = "" L7_1.condition = "condition_EVENT_ENTER_REGION_1022" L7_1.action = "action_EVENT_ENTER_REGION_1022" L7_1.trigger_count = 0 L8_1 = {} L8_1.config_id = 1001023 L8_1.name = "ENTER_REGION_1023" L9_1 = EventType L9_1 = L9_1.EVENT_ENTER_REGION L8_1.event = L9_1 L8_1.source = "" L8_1.condition = "condition_EVENT_ENTER_REGION_1023" L8_1.action = "action_EVENT_ENTER_REGION_1023" L8_1.trigger_count = 0 L9_1 = {} L9_1.config_id = 1001024 L9_1.name = "ENTER_REGION_1024" L10_1 = EventType L10_1 = L10_1.EVENT_ENTER_REGION L9_1.event = L10_1 L9_1.source = "" L9_1.condition = "condition_EVENT_ENTER_REGION_1024" L9_1.action = "action_EVENT_ENTER_REGION_1024" L9_1.trigger_count = 0 L10_1 = {} L10_1.config_id = 1001028 L10_1.name = "ANY_MONSTER_DIE_1028" 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_1028" L10_1.action = "action_EVENT_ANY_MONSTER_DIE_1028" L11_1 = {} L11_1.config_id = 1001029 L11_1.name = "ENTER_REGION_1029" L12_1 = EventType L12_1 = L12_1.EVENT_ENTER_REGION L11_1.event = L12_1 L11_1.source = "" L11_1.condition = "condition_EVENT_ENTER_REGION_1029" L11_1.action = "action_EVENT_ENTER_REGION_1029" L11_1.trigger_count = 0 L12_1 = {} L12_1.config_id = 1001030 L12_1.name = "ENTER_REGION_1030" L13_1 = EventType L13_1 = L13_1.EVENT_ENTER_REGION L12_1.event = L13_1 L12_1.source = "" L12_1.condition = "condition_EVENT_ENTER_REGION_1030" L12_1.action = "action_EVENT_ENTER_REGION_1030" L12_1.trigger_count = 0 L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 L1_1[4] = L5_1 L1_1[5] = L6_1 L1_1[6] = L7_1 L1_1[7] = L8_1 L1_1[8] = L9_1 L1_1[9] = L10_1 L1_1[10] = L11_1 L1_1[11] = L12_1 triggers = L1_1 L1_1 = {} L2_1 = {} L2_1.configId = 1 L2_1.name = "alive1" L2_1.value = 0 L2_1.no_refresh = false L3_1 = {} L3_1.configId = 2 L3_1.name = "battle1" L3_1.value = 0 L3_1.no_refresh = false L4_1 = {} L4_1.configId = 3 L4_1.name = "challenge" L4_1.value = 0 L4_1.no_refresh = false L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 variables = L1_1 L1_1 = {} L1_1.suite = 1 L1_1.end_suite = 0 L1_1.rand_suite = false init_config = L1_1 L1_1 = {} L2_1 = {} L3_1 = {} L4_1 = 1001 L5_1 = 1003 L3_1[1] = L4_1 L3_1[2] = L5_1 L2_1.monsters = L3_1 L3_1 = {} L4_1 = 1002 L5_1 = 1005 L6_1 = 1010 L7_1 = 1011 L8_1 = 1018 L9_1 = 1020 L10_1 = 1025 L11_1 = 1026 L3_1[1] = L4_1 L3_1[2] = L5_1 L3_1[3] = L6_1 L3_1[4] = L7_1 L3_1[5] = L8_1 L3_1[6] = L9_1 L3_1[7] = L10_1 L3_1[8] = L11_1 L2_1.gadgets = L3_1 L3_1 = {} L4_1 = 1012 L5_1 = 1021 L6_1 = 1022 L7_1 = 1023 L8_1 = 1024 L9_1 = 1029 L10_1 = 1030 L3_1[1] = L4_1 L3_1[2] = L5_1 L3_1[3] = L6_1 L3_1[4] = L7_1 L3_1[5] = L8_1 L3_1[6] = L9_1 L3_1[7] = L10_1 L2_1.regions = L3_1 L3_1 = {} L4_1 = "MONSTER_BATTLE_1004" L5_1 = "CHALLENGE_FAIL_1008" L6_1 = "CHALLENGE_SUCCESS_1009" L7_1 = "ENTER_REGION_1012" L8_1 = "ENTER_REGION_1021" L9_1 = "ENTER_REGION_1022" L10_1 = "ENTER_REGION_1023" L11_1 = "ENTER_REGION_1024" L12_1 = "ENTER_REGION_1029" L13_1 = "ENTER_REGION_1030" L3_1[1] = L4_1 L3_1[2] = L5_1 L3_1[3] = L6_1 L3_1[4] = L7_1 L3_1[5] = L8_1 L3_1[6] = L9_1 L3_1[7] = L10_1 L3_1[8] = L11_1 L3_1[9] = L12_1 L3_1[10] = L13_1 L2_1.triggers = L3_1 L2_1.rand_weight = 100 L3_1 = {} L4_1 = {} L5_1 = 1017 L6_1 = 1019 L4_1[1] = L5_1 L4_1[2] = L6_1 L3_1.monsters = L4_1 L4_1 = {} L3_1.gadgets = L4_1 L4_1 = {} L3_1.regions = L4_1 L4_1 = {} L5_1 = "CHALLENGE_FAIL_1008" L6_1 = "CHALLENGE_SUCCESS_1009" L7_1 = "ANY_MONSTER_DIE_1028" L4_1[1] = L5_1 L4_1[2] = L6_1 L4_1[3] = L7_1 L3_1.triggers = L4_1 L3_1.rand_weight = 100 L4_1 = {} L5_1 = {} L6_1 = 1006 L7_1 = 1007 L8_1 = 1013 L9_1 = 1014 L10_1 = 1015 L11_1 = 1016 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 = {} L6_1 = "CHALLENGE_FAIL_1008" L7_1 = "CHALLENGE_SUCCESS_1009" L5_1[1] = L6_1 L5_1[2] = L7_1 L4_1.triggers = L5_1 L4_1.rand_weight = 100 L5_1 = {} L6_1 = {} L5_1.monsters = L6_1 L6_1 = {} L7_1 = 1027 L6_1[1] = L7_1 L5_1.gadgets = L6_1 L6_1 = {} L5_1.regions = L6_1 L6_1 = {} L5_1.triggers = L6_1 L5_1.rand_weight = 100 L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 L1_1[4] = L5_1 suites = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = A1_2.param1 if 1001 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "challenge" 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_MONSTER_BATTLE_1004 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2 L2_2 = ScriptLib L2_2 = L2_2.ActiveChallenge L3_2 = A0_2 L4_2 = 1 L5_2 = 1 L6_2 = 240047001 L7_2 = 10 L8_2 = 0 L9_2 = 0 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : active_challenge" 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 = 240047001 L5_2 = 2 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "alive1" 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 = "challenge" 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_MONSTER_BATTLE_1004 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.RefreshGroup L3_2 = A0_2 L4_2 = {} L4_2.group_id = 240047001 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_1008 = L1_1 function L1_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 = 240047001 L5_2 = 4 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "battle1" 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_CHALLENGE_SUCCESS_1009 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = A1_2.param1 if L2_2 ~= 1012 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 = "alive1" 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_1012 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.SetGroupGadgetStateByConfigId L3_2 = A0_2 L4_2 = 240047001 L5_2 = 1005 L6_2 = GadgetState L6_2 = L6_2.GearStart 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 = 0 return L2_2 end action_EVENT_ENTER_REGION_1012 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = A1_2.param1 if L2_2 ~= 1021 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 = "battle1" 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_ENTER_REGION_1021 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.SetGroupGadgetStateByConfigId L3_2 = A0_2 L4_2 = 240047001 L5_2 = 1010 L6_2 = GadgetState L6_2 = L6_2.GearStart 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 = 0 return L2_2 end action_EVENT_ENTER_REGION_1021 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = A1_2.param1 if L2_2 ~= 1022 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 = "battle1" 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_ENTER_REGION_1022 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.SetGroupGadgetStateByConfigId L3_2 = A0_2 L4_2 = 240047001 L5_2 = 1020 L6_2 = GadgetState L6_2 = L6_2.GearStart 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 = 0 return L2_2 end action_EVENT_ENTER_REGION_1022 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = A1_2.param1 if L2_2 ~= 1023 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 = "battle1" 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_ENTER_REGION_1023 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.SetGroupGadgetStateByConfigId L3_2 = A0_2 L4_2 = 240047001 L5_2 = 1011 L6_2 = GadgetState L6_2 = L6_2.GearStart 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 = 0 return L2_2 end action_EVENT_ENTER_REGION_1023 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = A1_2.param1 if L2_2 ~= 1024 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 = "alive1" 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_ENTER_REGION_1024 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.SetGroupGadgetStateByConfigId L3_2 = A0_2 L4_2 = 240047001 L5_2 = 1005 L6_2 = GadgetState L6_2 = L6_2.Default 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.RemoveExtraGroupSuite L3_2 = A0_2 L4_2 = 240047002 L5_2 = 1 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "alive1" 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_ENTER_REGION_1024 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.GetGroupMonsterCountByGroupId L3_2 = A0_2 L4_2 = 240047001 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_ANY_MONSTER_DIE_1028 = L1_1 function L1_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 = 240047001 L5_2 = 3 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_ANY_MONSTER_DIE_1028 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = A1_2.param1 if L2_2 ~= 1029 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 = "challenge" 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_ENTER_REGION_1029 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2 L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "challenge" 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.ActiveChallenge L3_2 = A0_2 L4_2 = 1 L5_2 = 1 L6_2 = 240047001 L7_2 = 10 L8_2 = 0 L9_2 = 0 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : active_challenge" 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 = 240047001 L5_2 = 2 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_ENTER_REGION_1029 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = A1_2.param1 if L2_2 ~= 1030 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_1030 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2 L2_2 = ScriptLib L2_2 = L2_2.RemoveExtraGroupSuite L3_2 = A0_2 L4_2 = 240047002 L5_2 = 1 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_ENTER_REGION_1030 = L1_1