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

1155 lines
22 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 = 133108198
L1_1 = {}
L1_1.eyepoint = 198044
L2_1 = {}
L3_1 = {}
L3_1.config_id = 198001
L3_1.monster_id = 25040102
L4_1 = {}
L4_1.x = -323.27
L4_1.y = 200.1
L4_1.z = -632.492
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 150.457
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 30
L3_1.drop_id = 1000100
L3_1.disableWander = true
L3_1.area_id = 7
L4_1 = {}
L4_1.config_id = 198002
L4_1.monster_id = 25030102
L5_1 = {}
L5_1.x = -320.612
L5_1.y = 200.035
L5_1.z = -636.68
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 157.027
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.area_id = 7
L5_1 = {}
L5_1.config_id = 198003
L5_1.monster_id = 25070201
L6_1 = {}
L6_1.x = -320.48
L6_1.y = 200.014
L6_1.z = -633.374
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 159.728
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.area_id = 7
L6_1 = {}
L6_1.config_id = 198004
L6_1.monster_id = 25010105
L7_1 = {}
L7_1.x = -326.629
L7_1.y = 200.187
L7_1.z = -636.332
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 109.937
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 = 198012
L7_1.monster_id = 25010301
L8_1 = {}
L8_1.x = -328.49
L8_1.y = 200.106
L8_1.z = -646.789
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 52.41
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.area_id = 7
L8_1 = {}
L8_1.config_id = 198013
L8_1.monster_id = 25010301
L9_1 = {}
L9_1.x = -331.077
L9_1.y = 200.106
L9_1.z = -643.519
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 72.409
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.area_id = 7
L9_1 = {}
L9_1.config_id = 198014
L9_1.monster_id = 25010401
L10_1 = {}
L10_1.x = -330.707
L10_1.y = 200.106
L10_1.z = -634.227
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 112.832
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 30
L9_1.drop_id = 1000100
L9_1.disableWander = true
L9_1.area_id = 7
L10_1 = {}
L10_1.config_id = 198015
L10_1.monster_id = 25010401
L11_1 = {}
L11_1.x = -329.465
L11_1.y = 200.097
L11_1.z = -632.502
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 112.832
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 30
L10_1.drop_id = 1000100
L10_1.disableWander = true
L10_1.area_id = 7
L11_1 = {}
L11_1.config_id = 198016
L11_1.monster_id = 25010501
L12_1 = {}
L12_1.x = -309.754
L12_1.y = 200.054
L12_1.z = -634.032
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 249.966
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 30
L11_1.drop_id = 1000100
L11_1.disableWander = true
L11_1.area_id = 7
L12_1 = {}
L12_1.config_id = 198017
L12_1.monster_id = 25010501
L13_1 = {}
L13_1.x = -308.676
L13_1.y = 200.106
L13_1.z = -635.683
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 249.966
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 30
L12_1.drop_id = 1000100
L12_1.disableWander = true
L12_1.area_id = 7
L13_1 = {}
L13_1.config_id = 198018
L13_1.monster_id = 25010601
L14_1 = {}
L14_1.x = -327.322
L14_1.y = 200.17
L14_1.z = -629.161
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 133.728
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 30
L13_1.drop_id = 1000100
L13_1.disableWander = true
L13_1.area_id = 7
L14_1 = {}
L14_1.config_id = 198019
L14_1.monster_id = 25010601
L15_1 = {}
L15_1.x = -324.761
L15_1.y = 200.106
L15_1.z = -627.063
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 161.491
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 30
L14_1.drop_id = 1000100
L14_1.disableWander = true
L14_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
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
monsters = L2_1
L2_1 = {}
npcs = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 198005
L3_1.gadget_id = 70800055
L4_1 = {}
L4_1.x = -319.522
L4_1.y = 200.063
L4_1.z = -639.198
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 164.651
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 = 198007
L4_1.gadget_id = 70360001
L5_1 = {}
L5_1.x = -319.488
L5_1.y = 200.988
L5_1.z = -639.211
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.area_id = 7
L5_1 = {}
L5_1.config_id = 198009
L5_1.gadget_id = 70800056
L6_1 = {}
L6_1.x = -314.709
L6_1.y = 200.025
L6_1.z = -636.437
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.area_id = 7
L6_1 = {}
L6_1.config_id = 198011
L6_1.gadget_id = 70800056
L7_1 = {}
L7_1.x = -323.932
L7_1.y = 200.106
L7_1.z = -642.893
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 60.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.area_id = 7
L7_1 = {}
L7_1.config_id = 198021
L7_1.gadget_id = 70800056
L8_1 = {}
L8_1.x = -322.999
L8_1.y = 200.106
L8_1.z = -638.906
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 113.199
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.area_id = 7
L8_1 = {}
L8_1.config_id = 198030
L8_1.gadget_id = 70300105
L9_1 = {}
L9_1.x = -325.439
L9_1.y = 200.068
L9_1.z = -641.852
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 352.162
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L8_1.area_id = 7
L9_1 = {}
L9_1.config_id = 198031
L9_1.gadget_id = 70300105
L10_1 = {}
L10_1.x = -314.556
L10_1.y = 200.068
L10_1.z = -634.601
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 132.812
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L9_1.area_id = 7
L10_1 = {}
L10_1.config_id = 198032
L10_1.gadget_id = 70300094
L11_1 = {}
L11_1.x = -324.466
L11_1.y = 200.075
L11_1.z = -640.508
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.area_id = 7
L11_1 = {}
L11_1.config_id = 198033
L11_1.gadget_id = 70300094
L12_1 = {}
L12_1.x = -325.542
L12_1.y = 200.075
L12_1.z = -641.75
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 61.08
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L11_1.area_id = 7
L12_1 = {}
L12_1.config_id = 198034
L12_1.gadget_id = 70300094
L13_1 = {}
L13_1.x = -314.941
L13_1.y = 200.099
L13_1.z = -633.801
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 351.604
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L12_1.area_id = 7
L13_1 = {}
L13_1.config_id = 198035
L13_1.gadget_id = 70220017
L14_1 = {}
L14_1.x = -312.726
L14_1.y = 200.031
L14_1.z = -634.732
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.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
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
gadgets = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 198010
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 30.5
L4_1 = {}
L4_1.x = -319.311
L4_1.y = 201.565
L4_1.z = -639.443
L3_1.pos = L4_1
L3_1.area_id = 7
L4_1 = {}
L5_1 = "Firecracker_Play"
L4_1[1] = L5_1
L3_1.team_ability_group_list = L4_1
L4_1 = {}
L4_1.config_id = 198040
L5_1 = RegionShape
L5_1 = L5_1.SPHERE
L4_1.shape = L5_1
L4_1.radius = 10
L5_1 = {}
L5_1.x = -319.522
L5_1.y = 200.063
L5_1.z = -639.198
L4_1.pos = L5_1
L4_1.area_id = 7
L5_1 = {}
L5_1.config_id = 198043
L6_1 = RegionShape
L6_1 = L6_1.SPHERE
L5_1.shape = L6_1
L5_1.radius = 30
L6_1 = {}
L6_1.x = -319.561
L6_1.y = 201.112
L6_1.z = -639.139
L5_1.pos = L6_1
L5_1.area_id = 7
L6_1 = {}
L6_1.config_id = 198044
L7_1 = RegionShape
L7_1 = L7_1.SPHERE
L6_1.shape = L7_1
L6_1.radius = 30.5
L7_1 = {}
L7_1.x = -319.311
L7_1.y = 201.565
L7_1.z = -639.443
L6_1.pos = L7_1
L6_1.area_id = 7
L7_1 = {}
L8_1 = "Firecracker_Play"
L7_1[1] = L8_1
L6_1.team_ability_group_list = L7_1
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 = 1198006
L3_1.name = "GADGET_STATE_CHANGE_198006"
L4_1 = EventType
L4_1 = L4_1.EVENT_GADGET_STATE_CHANGE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_198006"
L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_198006"
L4_1 = {}
L4_1.config_id = 1198020
L4_1.name = "ANY_MONSTER_LIVE_198020"
L5_1 = EventType
L5_1 = L5_1.EVENT_ANY_MONSTER_LIVE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_ANY_MONSTER_LIVE_198020"
L4_1.action = "action_EVENT_ANY_MONSTER_LIVE_198020"
L5_1 = {}
L5_1.config_id = 1198022
L5_1.name = "GROUP_LOAD_198022"
L6_1 = EventType
L6_1 = L6_1.EVENT_GROUP_LOAD
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = ""
L5_1.action = "action_EVENT_GROUP_LOAD_198022"
L6_1 = {}
L6_1.config_id = 1198025
L6_1.name = "ANY_MONSTER_DIE_198025"
L7_1 = EventType
L7_1 = L7_1.EVENT_ANY_MONSTER_DIE
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_ANY_MONSTER_DIE_198025"
L6_1.action = "action_EVENT_ANY_MONSTER_DIE_198025"
L6_1.trigger_count = 4
L6_1.tag = "111"
L7_1 = {}
L7_1.config_id = 1198026
L7_1.name = "CHALLENGE_FAIL_198026"
L8_1 = EventType
L8_1 = L8_1.EVENT_CHALLENGE_FAIL
L7_1.event = L8_1
L7_1.source = "1"
L7_1.condition = ""
L7_1.action = "action_EVENT_CHALLENGE_FAIL_198026"
L8_1 = {}
L8_1.config_id = 1198027
L8_1.name = "CHALLENGE_SUCCESS_198027"
L9_1 = EventType
L9_1 = L9_1.EVENT_CHALLENGE_SUCCESS
L8_1.event = L9_1
L8_1.source = "1"
L8_1.condition = ""
L8_1.action = "action_EVENT_CHALLENGE_SUCCESS_198027"
L9_1 = {}
L9_1.config_id = 1198029
L9_1.name = "SELECT_OPTION_198029"
L10_1 = EventType
L10_1 = L10_1.EVENT_SELECT_OPTION
L9_1.event = L10_1
L9_1.source = ""
L9_1.condition = "condition_EVENT_SELECT_OPTION_198029"
L9_1.action = "action_EVENT_SELECT_OPTION_198029"
L10_1 = {}
L10_1.config_id = 1198040
L10_1.name = "ENTER_REGION_198040"
L11_1 = EventType
L11_1 = L11_1.EVENT_ENTER_REGION
L10_1.event = L11_1
L10_1.source = "1"
L10_1.condition = "condition_EVENT_ENTER_REGION_198040"
L10_1.action = "action_EVENT_ENTER_REGION_198040"
L10_1.trigger_count = 0
L11_1 = {}
L11_1.config_id = 1198042
L11_1.name = "GADGET_CREATE_198042"
L12_1 = EventType
L12_1 = L12_1.EVENT_GADGET_CREATE
L11_1.event = L12_1
L11_1.source = ""
L11_1.condition = "condition_EVENT_GADGET_CREATE_198042"
L11_1.action = "action_EVENT_GADGET_CREATE_198042"
L12_1 = {}
L12_1.config_id = 1198043
L12_1.name = "LEAVE_REGION_198043"
L13_1 = EventType
L13_1 = L13_1.EVENT_LEAVE_REGION
L12_1.event = L13_1
L12_1.source = ""
L12_1.condition = "condition_EVENT_LEAVE_REGION_198043"
L12_1.action = "action_EVENT_LEAVE_REGION_198043"
L12_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
triggers = L2_1
L2_1 = {}
L3_1 = {}
L3_1.configId = 1
L3_1.name = "Boss"
L3_1.value = 0
L3_1.no_refresh = false
L4_1 = {}
L4_1.configId = 2
L4_1.name = "challenge"
L4_1.value = 0
L4_1.no_refresh = false
L2_1[1] = L3_1
L2_1[2] = L4_1
variables = L2_1
L2_1 = {}
L2_1.suite = 1
L2_1.end_suite = 0
L2_1.rand_suite = false
init_config = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 198005
L6_1 = 198007
L7_1 = 198009
L8_1 = 198011
L9_1 = 198021
L10_1 = 198030
L11_1 = 198031
L12_1 = 198032
L13_1 = 198033
L14_1 = 198034
L15_1 = 198035
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
L4_1[11] = L15_1
L3_1.gadgets = L4_1
L4_1 = {}
L5_1 = 198010
L6_1 = 198040
L7_1 = 198043
L8_1 = 198044
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "GADGET_STATE_CHANGE_198006"
L6_1 = "GROUP_LOAD_198022"
L7_1 = "CHALLENGE_FAIL_198026"
L8_1 = "CHALLENGE_SUCCESS_198027"
L9_1 = "SELECT_OPTION_198029"
L10_1 = "ENTER_REGION_198040"
L11_1 = "GADGET_CREATE_198042"
L12_1 = "LEAVE_REGION_198043"
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
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L6_1 = 198001
L7_1 = 198002
L8_1 = 198003
L9_1 = 198004
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L5_1[4] = L9_1
L4_1.monsters = L5_1
L5_1 = {}
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "ANY_MONSTER_LIVE_198020"
L7_1 = "ANY_MONSTER_DIE_198025"
L8_1 = "CHALLENGE_FAIL_198026"
L9_1 = "CHALLENGE_SUCCESS_198027"
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L5_1[4] = L9_1
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L2_1[1] = L3_1
L2_1[2] = L4_1
suites = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 198005 == L2_2 then
L2_2 = GadgetState
L2_2 = L2_2.GearStop
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_198006 = 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 = 133108198
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_198006 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 198001 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_LIVE_198020 = 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, L12_2, L13_2, L14_2
L2_2 = ScriptLib
L2_2 = L2_2.ActiveChallenge
L3_2 = A0_2
L4_2 = 1
L5_2 = 2004006
L6_2 = 210
L7_2 = 1
L8_2 = 111
L9_2 = 4
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.AutoMonsterTide
L3_2 = A0_2
L4_2 = 1
L5_2 = 133108198
L6_2 = {}
L7_2 = 198018
L8_2 = 198019
L9_2 = 198012
L10_2 = 198013
L11_2 = 198014
L12_2 = 198015
L13_2 = 198016
L14_2 = 198017
L6_2[1] = L7_2
L6_2[2] = L8_2
L6_2[3] = L9_2
L6_2[4] = L10_2
L6_2[5] = L11_2
L6_2[6] = L12_2
L6_2[7] = L13_2
L6_2[8] = L14_2
L7_2 = 8
L8_2 = 2
L9_2 = 2
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 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "Variable_StartWatcherCountDown"
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 : change_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_LIVE_198020 = L2_1
function L2_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 = 133108198
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_GROUP_LOAD_198022 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 198001 then
L2_2 = A1_2.param1
if L2_2 ~= 198002 then
L2_2 = A1_2.param1
if L2_2 ~= 198003 then
L2_2 = A1_2.param1
if L2_2 ~= 198004 then
goto lbl_15
end
end
end
end
L2_2 = true
do return L2_2 end
::lbl_15::
L2_2 = false
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_198025 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "Boss"
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 : change_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_198025 = 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.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133108198
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 = ScriptLib
L2_2 = L2_2.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133108198
L5_2 = GroupKillPolicy
L5_2 = L5_2.GROUP_KILL_MONSTER
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_monster_by_group"
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 = "Boss"
L5_2 = 0
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "challenge"
L5_2 = 0
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_CHALLENGE_FAIL_198026 = 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.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133108198
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 = ScriptLib
L2_2 = L2_2.KillGroupEntity
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133108198
L5_2 = GroupKillPolicy
L5_2 = L5_2.GROUP_KILL_MONSTER
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_monster_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_198027 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param1
if 198007 ~= 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 = 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_SELECT_OPTION_198029 = 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.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 198005
L5_2 = GadgetState
L5_2 = L5_2.GearStop
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 = ScriptLib
L2_2 = L2_2.DelWorktopOptionByGroupId
L3_2 = A0_2
L4_2 = 133108198
L5_2 = 198007
L6_2 = 175
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.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_SELECT_OPTION_198029 = 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 ~= 198040 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_198040 = 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 = 153
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_198040 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 198007 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_GADGET_CREATE_198042 = 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.SetWorktopOptionsByGroupId
L3_2 = A0_2
L4_2 = 133108198
L5_2 = 198007
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_198042 = 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 = "challenge"
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.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 ~= 198043 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_LEAVE_REGION_198043 = 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 = 1
L5_2 = 0
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_LEAVE_REGION_198043 = 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)