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

1176 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
L0_1 = {}
L0_1.group_id = 133213162
L1_1 = {}
L1_1.group_id = 133213162
L1_1.thunder1_id = 162011
L1_1.thunder2_id = 162012
L1_1.thunder3_id = 162013
L2_1 = {}
L3_1 = {}
L3_1.config_id = 162001
L3_1.monster_id = 20010501
L4_1 = {}
L4_1.x = -3630.057
L4_1.y = 244.804
L4_1.z = -3244.148
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 353.381
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 = 162002
L4_1.monster_id = 20010501
L5_1 = {}
L5_1.x = -3635.061
L5_1.y = 245.78
L5_1.z = -3244.444
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 18.952
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 = 162003
L5_1.monster_id = 26010301
L6_1 = {}
L6_1.x = -3606.434
L6_1.y = 237.387
L6_1.z = -3227.458
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 274.281
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.area_id = 12
L6_1 = {}
L6_1.config_id = 162005
L6_1.monster_id = 20010601
L7_1 = {}
L7_1.x = -3629.015
L7_1.y = 259.512
L7_1.z = -3272.389
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 7.161
L7_1.y = 65.448
L7_1.z = 3.658
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.area_id = 12
L7_1 = {}
L7_1.config_id = 162006
L7_1.monster_id = 20010701
L8_1 = {}
L8_1.x = -3627.517
L8_1.y = 259.249
L8_1.z = -3276.899
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 39.259
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L7_1.drop_id = 1000100
L8_1 = {}
L9_1 = 1401
L8_1[1] = L9_1
L7_1.affix = L8_1
L7_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
monsters = L2_1
L2_1 = {}
npcs = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 162004
L3_1.gadget_id = 70350085
L4_1 = {}
L4_1.x = -3608.231
L4_1.y = 238.076
L4_1.z = -3225.198
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 = 162007
L4_1.gadget_id = 70210117
L5_1 = {}
L5_1.x = -3608.231
L5_1.y = 237.817
L5_1.z = -3225.198
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 = 162008
L5_1.gadget_id = 70210117
L6_1 = {}
L6_1.x = -3632.241
L6_1.y = 246.032
L6_1.z = -3243.408
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 = 162009
L6_1.gadget_id = 70210117
L7_1 = {}
L7_1.x = -3627.606
L7_1.y = 260.38
L7_1.z = -3274.065
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 = 162011
L7_1.gadget_id = 70330082
L8_1 = {}
L8_1.x = -3608.231
L8_1.y = 238.896
L8_1.z = -3225.198
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 = 162012
L8_1.gadget_id = 70330082
L9_1 = {}
L9_1.x = -3632.241
L9_1.y = 247.835
L9_1.z = -3243.407
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 = 162013
L9_1.gadget_id = 70330082
L10_1 = {}
L10_1.x = -3625.821
L10_1.y = 261.563
L10_1.z = -3273.597
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 = 162021
L10_1.gadget_id = 70350085
L11_1 = {}
L11_1.x = -3632.241
L11_1.y = 246.286
L11_1.z = -3243.408
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 = 162022
L11_1.gadget_id = 70350085
L12_1 = {}
L12_1.x = -3627.606
L12_1.y = 260.672
L12_1.z = -3274.065
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 = 162029
L12_1.gadget_id = 70290196
L13_1 = {}
L13_1.x = -3597.684
L13_1.y = 233.515
L13_1.z = -3237.39
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 = 162014
L4_1 = RegionShape
L4_1 = L4_1.SPHERE
L3_1.shape = L4_1
L3_1.radius = 50
L4_1 = {}
L4_1.x = -3615.718
L4_1.y = 244.154
L4_1.z = -3248.378
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 = 1162014
L3_1.name = "ENTER_REGION_162014"
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_162014"
L3_1.action = "action_EVENT_ENTER_REGION_162014"
L4_1 = {}
L4_1.config_id = 1162015
L4_1.name = "ANY_GADGET_DIE_162015"
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_162015"
L4_1.action = "action_EVENT_ANY_GADGET_DIE_162015"
L4_1.trigger_count = 0
L4_1.tag = "998"
L5_1 = {}
L5_1.config_id = 1162016
L5_1.name = "ANY_GADGET_DIE_162016"
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_162016"
L5_1.action = "action_EVENT_ANY_GADGET_DIE_162016"
L5_1.trigger_count = 0
L5_1.tag = "998"
L6_1 = {}
L6_1.config_id = 1162017
L6_1.name = "ANY_GADGET_DIE_162017"
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_162017"
L6_1.action = "action_EVENT_ANY_GADGET_DIE_162017"
L6_1.trigger_count = 0
L6_1.tag = "998"
L7_1 = {}
L7_1.config_id = 1162018
L7_1.name = "CHALLENGE_SUCCESS_162018"
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_162018"
L8_1 = {}
L8_1.config_id = 1162019
L8_1.name = "CHALLENGE_FAIL_162019"
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_162019"
L9_1 = {}
L9_1.config_id = 1162020
L9_1.name = "CHALLENGE_SUCCESS_162020"
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_162020"
L10_1 = {}
L10_1.config_id = 1162023
L10_1.name = "ANY_MONSTER_DIE_162023"
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_162023"
L10_1.action = ""
L10_1.tag = "102"
L11_1 = {}
L11_1.config_id = 1162024
L11_1.name = "ANY_MONSTER_DIE_162024"
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_162024"
L11_1.action = ""
L11_1.tag = "102"
L12_1 = {}
L12_1.config_id = 1162025
L12_1.name = "ANY_MONSTER_DIE_162025"
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_162025"
L12_1.action = ""
L12_1.tag = "101"
L13_1 = {}
L13_1.config_id = 1162026
L13_1.name = "ANY_MONSTER_DIE_162026"
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_162026"
L13_1.action = ""
L13_1.tag = "103"
L14_1 = {}
L14_1.config_id = 1162027
L14_1.name = "ANY_MONSTER_DIE_162027"
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_162027"
L14_1.action = ""
L14_1.tag = "103"
L15_1 = {}
L15_1.config_id = 1162028
L15_1.name = "GROUP_LOAD_162028"
L16_1 = EventType
L16_1 = L16_1.EVENT_GROUP_LOAD
L15_1.event = L16_1
L15_1.source = ""
L15_1.condition = "condition_EVENT_GROUP_LOAD_162028"
L15_1.action = "action_EVENT_GROUP_LOAD_162028"
L15_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
L2_1[13] = L15_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 = 162010
L4_1.gadget_id = 70900205
L5_1 = {}
L5_1.x = -3597.684
L5_1.y = 233.515
L5_1.z = -3237.39
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 = 162011
L6_1 = 162012
L7_1 = 162013
L8_1 = 162029
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 = 162014
L4_1[1] = L5_1
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ENTER_REGION_162014"
L6_1 = "ANY_GADGET_DIE_162015"
L7_1 = "ANY_GADGET_DIE_162016"
L8_1 = "ANY_GADGET_DIE_162017"
L9_1 = "CHALLENGE_SUCCESS_162018"
L10_1 = "CHALLENGE_FAIL_162019"
L11_1 = "CHALLENGE_SUCCESS_162020"
L12_1 = "ANY_MONSTER_DIE_162023"
L13_1 = "ANY_MONSTER_DIE_162024"
L14_1 = "ANY_MONSTER_DIE_162025"
L15_1 = "ANY_MONSTER_DIE_162026"
L16_1 = "ANY_MONSTER_DIE_162027"
L17_1 = "GROUP_LOAD_162028"
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
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L6_1 = 162001
L7_1 = 162002
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 = 162003
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 = 162005
L9_1 = 162006
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 = 162004
L11_1 = 162007
L12_1 = 162008
L13_1 = 162009
L14_1 = 162021
L15_1 = 162022
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 ~= 162014 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_162014 = 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_162014 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 162007 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_162015 = 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 = 1002
L7_2 = 69
L8_2 = {}
L9_2 = 1
L10_2 = 101
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.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 = 162004
L3_2(L4_2, L5_2)
L3_2 = 0
return L3_2
end
action_EVENT_ANY_GADGET_DIE_162015 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 162008 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_162016 = 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 = 1003
L7_2 = 69
L8_2 = {}
L9_2 = 1
L10_2 = 102
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.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 = 162021
L3_2(L4_2, L5_2)
L3_2 = 0
return L3_2
end
action_EVENT_ANY_GADGET_DIE_162016 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 162009 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_162017 = 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 = 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.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 = 162022
L3_2(L4_2, L5_2)
L3_2 = 0
return L3_2
end
action_EVENT_ANY_GADGET_DIE_162017 = 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 = 133213162
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_162018 = 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_162019 = 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_162020 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 162001 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_162023 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 162002 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_162024 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 162003 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_162025 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 162005 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_162026 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 162006 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_162027 = 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_162028 = 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_162028 = L2_1