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

1198 lines
24 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
L0_1 = {}
L0_1.group_id = 133108226
L1_1 = {}
L1_1.group_id = 133108226
L1_1.num_monster = 5
L1_1.monster_id_boss = 226004
L2_1 = {}
L3_1 = {}
L3_1.config_id = 226001
L3_1.monster_id = 25010201
L4_1 = {}
L4_1.x = -340.303
L4_1.y = 200.299
L4_1.z = -781.673
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 358.787
L4_1.y = 79.258
L4_1.z = 358.408
L3_1.rot = L4_1
L3_1.level = 30
L3_1.drop_id = 1000100
L3_1.disableWander = true
L3_1.pose_id = 9004
L3_1.area_id = 7
L4_1 = {}
L4_1.config_id = 226002
L4_1.monster_id = 25010301
L5_1 = {}
L5_1.x = -340.799
L5_1.y = 200.275
L5_1.z = -783.202
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 359.503
L5_1.y = 56.244
L5_1.z = 359.256
L4_1.rot = L5_1
L4_1.level = 30
L4_1.drop_id = 1000100
L4_1.disableWander = true
L4_1.pose_id = 9004
L4_1.area_id = 7
L5_1 = {}
L5_1.config_id = 226003
L5_1.monster_id = 25010601
L6_1 = {}
L6_1.x = -341.113
L6_1.y = 200.338
L6_1.z = -779.822
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 359.35
L6_1.y = 101.841
L6_1.z = 354.393
L5_1.rot = L6_1
L5_1.level = 30
L5_1.drop_id = 1000100
L5_1.disableWander = true
L5_1.pose_id = 9004
L5_1.area_id = 7
L6_1 = {}
L6_1.config_id = 226004
L6_1.monster_id = 25030102
L7_1 = {}
L7_1.x = -341.959
L7_1.y = 200.275
L7_1.z = -781.294
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 358.065
L7_1.y = 78.153
L7_1.z = 359.492
L6_1.rot = L7_1
L6_1.level = 30
L6_1.drop_id = 1000100
L6_1.disableWander = true
L6_1.area_id = 7
L7_1 = {}
L7_1.config_id = 226005
L7_1.monster_id = 25030301
L8_1 = {}
L8_1.x = -337.681
L8_1.y = 200.53
L8_1.z = -781.019
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 8.922
L8_1.y = 248.8
L8_1.z = 358.451
L7_1.rot = L8_1
L7_1.level = 30
L7_1.drop_id = 1000100
L7_1.disableWander = true
L7_1.pose_id = 9006
L7_1.area_id = 7
L8_1 = {}
L8_1.config_id = 226006
L8_1.monster_id = 25010201
L9_1 = {}
L9_1.x = -341.067
L9_1.y = 200.531
L9_1.z = -777.586
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 5.133
L9_1.y = 142.851
L9_1.z = 350.608
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 = 226007
L3_1.gadget_id = 70800056
L4_1 = {}
L4_1.x = -348.738
L4_1.y = 200.231
L4_1.z = -783.377
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 194.177
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 = 226008
L4_1.gadget_id = 70800056
L5_1 = {}
L5_1.x = -332.618
L5_1.y = 201.283
L5_1.z = -780.191
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 349.957
L5_1.y = 61.381
L5_1.z = 356.418
L4_1.rot = L5_1
L4_1.level = 1
L4_1.area_id = 7
L5_1 = {}
L5_1.config_id = 226009
L5_1.gadget_id = 70300104
L6_1 = {}
L6_1.x = -333.623
L6_1.y = 200.606
L6_1.z = -786.409
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 11.399
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.area_id = 7
L6_1 = {}
L6_1.config_id = 226010
L6_1.gadget_id = 70800102
L7_1 = {}
L7_1.x = -344.22
L7_1.y = 200.262
L7_1.z = -783.132
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 105.235
L7_1.z = 0.0
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 = 226011
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 30
L4_1 = {}
L4_1.x = -341.068
L4_1.y = 200.321
L4_1.z = -780.129
L3_1.pos = L4_1
L3_1.area_id = 7
L4_1 = {}
L4_1.config_id = 226012
L5_1 = RegionShape
L5_1 = L5_1.SPHERE
L4_1.shape = L5_1
L4_1.radius = 50
L5_1 = {}
L5_1.x = -341.124
L5_1.y = 200.32
L5_1.z = -780.072
L4_1.pos = L5_1
L4_1.area_id = 7
L5_1 = {}
L5_1.config_id = 226013
L6_1 = RegionShape
L6_1 = L6_1.SPHERE
L5_1.shape = L6_1
L5_1.radius = 50
L6_1 = {}
L6_1.x = -341.124
L6_1.y = 200.32
L6_1.z = -780.072
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 = 226022
L7_1 = RegionShape
L7_1 = L7_1.SPHERE
L6_1.shape = L7_1
L6_1.radius = 50
L7_1 = {}
L7_1.x = -341.124
L7_1.y = 200.32
L7_1.z = -780.072
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 = 1226011
L3_1.name = "ENTER_REGION_226011"
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_226011"
L3_1.action = "action_EVENT_ENTER_REGION_226011"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1226012
L4_1.name = "LEAVE_REGION_226012"
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_226012"
L4_1.action = "action_EVENT_LEAVE_REGION_226012"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1226014
L5_1.name = "SELECT_OPTION_226014"
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_226014"
L5_1.action = "action_EVENT_SELECT_OPTION_226014"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1226015
L6_1.name = "VARIABLE_CHANGE_226015"
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_226015"
L6_1.action = "action_EVENT_VARIABLE_CHANGE_226015"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1226016
L7_1.name = "CHALLENGE_SUCCESS_226016"
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_226016"
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1226017
L8_1.name = "CHALLENGE_FAIL_226017"
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_226017"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1226018
L9_1.name = "ANY_MONSTER_DIE_226018"
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_226018"
L9_1.action = ""
L9_1.trigger_count = 0
L9_1.tag = "20492"
L10_1 = {}
L10_1.config_id = 1226019
L10_1.name = "ANY_MONSTER_DIE_226019"
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_226019"
L10_1.action = ""
L10_1.trigger_count = 0
L10_1.tag = "20491"
L11_1 = {}
L11_1.config_id = 1226020
L11_1.name = "GROUP_LOAD_226020"
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_226020"
L11_1.action = "action_EVENT_GROUP_LOAD_226020"
L11_1.trigger_count = 0
L12_1 = {}
L12_1.config_id = 1226021
L12_1.name = "TIME_AXIS_PASS_226021"
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_226021"
L12_1.action = "action_EVENT_TIME_AXIS_PASS_226021"
L12_1.trigger_count = 0
L13_1 = {}
L13_1.config_id = 1226022
L13_1.name = "ENTER_REGION_226022"
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_226022"
L13_1.action = "action_EVENT_ENTER_REGION_226022"
L13_1.trigger_count = 0
L14_1 = {}
L14_1.config_id = 1226023
L14_1.name = "GROUP_LOAD_226023"
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_226023"
L14_1.action = "action_EVENT_GROUP_LOAD_226023"
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 = 226007
L6_1 = 226008
L7_1 = 226009
L8_1 = 226010
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 = 226011
L6_1 = 226012
L7_1 = 226013
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_226011"
L6_1 = "LEAVE_REGION_226012"
L7_1 = "VARIABLE_CHANGE_226015"
L8_1 = "CHALLENGE_SUCCESS_226016"
L9_1 = "CHALLENGE_FAIL_226017"
L10_1 = "ANY_MONSTER_DIE_226018"
L11_1 = "ANY_MONSTER_DIE_226019"
L12_1 = "GROUP_LOAD_226020"
L13_1 = "TIME_AXIS_PASS_226021"
L14_1 = "GROUP_LOAD_226023"
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 = 226001
L7_1 = 226002
L8_1 = 226003
L9_1 = 226004
L10_1 = 226005
L11_1 = 226006
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_226014"
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 = 226022
L8_1[1] = L9_1
L7_1.regions = L8_1
L8_1 = {}
L9_1 = "ENTER_REGION_226022"
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 ~= 226011 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_226011 = 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 = 133108226
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_226011 = 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 ~= 226012 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_LEAVE_REGION_226012 = 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 = 133108226
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_LEAVE_REGION_226012 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 226010 ~= 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_226014 = 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 = 133108226
L5_2 = 226010
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 = 133108226
L5_2 = 226010
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_226014 = 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_226015 = 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 = 133108226
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_226015 = 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 = 133108226
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 = 133108226
L5_2 = 226010
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 = 226010
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_226016 = 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 = 133108226
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_226017 = 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_226018 = 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_226019 = 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_226020 = 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 = 133108226
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 = 133108226
L5_2 = 226010
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 = 226010
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_226020 = 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_226021 = 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 = 133108226
L5_2 = 5
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_TIME_AXIS_PASS_226021 = 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 ~= 226022 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_226022 = 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_226022 = 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_226023 = 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_226023 = 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)