mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
1373 lines
27 KiB
Lua
1373 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 = 133211015
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 15001
|
|
L2_1.monster_id = 20060101
|
|
L3_1 = {}
|
|
L3_1.x = -3735.855
|
|
L3_1.y = 235.796
|
|
L3_1.z = -2254.892
|
|
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 = 13
|
|
L3_1 = {}
|
|
L3_1.config_id = 15002
|
|
L3_1.monster_id = 20060101
|
|
L4_1 = {}
|
|
L4_1.x = -3735.473
|
|
L4_1.y = 235.796
|
|
L4_1.z = -2258.277
|
|
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 = 13
|
|
L4_1 = {}
|
|
L4_1.config_id = 15003
|
|
L4_1.monster_id = 20060101
|
|
L5_1 = {}
|
|
L5_1.x = -3738.889
|
|
L5_1.y = 235.796
|
|
L5_1.z = -2256.615
|
|
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 = 13
|
|
L5_1 = {}
|
|
L5_1.config_id = 15004
|
|
L5_1.monster_id = 20060201
|
|
L6_1 = {}
|
|
L6_1.x = -3733.938
|
|
L6_1.y = 236.165
|
|
L6_1.z = -2264.933
|
|
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 = 13
|
|
L6_1 = {}
|
|
L6_1.config_id = 15005
|
|
L6_1.monster_id = 20060201
|
|
L7_1 = {}
|
|
L7_1.x = -3732.876
|
|
L7_1.y = 235.914
|
|
L7_1.z = -2250.767
|
|
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 = 13
|
|
L7_1 = {}
|
|
L7_1.config_id = 15006
|
|
L7_1.monster_id = 20060201
|
|
L8_1 = {}
|
|
L8_1.x = -3728.698
|
|
L8_1.y = 236.548
|
|
L8_1.z = -2249.883
|
|
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 = 13
|
|
L8_1 = {}
|
|
L8_1.config_id = 15020
|
|
L8_1.monster_id = 20060101
|
|
L9_1 = {}
|
|
L9_1.x = -3738.889
|
|
L9_1.y = 235.8
|
|
L9_1.z = -2258.79
|
|
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 = 13
|
|
L9_1 = {}
|
|
L9_1.config_id = 15021
|
|
L9_1.monster_id = 20060201
|
|
L10_1 = {}
|
|
L10_1.x = -3733.937
|
|
L10_1.y = 236.124
|
|
L10_1.z = -2267.111
|
|
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 = 13
|
|
L10_1 = {}
|
|
L10_1.config_id = 15023
|
|
L10_1.monster_id = 20060101
|
|
L11_1 = {}
|
|
L11_1.x = -3739.187
|
|
L11_1.y = 235.8
|
|
L11_1.z = -2261.196
|
|
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 = 13
|
|
L11_1 = {}
|
|
L11_1.config_id = 15024
|
|
L11_1.monster_id = 20060201
|
|
L12_1 = {}
|
|
L12_1.x = -3734.235
|
|
L12_1.y = 236.124
|
|
L12_1.z = -2269.517
|
|
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.drop_id = 1000100
|
|
L11_1.pose_id = 101
|
|
L11_1.area_id = 13
|
|
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
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 15007
|
|
L2_1.gadget_id = 70330064
|
|
L3_1 = {}
|
|
L3_1.x = -3733.576
|
|
L3_1.y = 236.076
|
|
L3_1.z = -2246.581
|
|
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 = 13
|
|
L3_1 = {}
|
|
L3_1.config_id = 15008
|
|
L3_1.gadget_id = 70290096
|
|
L4_1 = {}
|
|
L4_1.x = -3734.564
|
|
L4_1.y = 236.049
|
|
L4_1.z = -2267.339
|
|
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.isOneoff = true
|
|
L3_1.persistent = true
|
|
L3_1.area_id = 13
|
|
L4_1 = {}
|
|
L4_1.config_id = 15009
|
|
L4_1.gadget_id = 70290096
|
|
L5_1 = {}
|
|
L5_1.x = -3760.718
|
|
L5_1.y = 236.441
|
|
L5_1.z = -2274.134
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 7.604
|
|
L5_1.y = 13.641
|
|
L5_1.z = 354.114
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L4_1.isOneoff = true
|
|
L4_1.persistent = true
|
|
L4_1.area_id = 13
|
|
L5_1 = {}
|
|
L5_1.config_id = 15010
|
|
L5_1.gadget_id = 70290096
|
|
L6_1 = {}
|
|
L6_1.x = -3723.111
|
|
L6_1.y = 239.508
|
|
L6_1.z = -2251.054
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 90.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 = 13
|
|
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 = 15011
|
|
L3_1 = RegionShape
|
|
L3_1 = L3_1.SPHERE
|
|
L2_1.shape = L3_1
|
|
L2_1.radius = 40
|
|
L3_1 = {}
|
|
L3_1.x = -3742.643
|
|
L3_1.y = 235.796
|
|
L3_1.z = -2262.857
|
|
L2_1.pos = L3_1
|
|
L2_1.area_id = 13
|
|
L3_1 = {}
|
|
L3_1.config_id = 15015
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 40
|
|
L4_1 = {}
|
|
L4_1.x = -3742.643
|
|
L4_1.y = 235.796
|
|
L4_1.z = -2262.857
|
|
L3_1.pos = L4_1
|
|
L3_1.area_id = 13
|
|
L4_1 = {}
|
|
L4_1.config_id = 15022
|
|
L5_1 = RegionShape
|
|
L5_1 = L5_1.SPHERE
|
|
L4_1.shape = L5_1
|
|
L4_1.radius = 40
|
|
L5_1 = {}
|
|
L5_1.x = -3742.643
|
|
L5_1.y = 235.796
|
|
L5_1.z = -2262.857
|
|
L4_1.pos = L5_1
|
|
L4_1.area_id = 13
|
|
L5_1 = {}
|
|
L5_1.config_id = 15027
|
|
L6_1 = RegionShape
|
|
L6_1 = L6_1.SPHERE
|
|
L5_1.shape = L6_1
|
|
L5_1.radius = 40
|
|
L6_1 = {}
|
|
L6_1.x = -3742.643
|
|
L6_1.y = 235.796
|
|
L6_1.z = -2262.857
|
|
L5_1.pos = L6_1
|
|
L5_1.area_id = 13
|
|
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 = 1015011
|
|
L2_1.name = "ENTER_REGION_15011"
|
|
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_15011"
|
|
L2_1.action = "action_EVENT_ENTER_REGION_15011"
|
|
L2_1.trigger_count = 0
|
|
L3_1 = {}
|
|
L3_1.config_id = 1015012
|
|
L3_1.name = "GADGET_STATE_CHANGE_15012"
|
|
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_15012"
|
|
L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_15012"
|
|
L3_1.trigger_count = 3
|
|
L3_1.tag = "901"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1015013
|
|
L4_1.name = "VARIABLE_CHANGE_15013"
|
|
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_15013"
|
|
L4_1.action = "action_EVENT_VARIABLE_CHANGE_15013"
|
|
L5_1 = {}
|
|
L5_1.config_id = 1015014
|
|
L5_1.name = "ANY_MONSTER_DIE_15014"
|
|
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_15014"
|
|
L5_1.action = "action_EVENT_ANY_MONSTER_DIE_15014"
|
|
L6_1 = {}
|
|
L6_1.config_id = 1015015
|
|
L6_1.name = "ENTER_REGION_15015"
|
|
L7_1 = EventType
|
|
L7_1 = L7_1.EVENT_ENTER_REGION
|
|
L6_1.event = L7_1
|
|
L6_1.source = ""
|
|
L6_1.condition = "condition_EVENT_ENTER_REGION_15015"
|
|
L6_1.action = "action_EVENT_ENTER_REGION_15015"
|
|
L6_1.trigger_count = 0
|
|
L7_1 = {}
|
|
L7_1.config_id = 1015016
|
|
L7_1.name = "VARIABLE_CHANGE_15016"
|
|
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_15016"
|
|
L7_1.action = "action_EVENT_VARIABLE_CHANGE_15016"
|
|
L8_1 = {}
|
|
L8_1.config_id = 1015017
|
|
L8_1.name = "VARIABLE_CHANGE_15017"
|
|
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_15017"
|
|
L8_1.action = "action_EVENT_VARIABLE_CHANGE_15017"
|
|
L9_1 = {}
|
|
L9_1.config_id = 1015018
|
|
L9_1.name = "VARIABLE_CHANGE_15018"
|
|
L10_1 = EventType
|
|
L10_1 = L10_1.EVENT_VARIABLE_CHANGE
|
|
L9_1.event = L10_1
|
|
L9_1.source = ""
|
|
L9_1.condition = "condition_EVENT_VARIABLE_CHANGE_15018"
|
|
L9_1.action = "action_EVENT_VARIABLE_CHANGE_15018"
|
|
L10_1 = {}
|
|
L10_1.config_id = 1015019
|
|
L10_1.name = "CHALLENGE_FAIL_15019"
|
|
L11_1 = EventType
|
|
L11_1 = L11_1.EVENT_CHALLENGE_FAIL
|
|
L10_1.event = L11_1
|
|
L10_1.source = "101"
|
|
L10_1.condition = "condition_EVENT_CHALLENGE_FAIL_15019"
|
|
L10_1.action = "action_EVENT_CHALLENGE_FAIL_15019"
|
|
L11_1 = {}
|
|
L11_1.config_id = 1015022
|
|
L11_1.name = "ENTER_REGION_15022"
|
|
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_15022"
|
|
L11_1.action = "action_EVENT_ENTER_REGION_15022"
|
|
L11_1.trigger_count = 0
|
|
L12_1 = {}
|
|
L12_1.config_id = 1015025
|
|
L12_1.name = "ANY_MONSTER_DIE_15025"
|
|
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_15025"
|
|
L12_1.action = "action_EVENT_ANY_MONSTER_DIE_15025"
|
|
L13_1 = {}
|
|
L13_1.config_id = 1015026
|
|
L13_1.name = "CHALLENGE_FAIL_15026"
|
|
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_15026"
|
|
L13_1.action = "action_EVENT_CHALLENGE_FAIL_15026"
|
|
L14_1 = {}
|
|
L14_1.config_id = 1015027
|
|
L14_1.name = "ENTER_REGION_15027"
|
|
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_15027"
|
|
L14_1.action = "action_EVENT_ENTER_REGION_15027"
|
|
L15_1 = {}
|
|
L15_1.config_id = 1015028
|
|
L15_1.name = "ANY_MONSTER_DIE_15028"
|
|
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_15028"
|
|
L15_1.action = "action_EVENT_ANY_MONSTER_DIE_15028"
|
|
L15_1.trigger_count = 10
|
|
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 = 10
|
|
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 = 4
|
|
L1_1.rand_suite = false
|
|
init_config = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L4_1 = 15007
|
|
L5_1 = 15008
|
|
L6_1 = 15009
|
|
L7_1 = 15010
|
|
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 = 15011
|
|
L5_1 = 15015
|
|
L6_1 = 15022
|
|
L7_1 = 15027
|
|
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_15011"
|
|
L5_1 = "GADGET_STATE_CHANGE_15012"
|
|
L6_1 = "VARIABLE_CHANGE_15013"
|
|
L7_1 = "ANY_MONSTER_DIE_15014"
|
|
L8_1 = "ENTER_REGION_15015"
|
|
L9_1 = "VARIABLE_CHANGE_15016"
|
|
L10_1 = "VARIABLE_CHANGE_15017"
|
|
L11_1 = "VARIABLE_CHANGE_15018"
|
|
L12_1 = "CHALLENGE_FAIL_15019"
|
|
L13_1 = "ENTER_REGION_15022"
|
|
L14_1 = "CHALLENGE_FAIL_15026"
|
|
L15_1 = "ENTER_REGION_15027"
|
|
L16_1 = "ANY_MONSTER_DIE_15028"
|
|
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 = 15001
|
|
L6_1 = 15002
|
|
L7_1 = 15003
|
|
L8_1 = 15004
|
|
L9_1 = 15005
|
|
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_15025"
|
|
L4_1[1] = L5_1
|
|
L3_1.triggers = L4_1
|
|
L3_1.rand_weight = 100
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L6_1 = 15006
|
|
L7_1 = 15020
|
|
L8_1 = 15021
|
|
L9_1 = 15023
|
|
L10_1 = 15024
|
|
L5_1[1] = L6_1
|
|
L5_1[2] = L7_1
|
|
L5_1[3] = L8_1
|
|
L5_1[4] = L9_1
|
|
L5_1[5] = L10_1
|
|
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 ~= 15011 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_15011 = 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_15011 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 15008 == 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 15009 == 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 15010 == 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_15012 = 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_15012 = 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_15013 = 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 = 133211015
|
|
L5_2 = 2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_VARIABLE_CHANGE_15013 = 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 = 133211015
|
|
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_15014 = 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 = 133211015
|
|
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_15014 = 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 ~= 15015 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_15015 = 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 = 133211015
|
|
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 = 133211015
|
|
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 = 133211015
|
|
L6_2 = 2
|
|
L3_2(L4_2, L5_2, L6_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ENTER_REGION_15015 = 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_15016 = 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_15016 = 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_15017 = 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_15017 = 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_15018 = 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_15018 = 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_15019 = 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_15019 = 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 ~= 15022 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_15022 = 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 = 133211015
|
|
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 = 133211015
|
|
L10_2 = 10
|
|
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_15022 = 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 = 133211015
|
|
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_15025 = 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 = 133211015
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ANY_MONSTER_DIE_15025 = 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_15026 = 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_15026 = 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 ~= 15027 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_15027 = 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 = 70006
|
|
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_15027 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 15001 ~= L2_2 then
|
|
L2_2 = A1_2.param1
|
|
if 15002 ~= L2_2 then
|
|
L2_2 = A1_2.param1
|
|
if 15003 ~= L2_2 then
|
|
L2_2 = A1_2.param1
|
|
if 15004 ~= L2_2 then
|
|
L2_2 = A1_2.param1
|
|
if 15005 ~= L2_2 then
|
|
L2_2 = A1_2.param1
|
|
if 15006 ~= L2_2 then
|
|
L2_2 = A1_2.param1
|
|
if 15020 ~= L2_2 then
|
|
L2_2 = A1_2.param1
|
|
if 15021 ~= L2_2 then
|
|
L2_2 = A1_2.param1
|
|
if 15023 ~= L2_2 then
|
|
L2_2 = A1_2.param1
|
|
if 15024 ~= L2_2 then
|
|
goto lbl_33
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
L2_2 = true
|
|
do return L2_2 end
|
|
::lbl_33::
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_MONSTER_DIE_15028 = 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_15028 = L1_1
|