mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
1350 lines
27 KiB
Lua
1350 lines
27 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 133209052
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 52006
|
|
L2_1.monster_id = 20060101
|
|
L3_1 = {}
|
|
L3_1.x = -2605.89
|
|
L3_1.y = 200.0
|
|
L3_1.z = -4081.055
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 0.0
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 1
|
|
L2_1.drop_id = 1000100
|
|
L2_1.pose_id = 101
|
|
L2_1.area_id = 11
|
|
L3_1 = {}
|
|
L3_1.config_id = 52007
|
|
L3_1.monster_id = 20060101
|
|
L4_1 = {}
|
|
L4_1.x = -2605.508
|
|
L4_1.y = 200.0
|
|
L4_1.z = -4084.831
|
|
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.pose_id = 101
|
|
L3_1.area_id = 11
|
|
L4_1 = {}
|
|
L4_1.config_id = 52008
|
|
L4_1.monster_id = 20060101
|
|
L5_1 = {}
|
|
L5_1.x = -2608.924
|
|
L5_1.y = 200.0
|
|
L5_1.z = -4084.773
|
|
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.pose_id = 101
|
|
L4_1.area_id = 11
|
|
L5_1 = {}
|
|
L5_1.config_id = 52009
|
|
L5_1.monster_id = 20060201
|
|
L6_1 = {}
|
|
L6_1.x = -2603.976
|
|
L6_1.y = 200.282
|
|
L6_1.z = -4091.09
|
|
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.drop_id = 1000100
|
|
L5_1.pose_id = 101
|
|
L5_1.area_id = 11
|
|
L6_1 = {}
|
|
L6_1.config_id = 52010
|
|
L6_1.monster_id = 20060201
|
|
L7_1 = {}
|
|
L7_1.x = -2615.454
|
|
L7_1.y = 200.846
|
|
L7_1.z = -4085.219
|
|
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.drop_id = 1000100
|
|
L6_1.pose_id = 101
|
|
L6_1.area_id = 11
|
|
L7_1 = {}
|
|
L7_1.config_id = 52011
|
|
L7_1.monster_id = 20060201
|
|
L8_1 = {}
|
|
L8_1.x = -2612.792
|
|
L8_1.y = 200.476
|
|
L8_1.z = -4080.574
|
|
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.drop_id = 1000100
|
|
L7_1.pose_id = 101
|
|
L7_1.area_id = 11
|
|
L8_1 = {}
|
|
L8_1.config_id = 52015
|
|
L8_1.monster_id = 20060201
|
|
L9_1 = {}
|
|
L9_1.x = -2612.792
|
|
L9_1.y = 200.476
|
|
L9_1.z = -4082.569
|
|
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.drop_id = 1000100
|
|
L8_1.pose_id = 101
|
|
L8_1.area_id = 11
|
|
L9_1 = {}
|
|
L9_1.config_id = 52022
|
|
L9_1.monster_id = 20060101
|
|
L10_1 = {}
|
|
L10_1.x = -2608.924
|
|
L10_1.y = 200.0
|
|
L10_1.z = -4084.773
|
|
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.drop_id = 1000100
|
|
L9_1.pose_id = 101
|
|
L9_1.area_id = 11
|
|
L10_1 = {}
|
|
L10_1.config_id = 52023
|
|
L10_1.monster_id = 20060201
|
|
L11_1 = {}
|
|
L11_1.x = -2615.454
|
|
L11_1.y = 200.846
|
|
L11_1.z = -4087.214
|
|
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.drop_id = 1000100
|
|
L10_1.pose_id = 101
|
|
L10_1.area_id = 11
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
L1_1[4] = L5_1
|
|
L1_1[5] = L6_1
|
|
L1_1[6] = L7_1
|
|
L1_1[7] = L8_1
|
|
L1_1[8] = L9_1
|
|
L1_1[9] = L10_1
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 52002
|
|
L2_1.gadget_id = 70330064
|
|
L3_1 = {}
|
|
L3_1.x = -2616.472
|
|
L3_1.y = 208.715
|
|
L3_1.z = -4105.751
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 0.0
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 1
|
|
L2_1.interact_id = 35
|
|
L2_1.area_id = 11
|
|
L3_1 = {}
|
|
L3_1.config_id = 52003
|
|
L3_1.gadget_id = 70290096
|
|
L4_1 = {}
|
|
L4_1.x = -2622.24
|
|
L4_1.y = 203.548
|
|
L4_1.z = -4098.023
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 10.0
|
|
L4_1.y = 0.0
|
|
L4_1.z = 350.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L3_1.isOneoff = true
|
|
L3_1.persistent = true
|
|
L3_1.area_id = 11
|
|
L4_1 = {}
|
|
L4_1.config_id = 52004
|
|
L4_1.gadget_id = 70290096
|
|
L5_1 = {}
|
|
L5_1.x = -2605.634
|
|
L5_1.y = 199.722
|
|
L5_1.z = -4083.82
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 33.0
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L4_1.isOneoff = true
|
|
L4_1.persistent = true
|
|
L4_1.area_id = 11
|
|
L5_1 = {}
|
|
L5_1.config_id = 52005
|
|
L5_1.gadget_id = 70290158
|
|
L6_1 = {}
|
|
L6_1.x = -2614.23
|
|
L6_1.y = 201.051
|
|
L6_1.z = -4086.465
|
|
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.isOneoff = true
|
|
L5_1.persistent = true
|
|
L5_1.area_id = 11
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
L1_1[4] = L5_1
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 52001
|
|
L3_1 = RegionShape
|
|
L3_1 = L3_1.SPHERE
|
|
L2_1.shape = L3_1
|
|
L2_1.radius = 40
|
|
L3_1 = {}
|
|
L3_1.x = -2612.678
|
|
L3_1.y = 200.0
|
|
L3_1.z = -4089.021
|
|
L2_1.pos = L3_1
|
|
L2_1.area_id = 11
|
|
L3_1 = {}
|
|
L3_1.config_id = 52020
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 40
|
|
L4_1 = {}
|
|
L4_1.x = -2612.678
|
|
L4_1.y = 200.0
|
|
L4_1.z = -4089.021
|
|
L3_1.pos = L4_1
|
|
L3_1.area_id = 11
|
|
L4_1 = {}
|
|
L4_1.config_id = 52021
|
|
L5_1 = RegionShape
|
|
L5_1 = L5_1.SPHERE
|
|
L4_1.shape = L5_1
|
|
L4_1.radius = 40
|
|
L5_1 = {}
|
|
L5_1.x = -2612.678
|
|
L5_1.y = 200.0
|
|
L5_1.z = -4089.021
|
|
L4_1.pos = L5_1
|
|
L4_1.area_id = 11
|
|
L5_1 = {}
|
|
L5_1.config_id = 52026
|
|
L6_1 = RegionShape
|
|
L6_1 = L6_1.SPHERE
|
|
L5_1.shape = L6_1
|
|
L5_1.radius = 40
|
|
L6_1 = {}
|
|
L6_1.x = -2612.678
|
|
L6_1.y = 200.0
|
|
L6_1.z = -4089.021
|
|
L5_1.pos = L6_1
|
|
L5_1.area_id = 11
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
L1_1[4] = L5_1
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1052001
|
|
L2_1.name = "ENTER_REGION_52001"
|
|
L3_1 = EventType
|
|
L3_1 = L3_1.EVENT_ENTER_REGION
|
|
L2_1.event = L3_1
|
|
L2_1.source = ""
|
|
L2_1.condition = "condition_EVENT_ENTER_REGION_52001"
|
|
L2_1.action = "action_EVENT_ENTER_REGION_52001"
|
|
L2_1.trigger_count = 0
|
|
L3_1 = {}
|
|
L3_1.config_id = 1052012
|
|
L3_1.name = "GADGET_STATE_CHANGE_52012"
|
|
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_52012"
|
|
L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_52012"
|
|
L3_1.trigger_count = 3
|
|
L3_1.tag = "901"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1052013
|
|
L4_1.name = "VARIABLE_CHANGE_52013"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_VARIABLE_CHANGE
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = "condition_EVENT_VARIABLE_CHANGE_52013"
|
|
L4_1.action = "action_EVENT_VARIABLE_CHANGE_52013"
|
|
L5_1 = {}
|
|
L5_1.config_id = 1052014
|
|
L5_1.name = "ANY_MONSTER_DIE_52014"
|
|
L6_1 = EventType
|
|
L6_1 = L6_1.EVENT_ANY_MONSTER_DIE
|
|
L5_1.event = L6_1
|
|
L5_1.source = ""
|
|
L5_1.condition = "condition_EVENT_ANY_MONSTER_DIE_52014"
|
|
L5_1.action = "action_EVENT_ANY_MONSTER_DIE_52014"
|
|
L6_1 = {}
|
|
L6_1.config_id = 1052016
|
|
L6_1.name = "VARIABLE_CHANGE_52016"
|
|
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_52016"
|
|
L6_1.action = "action_EVENT_VARIABLE_CHANGE_52016"
|
|
L7_1 = {}
|
|
L7_1.config_id = 1052017
|
|
L7_1.name = "VARIABLE_CHANGE_52017"
|
|
L8_1 = EventType
|
|
L8_1 = L8_1.EVENT_VARIABLE_CHANGE
|
|
L7_1.event = L8_1
|
|
L7_1.source = ""
|
|
L7_1.condition = "condition_EVENT_VARIABLE_CHANGE_52017"
|
|
L7_1.action = "action_EVENT_VARIABLE_CHANGE_52017"
|
|
L8_1 = {}
|
|
L8_1.config_id = 1052018
|
|
L8_1.name = "VARIABLE_CHANGE_52018"
|
|
L9_1 = EventType
|
|
L9_1 = L9_1.EVENT_VARIABLE_CHANGE
|
|
L8_1.event = L9_1
|
|
L8_1.source = ""
|
|
L8_1.condition = "condition_EVENT_VARIABLE_CHANGE_52018"
|
|
L8_1.action = "action_EVENT_VARIABLE_CHANGE_52018"
|
|
L9_1 = {}
|
|
L9_1.config_id = 1052019
|
|
L9_1.name = "CHALLENGE_FAIL_52019"
|
|
L10_1 = EventType
|
|
L10_1 = L10_1.EVENT_CHALLENGE_FAIL
|
|
L9_1.event = L10_1
|
|
L9_1.source = "101"
|
|
L9_1.condition = "condition_EVENT_CHALLENGE_FAIL_52019"
|
|
L9_1.action = "action_EVENT_CHALLENGE_FAIL_52019"
|
|
L10_1 = {}
|
|
L10_1.config_id = 1052020
|
|
L10_1.name = "ENTER_REGION_52020"
|
|
L11_1 = EventType
|
|
L11_1 = L11_1.EVENT_ENTER_REGION
|
|
L10_1.event = L11_1
|
|
L10_1.source = ""
|
|
L10_1.condition = "condition_EVENT_ENTER_REGION_52020"
|
|
L10_1.action = "action_EVENT_ENTER_REGION_52020"
|
|
L10_1.trigger_count = 0
|
|
L11_1 = {}
|
|
L11_1.config_id = 1052021
|
|
L11_1.name = "ENTER_REGION_52021"
|
|
L12_1 = EventType
|
|
L12_1 = L12_1.EVENT_ENTER_REGION
|
|
L11_1.event = L12_1
|
|
L11_1.source = ""
|
|
L11_1.condition = "condition_EVENT_ENTER_REGION_52021"
|
|
L11_1.action = "action_EVENT_ENTER_REGION_52021"
|
|
L11_1.trigger_count = 0
|
|
L12_1 = {}
|
|
L12_1.config_id = 1052024
|
|
L12_1.name = "ANY_MONSTER_DIE_52024"
|
|
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_52024"
|
|
L12_1.action = "action_EVENT_ANY_MONSTER_DIE_52024"
|
|
L13_1 = {}
|
|
L13_1.config_id = 1052025
|
|
L13_1.name = "CHALLENGE_FAIL_52025"
|
|
L14_1 = EventType
|
|
L14_1 = L14_1.EVENT_CHALLENGE_FAIL
|
|
L13_1.event = L14_1
|
|
L13_1.source = "101"
|
|
L13_1.condition = "condition_EVENT_CHALLENGE_FAIL_52025"
|
|
L13_1.action = "action_EVENT_CHALLENGE_FAIL_52025"
|
|
L14_1 = {}
|
|
L14_1.config_id = 1052026
|
|
L14_1.name = "ENTER_REGION_52026"
|
|
L15_1 = EventType
|
|
L15_1 = L15_1.EVENT_ENTER_REGION
|
|
L14_1.event = L15_1
|
|
L14_1.source = ""
|
|
L14_1.condition = "condition_EVENT_ENTER_REGION_52026"
|
|
L14_1.action = "action_EVENT_ENTER_REGION_52026"
|
|
L15_1 = {}
|
|
L15_1.config_id = 1052027
|
|
L15_1.name = "ANY_MONSTER_DIE_52027"
|
|
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_52027"
|
|
L15_1.action = "action_EVENT_ANY_MONSTER_DIE_52027"
|
|
L15_1.trigger_count = 9
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
L1_1[4] = L5_1
|
|
L1_1[5] = L6_1
|
|
L1_1[6] = L7_1
|
|
L1_1[7] = L8_1
|
|
L1_1[8] = L9_1
|
|
L1_1[9] = L10_1
|
|
L1_1[10] = L11_1
|
|
L1_1[11] = L12_1
|
|
L1_1[12] = L13_1
|
|
L1_1[13] = L14_1
|
|
L1_1[14] = L15_1
|
|
triggers = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.configId = 1
|
|
L2_1.name = "flag"
|
|
L2_1.value = 0
|
|
L2_1.no_refresh = true
|
|
L3_1 = {}
|
|
L3_1.configId = 2
|
|
L3_1.name = "PuzzleFinish"
|
|
L3_1.value = 0
|
|
L3_1.no_refresh = true
|
|
L4_1 = {}
|
|
L4_1.configId = 3
|
|
L4_1.name = "number"
|
|
L4_1.value = 3
|
|
L4_1.no_refresh = true
|
|
L5_1 = {}
|
|
L5_1.configId = 4
|
|
L5_1.name = "challenge"
|
|
L5_1.value = 0
|
|
L5_1.no_refresh = true
|
|
L6_1 = {}
|
|
L6_1.configId = 5
|
|
L6_1.name = "monster"
|
|
L6_1.value = 9
|
|
L6_1.no_refresh = true
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
L1_1[4] = L5_1
|
|
L1_1[5] = L6_1
|
|
variables = L1_1
|
|
L1_1 = {}
|
|
L1_1.suite = 1
|
|
L1_1.end_suite = 3
|
|
L1_1.rand_suite = false
|
|
init_config = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L4_1 = 52002
|
|
L5_1 = 52003
|
|
L6_1 = 52004
|
|
L7_1 = 52005
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L3_1[3] = L6_1
|
|
L3_1[4] = L7_1
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L4_1 = 52001
|
|
L5_1 = 52020
|
|
L6_1 = 52021
|
|
L7_1 = 52026
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L3_1[3] = L6_1
|
|
L3_1[4] = L7_1
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "ENTER_REGION_52001"
|
|
L5_1 = "GADGET_STATE_CHANGE_52012"
|
|
L6_1 = "VARIABLE_CHANGE_52013"
|
|
L7_1 = "ANY_MONSTER_DIE_52014"
|
|
L8_1 = "VARIABLE_CHANGE_52016"
|
|
L9_1 = "VARIABLE_CHANGE_52017"
|
|
L10_1 = "VARIABLE_CHANGE_52018"
|
|
L11_1 = "CHALLENGE_FAIL_52019"
|
|
L12_1 = "ENTER_REGION_52020"
|
|
L13_1 = "ENTER_REGION_52021"
|
|
L14_1 = "CHALLENGE_FAIL_52025"
|
|
L15_1 = "ENTER_REGION_52026"
|
|
L16_1 = "ANY_MONSTER_DIE_52027"
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L3_1[3] = L6_1
|
|
L3_1[4] = L7_1
|
|
L3_1[5] = L8_1
|
|
L3_1[6] = L9_1
|
|
L3_1[7] = L10_1
|
|
L3_1[8] = L11_1
|
|
L3_1[9] = L12_1
|
|
L3_1[10] = L13_1
|
|
L3_1[11] = L14_1
|
|
L3_1[12] = L15_1
|
|
L3_1[13] = L16_1
|
|
L2_1.triggers = L3_1
|
|
L2_1.rand_weight = 100
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L5_1 = 52006
|
|
L6_1 = 52007
|
|
L7_1 = 52009
|
|
L8_1 = 52010
|
|
L9_1 = 52011
|
|
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.monsters = L4_1
|
|
L4_1 = {}
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "ANY_MONSTER_DIE_52024"
|
|
L4_1[1] = L5_1
|
|
L3_1.triggers = L4_1
|
|
L3_1.rand_weight = 100
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L6_1 = 52008
|
|
L7_1 = 52015
|
|
L8_1 = 52022
|
|
L9_1 = 52023
|
|
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 = {}
|
|
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 = {}
|
|
L5_1.triggers = L6_1
|
|
L5_1.rand_weight = 100
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
L1_1[4] = L5_1
|
|
suites = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = A1_2.param1
|
|
if L2_2 ~= 52001 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_52001 = L1_1
|
|
function L1_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 = "PuzzleFinish"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 0 == L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ExpeditionChallengeEnterRegion
|
|
L3_2 = A0_2
|
|
L4_2 = false
|
|
L2_2(L3_2, L4_2)
|
|
else
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "PuzzleFinish"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if 1 == L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ExpeditionChallengeEnterRegion
|
|
L3_2 = A0_2
|
|
L4_2 = true
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_52001 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 52003 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStart
|
|
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
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
end
|
|
else
|
|
L2_2 = A1_2.param2
|
|
if 52004 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStart
|
|
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
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
end
|
|
else
|
|
L2_2 = A1_2.param2
|
|
if 52005 == L2_2 then
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStart
|
|
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
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_STATE_CHANGE_52012 = L1_1
|
|
function L1_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 = "flag"
|
|
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_GADGET_STATE_CHANGE_52012 = L1_1
|
|
function L1_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 = "flag"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 3 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_VARIABLE_CHANGE_52013 = L1_1
|
|
function L1_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 = "PuzzleFinish"
|
|
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.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133209052
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_VARIABLE_CHANGE_52013 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupMonsterCountByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133209052
|
|
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_ANY_MONSTER_DIE_52014 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.FinishExpeditionChallenge
|
|
L3_2 = A0_2
|
|
L2_2(L3_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GoToGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133209052
|
|
L5_2 = 4
|
|
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_ANY_MONSTER_DIE_52014 = L1_1
|
|
function L1_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 = "flag"
|
|
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_VARIABLE_CHANGE_52016 = L1_1
|
|
function L1_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 = "number"
|
|
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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_VARIABLE_CHANGE_52016 = L1_1
|
|
function L1_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 = "flag"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_VARIABLE_CHANGE_52017 = L1_1
|
|
function L1_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 = "number"
|
|
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_VARIABLE_CHANGE_52017 = L1_1
|
|
function L1_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 = "flag"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 3 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_VARIABLE_CHANGE_52018 = L1_1
|
|
function L1_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 = "number"
|
|
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_VARIABLE_CHANGE_52018 = L1_1
|
|
function L1_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 = "PuzzleFinish"
|
|
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_CHALLENGE_FAIL_52019 = L1_1
|
|
function L1_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 = "challenge"
|
|
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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_CHALLENGE_FAIL_52019 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = A1_2.param1
|
|
if L2_2 ~= 52020 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 = "PuzzleFinish"
|
|
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 = "challenge"
|
|
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_52020 = L1_1
|
|
function L1_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 = nil
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGroupVariableValueByGroup
|
|
L4_2 = A0_2
|
|
L5_2 = "number"
|
|
L6_2 = 133209052
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
i = L3_2
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.CreateFatherChallenge
|
|
L4_2 = A0_2
|
|
L5_2 = 101
|
|
L6_2 = 111175
|
|
L7_2 = 9999
|
|
L8_2 = {}
|
|
L8_2.success = 1
|
|
L8_2.fail = 1
|
|
L8_2.fail_on_wipe = true
|
|
L3_2(L4_2, L5_2, L6_2, L7_2, L8_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.AttachChildChallenge
|
|
L4_2 = A0_2
|
|
L5_2 = 101
|
|
L6_2 = 202
|
|
L7_2 = 111174
|
|
L8_2 = {}
|
|
L9_2 = 7
|
|
L10_2 = 901
|
|
L11_2 = i
|
|
L8_2[1] = L9_2
|
|
L8_2[2] = L10_2
|
|
L8_2[3] = L11_2
|
|
L9_2 = {}
|
|
L10_2 = {}
|
|
L10_2.success = 0
|
|
L10_2.fail = 0
|
|
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 = 101
|
|
L6_2 = 201
|
|
L7_2 = 111173
|
|
L8_2 = {}
|
|
L9_2 = 133209052
|
|
L10_2 = 9
|
|
L8_2[1] = L9_2
|
|
L8_2[2] = L10_2
|
|
L9_2 = {}
|
|
L10_2 = {}
|
|
L10_2.success = 1
|
|
L10_2.fail = 1
|
|
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 = 101
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.SetGroupVariableValue
|
|
L4_2 = A0_2
|
|
L5_2 = "challenge"
|
|
L6_2 = 1
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : set_groupVariable"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ENTER_REGION_52020 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = A1_2.param1
|
|
if L2_2 ~= 52021 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 = "PuzzleFinish"
|
|
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 = "challenge"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ENTER_REGION_52021 = L1_1
|
|
function L1_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 = nil
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGroupVariableValueByGroup
|
|
L4_2 = A0_2
|
|
L5_2 = "monster"
|
|
L6_2 = 133209052
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
j = L3_2
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.CreateFatherChallenge
|
|
L4_2 = A0_2
|
|
L5_2 = 102
|
|
L6_2 = 111175
|
|
L7_2 = 9999
|
|
L8_2 = {}
|
|
L8_2.success = 1
|
|
L8_2.fail = 1
|
|
L8_2.fail_on_wipe = true
|
|
L3_2(L4_2, L5_2, L6_2, L7_2, L8_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.AttachChildChallenge
|
|
L4_2 = A0_2
|
|
L5_2 = 102
|
|
L6_2 = 203
|
|
L7_2 = 111173
|
|
L8_2 = {}
|
|
L9_2 = 133209052
|
|
L10_2 = j
|
|
L8_2[1] = L9_2
|
|
L8_2[2] = L10_2
|
|
L9_2 = {}
|
|
L10_2 = {}
|
|
L10_2.success = 1
|
|
L10_2.fail = 1
|
|
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 = 102
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.AddExtraGroupSuite
|
|
L4_2 = A0_2
|
|
L5_2 = 133209052
|
|
L6_2 = 2
|
|
L3_2(L4_2, L5_2, L6_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ENTER_REGION_52021 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupMonsterCountByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133209052
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_MONSTER_DIE_52024 = L1_1
|
|
function L1_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 = 133209052
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ANY_MONSTER_DIE_52024 = L1_1
|
|
function L1_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 = "PuzzleFinish"
|
|
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_CHALLENGE_FAIL_52025 = L1_1
|
|
function L1_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 = "challenge"
|
|
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_CHALLENGE_FAIL_52025 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = A1_2.param1
|
|
if L2_2 ~= 52026 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_52026 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.MarkPlayerAction
|
|
L3_2 = A0_2
|
|
L4_2 = 7006
|
|
L5_2 = 3
|
|
L6_2 = 1
|
|
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 : mark_playerAction"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_52026 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 52009 ~= L2_2 then
|
|
L2_2 = A1_2.param1
|
|
if 52006 ~= L2_2 then
|
|
L2_2 = A1_2.param1
|
|
if 52007 ~= L2_2 then
|
|
L2_2 = A1_2.param1
|
|
if 52010 ~= L2_2 then
|
|
L2_2 = A1_2.param1
|
|
if 52011 ~= L2_2 then
|
|
L2_2 = A1_2.param1
|
|
if 52008 ~= L2_2 then
|
|
L2_2 = A1_2.param1
|
|
if 52015 ~= L2_2 then
|
|
L2_2 = A1_2.param1
|
|
if 52022 ~= L2_2 then
|
|
L2_2 = A1_2.param1
|
|
if 52023 ~= L2_2 then
|
|
goto lbl_30
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
L2_2 = true
|
|
do return L2_2 end
|
|
::lbl_30::
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_MONSTER_DIE_52027 = L1_1
|
|
function L1_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 = "monster"
|
|
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_52027 = L1_1
|