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

1206 lines
24 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, L17_1, L18_1
L0_1 = {}
L0_1.group_id = 133210009
L1_1 = {}
L1_1.group_id = 133210009
L1_1.thunder1_id = 9011
L1_1.thunder2_id = 9012
L1_1.thunder3_id = 9013
L1_1.guide_point1_id = 9014
L1_1.guide_point2_id = 9015
L1_1.guide_point3_id = 9016
L1_1.monster1_sum = 2
L1_1.monster2_sum = 2
L1_1.monster3_sum = 2
L2_1 = {}
L3_1 = {}
L3_1.config_id = 9001
L3_1.monster_id = 20010401
L4_1 = {}
L4_1.x = -3917.334
L4_1.y = 118.976
L4_1.z = -851.735
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 89.927
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.area_id = 17
L4_1 = {}
L4_1.config_id = 9002
L4_1.monster_id = 20010401
L5_1 = {}
L5_1.x = -3914.654
L5_1.y = 117.791
L5_1.z = -844.412
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 119.013
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.drop_id = 1000100
L4_1.disableWander = true
L5_1 = {}
L6_1 = 1401
L5_1[1] = L6_1
L4_1.affix = L5_1
L4_1.area_id = 17
L5_1 = {}
L5_1.config_id = 9003
L5_1.monster_id = 20011101
L6_1 = {}
L6_1.x = -3898.271
L6_1.y = 108.079
L6_1.z = -799.562
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 264.062
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.drop_id = 1000100
L5_1.disableWander = true
L6_1 = {}
L7_1 = 1401
L6_1[1] = L7_1
L5_1.affix = L6_1
L5_1.area_id = 17
L6_1 = {}
L6_1.config_id = 9004
L6_1.monster_id = 20011101
L7_1 = {}
L7_1.x = -3900.683
L7_1.y = 108.721
L7_1.z = -805.299
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 301.426
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.drop_id = 1000100
L6_1.disableWander = true
L7_1 = {}
L8_1 = 1401
L7_1[1] = L8_1
L6_1.affix = L7_1
L6_1.area_id = 17
L7_1 = {}
L7_1.config_id = 9005
L7_1.monster_id = 20010901
L8_1 = {}
L8_1.x = -3910.913
L8_1.y = 107.882
L8_1.z = -758.268
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 7.161
L8_1.y = 151.478
L8_1.z = 3.658
L7_1.rot = L8_1
L7_1.level = 1
L7_1.drop_id = 1000100
L7_1.disableWander = true
L8_1 = {}
L9_1 = 1401
L8_1[1] = L9_1
L7_1.affix = L8_1
L7_1.area_id = 17
L8_1 = {}
L8_1.config_id = 9006
L8_1.monster_id = 20010901
L9_1 = {}
L9_1.x = -3903.837
L9_1.y = 107.5
L9_1.z = -756.847
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 185.053
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L8_1.drop_id = 1000100
L8_1.disableWander = true
L9_1 = {}
L10_1 = 1401
L9_1[1] = L10_1
L8_1.affix = L9_1
L8_1.area_id = 17
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
monsters = L2_1
L2_1 = {}
npcs = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 9007
L3_1.gadget_id = 70210117
L4_1 = {}
L4_1.x = -3915.005
L4_1.y = 119.963
L4_1.z = -847.905
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 = 17
L4_1 = {}
L4_1.config_id = 9008
L4_1.gadget_id = 70210117
L5_1 = {}
L5_1.x = -3900.292
L5_1.y = 109.601
L5_1.z = -803.035
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 = 17
L5_1 = {}
L5_1.config_id = 9009
L5_1.gadget_id = 70210117
L6_1 = {}
L6_1.x = -3907.62
L6_1.y = 109.141
L6_1.z = -756.09
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 0.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.persistent = true
L5_1.area_id = 17
L6_1 = {}
L6_1.config_id = 9010
L6_1.gadget_id = 70290196
L7_1 = {}
L7_1.x = -3904.525
L7_1.y = 105.967
L7_1.z = -816.298
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.area_id = 17
L7_1 = {}
L7_1.config_id = 9011
L7_1.gadget_id = 70330082
L8_1 = {}
L8_1.x = -3915.005
L8_1.y = 118.585
L8_1.z = -847.905
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 = 17
L8_1 = {}
L8_1.config_id = 9012
L8_1.gadget_id = 70330082
L9_1 = {}
L9_1.x = -3900.292
L9_1.y = 108.724
L9_1.z = -803.035
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 = 17
L9_1 = {}
L9_1.config_id = 9013
L9_1.gadget_id = 70330082
L10_1 = {}
L10_1.x = -3907.581
L10_1.y = 107.866
L10_1.z = -756.094
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 = 17
L10_1 = {}
L10_1.config_id = 9014
L10_1.gadget_id = 70350085
L11_1 = {}
L11_1.x = -3915.005
L11_1.y = 121.101
L11_1.z = -847.905
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 = 17
L11_1 = {}
L11_1.config_id = 9015
L11_1.gadget_id = 70350085
L12_1 = {}
L12_1.x = -3900.292
L12_1.y = 110.545
L12_1.z = -803.035
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 = 17
L12_1 = {}
L12_1.config_id = 9016
L12_1.gadget_id = 70350085
L13_1 = {}
L13_1.x = -3907.62
L13_1.y = 110.616
L13_1.z = -756.09
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.persistent = true
L12_1.area_id = 17
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 = 9017
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 60
L4_1 = {}
L4_1.x = -3909.917
L4_1.y = 107.5
L4_1.z = -820.584
L3_1.pos = L4_1
L3_1.area_id = 17
L2_1[1] = L3_1
regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1009017
L3_1.name = "ENTER_REGION_9017"
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_9017"
L3_1.action = "action_EVENT_ENTER_REGION_9017"
L4_1 = {}
L4_1.config_id = 1009018
L4_1.name = "ANY_GADGET_DIE_9018"
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_9018"
L4_1.action = "action_EVENT_ANY_GADGET_DIE_9018"
L4_1.trigger_count = 0
L4_1.tag = "998"
L5_1 = {}
L5_1.config_id = 1009019
L5_1.name = "ANY_GADGET_DIE_9019"
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_9019"
L5_1.action = "action_EVENT_ANY_GADGET_DIE_9019"
L5_1.trigger_count = 0
L5_1.tag = "998"
L6_1 = {}
L6_1.config_id = 1009020
L6_1.name = "ANY_GADGET_DIE_9020"
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_9020"
L6_1.action = "action_EVENT_ANY_GADGET_DIE_9020"
L6_1.trigger_count = 0
L6_1.tag = "998"
L7_1 = {}
L7_1.config_id = 1009021
L7_1.name = "CHALLENGE_SUCCESS_9021"
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_9021"
L8_1 = {}
L8_1.config_id = 1009022
L8_1.name = "CHALLENGE_FAIL_9022"
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_9022"
L9_1 = {}
L9_1.config_id = 1009023
L9_1.name = "CHALLENGE_SUCCESS_9023"
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_9023"
L10_1 = {}
L10_1.config_id = 1009024
L10_1.name = "GROUP_LOAD_9024"
L11_1 = EventType
L11_1 = L11_1.EVENT_GROUP_LOAD
L10_1.event = L11_1
L10_1.source = ""
L10_1.condition = "condition_EVENT_GROUP_LOAD_9024"
L10_1.action = "action_EVENT_GROUP_LOAD_9024"
L11_1 = {}
L11_1.config_id = 1009025
L11_1.name = "ANY_MONSTER_DIE_9025"
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_9025"
L11_1.action = ""
L11_1.trigger_count = 0
L11_1.tag = "101"
L12_1 = {}
L12_1.config_id = 1009026
L12_1.name = "ANY_MONSTER_DIE_9026"
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_9026"
L12_1.action = ""
L12_1.trigger_count = 0
L12_1.tag = "101"
L13_1 = {}
L13_1.config_id = 1009027
L13_1.name = "ANY_MONSTER_DIE_9027"
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_9027"
L13_1.action = ""
L13_1.trigger_count = 0
L13_1.tag = "102"
L14_1 = {}
L14_1.config_id = 1009028
L14_1.name = "ANY_MONSTER_DIE_9028"
L15_1 = EventType
L15_1 = L15_1.EVENT_ANY_MONSTER_DIE
L14_1.event = L15_1
L14_1.source = ""
L14_1.condition = "condition_EVENT_ANY_MONSTER_DIE_9028"
L14_1.action = ""
L14_1.trigger_count = 0
L14_1.tag = "102"
L15_1 = {}
L15_1.config_id = 1009029
L15_1.name = "ANY_MONSTER_DIE_9029"
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_9029"
L15_1.action = ""
L15_1.trigger_count = 0
L15_1.tag = "103"
L16_1 = {}
L16_1.config_id = 1009030
L16_1.name = "ANY_MONSTER_DIE_9030"
L17_1 = EventType
L17_1 = L17_1.EVENT_ANY_MONSTER_DIE
L16_1.event = L17_1
L16_1.source = ""
L16_1.condition = "condition_EVENT_ANY_MONSTER_DIE_9030"
L16_1.action = ""
L16_1.trigger_count = 0
L16_1.tag = "103"
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
L2_1[13] = L15_1
L2_1[14] = L16_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 = 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 = 9010
L6_1 = 9011
L7_1 = 9012
L8_1 = 9013
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 = 9017
L4_1[1] = L5_1
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ENTER_REGION_9017"
L6_1 = "ANY_GADGET_DIE_9018"
L7_1 = "ANY_GADGET_DIE_9019"
L8_1 = "ANY_GADGET_DIE_9020"
L9_1 = "CHALLENGE_SUCCESS_9021"
L10_1 = "CHALLENGE_FAIL_9022"
L11_1 = "CHALLENGE_SUCCESS_9023"
L12_1 = "GROUP_LOAD_9024"
L13_1 = "ANY_MONSTER_DIE_9025"
L14_1 = "ANY_MONSTER_DIE_9026"
L15_1 = "ANY_MONSTER_DIE_9027"
L16_1 = "ANY_MONSTER_DIE_9028"
L17_1 = "ANY_MONSTER_DIE_9029"
L18_1 = "ANY_MONSTER_DIE_9030"
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
L4_1[13] = L17_1
L4_1[14] = L18_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L6_1 = 9001
L7_1 = 9002
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 = 9003
L8_1 = 9004
L6_1[1] = L7_1
L6_1[2] = L8_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 = 9005
L9_1 = 9006
L7_1[1] = L8_1
L7_1[2] = L9_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 = 9007
L11_1 = 9008
L12_1 = 9009
L13_1 = 9014
L14_1 = 9015
L15_1 = 9016
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 ~= 9017 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_9017 = 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_9017 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 9007 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_9018 = 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 = L1_1.monster1_sum
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 = {}
L6_2 = L1_1.guide_point1_id
L5_2.config_id = L6_2
L3_2(L4_2, L5_2)
L3_2 = 0
return L3_2
end
action_EVENT_ANY_GADGET_DIE_9018 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 9008 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_9019 = 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 = L1_1.monster2_sum
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 = {}
L6_2 = L1_1.guide_point2_id
L5_2.config_id = L6_2
L3_2(L4_2, L5_2)
L3_2 = 0
return L3_2
end
action_EVENT_ANY_GADGET_DIE_9019 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 9009 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_9020 = 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 = L1_1.monster3_sum
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 = {}
L6_2 = L1_1.guide_point3_id
L5_2.config_id = L6_2
L3_2(L4_2, L5_2)
L3_2 = 0
return L3_2
end
action_EVENT_ANY_GADGET_DIE_9020 = 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 = 133210009
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_9021 = 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.RemoveExtraGroupSuite
L3_2 = A0_2
L4_2 = L1_1.group_id
L5_2 = 6
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_9022 = 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_9023 = 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_9024 = 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_9024 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 9001 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_9025 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 9002 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_9026 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 9003 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_9027 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 9004 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_9028 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 9005 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_9029 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 9006 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_9030 = L2_1