Grasscutter_Resources/Resources/Scripts/Scene/3/scene3_group133108225.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 = 133108225
L1_1 = {}
L1_1.group_id = 133108225
L1_1.num_monster = 5
L1_1.monster_id_boss = 225004
L2_1 = {}
L3_1 = {}
L3_1.config_id = 225001
L3_1.monster_id = 25010201
L4_1 = {}
L4_1.x = -397.611
L4_1.y = 202.597
L4_1.z = -688.245
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 21.354
L4_1.y = 288.693
L4_1.z = 353.009
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 = 225002
L4_1.monster_id = 25010301
L5_1 = {}
L5_1.x = -397.203
L5_1.y = 201.79
L5_1.z = -682.255
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 65.13
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 = 9009
L4_1.area_id = 7
L5_1 = {}
L5_1.config_id = 225003
L5_1.monster_id = 25010501
L6_1 = {}
L6_1.x = -397.275
L6_1.y = 202.065
L6_1.z = -684.012
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 31.487
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 = 9009
L5_1.area_id = 7
L6_1 = {}
L6_1.config_id = 225004
L6_1.monster_id = 25030102
L7_1 = {}
L7_1.x = -395.149
L7_1.y = 201.724
L7_1.z = -682.38
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 258.588
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.area_id = 7
L7_1 = {}
L7_1.config_id = 225005
L7_1.monster_id = 25020201
L8_1 = {}
L8_1.x = -398.498
L8_1.y = 201.919
L8_1.z = -683.202
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 61.142
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 = 9009
L7_1.area_id = 7
L8_1 = {}
L8_1.config_id = 225006
L8_1.monster_id = 25010201
L9_1 = {}
L9_1.x = -398.171
L9_1.y = 201.656
L9_1.z = -681.3
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 90.666
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 = 9009
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 = 225007
L3_1.gadget_id = 70800056
L4_1 = {}
L4_1.x = -398.961
L4_1.y = 202.301
L4_1.z = -686.216
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 4.283
L4_1.y = 12.346
L4_1.z = 5.489
L3_1.rot = L4_1
L3_1.level = 1
L3_1.area_id = 7
L4_1 = {}
L4_1.config_id = 225008
L4_1.gadget_id = 70800056
L5_1 = {}
L5_1.x = -394.144
L5_1.y = 200.841
L5_1.z = -677.787
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 350.821
L5_1.y = 254.806
L5_1.z = 353.354
L4_1.rot = L5_1
L4_1.level = 1
L4_1.area_id = 7
L5_1 = {}
L5_1.config_id = 225009
L5_1.gadget_id = 70300104
L6_1 = {}
L6_1.x = -396.664
L6_1.y = 202.721
L6_1.z = -689.873
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 357.272
L6_1.y = 297.212
L6_1.z = 353.597
L5_1.rot = L6_1
L5_1.level = 1
L5_1.area_id = 7
L6_1 = {}
L6_1.config_id = 225010
L6_1.gadget_id = 70800102
L7_1 = {}
L7_1.x = -393.881
L7_1.y = 201.379
L7_1.z = -681.044
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 358.53
L7_1.y = 300.585
L7_1.z = 346.889
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 = 225011
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 30
L4_1 = {}
L4_1.x = -396.212
L4_1.y = 201.835
L4_1.z = -682.645
L3_1.pos = L4_1
L3_1.area_id = 7
L4_1 = {}
L4_1.config_id = 225012
L5_1 = RegionShape
L5_1 = L5_1.SPHERE
L4_1.shape = L5_1
L4_1.radius = 50
L5_1 = {}
L5_1.x = -396.058
L5_1.y = 201.847
L5_1.z = -682.737
L4_1.pos = L5_1
L4_1.area_id = 7
L5_1 = {}
L5_1.config_id = 225013
L6_1 = RegionShape
L6_1 = L6_1.SPHERE
L5_1.shape = L6_1
L5_1.radius = 50
L6_1 = {}
L6_1.x = -396.058
L6_1.y = 201.847
L6_1.z = -682.737
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 = 225022
L7_1 = RegionShape
L7_1 = L7_1.SPHERE
L6_1.shape = L7_1
L6_1.radius = 50
L7_1 = {}
L7_1.x = -396.058
L7_1.y = 201.847
L7_1.z = -682.737
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 = 1225011
L3_1.name = "ENTER_REGION_225011"
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_225011"
L3_1.action = "action_EVENT_ENTER_REGION_225011"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1225012
L4_1.name = "LEAVE_REGION_225012"
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_225012"
L4_1.action = "action_EVENT_LEAVE_REGION_225012"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1225014
L5_1.name = "SELECT_OPTION_225014"
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_225014"
L5_1.action = "action_EVENT_SELECT_OPTION_225014"
L5_1.trigger_count = 0
L6_1 = {}
L6_1.config_id = 1225015
L6_1.name = "VARIABLE_CHANGE_225015"
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_225015"
L6_1.action = "action_EVENT_VARIABLE_CHANGE_225015"
L6_1.trigger_count = 0
L7_1 = {}
L7_1.config_id = 1225016
L7_1.name = "CHALLENGE_SUCCESS_225016"
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_225016"
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1225017
L8_1.name = "CHALLENGE_FAIL_225017"
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_225017"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1225018
L9_1.name = "ANY_MONSTER_DIE_225018"
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_225018"
L9_1.action = ""
L9_1.trigger_count = 0
L9_1.tag = "20492"
L10_1 = {}
L10_1.config_id = 1225019
L10_1.name = "ANY_MONSTER_DIE_225019"
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_225019"
L10_1.action = ""
L10_1.trigger_count = 0
L10_1.tag = "20491"
L11_1 = {}
L11_1.config_id = 1225020
L11_1.name = "GROUP_LOAD_225020"
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_225020"
L11_1.action = "action_EVENT_GROUP_LOAD_225020"
L11_1.trigger_count = 0
L12_1 = {}
L12_1.config_id = 1225021
L12_1.name = "TIME_AXIS_PASS_225021"
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_225021"
L12_1.action = "action_EVENT_TIME_AXIS_PASS_225021"
L12_1.trigger_count = 0
L13_1 = {}
L13_1.config_id = 1225022
L13_1.name = "ENTER_REGION_225022"
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_225022"
L13_1.action = "action_EVENT_ENTER_REGION_225022"
L13_1.trigger_count = 0
L14_1 = {}
L14_1.config_id = 1225023
L14_1.name = "GROUP_LOAD_225023"
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_225023"
L14_1.action = "action_EVENT_GROUP_LOAD_225023"
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 = 225007
L6_1 = 225008
L7_1 = 225009
L8_1 = 225010
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 = 225011
L6_1 = 225012
L7_1 = 225013
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_225011"
L6_1 = "LEAVE_REGION_225012"
L7_1 = "VARIABLE_CHANGE_225015"
L8_1 = "CHALLENGE_SUCCESS_225016"
L9_1 = "CHALLENGE_FAIL_225017"
L10_1 = "ANY_MONSTER_DIE_225018"
L11_1 = "ANY_MONSTER_DIE_225019"
L12_1 = "GROUP_LOAD_225020"
L13_1 = "TIME_AXIS_PASS_225021"
L14_1 = "GROUP_LOAD_225023"
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 = 225001
L7_1 = 225002
L8_1 = 225003
L9_1 = 225004
L10_1 = 225005
L11_1 = 225006
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_225014"
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 = 225022
L8_1[1] = L9_1
L7_1.regions = L8_1
L8_1 = {}
L9_1 = "ENTER_REGION_225022"
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 ~= 225011 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_225011 = 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 = 133108225
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_225011 = 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 ~= 225012 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_LEAVE_REGION_225012 = 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 = 133108225
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_LEAVE_REGION_225012 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 225010 ~= 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_225014 = 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 = 133108225
L5_2 = 225010
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 = 133108225
L5_2 = 225010
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_225014 = 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_225015 = 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 = 133108225
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_225015 = 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 = 133108225
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 = 133108225
L5_2 = 225010
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 = 225010
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_225016 = 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 = 133108225
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_225017 = 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_225018 = 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_225019 = 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_225020 = 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 = 133108225
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 = 133108225
L5_2 = 225010
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 = 225010
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_225020 = 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_225021 = 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 = 133108225
L5_2 = 5
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_TIME_AXIS_PASS_225021 = 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 ~= 225022 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_225022 = 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_225022 = 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_225023 = 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_225023 = 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)