mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
909 lines
17 KiB
Lua
909 lines
17 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 133213158
|
|
L1_1 = {}
|
|
L1_1.group_id = 133213158
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 158001
|
|
L3_1.monster_id = 25070101
|
|
L4_1 = {}
|
|
L4_1.x = -3564.003
|
|
L4_1.y = 200.262
|
|
L4_1.z = -3449.628
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 352.518
|
|
L4_1.y = 317.966
|
|
L4_1.z = 359.076
|
|
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.isElite = true
|
|
L3_1.area_id = 12
|
|
L2_1[158001] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 158002
|
|
L3_1.monster_id = 25010201
|
|
L4_1 = {}
|
|
L4_1.x = -3560.071
|
|
L4_1.y = 200.262
|
|
L4_1.z = -3449.209
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 347.833
|
|
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.isElite = true
|
|
L3_1.pose_id = 9005
|
|
L3_1.area_id = 12
|
|
L2_1[158002] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 158003
|
|
L3_1.monster_id = 25060101
|
|
L4_1 = {}
|
|
L4_1.x = -3576.743
|
|
L4_1.y = 200.262
|
|
L4_1.z = -3443.562
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 99.353
|
|
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.isElite = true
|
|
L3_1.area_id = 12
|
|
L2_1[158003] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 158004
|
|
L3_1.monster_id = 25010201
|
|
L4_1 = {}
|
|
L4_1.x = -3580.734
|
|
L4_1.y = 200.274
|
|
L4_1.z = -3413.265
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 83.436
|
|
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.isElite = true
|
|
L3_1.area_id = 12
|
|
L2_1[158004] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 158005
|
|
L3_1.monster_id = 25010201
|
|
L4_1 = {}
|
|
L4_1.x = -3570.633
|
|
L4_1.y = 200.325
|
|
L4_1.z = -3439.376
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 93.791
|
|
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.isElite = true
|
|
L3_1.area_id = 12
|
|
L2_1[158005] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 158007
|
|
L3_1.monster_id = 25070101
|
|
L4_1 = {}
|
|
L4_1.x = -3569.851
|
|
L4_1.y = 200.262
|
|
L4_1.z = -3449.155
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 276.765
|
|
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.isElite = true
|
|
L3_1.area_id = 12
|
|
L2_1[158007] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 158035
|
|
L3_1.monster_id = 25010701
|
|
L4_1 = {}
|
|
L4_1.x = -3565.113
|
|
L4_1.y = 200.279
|
|
L4_1.z = -3431.064
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 130.355
|
|
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.isElite = true
|
|
L3_1.area_id = 12
|
|
L2_1[158035] = L3_1
|
|
monsters = L2_1
|
|
L2_1 = {}
|
|
npcs = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 158008
|
|
L3_1.gadget_id = 70360166
|
|
L4_1 = {}
|
|
L4_1.x = -3574.421
|
|
L4_1.y = 200.452
|
|
L4_1.z = -3450.327
|
|
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.drop_id = 1000100
|
|
L3_1.drop_count = 1
|
|
L3_1.persistent = true
|
|
L3_1.area_id = 12
|
|
L2_1[158008] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 158009
|
|
L3_1.gadget_id = 70360166
|
|
L4_1 = {}
|
|
L4_1.x = -3560.863
|
|
L4_1.y = 201.475
|
|
L4_1.z = -3432.656
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 249.449
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L3_1.drop_id = 1000100
|
|
L3_1.drop_count = 1
|
|
L3_1.persistent = true
|
|
L3_1.area_id = 12
|
|
L2_1[158009] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 158010
|
|
L3_1.gadget_id = 70360025
|
|
L4_1 = {}
|
|
L4_1.x = -3585.262
|
|
L4_1.y = 200.363
|
|
L4_1.z = -3375.931
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 349.859
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L3_1.area_id = 12
|
|
L2_1[158010] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 158011
|
|
L3_1.gadget_id = 70350085
|
|
L4_1 = {}
|
|
L4_1.x = -3585.262
|
|
L4_1.y = 201.076
|
|
L4_1.z = -3375.931
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 349.859
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L3_1.area_id = 12
|
|
L2_1[158011] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 158019
|
|
L3_1.gadget_id = 70290196
|
|
L4_1 = {}
|
|
L4_1.x = -3574.421
|
|
L4_1.y = 195.418
|
|
L4_1.z = -3450.327
|
|
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.area_id = 12
|
|
L2_1[158019] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 158022
|
|
L3_1.gadget_id = 70300094
|
|
L4_1 = {}
|
|
L4_1.x = -3559.538
|
|
L4_1.y = 200.269
|
|
L4_1.z = -3432.949
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 343.832
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L3_1.area_id = 12
|
|
L2_1[158022] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 158025
|
|
L3_1.gadget_id = 70310009
|
|
L4_1 = {}
|
|
L4_1.x = -3581.86
|
|
L4_1.y = 200.307
|
|
L4_1.z = -3446.109
|
|
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 = GadgetState
|
|
L4_1 = L4_1.GearStart
|
|
L3_1.state = L4_1
|
|
L3_1.area_id = 12
|
|
L2_1[158025] = L3_1
|
|
gadgets = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 158012
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 80
|
|
L4_1 = {}
|
|
L4_1.x = -3567.86
|
|
L4_1.y = 202.984
|
|
L4_1.z = -3414.706
|
|
L3_1.pos = L4_1
|
|
L3_1.area_id = 12
|
|
L2_1[158012] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 158017
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 2
|
|
L4_1 = {}
|
|
L4_1.x = -3585.262
|
|
L4_1.y = 200.255
|
|
L4_1.z = -3375.931
|
|
L3_1.pos = L4_1
|
|
L3_1.area_id = 12
|
|
L2_1[158017] = L3_1
|
|
regions = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 1158012
|
|
L3_1.name = "ENTER_REGION_158012"
|
|
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_158012"
|
|
L3_1.action = "action_EVENT_ENTER_REGION_158012"
|
|
L3_1.trigger_count = 0
|
|
L4_1 = {}
|
|
L4_1.config_id = 1158013
|
|
L4_1.name = "ANY_GADGET_DIE_158013"
|
|
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_158013"
|
|
L4_1.action = ""
|
|
L4_1.trigger_count = 0
|
|
L4_1.tag = "998"
|
|
L5_1 = {}
|
|
L5_1.config_id = 1158014
|
|
L5_1.name = "ANY_GADGET_DIE_158014"
|
|
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_158014"
|
|
L5_1.action = ""
|
|
L5_1.trigger_count = 0
|
|
L5_1.tag = "998"
|
|
L6_1 = {}
|
|
L6_1.config_id = 1158015
|
|
L6_1.name = "CHALLENGE_SUCCESS_158015"
|
|
L7_1 = EventType
|
|
L7_1 = L7_1.EVENT_CHALLENGE_SUCCESS
|
|
L6_1.event = L7_1
|
|
L6_1.source = "1001"
|
|
L6_1.condition = ""
|
|
L6_1.action = "action_EVENT_CHALLENGE_SUCCESS_158015"
|
|
L6_1.trigger_count = 0
|
|
L7_1 = {}
|
|
L7_1.config_id = 1158016
|
|
L7_1.name = "CHALLENGE_FAIL_158016"
|
|
L8_1 = EventType
|
|
L8_1 = L8_1.EVENT_CHALLENGE_FAIL
|
|
L7_1.event = L8_1
|
|
L7_1.source = "100"
|
|
L7_1.condition = ""
|
|
L7_1.action = "action_EVENT_CHALLENGE_FAIL_158016"
|
|
L7_1.trigger_count = 0
|
|
L8_1 = {}
|
|
L8_1.config_id = 1158017
|
|
L8_1.name = "ENTER_REGION_158017"
|
|
L9_1 = EventType
|
|
L9_1 = L9_1.EVENT_ENTER_REGION
|
|
L8_1.event = L9_1
|
|
L8_1.source = ""
|
|
L8_1.condition = "condition_EVENT_ENTER_REGION_158017"
|
|
L8_1.action = "action_EVENT_ENTER_REGION_158017"
|
|
L8_1.trigger_count = 0
|
|
L8_1.tag = "999"
|
|
L9_1 = {}
|
|
L9_1.config_id = 1158018
|
|
L9_1.name = "CHALLENGE_SUCCESS_158018"
|
|
L10_1 = EventType
|
|
L10_1 = L10_1.EVENT_CHALLENGE_SUCCESS
|
|
L9_1.event = L10_1
|
|
L9_1.source = "100"
|
|
L9_1.condition = ""
|
|
L9_1.action = "action_EVENT_CHALLENGE_SUCCESS_158018"
|
|
L9_1.trigger_count = 0
|
|
L10_1 = {}
|
|
L10_1.config_id = 1158021
|
|
L10_1.name = "MONSTER_BATTLE_158021"
|
|
L11_1 = EventType
|
|
L11_1 = L11_1.EVENT_MONSTER_BATTLE
|
|
L10_1.event = L11_1
|
|
L10_1.source = ""
|
|
L10_1.condition = "condition_EVENT_MONSTER_BATTLE_158021"
|
|
L10_1.action = "action_EVENT_MONSTER_BATTLE_158021"
|
|
L11_1 = {}
|
|
L11_1.config_id = 1158023
|
|
L11_1.name = "GROUP_LOAD_158023"
|
|
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_158023"
|
|
L11_1.action = "action_EVENT_GROUP_LOAD_158023"
|
|
L11_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
|
|
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 = 158006
|
|
L4_1.gadget_id = 70900205
|
|
L5_1 = {}
|
|
L5_1.x = -3574.421
|
|
L5_1.y = 195.418
|
|
L5_1.z = -3450.327
|
|
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.drop_id = 1000100
|
|
L4_1.drop_count = 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 = 4
|
|
L2_1.rand_suite = false
|
|
init_config = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L5_1 = 158002
|
|
L6_1 = 158004
|
|
L7_1 = 158005
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 158008
|
|
L6_1 = 158009
|
|
L7_1 = 158019
|
|
L8_1 = 158022
|
|
L9_1 = 158025
|
|
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
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 158012
|
|
L4_1[1] = L5_1
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "ENTER_REGION_158012"
|
|
L6_1 = "ANY_GADGET_DIE_158013"
|
|
L7_1 = "ANY_GADGET_DIE_158014"
|
|
L8_1 = "CHALLENGE_SUCCESS_158015"
|
|
L9_1 = "CHALLENGE_FAIL_158016"
|
|
L10_1 = "CHALLENGE_SUCCESS_158018"
|
|
L11_1 = "MONSTER_BATTLE_158021"
|
|
L12_1 = "GROUP_LOAD_158023"
|
|
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 = {}
|
|
L4_1.monsters = L5_1
|
|
L5_1 = {}
|
|
L6_1 = 158010
|
|
L7_1 = 158011
|
|
L5_1[1] = L6_1
|
|
L5_1[2] = L7_1
|
|
L4_1.gadgets = L5_1
|
|
L5_1 = {}
|
|
L6_1 = 158017
|
|
L5_1[1] = L6_1
|
|
L4_1.regions = L5_1
|
|
L5_1 = {}
|
|
L6_1 = "ENTER_REGION_158017"
|
|
L5_1[1] = L6_1
|
|
L4_1.triggers = L5_1
|
|
L4_1.rand_weight = 0
|
|
L5_1 = {}
|
|
L6_1 = {}
|
|
L7_1 = 158001
|
|
L8_1 = 158003
|
|
L9_1 = 158007
|
|
L10_1 = 158035
|
|
L6_1[1] = L7_1
|
|
L6_1[2] = L8_1
|
|
L6_1[3] = L9_1
|
|
L6_1[4] = L10_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 = 0
|
|
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
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L2_1[3] = L5_1
|
|
L2_1[4] = L6_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 ~= 158012 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_158012 = 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 = 64
|
|
L6_2 = 999999
|
|
L7_2 = {}
|
|
L7_2.success = 200
|
|
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 = 65
|
|
L7_2 = {}
|
|
L8_2 = 2
|
|
L9_2 = 998
|
|
L10_2 = 2
|
|
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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_158012 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 158008 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_GADGET_DIE_158013 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 158009 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_GADGET_DIE_158014 = 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.AttachChildChallenge
|
|
L3_2 = A0_2
|
|
L4_2 = 100
|
|
L5_2 = 1002
|
|
L6_2 = 66
|
|
L7_2 = {}
|
|
L8_2 = 4
|
|
L9_2 = 999
|
|
L10_2 = 1
|
|
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.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = L1_1.group_id
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_CHALLENGE_SUCCESS_158015 = 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 = {}
|
|
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 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "Challenge Failed\239\188\129Refresh Group to suite1"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_CHALLENGE_FAIL_158016 = 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 ~= 158017 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_158017 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.KillEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 158010
|
|
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_entity_by_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.KillEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 158011
|
|
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_entity_by_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_158017 = 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 = 133213158
|
|
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_CHALLENGE_SUCCESS_158018 = 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_MONSTER_BATTLE_158021 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L2_2 = {}
|
|
L2_2.x = 0
|
|
L2_2.y = 0
|
|
L2_2.z = 0
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.ScenePlaySound
|
|
L4_2 = A0_2
|
|
L5_2 = {}
|
|
L5_2.play_pos = L2_2
|
|
L5_2.sound_name = "LevelHornSound001"
|
|
L5_2.play_type = 1
|
|
L5_2.is_broadcast = false
|
|
L3_2 = L3_2(L4_2, L5_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : active_soundplay"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = {}
|
|
L3_2.x = -3574.421
|
|
L3_2.y = 200.4517
|
|
L3_2.z = -3450.327
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.ShowReminderRadius
|
|
L5_2 = A0_2
|
|
L6_2 = 400055
|
|
L7_2 = L3_2
|
|
L8_2 = 50
|
|
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2)
|
|
if 0 ~= L4_2 then
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.PrintContextLog
|
|
L5_2 = A0_2
|
|
L6_2 = "@@ LUA_WARNING : active_reminder_ui_bypos"
|
|
L4_2(L5_2, L6_2)
|
|
L4_2 = -1
|
|
return L4_2
|
|
end
|
|
L4_2 = ScriptLib
|
|
L4_2 = L4_2.AddExtraGroupSuite
|
|
L5_2 = A0_2
|
|
L6_2 = 133213158
|
|
L7_2 = 3
|
|
L4_2(L5_2, L6_2, L7_2)
|
|
L4_2 = 0
|
|
return L4_2
|
|
end
|
|
action_EVENT_MONSTER_BATTLE_158021 = 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_158023 = 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_158023 = L2_1
|