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 L0_1 = {} L0_1.group_id = 220111003 L1_1 = {} L2_1 = {} L2_1.config_id = 3002 L2_1.monster_id = 25080401 L3_1 = {} L3_1.x = 20.979 L3_1.y = 1.94 L3_1.z = 46.734 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 = 1 L3_1 = {} L3_1.config_id = 3009 L3_1.monster_id = 25050301 L4_1 = {} L4_1.x = 28.016 L4_1.y = 1.869 L4_1.z = 47.833 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 0.0 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 1 L4_1 = {} L4_1.config_id = 3010 L4_1.monster_id = 25050301 L5_1 = {} L5_1.x = 9.347 L5_1.y = 1.869 L5_1.z = 59.268 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 0.0 L5_1.y = 90.0 L5_1.z = 0.0 L4_1.rot = L5_1 L4_1.level = 1 L5_1 = {} L5_1.config_id = 3011 L5_1.monster_id = 25050301 L6_1 = {} L6_1.x = 14.133 L6_1.y = 1.877 L6_1.z = 47.473 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 = 3012 L6_1.monster_id = 25050301 L7_1 = {} L7_1.x = 33.025 L7_1.y = 1.868 L7_1.z = 59.142 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 270.0 L7_1.z = 0.0 L6_1.rot = L7_1 L6_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 monsters = L1_1 L1_1 = {} npcs = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 3006 L2_1.gadget_id = 70290137 L3_1 = {} L3_1.x = 19.236 L3_1.y = 2.117 L3_1.z = 74.485 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 L3_1 = GadgetState L3_1 = L3_1.GearStart L2_1.state = L3_1 L3_1 = {} L3_1.config_id = 3007 L3_1.gadget_id = 70290137 L4_1 = {} L4_1.x = 6.401 L4_1.y = 2.117 L4_1.z = 59.323 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 90.0 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 1 L4_1 = {} L4_1.config_id = 3008 L4_1.gadget_id = 70360291 L5_1 = {} L5_1.x = 5.532 L5_1.y = 3.401 L5_1.z = 59.209 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 = 3013 L5_1.gadget_id = 70360291 L6_1 = {} L6_1.x = -2.099 L6_1.y = 3.401 L6_1.z = 59.209 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 = 3017 L6_1.gadget_id = 70360282 L7_1 = {} L7_1.x = 2.707 L7_1.y = 2.577 L7_1.z = 68.696 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.route_id = 7 L6_1.start_route = false L6_1.persistent = true L7_1 = {} L7_1.config_id = 3022 L7_1.gadget_id = 70360280 L8_1 = {} L8_1.x = 35.478 L8_1.y = 3.401 L8_1.z = 59.209 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 0.0 L8_1.y = 270.0 L8_1.z = 0.0 L7_1.rot = L8_1 L7_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 gadgets = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 3001 L3_1 = RegionShape L3_1 = L3_1.SPHERE L2_1.shape = L3_1 L2_1.radius = 10 L3_1 = {} L3_1.x = 16.628 L3_1.y = 4.151 L3_1.z = 80.576 L2_1.pos = L3_1 L3_1 = {} L3_1.config_id = 3003 L4_1 = RegionShape L4_1 = L4_1.CUBIC L3_1.shape = L4_1 L4_1 = {} L4_1.x = 15.0 L4_1.y = 10.0 L4_1.z = 10.0 L3_1.size = L4_1 L4_1 = {} L4_1.x = 31.624 L4_1.y = 5.654 L4_1.z = 84.064 L3_1.pos = L4_1 L4_1 = {} L4_1.config_id = 3004 L5_1 = RegionShape L5_1 = L5_1.SPHERE L4_1.shape = L5_1 L4_1.radius = 7 L5_1 = {} L5_1.x = -0.546 L5_1.y = 2.658 L5_1.z = 59.964 L4_1.pos = L5_1 L5_1 = {} L5_1.config_id = 3014 L6_1 = RegionShape L6_1 = L6_1.CUBIC L5_1.shape = L6_1 L6_1 = {} L6_1.x = 10.0 L6_1.y = 10.0 L6_1.z = 4.0 L5_1.size = L6_1 L6_1 = {} L6_1.x = 18.042 L6_1.y = 4.697 L6_1.z = 71.307 L5_1.pos = L6_1 L6_1 = {} L6_1.config_id = 3023 L7_1 = RegionShape L7_1 = L7_1.CUBIC L6_1.shape = L7_1 L7_1 = {} L7_1.x = 30.0 L7_1.y = 4.0 L7_1.z = 5.5 L6_1.size = L7_1 L7_1 = {} L7_1.x = 21.464 L7_1.y = 3.708 L7_1.z = 59.256 L6_1.pos = L7_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 regions = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1003001 L2_1.name = "ENTER_REGION_3001" L3_1 = EventType L3_1 = L3_1.EVENT_ENTER_REGION L2_1.event = L3_1 L2_1.source = "" L2_1.condition = "condition_EVENT_ENTER_REGION_3001" L2_1.action = "action_EVENT_ENTER_REGION_3001" L3_1 = {} L3_1.config_id = 1003003 L3_1.name = "ENTER_REGION_3003" L4_1 = EventType L4_1 = L4_1.EVENT_ENTER_REGION L3_1.event = L4_1 L3_1.source = "" L3_1.condition = "condition_EVENT_ENTER_REGION_3003" L3_1.action = "action_EVENT_ENTER_REGION_3003" L3_1.trigger_count = 0 L4_1 = {} L4_1.config_id = 1003004 L4_1.name = "ENTER_REGION_3004" L5_1 = EventType L5_1 = L5_1.EVENT_ENTER_REGION L4_1.event = L5_1 L4_1.source = "" L4_1.condition = "condition_EVENT_ENTER_REGION_3004" L4_1.action = "action_EVENT_ENTER_REGION_3004" L5_1 = {} L5_1.config_id = 1003005 L5_1.name = "ANY_MONSTER_DIE_3005" L6_1 = EventType L6_1 = L6_1.EVENT_ANY_MONSTER_DIE L5_1.event = L6_1 L5_1.source = "" L5_1.condition = "condition_EVENT_ANY_MONSTER_DIE_3005" L5_1.action = "action_EVENT_ANY_MONSTER_DIE_3005" L6_1 = {} L6_1.config_id = 1003014 L6_1.name = "ENTER_REGION_3014" 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_3014" L6_1.action = "action_EVENT_ENTER_REGION_3014" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1003018 L7_1.name = "GADGET_STATE_CHANGE_3018" L8_1 = EventType L8_1 = L8_1.EVENT_GADGET_STATE_CHANGE L7_1.event = L8_1 L7_1.source = "" L7_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_3018" L7_1.action = "action_EVENT_GADGET_STATE_CHANGE_3018" L7_1.trigger_count = 0 L8_1 = {} L8_1.config_id = 1003019 L8_1.name = "PLATFORM_REACH_POINT_3019" L9_1 = EventType L9_1 = L9_1.EVENT_PLATFORM_REACH_POINT L8_1.event = L9_1 L8_1.source = "" L8_1.condition = "condition_EVENT_PLATFORM_REACH_POINT_3019" L8_1.action = "action_EVENT_PLATFORM_REACH_POINT_3019" L8_1.trigger_count = 0 L9_1 = {} L9_1.config_id = 1003020 L9_1.name = "TIMER_EVENT_3020" L10_1 = EventType L10_1 = L10_1.EVENT_TIMER_EVENT L9_1.event = L10_1 L9_1.source = "time1" L9_1.condition = "" L9_1.action = "action_EVENT_TIMER_EVENT_3020" L9_1.trigger_count = 0 L10_1 = {} L10_1.config_id = 1003021 L10_1.name = "PLATFORM_REACH_POINT_3021" L11_1 = EventType L11_1 = L11_1.EVENT_PLATFORM_REACH_POINT L10_1.event = L11_1 L10_1.source = "" L10_1.condition = "condition_EVENT_PLATFORM_REACH_POINT_3021" L10_1.action = "action_EVENT_PLATFORM_REACH_POINT_3021" L10_1.trigger_count = 0 L11_1 = {} L11_1.config_id = 1003023 L11_1.name = "ENTER_REGION_3023" 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_3023" L11_1.action = "action_EVENT_ENTER_REGION_3023" L11_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 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 L1_1[1] = L2_1 L1_1[2] = L3_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 = {} L2_1.monsters = L3_1 L3_1 = {} L4_1 = 3006 L5_1 = 3007 L6_1 = 3008 L7_1 = 3017 L8_1 = 3022 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 L2_1.gadgets = L3_1 L3_1 = {} L4_1 = 3001 L5_1 = 3003 L6_1 = 3004 L7_1 = 3014 L8_1 = 3023 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 L2_1.regions = L3_1 L3_1 = {} L4_1 = "ENTER_REGION_3001" L5_1 = "ENTER_REGION_3003" L6_1 = "ENTER_REGION_3004" L7_1 = "ENTER_REGION_3014" L8_1 = "GADGET_STATE_CHANGE_3018" L9_1 = "PLATFORM_REACH_POINT_3019" L10_1 = "TIMER_EVENT_3020" L11_1 = "PLATFORM_REACH_POINT_3021" L12_1 = "ENTER_REGION_3023" 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 L2_1.triggers = L3_1 L2_1.rand_weight = 100 L3_1 = {} L4_1 = {} L5_1 = 3002 L6_1 = 3009 L7_1 = 3010 L8_1 = 3011 L9_1 = 3012 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 L3_1.monsters = L4_1 L4_1 = {} L3_1.gadgets = L4_1 L4_1 = {} L3_1.regions = L4_1 L4_1 = {} L5_1 = "ANY_MONSTER_DIE_3005" L4_1[1] = L5_1 L3_1.triggers = L4_1 L3_1.rand_weight = 100 L1_1[1] = L2_1 L1_1[2] = L3_1 suites = 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 ~= 3001 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_3001 = 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 = 220111003 L5_2 = 2 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.RemoveExtraGroupSuite L3_2 = A0_2 L4_2 = 220111010 L5_2 = 2 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 220111010 L5_2 = 3 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_ENTER_REGION_3001 = 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 ~= 3003 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_3003 = 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 = 220111003 L5_2 = 3006 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_3003 = 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 ~= 3004 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_3004 = 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 = 220111010 L5_2 = 3 L2_2(L3_2, L4_2, L5_2) L2_2 = ScriptLib L2_2 = L2_2.AddExtraGroupSuite L3_2 = A0_2 L4_2 = 220111010 L5_2 = 4 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_ENTER_REGION_3004 = 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 = 220111003 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_3005 = 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 = 220111003 L5_2 = 3007 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 = ScriptLib L2_2 = L2_2.RemoveEntityByConfigId L3_2 = A0_2 L4_2 = 220111003 L5_2 = EntityType L5_2 = L5_2.GADGET L6_2 = 3008 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 : remove_gadget_by_configid" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.CreateGadget L3_2 = A0_2 L4_2 = {} L4_2.config_id = 3013 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 : create_gadget" 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 = "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_ANY_MONSTER_DIE_3005 = 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 ~= 3014 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_3014 = 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 = 220111003 L5_2 = 3006 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.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_3014 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 3017 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearStart L3_2 = A1_2.param1 if L2_2 == L3_2 then L2_2 = GadgetState L2_2 = L2_2.Default L3_2 = A1_2.param3 if L2_2 == L3_2 then goto lbl_16 end end end L2_2 = false do return L2_2 end ::lbl_16:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_3018 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.StartPlatform L3_2 = A0_2 L4_2 = 3017 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 : start_platform" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_3018 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 3017 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 9 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param3 if 1 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_PLATFORM_REACH_POINT_3019 = 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 = 220111003 L5_2 = 3017 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.SetPlatformRouteId L3_2 = A0_2 L4_2 = 3017 L5_2 = 7 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_platform_routeId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_PLATFORM_REACH_POINT_3019 = 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.SetPlatformRouteId L3_2 = A0_2 L4_2 = 3017 L5_2 = 9 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_platform_routeId" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.StartPlatform L3_2 = A0_2 L4_2 = 3017 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 : start_platform" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_TIMER_EVENT_3020 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 3017 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param2 if 7 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = A1_2.param3 if 1 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_PLATFORM_REACH_POINT_3021 = 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.CreateGroupTimerEvent L3_2 = A0_2 L4_2 = 220111003 L5_2 = "time1" L6_2 = 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 : create_timerevent_by_group" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_PLATFORM_REACH_POINT_3021 = 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 ~= 3023 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_3023 = 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 = 220111003 L5_2 = 3022 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_3023 = L1_1