mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
1125 lines
22 KiB
Lua
1125 lines
22 KiB
Lua
local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1
|
|
L0_1 = {}
|
|
L0_1.group_id = 133213164
|
|
L1_1 = {}
|
|
L1_1.group_id = 133213164
|
|
L1_1.thunder1_id = 164012
|
|
L1_1.thunder2_id = 164013
|
|
L1_1.thunder3_id = 164014
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 164001
|
|
L3_1.monster_id = 21020701
|
|
L4_1 = {}
|
|
L4_1.x = -3862.355
|
|
L4_1.y = 253.252
|
|
L4_1.z = -3190.622
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 122.442
|
|
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.area_id = 12
|
|
L4_1 = {}
|
|
L4_1.config_id = 164003
|
|
L4_1.monster_id = 22010401
|
|
L5_1 = {}
|
|
L5_1.x = -3800.995
|
|
L5_1.y = 202.645
|
|
L5_1.z = -3120.407
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 113.702
|
|
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 = 164004
|
|
L5_1.monster_id = 20010501
|
|
L6_1 = {}
|
|
L6_1.x = -3824.046
|
|
L6_1.y = 247.336
|
|
L6_1.z = -3100.241
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 112.47
|
|
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.climate_area_id = 2
|
|
L5_1.area_id = 12
|
|
L6_1 = {}
|
|
L6_1.config_id = 164005
|
|
L6_1.monster_id = 20010501
|
|
L7_1 = {}
|
|
L7_1.x = -3825.207
|
|
L7_1.y = 248.303
|
|
L7_1.z = -3097.833
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 103.796
|
|
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
|
|
L2_1[1] = L3_1
|
|
L2_1[2] = L4_1
|
|
L2_1[3] = L5_1
|
|
L2_1[4] = L6_1
|
|
monsters = L2_1
|
|
L2_1 = {}
|
|
npcs = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 164002
|
|
L3_1.gadget_id = 70350085
|
|
L4_1 = {}
|
|
L4_1.x = -3824.067
|
|
L4_1.y = 249.856
|
|
L4_1.z = -3099.883
|
|
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 = 164006
|
|
L4_1.gadget_id = 70350085
|
|
L5_1 = {}
|
|
L5_1.x = -3802.939
|
|
L5_1.y = 203.961
|
|
L5_1.z = -3121.184
|
|
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 = 164007
|
|
L5_1.gadget_id = 70350085
|
|
L6_1 = {}
|
|
L6_1.x = -3862.179
|
|
L6_1.y = 254.296
|
|
L6_1.z = -3193.014
|
|
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 = 164008
|
|
L6_1.gadget_id = 70210117
|
|
L7_1 = {}
|
|
L7_1.x = -3824.067
|
|
L7_1.y = 249.298
|
|
L7_1.z = -3099.883
|
|
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 = 164009
|
|
L7_1.gadget_id = 70210117
|
|
L8_1 = {}
|
|
L8_1.x = -3802.939
|
|
L8_1.y = 203.791
|
|
L8_1.z = -3121.184
|
|
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 = 164010
|
|
L8_1.gadget_id = 70210117
|
|
L9_1 = {}
|
|
L9_1.x = -3862.179
|
|
L9_1.y = 253.973
|
|
L9_1.z = -3193.014
|
|
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 = 164012
|
|
L9_1.gadget_id = 70330082
|
|
L10_1 = {}
|
|
L10_1.x = -3822.81
|
|
L10_1.y = 247.529
|
|
L10_1.z = -3099.916
|
|
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 = 164013
|
|
L10_1.gadget_id = 70330082
|
|
L11_1 = {}
|
|
L11_1.x = -3802.939
|
|
L11_1.y = 204.531
|
|
L11_1.z = -3121.184
|
|
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 = 164014
|
|
L11_1.gadget_id = 70330082
|
|
L12_1 = {}
|
|
L12_1.x = -3860.197
|
|
L12_1.y = 255.294
|
|
L12_1.z = -3193.724
|
|
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 = 164027
|
|
L12_1.gadget_id = 70290196
|
|
L13_1 = {}
|
|
L13_1.x = -3833.101
|
|
L13_1.y = 224.181
|
|
L13_1.z = -3175.645
|
|
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 = 164015
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 80
|
|
L4_1 = {}
|
|
L4_1.x = -3813.637
|
|
L4_1.y = 230.202
|
|
L4_1.z = -3166.459
|
|
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 = 1164015
|
|
L3_1.name = "ENTER_REGION_164015"
|
|
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_164015"
|
|
L3_1.action = "action_EVENT_ENTER_REGION_164015"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1164016
|
|
L4_1.name = "ANY_GADGET_DIE_164016"
|
|
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_164016"
|
|
L4_1.action = "action_EVENT_ANY_GADGET_DIE_164016"
|
|
L4_1.trigger_count = 0
|
|
L4_1.tag = "998"
|
|
L5_1 = {}
|
|
L5_1.config_id = 1164017
|
|
L5_1.name = "ANY_GADGET_DIE_164017"
|
|
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_164017"
|
|
L5_1.action = "action_EVENT_ANY_GADGET_DIE_164017"
|
|
L5_1.trigger_count = 0
|
|
L5_1.tag = "998"
|
|
L6_1 = {}
|
|
L6_1.config_id = 1164018
|
|
L6_1.name = "ANY_GADGET_DIE_164018"
|
|
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_164018"
|
|
L6_1.action = "action_EVENT_ANY_GADGET_DIE_164018"
|
|
L6_1.trigger_count = 0
|
|
L6_1.tag = "998"
|
|
L7_1 = {}
|
|
L7_1.config_id = 1164019
|
|
L7_1.name = "CHALLENGE_SUCCESS_164019"
|
|
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_164019"
|
|
L8_1 = {}
|
|
L8_1.config_id = 1164020
|
|
L8_1.name = "CHALLENGE_FAIL_164020"
|
|
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_164020"
|
|
L9_1 = {}
|
|
L9_1.config_id = 1164021
|
|
L9_1.name = "CHALLENGE_SUCCESS_164021"
|
|
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_164021"
|
|
L10_1 = {}
|
|
L10_1.config_id = 1164022
|
|
L10_1.name = "ANY_MONSTER_DIE_164022"
|
|
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_164022"
|
|
L10_1.action = ""
|
|
L10_1.tag = "101"
|
|
L11_1 = {}
|
|
L11_1.config_id = 1164023
|
|
L11_1.name = "ANY_MONSTER_DIE_164023"
|
|
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_164023"
|
|
L11_1.action = ""
|
|
L11_1.tag = "101"
|
|
L12_1 = {}
|
|
L12_1.config_id = 1164024
|
|
L12_1.name = "ANY_MONSTER_DIE_164024"
|
|
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_164024"
|
|
L12_1.action = ""
|
|
L12_1.tag = "102"
|
|
L13_1 = {}
|
|
L13_1.config_id = 1164025
|
|
L13_1.name = "ANY_MONSTER_DIE_164025"
|
|
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_164025"
|
|
L13_1.action = ""
|
|
L13_1.tag = "103"
|
|
L14_1 = {}
|
|
L14_1.config_id = 1164026
|
|
L14_1.name = "GROUP_LOAD_164026"
|
|
L15_1 = EventType
|
|
L15_1 = L15_1.EVENT_GROUP_LOAD
|
|
L14_1.event = L15_1
|
|
L14_1.source = ""
|
|
L14_1.condition = "condition_EVENT_GROUP_LOAD_164026"
|
|
L14_1.action = "action_EVENT_GROUP_LOAD_164026"
|
|
L14_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
|
|
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 = 164011
|
|
L4_1.gadget_id = 70900205
|
|
L5_1 = {}
|
|
L5_1.x = -3833.101
|
|
L5_1.y = 224.181
|
|
L5_1.z = -3175.645
|
|
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 = 164012
|
|
L6_1 = 164013
|
|
L7_1 = 164014
|
|
L8_1 = 164027
|
|
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 = 164015
|
|
L4_1[1] = L5_1
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "ENTER_REGION_164015"
|
|
L6_1 = "ANY_GADGET_DIE_164016"
|
|
L7_1 = "ANY_GADGET_DIE_164017"
|
|
L8_1 = "ANY_GADGET_DIE_164018"
|
|
L9_1 = "CHALLENGE_SUCCESS_164019"
|
|
L10_1 = "CHALLENGE_FAIL_164020"
|
|
L11_1 = "CHALLENGE_SUCCESS_164021"
|
|
L12_1 = "ANY_MONSTER_DIE_164022"
|
|
L13_1 = "ANY_MONSTER_DIE_164023"
|
|
L14_1 = "ANY_MONSTER_DIE_164024"
|
|
L15_1 = "ANY_MONSTER_DIE_164025"
|
|
L16_1 = "GROUP_LOAD_164026"
|
|
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
|
|
L3_1.triggers = L4_1
|
|
L3_1.rand_weight = 100
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L6_1 = 164004
|
|
L7_1 = 164005
|
|
L5_1[1] = L6_1
|
|
L5_1[2] = L7_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 = 164003
|
|
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 = 164001
|
|
L7_1[1] = L8_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 = 164002
|
|
L11_1 = 164006
|
|
L12_1 = 164007
|
|
L13_1 = 164008
|
|
L14_1 = 164009
|
|
L15_1 = 164010
|
|
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 ~= 164015 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_164015 = 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_164015 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 164008 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_GADGET_DIE_164016 = 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 = 2
|
|
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 = 164002
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ANY_GADGET_DIE_164016 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 164009 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_GADGET_DIE_164017 = 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 = 164006
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ANY_GADGET_DIE_164017 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 164010 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_GADGET_DIE_164018 = 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 = 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.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 = 164007
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ANY_GADGET_DIE_164018 = 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 = 133213164
|
|
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_164019 = 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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_CHALLENGE_FAIL_164020 = 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_164021 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 164004 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_MONSTER_DIE_164022 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 164005 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_MONSTER_DIE_164023 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 164003 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_MONSTER_DIE_164024 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 164001 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_MONSTER_DIE_164025 = 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_164026 = 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_164026 = L2_1
|