Grasscutter_Resources/Resources/Scripts/Scene/44011/scene44011_group244011001.lua
2022-04-29 16:40:51 +02:00

1509 lines
29 KiB
Lua

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, L16_1, L17_1, L18_1
L0_1 = {}
L0_1.group_id = 244011001
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1001
L2_1.gadget_id = 70360010
L3_1 = {}
L3_1.x = -0.055
L3_1.y = -0.225
L3_1.z = 2.536
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 = {}
L3_1.config_id = 1009
L3_1.gadget_id = 44000006
L4_1 = {}
L4_1.x = -0.003
L4_1.y = -0.102
L4_1.z = 12.848
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 = 1010
L4_1.gadget_id = 49001017
L5_1 = {}
L5_1.x = 12.5
L5_1.y = -0.102
L5_1.z = 8.7
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
L4_1.is_use_point_array = true
L5_1 = {}
L5_1.config_id = 1011
L5_1.gadget_id = 49001017
L6_1 = {}
L6_1.x = 0.0
L6_1.y = -0.102
L6_1.z = -13.0
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
L5_1.is_use_point_array = true
L6_1 = {}
L6_1.config_id = 1012
L6_1.gadget_id = 49001017
L7_1 = {}
L7_1.x = -12.5
L7_1.y = -0.102
L7_1.z = 8.7
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.is_use_point_array = true
L7_1 = {}
L7_1.config_id = 1013
L7_1.gadget_id = 49001019
L8_1 = {}
L8_1.x = 12.5
L8_1.y = -0.102
L8_1.z = 8.7
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 0.0
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.is_use_point_array = true
L8_1 = {}
L8_1.config_id = 1014
L8_1.gadget_id = 49001019
L9_1 = {}
L9_1.x = 0.0
L9_1.y = -0.102
L9_1.z = -13.0
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
L8_1.is_use_point_array = true
L9_1 = {}
L9_1.config_id = 1015
L9_1.gadget_id = 49001019
L10_1 = {}
L10_1.x = -12.5
L10_1.y = -0.102
L10_1.z = 8.7
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
L9_1.is_use_point_array = true
L10_1 = {}
L10_1.config_id = 1016
L10_1.gadget_id = 49001017
L11_1 = {}
L11_1.x = 8.0
L11_1.y = -0.102
L11_1.z = -8.0
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 0.0
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L10_1.is_use_point_array = true
L11_1 = {}
L11_1.config_id = 1017
L11_1.gadget_id = 49001017
L12_1 = {}
L12_1.x = -8.0
L12_1.y = -0.102
L12_1.z = -8.0
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 0.0
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L11_1.is_use_point_array = true
L12_1 = {}
L12_1.config_id = 1018
L12_1.gadget_id = 49001017
L13_1 = {}
L13_1.x = -8.0
L13_1.y = -0.102
L13_1.z = 7.0
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 0.0
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L12_1.is_use_point_array = true
L13_1 = {}
L13_1.config_id = 1019
L13_1.gadget_id = 49001017
L14_1 = {}
L14_1.x = 8.0
L14_1.y = -0.102
L14_1.z = 7.0
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 0.0
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L13_1.is_use_point_array = true
L14_1 = {}
L14_1.config_id = 1020
L14_1.gadget_id = 49001019
L15_1 = {}
L15_1.x = 8.0
L15_1.y = -0.102
L15_1.z = -8.0
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 0.0
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L14_1.is_use_point_array = true
L15_1 = {}
L15_1.config_id = 1021
L15_1.gadget_id = 49001019
L16_1 = {}
L16_1.x = -8.0
L16_1.y = -0.102
L16_1.z = -8.0
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 0.0
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 1
L15_1.is_use_point_array = true
L16_1 = {}
L16_1.config_id = 1022
L16_1.gadget_id = 49001019
L17_1 = {}
L17_1.x = -8.0
L17_1.y = -0.102
L17_1.z = 7.0
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 0.0
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 1
L16_1.is_use_point_array = true
L17_1 = {}
L17_1.config_id = 1023
L17_1.gadget_id = 49001019
L18_1 = {}
L18_1.x = 8.0
L18_1.y = -0.102
L18_1.z = 7.0
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 0.0
L18_1.y = 0.0
L18_1.z = 0.0
L17_1.rot = L18_1
L17_1.level = 1
L17_1.is_use_point_array = 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
L1_1[10] = L11_1
L1_1[11] = L12_1
L1_1[12] = L13_1
L1_1[13] = L14_1
L1_1[14] = L15_1
L1_1[15] = L16_1
L1_1[16] = L17_1
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1024
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 30
L3_1 = {}
L3_1.x = 0.561
L3_1.y = 0.398
L3_1.z = 0.512
L2_1.pos = L3_1
L3_1 = {}
L3_1.config_id = 1025
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 30
L4_1 = {}
L4_1.x = 0.561
L4_1.y = 0.398
L4_1.z = 0.512
L3_1.pos = L4_1
L4_1 = {}
L4_1.config_id = 1026
L5_1 = RegionShape
L5_1 = L5_1.SPHERE
L4_1.shape = L5_1
L4_1.radius = 30
L5_1 = {}
L5_1.x = 0.561
L5_1.y = 0.398
L5_1.z = 0.512
L4_1.pos = L5_1
L5_1 = {}
L5_1.config_id = 1027
L6_1 = RegionShape
L6_1 = L6_1.SPHERE
L5_1.shape = L6_1
L5_1.radius = 30
L6_1 = {}
L6_1.x = 0.561
L6_1.y = 0.398
L6_1.z = 0.512
L5_1.pos = L6_1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1001002
L2_1.name = "GADGET_CREATE_1002"
L3_1 = EventType
L3_1 = L3_1.EVENT_GADGET_CREATE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_GADGET_CREATE_1002"
L2_1.action = "action_EVENT_GADGET_CREATE_1002"
L3_1 = {}
L3_1.config_id = 1001003
L3_1.name = "SELECT_OPTION_1003"
L4_1 = EventType
L4_1 = L4_1.EVENT_SELECT_OPTION
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_SELECT_OPTION_1003"
L3_1.action = "action_EVENT_SELECT_OPTION_1003"
L4_1 = {}
L4_1.config_id = 1001004
L4_1.name = "CHALLENGE_SUCCESS_1004"
L5_1 = EventType
L5_1 = L5_1.EVENT_CHALLENGE_SUCCESS
L4_1.event = L5_1
L4_1.source = "202"
L4_1.condition = ""
L4_1.action = "action_EVENT_CHALLENGE_SUCCESS_1004"
L5_1 = {}
L5_1.config_id = 1001005
L5_1.name = "CHALLENGE_FAIL_1005"
L6_1 = EventType
L6_1 = L6_1.EVENT_CHALLENGE_FAIL
L5_1.event = L6_1
L5_1.source = "202"
L5_1.condition = ""
L5_1.action = "action_EVENT_CHALLENGE_FAIL_1005"
L6_1 = {}
L6_1.config_id = 1001006
L6_1.name = "CHALLENGE_FAIL_1006"
L7_1 = EventType
L7_1 = L7_1.EVENT_CHALLENGE_FAIL
L6_1.event = L7_1
L6_1.source = "101"
L6_1.condition = ""
L6_1.action = "action_EVENT_CHALLENGE_FAIL_1006"
L7_1 = {}
L7_1.config_id = 1001007
L7_1.name = "DUNGEON_ALL_AVATAR_DIE_1007"
L8_1 = EventType
L8_1 = L8_1.EVENT_DUNGEON_ALL_AVATAR_DIE
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = "condition_EVENT_DUNGEON_ALL_AVATAR_DIE_1007"
L7_1.action = "action_EVENT_DUNGEON_ALL_AVATAR_DIE_1007"
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1001008
L8_1.name = "CHALLENGE_SUCCESS_1008"
L9_1 = EventType
L9_1 = L9_1.EVENT_CHALLENGE_SUCCESS
L8_1.event = L9_1
L8_1.source = "201"
L8_1.condition = ""
L8_1.action = "action_EVENT_CHALLENGE_SUCCESS_1008"
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 = ""
L9_1.action = "action_EVENT_ENTER_REGION_1024"
L10_1 = {}
L10_1.config_id = 1001025
L10_1.name = "ENTER_REGION_1025"
L11_1 = EventType
L11_1 = L11_1.EVENT_ENTER_REGION
L10_1.event = L11_1
L10_1.source = ""
L10_1.condition = ""
L10_1.action = "action_EVENT_ENTER_REGION_1025"
L11_1 = {}
L11_1.config_id = 1001026
L11_1.name = "ENTER_REGION_1026"
L12_1 = EventType
L12_1 = L12_1.EVENT_ENTER_REGION
L11_1.event = L12_1
L11_1.source = ""
L11_1.condition = ""
L11_1.action = "action_EVENT_ENTER_REGION_1026"
L12_1 = {}
L12_1.config_id = 1001027
L12_1.name = "ENTER_REGION_1027"
L13_1 = EventType
L13_1 = L13_1.EVENT_ENTER_REGION
L12_1.event = L13_1
L12_1.source = ""
L12_1.condition = ""
L12_1.action = "action_EVENT_ENTER_REGION_1027"
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.config_id = 1028
L3_1 = {}
L3_1.x = 0.031
L3_1.y = -0.102
L3_1.z = -7.151
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.tag = 2
L1_1[1] = L2_1
points = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "IS_IN_LIMIT_TIME"
L2_1.value = 0
L2_1.no_refresh = false
L1_1[1] = L2_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 = 1001
L5_1 = 1009
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_CREATE_1002"
L5_1 = "SELECT_OPTION_1003"
L6_1 = "CHALLENGE_SUCCESS_1004"
L7_1 = "CHALLENGE_FAIL_1005"
L8_1 = "CHALLENGE_FAIL_1006"
L9_1 = "DUNGEON_ALL_AVATAR_DIE_1007"
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
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_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_SUCCESS_1008"
L4_1[1] = L5_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_1 = {}
L6_1 = 1010
L7_1 = 1011
L8_1 = 1012
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L4_1.gadgets = L5_1
L5_1 = {}
L6_1 = 1024
L5_1[1] = L6_1
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "ENTER_REGION_1024"
L5_1[1] = L6_1
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L5_1 = {}
L6_1 = {}
L5_1.monsters = L6_1
L6_1 = {}
L7_1 = 1013
L8_1 = 1014
L9_1 = 1015
L6_1[1] = L7_1
L6_1[2] = L8_1
L6_1[3] = L9_1
L5_1.gadgets = L6_1
L6_1 = {}
L7_1 = 1025
L6_1[1] = L7_1
L5_1.regions = L6_1
L6_1 = {}
L7_1 = "ENTER_REGION_1025"
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 = {}
L8_1 = 1016
L9_1 = 1017
L10_1 = 1018
L11_1 = 1019
L7_1[1] = L8_1
L7_1[2] = L9_1
L7_1[3] = L10_1
L7_1[4] = L11_1
L6_1.gadgets = L7_1
L7_1 = {}
L8_1 = 1026
L7_1[1] = L8_1
L6_1.regions = L7_1
L7_1 = {}
L8_1 = "ENTER_REGION_1026"
L7_1[1] = L8_1
L6_1.triggers = L7_1
L6_1.rand_weight = 100
L7_1 = {}
L8_1 = {}
L7_1.monsters = L8_1
L8_1 = {}
L9_1 = 1020
L10_1 = 1021
L11_1 = 1022
L12_1 = 1023
L8_1[1] = L9_1
L8_1[2] = L10_1
L8_1[3] = L11_1
L8_1[4] = L12_1
L7_1.gadgets = L8_1
L8_1 = {}
L9_1 = 1027
L8_1[1] = L9_1
L7_1.regions = L8_1
L8_1 = {}
L9_1 = "ENTER_REGION_1027"
L8_1[1] = L9_1
L7_1.triggers = L8_1
L7_1.rand_weight = 100
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
suites = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 1001 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_1002 = L1_1
function L1_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.SetWorktopOptionsByGroupId
L3_2 = A0_2
L4_2 = 244011001
L5_2 = 1001
L6_2 = {}
L7_2 = 175
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 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_1002 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 1001 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = A1_2.param2
if 175 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_SELECT_OPTION_1003 = 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, L10_2, L11_2, L12_2, L13_2, L14_2, L15_2, L16_2
L2_2 = 0
L3_2 = 0
L4_2 = 0
L5_2 = 0
L6_2 = 0
L7_2 = 0
if not L7_2 then
L7_2 = -1
end
L8_2 = ScriptLib
L8_2 = L8_2.GetChannellerSlabLoopDungeonLimitTime
L9_2 = A0_2
L8_2 = L8_2(L9_2)
if L7_2 ~= L8_2 then
L7_2 = ScriptLib
L7_2 = L7_2.GetChannellerSlabLoopDungeonLimitTime
L8_2 = A0_2
L7_2 = L7_2(L8_2)
L2_2 = L7_2
end
L7_2 = ScriptLib
L7_2 = L7_2.IsChannellerSlabLoopDungeonConditionSelected
L8_2 = A0_2
L9_2 = 301
L7_2 = L7_2(L8_2, L9_2)
if false ~= L7_2 then
L4_2 = 1
end
L7_2 = ScriptLib
L7_2 = L7_2.IsChannellerSlabLoopDungeonConditionSelected
L8_2 = A0_2
L9_2 = 302
L7_2 = L7_2(L8_2, L9_2)
if false ~= L7_2 then
L3_2 = 1
end
L7_2 = ScriptLib
L7_2 = L7_2.IsChannellerSlabLoopDungeonConditionSelected
L8_2 = A0_2
L9_2 = 303
L7_2 = L7_2(L8_2, L9_2)
if false ~= L7_2 then
L5_2 = 1
end
L7_2 = ScriptLib
L7_2 = L7_2.IsChannellerSlabLoopDungeonConditionSelected
L8_2 = A0_2
L9_2 = 304
L7_2 = L7_2(L8_2, L9_2)
if false ~= L7_2 then
L6_2 = 1
end
L7_2 = ScriptLib
L7_2 = L7_2.SetGadgetStateByConfigId
L8_2 = A0_2
L9_2 = 1001
L10_2 = GadgetState
L10_2 = L10_2.GearStop
L7_2 = L7_2(L8_2, L9_2, L10_2)
if 0 ~= L7_2 then
L7_2 = ScriptLib
L7_2 = L7_2.PrintContextLog
L8_2 = A0_2
L9_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
L7_2(L8_2, L9_2)
L7_2 = -1
return L7_2
end
L7_2 = ScriptLib
L7_2 = L7_2.DelWorktopOptionByGroupId
L8_2 = A0_2
L9_2 = 244011001
L10_2 = 1001
L11_2 = 175
L7_2 = L7_2(L8_2, L9_2, L10_2, L11_2)
if 0 ~= L7_2 then
L7_2 = ScriptLib
L7_2 = L7_2.PrintContextLog
L8_2 = A0_2
L9_2 = "@@ LUA_WARNING : del_work_options_by_group_configId"
L7_2(L8_2, L9_2)
L7_2 = -1
return L7_2
end
L7_2 = ScriptLib
L7_2 = L7_2.RemoveEntityByConfigId
L8_2 = A0_2
L9_2 = 244011001
L10_2 = EntityType
L10_2 = L10_2.GADGET
L11_2 = 1009
L7_2 = L7_2(L8_2, L9_2, L10_2, L11_2)
if 0 ~= L7_2 then
L7_2 = ScriptLib
L7_2 = L7_2.PrintContextLog
L8_2 = A0_2
L9_2 = "@@ LUA_WARNING : remove_gadget_by_configid"
L7_2(L8_2, L9_2)
L7_2 = -1
return L7_2
end
if L3_2 == 0 then
if L4_2 == 0 then
L7_2 = ScriptLib
L7_2 = L7_2.AddExtraGroupSuite
L8_2 = A0_2
L9_2 = 244011001
L10_2 = 3
L7_2(L8_2, L9_2, L10_2)
else
L7_2 = ScriptLib
L7_2 = L7_2.AddExtraGroupSuite
L8_2 = A0_2
L9_2 = 244011001
L10_2 = 4
L7_2(L8_2, L9_2, L10_2)
end
elseif L4_2 == 0 then
L7_2 = ScriptLib
L7_2 = L7_2.AddExtraGroupSuite
L8_2 = A0_2
L9_2 = 244011001
L10_2 = 5
L7_2(L8_2, L9_2, L10_2)
else
L7_2 = ScriptLib
L7_2 = L7_2.AddExtraGroupSuite
L8_2 = A0_2
L9_2 = 244011001
L10_2 = 6
L7_2(L8_2, L9_2, L10_2)
end
if L5_2 == 0 then
L7_2 = ScriptLib
L7_2 = L7_2.PrintContextLog
L8_2 = A0_2
L9_2 = "@@ LUA_WARNING : \229\188\128\229\167\139\229\136\183\230\128\170\228\186\134"
L7_2(L8_2, L9_2)
if L6_2 == 0 then
L7_2 = ScriptLib
L7_2 = L7_2.AutoPoolMonsterTide
L8_2 = A0_2
L9_2 = 1
L10_2 = 244011001
L11_2 = {}
L12_2 = 30003
L11_2[1] = L12_2
L12_2 = 0
L13_2 = {}
L14_2 = {}
L15_2 = {}
L15_2.total_count = 1
L15_2.min_count = 1
L15_2.max_count = 1
L15_2.tag = 2
L15_2.fill_time = 0
L15_2.fill_count = 0
L7_2(L8_2, L9_2, L10_2, L11_2, L12_2, L13_2, L14_2, L15_2)
else
L7_2 = ScriptLib
L7_2 = L7_2.AutoPoolMonsterTide
L8_2 = A0_2
L9_2 = 1
L10_2 = 244011001
L11_2 = {}
L12_2 = 30003
L11_2[1] = L12_2
L12_2 = 0
L13_2 = {}
L14_2 = {}
L15_2 = 4157
L14_2[1] = L15_2
L15_2 = {}
L15_2.total_count = 1
L15_2.min_count = 1
L15_2.max_count = 1
L15_2.tag = 2
L15_2.fill_time = 0
L15_2.fill_count = 0
L7_2(L8_2, L9_2, L10_2, L11_2, L12_2, L13_2, L14_2, L15_2)
end
elseif L6_2 == 0 then
L7_2 = ScriptLib
L7_2 = L7_2.AutoPoolMonsterTide
L8_2 = A0_2
L9_2 = 1
L10_2 = 244011001
L11_2 = {}
L12_2 = 30003
L11_2[1] = L12_2
L12_2 = 0
L13_2 = {}
L14_2 = {}
L15_2 = 4156
L14_2[1] = L15_2
L15_2 = {}
L15_2.total_count = 1
L15_2.min_count = 1
L15_2.max_count = 1
L15_2.tag = 2
L15_2.fill_time = 0
L15_2.fill_count = 0
L7_2(L8_2, L9_2, L10_2, L11_2, L12_2, L13_2, L14_2, L15_2)
else
L7_2 = ScriptLib
L7_2 = L7_2.AutoPoolMonsterTide
L8_2 = A0_2
L9_2 = 1
L10_2 = 244011001
L11_2 = {}
L12_2 = 30003
L11_2[1] = L12_2
L12_2 = 0
L13_2 = {}
L14_2 = {}
L15_2 = 4156
L16_2 = 4157
L14_2[1] = L15_2
L14_2[2] = L16_2
L15_2 = {}
L15_2.total_count = 1
L15_2.min_count = 1
L15_2.max_count = 1
L15_2.tag = 2
L15_2.fill_time = 0
L15_2.fill_count = 0
L7_2(L8_2, L9_2, L10_2, L11_2, L12_2, L13_2, L14_2, L15_2)
end
L7_2 = ScriptLib
L7_2 = L7_2.CreateFatherChallenge
L8_2 = A0_2
L9_2 = 101
L10_2 = 2003015
L11_2 = 999999
L12_2 = {}
L12_2.success = 1
L12_2.fail = 1
L12_2.fail_on_wipe = false
L7_2 = L7_2(L8_2, L9_2, L10_2, L11_2, L12_2)
if 0 ~= L7_2 then
L7_2 = -1
return L7_2
end
L7_2 = ScriptLib
L7_2 = L7_2.AttachChildChallenge
L8_2 = A0_2
L9_2 = 101
L10_2 = 201
L11_2 = 110181
L12_2 = {}
L13_2 = 244011001
L14_2 = 1
L12_2[1] = L13_2
L12_2[2] = L14_2
L13_2 = {}
L14_2 = {}
L14_2.success = 0
L14_2.fail = 0
L7_2 = L7_2(L8_2, L9_2, L10_2, L11_2, L12_2, L13_2, L14_2)
if 0 ~= L7_2 then
L7_2 = -1
return L7_2
end
if 0 ~= L2_2 then
L7_2 = ScriptLib
L7_2 = L7_2.AttachChildChallenge
L8_2 = A0_2
L9_2 = 101
L10_2 = 202
L11_2 = 110182
L12_2 = {}
L13_2 = L2_2
L14_2 = 244011001
L15_2 = 1
L12_2[1] = L13_2
L12_2[2] = L14_2
L12_2[3] = L15_2
L13_2 = {}
L14_2 = {}
L14_2.success = 0
L14_2.fail = 0
L7_2(L8_2, L9_2, L10_2, L11_2, L12_2, L13_2, L14_2)
else
L7_2 = ScriptLib
L7_2 = L7_2.AddExtraGroupSuite
L8_2 = A0_2
L9_2 = 244011001
L10_2 = 2
L7_2(L8_2, L9_2, L10_2)
end
L7_2 = ScriptLib
L7_2 = L7_2.StartFatherChallenge
L8_2 = A0_2
L9_2 = 101
L7_2 = L7_2(L8_2, L9_2)
if 0 ~= L7_2 then
L7_2 = -1
return L7_2
end
L7_2 = 0
return L7_2
end
action_EVENT_SELECT_OPTION_1003 = 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.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "IS_IN_LIMIT_TIME"
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.StopChallenge
L3_2 = A0_2
L4_2 = 101
L5_2 = 1
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 244011001
L5_2 = GroupKillPolicy
L5_2 = L5_2.GROUP_KILL_GADGET
L4_2.kill_policy = L5_2
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 : kill_gadget_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_CHALLENGE_SUCCESS_1004 = 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 = 244011001
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_CHALLENGE_FAIL_1005 = 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 = 244011001
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_1006 = 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, L10_2, L11_2
L2_2 = ScriptLib
L2_2 = L2_2.GetSceneUidList
L3_2 = A0_2
L2_2 = L2_2(L3_2)
L3_2 = 0
L4_2 = ipairs
L5_2 = L2_2
L4_2, L5_2, L6_2 = L4_2(L5_2)
for L7_2, L8_2 in L4_2, L5_2, L6_2 do
L9_2 = ScriptLib
L9_2 = L9_2.IsPlayerAllAvatarDie
L10_2 = A0_2
L11_2 = L8_2
L9_2 = L9_2(L10_2, L11_2)
if true ~= L9_2 then
L3_2 = -1
break
end
end
if L3_2 ~= 0 then
L4_2 = false
return L4_2
end
L4_2 = true
return L4_2
end
condition_EVENT_DUNGEON_ALL_AVATAR_DIE_1007 = 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.StopChallenge
L3_2 = A0_2
L4_2 = 101
L5_2 = 0
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.CauseDungeonFail
L3_2 = A0_2
L2_2 = L2_2(L3_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : cause_dungeonfail"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_DUNGEON_ALL_AVATAR_DIE_1007 = 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.StopChallenge
L3_2 = A0_2
L4_2 = 101
L5_2 = 1
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 244011001
L5_2 = GroupKillPolicy
L5_2 = L5_2.GROUP_KILL_GADGET
L4_2.kill_policy = L5_2
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 : kill_gadget_by_group"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_CHALLENGE_SUCCESS_1008 = 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, L10_2, L11_2, L12_2
L2_2 = {}
L2_2.route_type = 2
L2_2.turn_mode = false
L3_2 = ScriptLib
L3_2 = L3_2.SetPlatformPointArray
L4_2 = A0_2
L5_2 = 1011
L6_2 = 1
L7_2 = {}
L8_2 = 1
L9_2 = 2
L10_2 = 3
L7_2[1] = L8_2
L7_2[2] = L9_2
L7_2[3] = L10_2
L8_2 = L2_2
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : set_platform_pointArray"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = {}
L3_2.route_type = 2
L3_2.turn_mode = false
L4_2 = ScriptLib
L4_2 = L4_2.SetPlatformPointArray
L5_2 = A0_2
L6_2 = 1012
L7_2 = 1
L8_2 = {}
L9_2 = 2
L10_2 = 3
L11_2 = 1
L8_2[1] = L9_2
L8_2[2] = L10_2
L8_2[3] = L11_2
L9_2 = L3_2
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2, L9_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : set_platform_pointArray"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = {}
L4_2.route_type = 2
L4_2.turn_mode = false
L5_2 = ScriptLib
L5_2 = L5_2.SetPlatformPointArray
L6_2 = A0_2
L7_2 = 1010
L8_2 = 1
L9_2 = {}
L10_2 = 3
L11_2 = 1
L12_2 = 2
L9_2[1] = L10_2
L9_2[2] = L11_2
L9_2[3] = L12_2
L10_2 = L4_2
L5_2 = L5_2(L6_2, L7_2, L8_2, L9_2, L10_2)
if 0 ~= L5_2 then
L5_2 = ScriptLib
L5_2 = L5_2.PrintContextLog
L6_2 = A0_2
L7_2 = "@@ LUA_WARNING : set_platform_pointArray"
L5_2(L6_2, L7_2)
L5_2 = -1
return L5_2
end
L5_2 = 0
return L5_2
end
action_EVENT_ENTER_REGION_1024 = 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, L10_2, L11_2, L12_2
L2_2 = {}
L2_2.route_type = 2
L2_2.turn_mode = false
L3_2 = ScriptLib
L3_2 = L3_2.SetPlatformPointArray
L4_2 = A0_2
L5_2 = 1014
L6_2 = 1
L7_2 = {}
L8_2 = 1
L9_2 = 2
L10_2 = 3
L7_2[1] = L8_2
L7_2[2] = L9_2
L7_2[3] = L10_2
L8_2 = L2_2
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : set_platform_pointArray"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = {}
L3_2.route_type = 2
L3_2.turn_mode = false
L4_2 = ScriptLib
L4_2 = L4_2.SetPlatformPointArray
L5_2 = A0_2
L6_2 = 1015
L7_2 = 1
L8_2 = {}
L9_2 = 2
L10_2 = 3
L11_2 = 1
L8_2[1] = L9_2
L8_2[2] = L10_2
L8_2[3] = L11_2
L9_2 = L3_2
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2, L9_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : set_platform_pointArray"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = {}
L4_2.route_type = 2
L4_2.turn_mode = false
L5_2 = ScriptLib
L5_2 = L5_2.SetPlatformPointArray
L6_2 = A0_2
L7_2 = 1013
L8_2 = 1
L9_2 = {}
L10_2 = 3
L11_2 = 1
L12_2 = 2
L9_2[1] = L10_2
L9_2[2] = L11_2
L9_2[3] = L12_2
L10_2 = L4_2
L5_2 = L5_2(L6_2, L7_2, L8_2, L9_2, L10_2)
if 0 ~= L5_2 then
L5_2 = ScriptLib
L5_2 = L5_2.PrintContextLog
L6_2 = A0_2
L7_2 = "@@ LUA_WARNING : set_platform_pointArray"
L5_2(L6_2, L7_2)
L5_2 = -1
return L5_2
end
L5_2 = 0
return L5_2
end
action_EVENT_ENTER_REGION_1025 = 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, L10_2, L11_2, L12_2, L13_2, L14_2
L2_2 = {}
L2_2.route_type = 2
L2_2.turn_mode = false
L3_2 = ScriptLib
L3_2 = L3_2.SetPlatformPointArray
L4_2 = A0_2
L5_2 = 1017
L6_2 = 2
L7_2 = {}
L8_2 = 1
L9_2 = 2
L10_2 = 3
L11_2 = 4
L7_2[1] = L8_2
L7_2[2] = L9_2
L7_2[3] = L10_2
L7_2[4] = L11_2
L8_2 = L2_2
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : set_platform_pointArray"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = {}
L3_2.route_type = 2
L3_2.turn_mode = false
L4_2 = ScriptLib
L4_2 = L4_2.SetPlatformPointArray
L5_2 = A0_2
L6_2 = 1018
L7_2 = 2
L8_2 = {}
L9_2 = 2
L10_2 = 3
L11_2 = 4
L12_2 = 1
L8_2[1] = L9_2
L8_2[2] = L10_2
L8_2[3] = L11_2
L8_2[4] = L12_2
L9_2 = L3_2
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2, L9_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : set_platform_pointArray"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = {}
L4_2.route_type = 2
L4_2.turn_mode = false
L5_2 = ScriptLib
L5_2 = L5_2.SetPlatformPointArray
L6_2 = A0_2
L7_2 = 1019
L8_2 = 2
L9_2 = {}
L10_2 = 3
L11_2 = 4
L12_2 = 1
L13_2 = 2
L9_2[1] = L10_2
L9_2[2] = L11_2
L9_2[3] = L12_2
L9_2[4] = L13_2
L10_2 = L4_2
L5_2 = L5_2(L6_2, L7_2, L8_2, L9_2, L10_2)
if 0 ~= L5_2 then
L5_2 = ScriptLib
L5_2 = L5_2.PrintContextLog
L6_2 = A0_2
L7_2 = "@@ LUA_WARNING : set_platform_pointArray"
L5_2(L6_2, L7_2)
L5_2 = -1
return L5_2
end
L5_2 = {}
L5_2.route_type = 2
L5_2.turn_mode = false
L6_2 = ScriptLib
L6_2 = L6_2.SetPlatformPointArray
L7_2 = A0_2
L8_2 = 1016
L9_2 = 2
L10_2 = {}
L11_2 = 4
L12_2 = 1
L13_2 = 2
L14_2 = 3
L10_2[1] = L11_2
L10_2[2] = L12_2
L10_2[3] = L13_2
L10_2[4] = L14_2
L11_2 = L5_2
L6_2 = L6_2(L7_2, L8_2, L9_2, L10_2, L11_2)
if 0 ~= L6_2 then
L6_2 = ScriptLib
L6_2 = L6_2.PrintContextLog
L7_2 = A0_2
L8_2 = "@@ LUA_WARNING : set_platform_pointArray"
L6_2(L7_2, L8_2)
L6_2 = -1
return L6_2
end
L6_2 = 0
return L6_2
end
action_EVENT_ENTER_REGION_1026 = 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, L10_2, L11_2, L12_2, L13_2, L14_2
L2_2 = {}
L2_2.route_type = 2
L2_2.turn_mode = false
L3_2 = ScriptLib
L3_2 = L3_2.SetPlatformPointArray
L4_2 = A0_2
L5_2 = 1021
L6_2 = 2
L7_2 = {}
L8_2 = 1
L9_2 = 2
L10_2 = 3
L11_2 = 4
L7_2[1] = L8_2
L7_2[2] = L9_2
L7_2[3] = L10_2
L7_2[4] = L11_2
L8_2 = L2_2
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : set_platform_pointArray"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = {}
L3_2.route_type = 2
L3_2.turn_mode = false
L4_2 = ScriptLib
L4_2 = L4_2.SetPlatformPointArray
L5_2 = A0_2
L6_2 = 1022
L7_2 = 2
L8_2 = {}
L9_2 = 2
L10_2 = 3
L11_2 = 4
L12_2 = 1
L8_2[1] = L9_2
L8_2[2] = L10_2
L8_2[3] = L11_2
L8_2[4] = L12_2
L9_2 = L3_2
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2, L9_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : set_platform_pointArray"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = {}
L4_2.route_type = 2
L4_2.turn_mode = false
L5_2 = ScriptLib
L5_2 = L5_2.SetPlatformPointArray
L6_2 = A0_2
L7_2 = 1023
L8_2 = 2
L9_2 = {}
L10_2 = 3
L11_2 = 4
L12_2 = 1
L13_2 = 2
L9_2[1] = L10_2
L9_2[2] = L11_2
L9_2[3] = L12_2
L9_2[4] = L13_2
L10_2 = L4_2
L5_2 = L5_2(L6_2, L7_2, L8_2, L9_2, L10_2)
if 0 ~= L5_2 then
L5_2 = ScriptLib
L5_2 = L5_2.PrintContextLog
L6_2 = A0_2
L7_2 = "@@ LUA_WARNING : set_platform_pointArray"
L5_2(L6_2, L7_2)
L5_2 = -1
return L5_2
end
L5_2 = {}
L5_2.route_type = 2
L5_2.turn_mode = false
L6_2 = ScriptLib
L6_2 = L6_2.SetPlatformPointArray
L7_2 = A0_2
L8_2 = 1020
L9_2 = 2
L10_2 = {}
L11_2 = 4
L12_2 = 1
L13_2 = 2
L14_2 = 3
L10_2[1] = L11_2
L10_2[2] = L12_2
L10_2[3] = L13_2
L10_2[4] = L14_2
L11_2 = L5_2
L6_2 = L6_2(L7_2, L8_2, L9_2, L10_2, L11_2)
if 0 ~= L6_2 then
L6_2 = ScriptLib
L6_2 = L6_2.PrintContextLog
L7_2 = A0_2
L8_2 = "@@ LUA_WARNING : set_platform_pointArray"
L6_2(L7_2, L8_2)
L6_2 = -1
return L6_2
end
L6_2 = 0
return L6_2
end
action_EVENT_ENTER_REGION_1027 = L1_1