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

1275 lines
25 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, L19_1
L0_1 = {}
L0_1.group_id = 133213163
L1_1 = {}
L1_1.group_id = 133213163
L1_1.thunder1_id = 163010
L1_1.thunder2_id = 163011
L1_1.thunder3_id = 163012
L2_1 = {}
L3_1 = {}
L3_1.config_id = 163001
L3_1.monster_id = 21030601
L4_1 = {}
L4_1.x = -3684.648
L4_1.y = 205.289
L4_1.z = -3195.052
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 5.097
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.drop_id = 1000100
L4_1 = {}
L5_1 = 1401
L4_1[1] = L5_1
L3_1.affix = L4_1
L3_1.climate_area_id = 2
L3_1.area_id = 12
L4_1 = {}
L4_1.config_id = 163002
L4_1.monster_id = 21011001
L5_1 = {}
L5_1.x = -3681.943
L5_1.y = 206.138
L5_1.z = -3198.735
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 354.919
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_id = 1000100
L5_1 = {}
L6_1 = 1401
L5_1[1] = L6_1
L4_1.affix = L5_1
L4_1.climate_area_id = 2
L4_1.area_id = 12
L5_1 = {}
L5_1.config_id = 163003
L5_1.monster_id = 26010301
L6_1 = {}
L6_1.x = -3685.275
L6_1.y = 224.848
L6_1.z = -3278.284
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 1.286
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.drop_id = 1000100
L6_1 = {}
L7_1 = 1401
L6_1[1] = L7_1
L5_1.affix = L6_1
L5_1.area_id = 12
L6_1 = {}
L6_1.config_id = 163004
L6_1.monster_id = 20010601
L7_1 = {}
L7_1.x = -3646.003
L7_1.y = 200.889
L7_1.z = -3159.792
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 323.759
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.drop_id = 1000100
L7_1 = {}
L8_1 = 1401
L7_1[1] = L8_1
L6_1.affix = L7_1
L6_1.climate_area_id = 2
L6_1.area_id = 12
L7_1 = {}
L7_1.config_id = 163005
L7_1.monster_id = 20010701
L8_1 = {}
L8_1.x = -3651.484
L8_1.y = 200.69
L8_1.z = -3160.634
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 350.706
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.drop_id = 1000100
L8_1 = {}
L9_1 = 1401
L8_1[1] = L9_1
L7_1.affix = L8_1
L7_1.climate_area_id = 2
L7_1.area_id = 12
L8_1 = {}
L8_1.config_id = 163020
L8_1.monster_id = 21011001
L9_1 = {}
L9_1.x = -3687.784
L9_1.y = 205.812
L9_1.z = -3198.531
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 23.017
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L8_1.drop_id = 1000100
L9_1 = {}
L10_1 = 1401
L9_1[1] = L10_1
L8_1.affix = L9_1
L8_1.climate_area_id = 2
L8_1.area_id = 12
L9_1 = {}
L9_1.config_id = 163021
L9_1.monster_id = 20010601
L10_1 = {}
L10_1.x = -3656.688
L10_1.y = 200.977
L10_1.z = -3162.396
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 9.109
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L9_1.drop_id = 1000100
L10_1 = {}
L11_1 = 1401
L10_1[1] = L11_1
L9_1.affix = L10_1
L9_1.climate_area_id = 2
L9_1.area_id = 12
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
monsters = L2_1
L2_1 = {}
npcs = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 163006
L3_1.gadget_id = 70210117
L4_1 = {}
L4_1.x = -3684.895
L4_1.y = 206.72
L4_1.z = -3196.507
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
L3_1.persistent = true
L3_1.area_id = 12
L4_1 = {}
L4_1.config_id = 163007
L4_1.gadget_id = 70210117
L5_1 = {}
L5_1.x = -3687.474
L5_1.y = 225.986
L5_1.z = -3274.82
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.persistent = true
L4_1.area_id = 12
L5_1 = {}
L5_1.config_id = 163008
L5_1.gadget_id = 70210117
L6_1 = {}
L6_1.x = -3651.59
L6_1.y = 202.058
L6_1.z = -3161.883
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.persistent = true
L5_1.area_id = 12
L6_1 = {}
L6_1.config_id = 163010
L6_1.gadget_id = 70330082
L7_1 = {}
L7_1.x = -3671.959
L7_1.y = 207.517
L7_1.z = -3181.169
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.persistent = true
L6_1.area_id = 12
L7_1 = {}
L7_1.config_id = 163011
L7_1.gadget_id = 70330082
L8_1 = {}
L8_1.x = -3687.474
L8_1.y = 226.885
L8_1.z = -3274.82
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.persistent = true
L7_1.area_id = 12
L8_1 = {}
L8_1.config_id = 163012
L8_1.gadget_id = 70330082
L9_1 = {}
L9_1.x = -3636.689
L9_1.y = 205.013
L9_1.z = -3162.504
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.persistent = true
L8_1.area_id = 12
L9_1 = {}
L9_1.config_id = 163022
L9_1.gadget_id = 70350085
L10_1 = {}
L10_1.x = -3684.895
L10_1.y = 206.963
L10_1.z = -3196.507
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.persistent = true
L9_1.area_id = 12
L10_1 = {}
L10_1.config_id = 163023
L10_1.gadget_id = 70350085
L11_1 = {}
L11_1.x = -3687.474
L11_1.y = 226.472
L11_1.z = -3274.82
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.persistent = true
L10_1.area_id = 12
L11_1 = {}
L11_1.config_id = 163024
L11_1.gadget_id = 70350085
L12_1 = {}
L12_1.x = -3651.59
L12_1.y = 203.828
L12_1.z = -3161.883
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.persistent = true
L11_1.area_id = 12
L12_1 = {}
L12_1.config_id = 163033
L12_1.gadget_id = 70290196
L13_1 = {}
L13_1.x = -3671.836
L13_1.y = 197.121
L13_1.z = -3208.912
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.area_id = 12
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
gadgets = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 163013
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 80
L4_1 = {}
L4_1.x = -3669.427
L4_1.y = 206.069
L4_1.z = -3209.014
L3_1.pos = L4_1
L3_1.area_id = 12
L2_1[1] = L3_1
regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1163013
L3_1.name = "ENTER_REGION_163013"
L4_1 = EventType
L4_1 = L4_1.EVENT_ENTER_REGION
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_ENTER_REGION_163013"
L3_1.action = "action_EVENT_ENTER_REGION_163013"
L4_1 = {}
L4_1.config_id = 1163014
L4_1.name = "ANY_GADGET_DIE_163014"
L5_1 = EventType
L5_1 = L5_1.EVENT_ANY_GADGET_DIE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_ANY_GADGET_DIE_163014"
L4_1.action = "action_EVENT_ANY_GADGET_DIE_163014"
L4_1.trigger_count = 0
L4_1.tag = "998"
L5_1 = {}
L5_1.config_id = 1163015
L5_1.name = "ANY_GADGET_DIE_163015"
L6_1 = EventType
L6_1 = L6_1.EVENT_ANY_GADGET_DIE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_ANY_GADGET_DIE_163015"
L5_1.action = "action_EVENT_ANY_GADGET_DIE_163015"
L5_1.trigger_count = 0
L5_1.tag = "998"
L6_1 = {}
L6_1.config_id = 1163016
L6_1.name = "ANY_GADGET_DIE_163016"
L7_1 = EventType
L7_1 = L7_1.EVENT_ANY_GADGET_DIE
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_ANY_GADGET_DIE_163016"
L6_1.action = "action_EVENT_ANY_GADGET_DIE_163016"
L6_1.trigger_count = 0
L6_1.tag = "998"
L7_1 = {}
L7_1.config_id = 1163017
L7_1.name = "CHALLENGE_SUCCESS_163017"
L8_1 = EventType
L8_1 = L8_1.EVENT_CHALLENGE_SUCCESS
L7_1.event = L8_1
L7_1.source = "100"
L7_1.condition = ""
L7_1.action = "action_EVENT_CHALLENGE_SUCCESS_163017"
L8_1 = {}
L8_1.config_id = 1163018
L8_1.name = "CHALLENGE_FAIL_163018"
L9_1 = EventType
L9_1 = L9_1.EVENT_CHALLENGE_FAIL
L8_1.event = L9_1
L8_1.source = "100"
L8_1.condition = ""
L8_1.action = "action_EVENT_CHALLENGE_FAIL_163018"
L9_1 = {}
L9_1.config_id = 1163019
L9_1.name = "CHALLENGE_SUCCESS_163019"
L10_1 = EventType
L10_1 = L10_1.EVENT_CHALLENGE_SUCCESS
L9_1.event = L10_1
L9_1.source = "1001"
L9_1.condition = ""
L9_1.action = "action_EVENT_CHALLENGE_SUCCESS_163019"
L10_1 = {}
L10_1.config_id = 1163025
L10_1.name = "ANY_MONSTER_DIE_163025"
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_163025"
L10_1.action = ""
L10_1.tag = "101"
L11_1 = {}
L11_1.config_id = 1163026
L11_1.name = "ANY_MONSTER_DIE_163026"
L12_1 = EventType
L12_1 = L12_1.EVENT_ANY_MONSTER_DIE
L11_1.event = L12_1
L11_1.source = ""
L11_1.condition = "condition_EVENT_ANY_MONSTER_DIE_163026"
L11_1.action = ""
L11_1.tag = "101"
L12_1 = {}
L12_1.config_id = 1163027
L12_1.name = "ANY_MONSTER_DIE_163027"
L13_1 = EventType
L13_1 = L13_1.EVENT_ANY_MONSTER_DIE
L12_1.event = L13_1
L12_1.source = ""
L12_1.condition = "condition_EVENT_ANY_MONSTER_DIE_163027"
L12_1.action = ""
L12_1.tag = "101"
L13_1 = {}
L13_1.config_id = 1163028
L13_1.name = "ANY_MONSTER_DIE_163028"
L14_1 = EventType
L14_1 = L14_1.EVENT_ANY_MONSTER_DIE
L13_1.event = L14_1
L13_1.source = ""
L13_1.condition = "condition_EVENT_ANY_MONSTER_DIE_163028"
L13_1.action = ""
L13_1.tag = "102"
L14_1 = {}
L14_1.config_id = 1163029
L14_1.name = "ANY_MONSTER_DIE_163029"
L15_1 = EventType
L15_1 = L15_1.EVENT_ANY_MONSTER_DIE
L14_1.event = L15_1
L14_1.source = ""
L14_1.condition = "condition_EVENT_ANY_MONSTER_DIE_163029"
L14_1.action = ""
L14_1.tag = "103"
L15_1 = {}
L15_1.config_id = 1163030
L15_1.name = "ANY_MONSTER_DIE_163030"
L16_1 = EventType
L16_1 = L16_1.EVENT_ANY_MONSTER_DIE
L15_1.event = L16_1
L15_1.source = ""
L15_1.condition = "condition_EVENT_ANY_MONSTER_DIE_163030"
L15_1.action = ""
L15_1.tag = "103"
L16_1 = {}
L16_1.config_id = 1163031
L16_1.name = "ANY_MONSTER_DIE_163031"
L17_1 = EventType
L17_1 = L17_1.EVENT_ANY_MONSTER_DIE
L16_1.event = L17_1
L16_1.source = ""
L16_1.condition = "condition_EVENT_ANY_MONSTER_DIE_163031"
L16_1.action = ""
L16_1.tag = "103"
L17_1 = {}
L17_1.config_id = 1163032
L17_1.name = "GROUP_LOAD_163032"
L18_1 = EventType
L18_1 = L18_1.EVENT_GROUP_LOAD
L17_1.event = L18_1
L17_1.source = ""
L17_1.condition = "condition_EVENT_GROUP_LOAD_163032"
L17_1.action = "action_EVENT_GROUP_LOAD_163032"
L17_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
L2_1[13] = L15_1
L2_1[14] = L16_1
L2_1[15] = L17_1
triggers = L2_1
L2_1 = {}
L3_1 = {}
L3_1.configId = 1
L3_1.name = "hasStarted"
L3_1.value = 0
L3_1.no_refresh = false
L2_1[1] = L3_1
variables = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L4_1.config_id = 163009
L4_1.gadget_id = 70900205
L5_1 = {}
L5_1.x = -3671.836
L5_1.y = 197.121
L5_1.z = -3208.912
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.persistent = true
L4_1.area_id = 12
L3_1[1] = L4_1
L2_1.gadgets = L3_1
garbages = L2_1
L2_1 = {}
L2_1.suite = 1
L2_1.end_suite = 5
L2_1.rand_suite = false
init_config = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 163010
L6_1 = 163011
L7_1 = 163012
L8_1 = 163033
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 = 163013
L4_1[1] = L5_1
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ENTER_REGION_163013"
L6_1 = "ANY_GADGET_DIE_163014"
L7_1 = "ANY_GADGET_DIE_163015"
L8_1 = "ANY_GADGET_DIE_163016"
L9_1 = "CHALLENGE_SUCCESS_163017"
L10_1 = "CHALLENGE_FAIL_163018"
L11_1 = "CHALLENGE_SUCCESS_163019"
L12_1 = "ANY_MONSTER_DIE_163025"
L13_1 = "ANY_MONSTER_DIE_163026"
L14_1 = "ANY_MONSTER_DIE_163027"
L15_1 = "ANY_MONSTER_DIE_163028"
L16_1 = "ANY_MONSTER_DIE_163029"
L17_1 = "ANY_MONSTER_DIE_163030"
L18_1 = "ANY_MONSTER_DIE_163031"
L19_1 = "GROUP_LOAD_163032"
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
L4_1[12] = L16_1
L4_1[13] = L17_1
L4_1[14] = L18_1
L4_1[15] = L19_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L6_1 = 163001
L7_1 = 163002
L8_1 = 163020
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_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 = {}
L7_1 = 163003
L6_1[1] = L7_1
L5_1.monsters = L6_1
L6_1 = {}
L5_1.gadgets = L6_1
L6_1 = {}
L5_1.regions = L6_1
L6_1 = {}
L5_1.triggers = L6_1
L5_1.rand_weight = 100
L6_1 = {}
L7_1 = {}
L8_1 = 163004
L9_1 = 163005
L10_1 = 163021
L7_1[1] = L8_1
L7_1[2] = L9_1
L7_1[3] = L10_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 = {}
L7_1.regions = L8_1
L8_1 = {}
L7_1.triggers = L8_1
L7_1.rand_weight = 100
L8_1 = {}
L9_1 = {}
L8_1.monsters = L9_1
L9_1 = {}
L10_1 = 163006
L11_1 = 163007
L12_1 = 163008
L13_1 = 163022
L14_1 = 163023
L15_1 = 163024
L9_1[1] = L10_1
L9_1[2] = L11_1
L9_1[3] = L12_1
L9_1[4] = L13_1
L9_1[5] = L14_1
L9_1[6] = L15_1
L8_1.gadgets = L9_1
L9_1 = {}
L8_1.regions = L9_1
L9_1 = {}
L8_1.triggers = L9_1
L8_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
L2_1[6] = L8_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 ~= 163013 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 = "hasStarted"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ENTER_REGION_163013 = 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
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "hasStarted"
L5_2 = 1
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.CreateFatherChallenge
L3_2 = A0_2
L4_2 = 100
L5_2 = 67
L6_2 = 99999
L7_2 = {}
L7_2.success = 400
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.AttachChildChallenge
L3_2 = A0_2
L4_2 = 100
L5_2 = 1001
L6_2 = 68
L7_2 = {}
L8_2 = 2
L9_2 = 998
L10_2 = 3
L7_2[1] = L8_2
L7_2[2] = L9_2
L7_2[3] = L10_2
L8_2 = {}
L9_2 = {}
L9_2.success = 100
L9_2.fail = 100
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
L2_2 = ScriptLib
L2_2 = L2_2.StartFatherChallenge
L3_2 = A0_2
L4_2 = 100
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = L1_1.group_id
L5_2 = 6
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_163013 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 163006 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_163014 = 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 = math
L2_2 = L2_2.randomseed
L3_2 = tostring
L4_2 = ScriptLib
L4_2 = L4_2.GetServerTime
L5_2 = A0_2
L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2 = L4_2(L5_2)
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2)
L4_2 = L3_2
L3_2 = L3_2.reverse
L3_2 = L3_2(L4_2)
L4_2 = L3_2
L3_2 = L3_2.sub
L5_2 = 1
L6_2 = 6
L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2 = L3_2(L4_2, L5_2, L6_2)
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2)
L2_2 = math
L2_2 = L2_2.random
L3_2 = 1
L4_2 = 3
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 1 then
L3_2 = ScriptLib
L3_2 = L3_2.AddExtraGroupSuite
L4_2 = A0_2
L5_2 = L1_1.group_id
L6_2 = 2
L3_2(L4_2, L5_2, L6_2)
L3_2 = ScriptLib
L3_2 = L3_2.AttachChildChallenge
L4_2 = A0_2
L5_2 = 100
L6_2 = 1002
L7_2 = 69
L8_2 = {}
L9_2 = 1
L10_2 = 101
L11_2 = 3
L8_2[1] = L9_2
L8_2[2] = L10_2
L8_2[3] = L11_2
L9_2 = {}
L10_2 = {}
L10_2.success = 100
L10_2.fail = 100
L3_2(L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2)
elseif L2_2 == 2 then
L3_2 = ScriptLib
L3_2 = L3_2.SetGroupGadgetStateByConfigId
L4_2 = A0_2
L5_2 = L1_1.group_id
L6_2 = L1_1.thunder1_id
L7_2 = 202
L3_2(L4_2, L5_2, L6_2, L7_2)
L3_2 = ScriptLib
L3_2 = L3_2.ModifyFatherChallengeProperty
L4_2 = A0_2
L5_2 = 100
L6_2 = FatherChallengeProperty
L6_2 = L6_2.CUR_SUCC
L7_2 = 100
L3_2(L4_2, L5_2, L6_2, L7_2)
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "## ModifyFatherChallengeProperty!!!"
L3_2(L4_2, L5_2)
else
L3_2 = ScriptLib
L3_2 = L3_2.ModifyFatherChallengeProperty
L4_2 = A0_2
L5_2 = 100
L6_2 = FatherChallengeProperty
L6_2 = L6_2.CUR_SUCC
L7_2 = 100
L3_2(L4_2, L5_2, L6_2, L7_2)
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "## ModifyFatherChallengeProperty!!!"
L3_2(L4_2, L5_2)
end
L3_2 = ScriptLib
L3_2 = L3_2.KillEntityByConfigId
L4_2 = A0_2
L5_2 = {}
L5_2.config_id = 163022
L3_2(L4_2, L5_2)
L3_2 = 0
return L3_2
end
action_EVENT_ANY_GADGET_DIE_163014 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 163007 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_163015 = 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 = math
L2_2 = L2_2.randomseed
L3_2 = tostring
L4_2 = ScriptLib
L4_2 = L4_2.GetServerTime
L5_2 = A0_2
L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2 = L4_2(L5_2)
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2)
L4_2 = L3_2
L3_2 = L3_2.reverse
L3_2 = L3_2(L4_2)
L4_2 = L3_2
L3_2 = L3_2.sub
L5_2 = 1
L6_2 = 6
L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2 = L3_2(L4_2, L5_2, L6_2)
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2)
L2_2 = math
L2_2 = L2_2.random
L3_2 = 1
L4_2 = 3
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 1 then
L3_2 = ScriptLib
L3_2 = L3_2.AddExtraGroupSuite
L4_2 = A0_2
L5_2 = L1_1.group_id
L6_2 = 3
L3_2(L4_2, L5_2, L6_2)
L3_2 = ScriptLib
L3_2 = L3_2.AttachChildChallenge
L4_2 = A0_2
L5_2 = 100
L6_2 = 1003
L7_2 = 69
L8_2 = {}
L9_2 = 1
L10_2 = 102
L11_2 = 1
L8_2[1] = L9_2
L8_2[2] = L10_2
L8_2[3] = L11_2
L9_2 = {}
L10_2 = {}
L10_2.success = 100
L10_2.fail = 100
L3_2(L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2)
elseif L2_2 == 2 then
L3_2 = ScriptLib
L3_2 = L3_2.SetGroupGadgetStateByConfigId
L4_2 = A0_2
L5_2 = L1_1.group_id
L6_2 = L1_1.thunder2_id
L7_2 = 202
L3_2(L4_2, L5_2, L6_2, L7_2)
L3_2 = ScriptLib
L3_2 = L3_2.ModifyFatherChallengeProperty
L4_2 = A0_2
L5_2 = 100
L6_2 = FatherChallengeProperty
L6_2 = L6_2.CUR_SUCC
L7_2 = 100
L3_2(L4_2, L5_2, L6_2, L7_2)
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "## ModifyFatherChallengeProperty!!!"
L3_2(L4_2, L5_2)
else
L3_2 = ScriptLib
L3_2 = L3_2.ModifyFatherChallengeProperty
L4_2 = A0_2
L5_2 = 100
L6_2 = FatherChallengeProperty
L6_2 = L6_2.CUR_SUCC
L7_2 = 100
L3_2(L4_2, L5_2, L6_2, L7_2)
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "## ModifyFatherChallengeProperty!!!"
L3_2(L4_2, L5_2)
end
L3_2 = ScriptLib
L3_2 = L3_2.KillEntityByConfigId
L4_2 = A0_2
L5_2 = {}
L5_2.config_id = 163023
L3_2(L4_2, L5_2)
L3_2 = 0
return L3_2
end
action_EVENT_ANY_GADGET_DIE_163015 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 163008 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_163016 = 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 = math
L2_2 = L2_2.randomseed
L3_2 = tostring
L4_2 = ScriptLib
L4_2 = L4_2.GetServerTime
L5_2 = A0_2
L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2 = L4_2(L5_2)
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2)
L4_2 = L3_2
L3_2 = L3_2.reverse
L3_2 = L3_2(L4_2)
L4_2 = L3_2
L3_2 = L3_2.sub
L5_2 = 1
L6_2 = 6
L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2 = L3_2(L4_2, L5_2, L6_2)
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2)
L2_2 = math
L2_2 = L2_2.random
L3_2 = 1
L4_2 = 3
L2_2 = L2_2(L3_2, L4_2)
if L2_2 == 1 then
L3_2 = ScriptLib
L3_2 = L3_2.AddExtraGroupSuite
L4_2 = A0_2
L5_2 = L1_1.group_id
L6_2 = 4
L3_2(L4_2, L5_2, L6_2)
L3_2 = ScriptLib
L3_2 = L3_2.AttachChildChallenge
L4_2 = A0_2
L5_2 = 100
L6_2 = 1004
L7_2 = 69
L8_2 = {}
L9_2 = 1
L10_2 = 103
L11_2 = 3
L8_2[1] = L9_2
L8_2[2] = L10_2
L8_2[3] = L11_2
L9_2 = {}
L10_2 = {}
L10_2.success = 100
L10_2.fail = 100
L3_2(L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2)
elseif L2_2 == 2 then
L3_2 = ScriptLib
L3_2 = L3_2.SetGroupGadgetStateByConfigId
L4_2 = A0_2
L5_2 = L1_1.group_id
L6_2 = L1_1.thunder3_id
L7_2 = 202
L3_2(L4_2, L5_2, L6_2, L7_2)
L3_2 = ScriptLib
L3_2 = L3_2.ModifyFatherChallengeProperty
L4_2 = A0_2
L5_2 = 100
L6_2 = FatherChallengeProperty
L6_2 = L6_2.CUR_SUCC
L7_2 = 100
L3_2(L4_2, L5_2, L6_2, L7_2)
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "## ModifyFatherChallengeProperty!!!"
L3_2(L4_2, L5_2)
else
L3_2 = ScriptLib
L3_2 = L3_2.ModifyFatherChallengeProperty
L4_2 = A0_2
L5_2 = 100
L6_2 = FatherChallengeProperty
L6_2 = L6_2.CUR_SUCC
L7_2 = 100
L3_2(L4_2, L5_2, L6_2, L7_2)
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "## ModifyFatherChallengeProperty!!!"
L3_2(L4_2, L5_2)
end
L3_2 = ScriptLib
L3_2 = L3_2.KillEntityByConfigId
L4_2 = A0_2
L5_2 = {}
L5_2.config_id = 163024
L3_2(L4_2, L5_2)
L3_2 = 0
return L3_2
end
action_EVENT_ANY_GADGET_DIE_163016 = 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 = "hasStarted"
L5_2 = 2
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.GoToGroupSuite
L3_2 = A0_2
L4_2 = 133213163
L5_2 = 5
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_CHALLENGE_SUCCESS_163017 = 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.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = L1_1.group_id
L5_2 = 6
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L5_2 = L1_1.group_id
L4_2.group_id = L5_2
L4_2.suite = 1
L2_2(L3_2, L4_2)
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "hasStarted"
L5_2 = 0
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_CHALLENGE_FAIL_163018 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "## ChallengeSuccess 1001!!!"
L2_2(L3_2, L4_2)
L2_2 = 0
return L2_2
end
action_EVENT_CHALLENGE_SUCCESS_163019 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 163001 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_163025 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 163002 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_163026 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 163020 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_163027 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 163003 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_163028 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 163004 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_163029 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 163005 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_163030 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 163021 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_163031 = 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 = "hasStarted"
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_163032 = 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 = "hasStarted"
L5_2 = 0
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L5_2 = L1_1.group_id
L4_2.group_id = L5_2
L4_2.suite = 1
L2_2(L3_2, L4_2)
L2_2 = 0
return L2_2
end
action_EVENT_GROUP_LOAD_163032 = L2_1