mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
858 lines
16 KiB
Lua
858 lines
16 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 111101094
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.x = 2153.553
|
|
L3_1.y = 217.2468
|
|
L3_1.z = -1402.285
|
|
L2_1.pos = L3_1
|
|
L2_1.radius = 2
|
|
L3_1 = {}
|
|
L3_1.x = 0
|
|
L3_1.y = 196.7968
|
|
L3_1.z = 0
|
|
L2_1.rot = L3_1
|
|
L1_1.RevivePoint = L2_1
|
|
L1_1.group_id = 111101094
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 94006
|
|
L3_1.monster_id = 21010701
|
|
L4_1 = {}
|
|
L4_1.x = 2195.709
|
|
L4_1.y = 212.353
|
|
L4_1.z = -1478.69
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 12.865
|
|
L4_1.y = 279.999
|
|
L4_1.z = 2.543
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L3_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
|
|
L4_1 = {}
|
|
L5_1 = 1403
|
|
L6_1 = 1405
|
|
L7_1 = 1407
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L3_1.affix = L4_1
|
|
L3_1.isElite = true
|
|
L2_1[94006] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 94008
|
|
L3_1.monster_id = 21011002
|
|
L4_1 = {}
|
|
L4_1.x = 2184.225
|
|
L4_1.y = 212.768
|
|
L4_1.z = -1477.651
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 96.705
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L3_1.drop_id = 1000100
|
|
L4_1 = {}
|
|
L5_1 = 1403
|
|
L6_1 = 1407
|
|
L7_1 = 1405
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L3_1.affix = L4_1
|
|
L3_1.isElite = true
|
|
L3_1.pose_id = 32
|
|
L2_1[94008] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 94009
|
|
L3_1.monster_id = 21020101
|
|
L4_1 = {}
|
|
L4_1.x = 2189.752
|
|
L4_1.y = 212.66
|
|
L4_1.z = -1483.322
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 268.578
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L3_1.drop_id = 1000100
|
|
L4_1 = {}
|
|
L5_1 = 1403
|
|
L6_1 = 1407
|
|
L7_1 = 1405
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L3_1.affix = L4_1
|
|
L3_1.isElite = true
|
|
L3_1.pose_id = 401
|
|
L2_1[94009] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 94014
|
|
L3_1.monster_id = 21030203
|
|
L4_1 = {}
|
|
L4_1.x = 2193.244
|
|
L4_1.y = 212.782
|
|
L4_1.z = -1485.749
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 12.865
|
|
L4_1.y = 284.567
|
|
L4_1.z = 2.543
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L3_1.drop_tag = "\228\184\152\228\184\152\232\144\168\230\187\161"
|
|
L4_1 = {}
|
|
L5_1 = 1403
|
|
L6_1 = 1405
|
|
L7_1 = 1407
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L3_1.affix = L4_1
|
|
L3_1.isElite = true
|
|
L2_1[94014] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 94015
|
|
L3_1.monster_id = 21010501
|
|
L4_1 = {}
|
|
L4_1.x = 2173.595
|
|
L4_1.y = 221.599
|
|
L4_1.z = -1482.334
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 2.726
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L3_1.drop_id = 1000100
|
|
L4_1 = {}
|
|
L5_1 = 1403
|
|
L6_1 = 1407
|
|
L7_1 = 1405
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L3_1.affix = L4_1
|
|
L3_1.isElite = true
|
|
L3_1.pose_id = 32
|
|
L2_1[94015] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 94039
|
|
L3_1.monster_id = 21010301
|
|
L4_1 = {}
|
|
L4_1.x = 2179.654
|
|
L4_1.y = 213.788
|
|
L4_1.z = -1480.41
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 331.378
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L3_1.drop_id = 1000100
|
|
L4_1 = {}
|
|
L5_1 = 1403
|
|
L6_1 = 1407
|
|
L7_1 = 1405
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L3_1.affix = L4_1
|
|
L3_1.isElite = true
|
|
L2_1[94039] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 94040
|
|
L3_1.monster_id = 21010301
|
|
L4_1 = {}
|
|
L4_1.x = 2191.115
|
|
L4_1.y = 212.501
|
|
L4_1.z = -1472.931
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 239.426
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L3_1.drop_id = 1000100
|
|
L4_1 = {}
|
|
L5_1 = 1403
|
|
L6_1 = 1407
|
|
L7_1 = 1405
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L3_1.affix = L4_1
|
|
L3_1.isElite = true
|
|
L2_1[94040] = L3_1
|
|
monsters = L2_1
|
|
L2_1 = {}
|
|
npcs = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 94023
|
|
L3_1.gadget_id = 70360166
|
|
L4_1 = {}
|
|
L4_1.x = 2209.82
|
|
L4_1.y = 213.8
|
|
L4_1.z = -1487.222
|
|
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
|
|
L2_1[94023] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 94024
|
|
L3_1.gadget_id = 70360166
|
|
L4_1 = {}
|
|
L4_1.x = 2195.732
|
|
L4_1.y = 212.329
|
|
L4_1.z = -1472.175
|
|
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
|
|
L2_1[94024] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 94093
|
|
L3_1.gadget_id = 70360025
|
|
L4_1 = {}
|
|
L4_1.x = 2162.032
|
|
L4_1.y = 221.631
|
|
L4_1.z = -1384.395
|
|
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
|
|
L2_1[94093] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 94094
|
|
L3_1.gadget_id = 70350085
|
|
L4_1 = {}
|
|
L4_1.x = 2162.032
|
|
L4_1.y = 222.507
|
|
L4_1.z = -1384.395
|
|
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
|
|
L2_1[94094] = L3_1
|
|
gadgets = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 94041
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 80
|
|
L4_1 = {}
|
|
L4_1.x = 2211.472
|
|
L4_1.y = 213.802
|
|
L4_1.z = -1481.959
|
|
L3_1.pos = L4_1
|
|
L2_1[94041] = L3_1
|
|
L3_1 = {}
|
|
L3_1.config_id = 94095
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 2
|
|
L4_1 = {}
|
|
L4_1.x = 2162.032
|
|
L4_1.y = 221.166
|
|
L4_1.z = -1384.395
|
|
L3_1.pos = L4_1
|
|
L2_1[94095] = L3_1
|
|
regions = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 1094020
|
|
L3_1.name = "GADGET_STATE_CHANGE_94020"
|
|
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_94020"
|
|
L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_94020"
|
|
L3_1.trigger_count = 0
|
|
L4_1 = {}
|
|
L4_1.config_id = 1094041
|
|
L4_1.name = "ENTER_REGION_94041"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_ENTER_REGION
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = "condition_EVENT_ENTER_REGION_94041"
|
|
L4_1.action = "action_EVENT_ENTER_REGION_94041"
|
|
L4_1.trigger_count = 0
|
|
L5_1 = {}
|
|
L5_1.config_id = 1094042
|
|
L5_1.name = "ANY_GADGET_DIE_94042"
|
|
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_94042"
|
|
L5_1.action = ""
|
|
L5_1.trigger_count = 0
|
|
L5_1.tag = "998"
|
|
L6_1 = {}
|
|
L6_1.config_id = 1094043
|
|
L6_1.name = "ANY_GADGET_DIE_94043"
|
|
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_94043"
|
|
L6_1.action = ""
|
|
L6_1.trigger_count = 0
|
|
L6_1.tag = "998"
|
|
L7_1 = {}
|
|
L7_1.config_id = 1094044
|
|
L7_1.name = "CHALLENGE_SUCCESS_94044"
|
|
L8_1 = EventType
|
|
L8_1 = L8_1.EVENT_CHALLENGE_SUCCESS
|
|
L7_1.event = L8_1
|
|
L7_1.source = "1001"
|
|
L7_1.condition = ""
|
|
L7_1.action = "action_EVENT_CHALLENGE_SUCCESS_94044"
|
|
L7_1.trigger_count = 0
|
|
L8_1 = {}
|
|
L8_1.config_id = 1094045
|
|
L8_1.name = "CHALLENGE_FAIL_94045"
|
|
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_94045"
|
|
L8_1.trigger_count = 0
|
|
L9_1 = {}
|
|
L9_1.config_id = 1094046
|
|
L9_1.name = "GADGET_STATE_CHANGE_94046"
|
|
L10_1 = EventType
|
|
L10_1 = L10_1.EVENT_GADGET_STATE_CHANGE
|
|
L9_1.event = L10_1
|
|
L9_1.source = ""
|
|
L9_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_94046"
|
|
L9_1.action = "action_EVENT_GADGET_STATE_CHANGE_94046"
|
|
L9_1.trigger_count = 0
|
|
L10_1 = {}
|
|
L10_1.config_id = 1094047
|
|
L10_1.name = "MONSTER_BATTLE_94047"
|
|
L11_1 = EventType
|
|
L11_1 = L11_1.EVENT_MONSTER_BATTLE
|
|
L10_1.event = L11_1
|
|
L10_1.source = ""
|
|
L10_1.condition = ""
|
|
L10_1.action = "action_EVENT_MONSTER_BATTLE_94047"
|
|
L11_1 = {}
|
|
L11_1.config_id = 1094095
|
|
L11_1.name = "ENTER_REGION_94095"
|
|
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_94095"
|
|
L11_1.action = "action_EVENT_ENTER_REGION_94095"
|
|
L11_1.trigger_count = 0
|
|
L11_1.tag = "999"
|
|
L12_1 = {}
|
|
L12_1.config_id = 1094097
|
|
L12_1.name = "CHALLENGE_SUCCESS_94097"
|
|
L13_1 = EventType
|
|
L13_1 = L13_1.EVENT_CHALLENGE_SUCCESS
|
|
L12_1.event = L13_1
|
|
L12_1.source = "100"
|
|
L12_1.condition = ""
|
|
L12_1.action = "action_EVENT_CHALLENGE_SUCCESS_94097"
|
|
L12_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
|
|
triggers = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.configId = 1
|
|
L3_1.name = "hasStarted"
|
|
L3_1.value = 0
|
|
L3_1.no_refresh = true
|
|
L2_1[1] = L3_1
|
|
variables = L2_1
|
|
L2_1 = {}
|
|
L2_1.suite = 1
|
|
L2_1.end_suite = 3
|
|
L2_1.rand_suite = false
|
|
init_config = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L5_1 = 94009
|
|
L6_1 = 94015
|
|
L7_1 = 94039
|
|
L8_1 = 94040
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L4_1[3] = L7_1
|
|
L4_1[4] = L8_1
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 94023
|
|
L6_1 = 94024
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 94041
|
|
L4_1[1] = L5_1
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "GADGET_STATE_CHANGE_94020"
|
|
L6_1 = "ENTER_REGION_94041"
|
|
L7_1 = "ANY_GADGET_DIE_94042"
|
|
L8_1 = "ANY_GADGET_DIE_94043"
|
|
L9_1 = "CHALLENGE_SUCCESS_94044"
|
|
L10_1 = "CHALLENGE_FAIL_94045"
|
|
L11_1 = "GADGET_STATE_CHANGE_94046"
|
|
L12_1 = "MONSTER_BATTLE_94047"
|
|
L13_1 = "CHALLENGE_SUCCESS_94097"
|
|
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
|
|
L3_1.triggers = L4_1
|
|
L3_1.rand_weight = 100
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L4_1.monsters = L5_1
|
|
L5_1 = {}
|
|
L6_1 = 94093
|
|
L7_1 = 94094
|
|
L5_1[1] = L6_1
|
|
L5_1[2] = L7_1
|
|
L4_1.gadgets = L5_1
|
|
L5_1 = {}
|
|
L6_1 = 94095
|
|
L5_1[1] = L6_1
|
|
L4_1.regions = L5_1
|
|
L5_1 = {}
|
|
L6_1 = "ENTER_REGION_94095"
|
|
L5_1[1] = L6_1
|
|
L4_1.triggers = L5_1
|
|
L4_1.rand_weight = 0
|
|
L5_1 = {}
|
|
L6_1 = {}
|
|
L7_1 = 94006
|
|
L8_1 = 94008
|
|
L9_1 = 94014
|
|
L6_1[1] = L7_1
|
|
L6_1[2] = L8_1
|
|
L6_1[3] = L9_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
|
|
L2_2 = A1_2.param2
|
|
if 94023 == 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
|
|
goto lbl_16
|
|
end
|
|
end
|
|
end
|
|
L2_2 = false
|
|
do return L2_2 end
|
|
::lbl_16::
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_STATE_CHANGE_94020 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
|
|
L2_2 = {}
|
|
L2_2.x = 2209.82
|
|
L2_2.y = 213.8002
|
|
L2_2.z = -1487.222
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.ShowReminderRadius
|
|
L4_2 = A0_2
|
|
L5_2 = 400032
|
|
L6_2 = L2_2
|
|
L7_2 = 5
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : active_reminder_ui_bypos"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_GADGET_STATE_CHANGE_94020 = 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 ~= 94041 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_94041 = 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 = 600
|
|
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_94041 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 94023 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_GADGET_DIE_94042 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 94024 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_GADGET_DIE_94043 = 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 = 4
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_CHALLENGE_SUCCESS_94044 = 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_94045 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = A1_2.param2
|
|
if 94024 == 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
|
|
goto lbl_16
|
|
end
|
|
end
|
|
end
|
|
L2_2 = false
|
|
do return L2_2 end
|
|
::lbl_16::
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_STATE_CHANGE_94046 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
|
|
L2_2 = {}
|
|
L2_2.x = 2195.732
|
|
L2_2.y = 212.3285
|
|
L2_2.z = -1472.175
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.ShowReminderRadius
|
|
L4_2 = A0_2
|
|
L5_2 = 400032
|
|
L6_2 = L2_2
|
|
L7_2 = 5
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
|
|
if 0 ~= L3_2 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.PrintContextLog
|
|
L4_2 = A0_2
|
|
L5_2 = "@@ LUA_WARNING : active_reminder_ui_bypos"
|
|
L3_2(L4_2, L5_2)
|
|
L3_2 = -1
|
|
return L3_2
|
|
end
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_GADGET_STATE_CHANGE_94046 = 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.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 111101094
|
|
L5_2 = 3
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_MONSTER_BATTLE_94047 = 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 ~= 94095 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_94095 = 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 = 94093
|
|
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 = 94094
|
|
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_94095 = 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.GoToGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 111101094
|
|
L5_2 = 3
|
|
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_94097 = L2_1
|