Grasscutter_Resources/Resources/Scripts/Scene/3/scene3_group133220214.lua
2022-04-29 16:40:51 +02:00

1016 lines
19 KiB
Lua

local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1
L0_1 = {}
L0_1.group_id = 133220214
L1_1 = {}
L1_1.group_id = 133220214
L2_1 = {}
L3_1 = {}
L3_1.config_id = 214002
L3_1.monster_id = 22010401
L4_1 = {}
L4_1.x = -2809.1
L4_1.y = 222.968
L4_1.z = -4389.533
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 191.929
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.drop_id = 1000100
L3_1.disableWander = true
L4_1 = {}
L5_1 = 1401
L4_1[1] = L5_1
L3_1.affix = L4_1
L3_1.isElite = true
L3_1.pose_id = 9013
L3_1.area_id = 11
L2_1[214002] = L3_1
L3_1 = {}
L3_1.config_id = 214003
L3_1.monster_id = 21020201
L4_1 = {}
L4_1.x = -2821.187
L4_1.y = 223.893
L4_1.z = -4404.793
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 25.11
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.drop_id = 1000100
L3_1.disableWander = true
L4_1 = {}
L5_1 = 1401
L4_1[1] = L5_1
L3_1.affix = L4_1
L3_1.isElite = true
L3_1.area_id = 11
L2_1[214003] = L3_1
L3_1 = {}
L3_1.config_id = 214004
L3_1.monster_id = 21010501
L4_1 = {}
L4_1.x = -2810.59
L4_1.y = 225.208
L4_1.z = -4411.652
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 263.918
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.drop_id = 1000100
L3_1.disableWander = true
L4_1 = {}
L5_1 = 1401
L4_1[1] = L5_1
L3_1.affix = L4_1
L3_1.isElite = true
L3_1.pose_id = 32
L3_1.area_id = 11
L2_1[214004] = L3_1
L3_1 = {}
L3_1.config_id = 214005
L3_1.monster_id = 21010301
L4_1 = {}
L4_1.x = -2810.195
L4_1.y = 224.119
L4_1.z = -4403.239
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 351.083
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.drop_id = 1000100
L3_1.disableWander = true
L4_1 = {}
L5_1 = 1401
L4_1[1] = L5_1
L3_1.affix = L4_1
L3_1.isElite = true
L3_1.area_id = 11
L2_1[214005] = L3_1
L3_1 = {}
L3_1.config_id = 214006
L3_1.monster_id = 21010301
L4_1 = {}
L4_1.x = -2811.41
L4_1.y = 222.771
L4_1.z = -4393.738
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 7.957
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.drop_id = 1000100
L3_1.disableWander = true
L4_1 = {}
L5_1 = 1401
L4_1[1] = L5_1
L3_1.affix = L4_1
L3_1.isElite = true
L3_1.pose_id = 9012
L3_1.area_id = 11
L2_1[214006] = L3_1
L3_1 = {}
L3_1.config_id = 214007
L3_1.monster_id = 21011001
L4_1 = {}
L4_1.x = -2824.726
L4_1.y = 223.622
L4_1.z = -4398.218
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 153.933
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.drop_id = 1000100
L3_1.disableWander = true
L4_1 = {}
L5_1 = 1401
L4_1[1] = L5_1
L3_1.affix = L4_1
L3_1.isElite = true
L3_1.pose_id = 32
L3_1.area_id = 11
L2_1[214007] = L3_1
monsters = L2_1
L2_1 = {}
npcs = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 214008
L3_1.gadget_id = 70360166
L4_1 = {}
L4_1.x = -2817.112
L4_1.y = 225.132
L4_1.z = -4413.397
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 0.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.drop_id = 1000100
L3_1.drop_count = 1
L3_1.persistent = true
L3_1.area_id = 11
L2_1[214008] = L3_1
L3_1 = {}
L3_1.config_id = 214009
L3_1.gadget_id = 70360166
L4_1 = {}
L4_1.x = -2829.986
L4_1.y = 223.694
L4_1.z = -4405.582
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 249.449
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.drop_id = 1000100
L3_1.drop_count = 1
L3_1.persistent = true
L3_1.area_id = 11
L2_1[214009] = L3_1
L3_1 = {}
L3_1.config_id = 214010
L3_1.gadget_id = 70360025
L4_1 = {}
L4_1.x = -2783.216
L4_1.y = 224.326
L4_1.z = -4389.408
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 349.859
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.area_id = 11
L2_1[214010] = L3_1
L3_1 = {}
L3_1.config_id = 214011
L3_1.gadget_id = 70350085
L4_1 = {}
L4_1.x = -2783.216
L4_1.y = 225.055
L4_1.z = -4389.408
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 349.859
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.area_id = 11
L2_1[214011] = L3_1
L3_1 = {}
L3_1.config_id = 214015
L3_1.gadget_id = 70300089
L4_1 = {}
L4_1.x = -2817.268
L4_1.y = 225.069
L4_1.z = -4412.438
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 270.044
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.area_id = 11
L2_1[214015] = L3_1
L3_1 = {}
L3_1.config_id = 214018
L3_1.gadget_id = 70220025
L4_1 = {}
L4_1.x = -2823.338
L4_1.y = 224.843
L4_1.z = -4410.275
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 90.0
L4_1.y = 0.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.area_id = 11
L2_1[214018] = L3_1
L3_1 = {}
L3_1.config_id = 214019
L3_1.gadget_id = 70300107
L4_1 = {}
L4_1.x = -2810.466
L4_1.y = 222.814
L4_1.z = -4391.672
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 349.384
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L4_1 = GadgetState
L4_1 = L4_1.GearStart
L3_1.state = L4_1
L3_1.area_id = 11
L2_1[214019] = L3_1
L3_1 = {}
L3_1.config_id = 214035
L3_1.gadget_id = 70300089
L4_1 = {}
L4_1.x = -2830.28
L4_1.y = 223.586
L4_1.z = -4404.768
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 270.044
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.area_id = 11
L2_1[214035] = L3_1
gadgets = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 214024
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 40
L4_1 = {}
L4_1.x = -2815.732
L4_1.y = 223.746
L4_1.z = -4405.073
L3_1.pos = L4_1
L3_1.area_id = 11
L2_1[214024] = L3_1
L3_1 = {}
L3_1.config_id = 214029
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 2
L4_1 = {}
L4_1.x = -2783.216
L4_1.y = 224.105
L4_1.z = -4389.408
L3_1.pos = L4_1
L3_1.area_id = 11
L2_1[214029] = L3_1
regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1214001
L3_1.name = "GROUP_LOAD_214001"
L4_1 = EventType
L4_1 = L4_1.EVENT_GROUP_LOAD
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_GROUP_LOAD_214001"
L3_1.action = "action_EVENT_GROUP_LOAD_214001"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1214024
L4_1.name = "ENTER_REGION_214024"
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_214024"
L4_1.action = "action_EVENT_ENTER_REGION_214024"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1214025
L5_1.name = "ANY_GADGET_DIE_214025"
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_214025"
L5_1.action = ""
L5_1.trigger_count = 0
L5_1.tag = "998"
L6_1 = {}
L6_1.config_id = 1214026
L6_1.name = "ANY_GADGET_DIE_214026"
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_214026"
L6_1.action = ""
L6_1.trigger_count = 0
L6_1.tag = "998"
L7_1 = {}
L7_1.config_id = 1214027
L7_1.name = "CHALLENGE_SUCCESS_214027"
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_214027"
L7_1.trigger_count = 0
L8_1 = {}
L8_1.config_id = 1214028
L8_1.name = "CHALLENGE_FAIL_214028"
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_214028"
L8_1.trigger_count = 0
L9_1 = {}
L9_1.config_id = 1214029
L9_1.name = "ENTER_REGION_214029"
L10_1 = EventType
L10_1 = L10_1.EVENT_ENTER_REGION
L9_1.event = L10_1
L9_1.source = ""
L9_1.condition = "condition_EVENT_ENTER_REGION_214029"
L9_1.action = "action_EVENT_ENTER_REGION_214029"
L9_1.trigger_count = 0
L9_1.tag = "999"
L10_1 = {}
L10_1.config_id = 1214030
L10_1.name = "CHALLENGE_SUCCESS_214030"
L11_1 = EventType
L11_1 = L11_1.EVENT_CHALLENGE_SUCCESS
L10_1.event = L11_1
L10_1.source = "100"
L10_1.condition = ""
L10_1.action = "action_EVENT_CHALLENGE_SUCCESS_214030"
L10_1.trigger_count = 0
L11_1 = {}
L11_1.config_id = 1214033
L11_1.name = "MONSTER_BATTLE_214033"
L12_1 = EventType
L12_1 = L12_1.EVENT_MONSTER_BATTLE
L11_1.event = L12_1
L11_1.source = ""
L11_1.condition = "condition_EVENT_MONSTER_BATTLE_214033"
L11_1.action = "action_EVENT_MONSTER_BATTLE_214033"
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
L2_1[5] = L7_1
L2_1[6] = L8_1
L2_1[7] = L9_1
L2_1[8] = L10_1
L2_1[9] = L11_1
triggers = L2_1
L2_1 = {}
L3_1 = {}
L3_1.configId = 1
L3_1.name = "hasStarted"
L3_1.value = 0
L3_1.no_refresh = false
L2_1[1] = L3_1
variables = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L4_1.config_id = 214012
L4_1.gadget_id = 70220066
L5_1 = {}
L5_1.x = -2826.109
L5_1.y = 224.843
L5_1.z = -4408.47
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.area_id = 11
L5_1 = {}
L5_1.config_id = 214014
L5_1.gadget_id = 70220066
L6_1 = {}
L6_1.x = -2826.524
L6_1.y = 224.843
L6_1.z = -4409.576
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.area_id = 11
L6_1 = {}
L6_1.config_id = 214016
L6_1.gadget_id = 70220065
L7_1 = {}
L7_1.x = -2818.018
L7_1.y = 225.205
L7_1.z = -4414.558
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 307.36
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.area_id = 11
L7_1 = {}
L7_1.config_id = 214020
L7_1.gadget_id = 70220067
L8_1 = {}
L8_1.x = -2829.986
L8_1.y = 223.814
L8_1.z = -4407.288
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 306.536
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.area_id = 11
L8_1 = {}
L8_1.config_id = 214021
L8_1.gadget_id = 70220066
L9_1 = {}
L9_1.x = -2818.704
L9_1.y = 225.094
L9_1.z = -4413.163
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.area_id = 11
L9_1 = {}
L9_1.config_id = 214037
L9_1.gadget_id = 70220065
L10_1 = {}
L10_1.x = -2832.606
L10_1.y = 223.387
L10_1.z = -4405.183
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 263.089
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L9_1.area_id = 11
L10_1 = {}
L10_1.config_id = 214038
L10_1.gadget_id = 70220066
L11_1 = {}
L11_1.x = -2831.625
L11_1.y = 223.613
L11_1.z = -4407.236
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 263.089
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L10_1.area_id = 11
L11_1 = {}
L11_1.config_id = 214039
L11_1.gadget_id = 70220066
L12_1 = {}
L12_1.x = -2831.109
L12_1.y = 223.72
L12_1.z = -4408.055
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 263.089
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L11_1.area_id = 11
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
L2_1.gadgets = L3_1
garbages = L2_1
L2_1 = {}
L2_1.suite = 1
L2_1.end_suite = 4
L2_1.rand_suite = false
init_config = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L5_1 = 214002
L6_1 = 214005
L7_1 = 214006
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 214008
L6_1 = 214009
L7_1 = 214015
L8_1 = 214018
L9_1 = 214019
L10_1 = 214035
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
L3_1.gadgets = L4_1
L4_1 = {}
L5_1 = 214024
L4_1[1] = L5_1
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "GROUP_LOAD_214001"
L6_1 = "ENTER_REGION_214024"
L7_1 = "ANY_GADGET_DIE_214025"
L8_1 = "ANY_GADGET_DIE_214026"
L9_1 = "CHALLENGE_SUCCESS_214027"
L10_1 = "CHALLENGE_FAIL_214028"
L11_1 = "CHALLENGE_SUCCESS_214030"
L12_1 = "MONSTER_BATTLE_214033"
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L4_1[6] = L10_1
L4_1[7] = L11_1
L4_1[8] = L12_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L4_1.monsters = L5_1
L5_1 = {}
L6_1 = 214010
L7_1 = 214011
L5_1[1] = L6_1
L5_1[2] = L7_1
L4_1.gadgets = L5_1
L5_1 = {}
L6_1 = 214029
L5_1[1] = L6_1
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "ENTER_REGION_214029"
L5_1[1] = L6_1
L4_1.triggers = L5_1
L4_1.rand_weight = 0
L5_1 = {}
L6_1 = {}
L7_1 = 214003
L8_1 = 214004
L9_1 = 214007
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, 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_214001 = 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_214001 = 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 ~= 214024 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_214024 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "hasStarted"
L5_2 = 1
L2_2(L3_2, L4_2, L5_2)
L2_2 = ScriptLib
L2_2 = L2_2.CreateFatherChallenge
L3_2 = A0_2
L4_2 = 100
L5_2 = 64
L6_2 = 999999
L7_2 = {}
L7_2.success = 200
L7_2.fail = 100
L7_2.fail_on_wipe = true
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2)
L2_2 = ScriptLib
L2_2 = L2_2.AttachChildChallenge
L3_2 = A0_2
L4_2 = 100
L5_2 = 1001
L6_2 = 65
L7_2 = {}
L8_2 = 2
L9_2 = 998
L10_2 = 2
L7_2[1] = L8_2
L7_2[2] = L9_2
L7_2[3] = L10_2
L8_2 = {}
L9_2 = {}
L9_2.success = 100
L9_2.fail = 100
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
L2_2 = ScriptLib
L2_2 = L2_2.StartFatherChallenge
L3_2 = A0_2
L4_2 = 100
L2_2(L3_2, L4_2)
L2_2 = 0
return L2_2
end
action_EVENT_ENTER_REGION_214024 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 214008 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_214025 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 214009 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_214026 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2
L2_2 = ScriptLib
L2_2 = L2_2.AttachChildChallenge
L3_2 = A0_2
L4_2 = 100
L5_2 = 1002
L6_2 = 66
L7_2 = {}
L8_2 = 4
L9_2 = 999
L10_2 = 1
L7_2[1] = L8_2
L7_2[2] = L9_2
L7_2[3] = L10_2
L8_2 = {}
L9_2 = {}
L9_2.success = 100
L9_2.fail = 100
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
L2_2 = ScriptLib
L2_2 = L2_2.AddExtraGroupSuite
L3_2 = A0_2
L4_2 = L1_1.group_id
L5_2 = 2
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_CHALLENGE_SUCCESS_214027 = 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_214028 = 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 ~= 214029 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_214029 = 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 = 214010
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 = 214011
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_214029 = 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 = 133220214
L5_2 = 4
L2_2 = L2_2(L3_2, L4_2, L5_2)
if 0 ~= L2_2 then
L2_2 = ScriptLib
L2_2 = L2_2.PrintContextLog
L3_2 = A0_2
L4_2 = "@@ LUA_WARNING : goto_groupSuite"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_CHALLENGE_SUCCESS_214030 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "hasStarted"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 1 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_MONSTER_BATTLE_214033 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
L2_2 = {}
L2_2.x = 0
L2_2.y = 0
L2_2.z = 0
L3_2 = ScriptLib
L3_2 = L3_2.ScenePlaySound
L4_2 = A0_2
L5_2 = {}
L5_2.play_pos = L2_2
L5_2.sound_name = "LevelHornSound001"
L5_2.play_type = 1
L5_2.is_broadcast = false
L3_2 = L3_2(L4_2, L5_2)
if 0 ~= L3_2 then
L3_2 = ScriptLib
L3_2 = L3_2.PrintContextLog
L4_2 = A0_2
L5_2 = "@@ LUA_WARNING : active_soundplay"
L3_2(L4_2, L5_2)
L3_2 = -1
return L3_2
end
L3_2 = {}
L3_2.x = -2817.075
L3_2.y = 224.9596
L3_2.z = -4412.117
L4_2 = ScriptLib
L4_2 = L4_2.ShowReminderRadius
L5_2 = A0_2
L6_2 = 400055
L7_2 = L3_2
L8_2 = 60
L4_2 = L4_2(L5_2, L6_2, L7_2, L8_2)
if 0 ~= L4_2 then
L4_2 = ScriptLib
L4_2 = L4_2.PrintContextLog
L5_2 = A0_2
L6_2 = "@@ LUA_WARNING : active_reminder_ui_bypos"
L4_2(L5_2, L6_2)
L4_2 = -1
return L4_2
end
L4_2 = ScriptLib
L4_2 = L4_2.AddExtraGroupSuite
L5_2 = A0_2
L6_2 = 133220214
L7_2 = 3
L4_2(L5_2, L6_2, L7_2)
L4_2 = 0
return L4_2
end
action_EVENT_MONSTER_BATTLE_214033 = L2_1