mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
793 lines
16 KiB
Lua
793 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 111101095
|
|
L1_1 = {}
|
|
L1_1.group_id = 111101095
|
|
L1_1.thunder1_id = 95019
|
|
L1_1.thunder2_id = 95020
|
|
L1_1.thunder3_id = 95021
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 95008
|
|
L3_1.monster_id = 21010201
|
|
L4_1 = {}
|
|
L4_1.x = 2219.908
|
|
L4_1.y = 234.748
|
|
L4_1.z = -1321.063
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 224.506
|
|
L4_1.z = 0.0
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L3_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
|
|
L4_1 = {}
|
|
L4_1.config_id = 95009
|
|
L4_1.monster_id = 21010201
|
|
L5_1 = {}
|
|
L5_1.x = 2209.978
|
|
L5_1.y = 236.673
|
|
L5_1.z = -1319.127
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 0.0
|
|
L5_1.y = 196.43
|
|
L5_1.z = 0.0
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L4_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
|
|
L5_1 = {}
|
|
L5_1.config_id = 95010
|
|
L5_1.monster_id = 21010301
|
|
L6_1 = {}
|
|
L6_1.x = 2208.706
|
|
L6_1.y = 236.661
|
|
L6_1.z = -1312.891
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 219.384
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 1
|
|
L5_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
|
|
L6_1 = {}
|
|
L6_1.config_id = 95011
|
|
L6_1.monster_id = 21010301
|
|
L7_1 = {}
|
|
L7_1.x = 2200.676
|
|
L7_1.y = 235.094
|
|
L7_1.z = -1307.245
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 196.43
|
|
L7_1.z = 0.0
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L6_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
|
|
L7_1 = {}
|
|
L7_1.config_id = 95012
|
|
L7_1.monster_id = 20010501
|
|
L8_1 = {}
|
|
L8_1.x = 2188.128
|
|
L8_1.y = 235.734
|
|
L8_1.z = -1313.011
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 7.161
|
|
L8_1.y = 207.15
|
|
L8_1.z = 3.658
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 1
|
|
L7_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
|
|
L8_1 = {}
|
|
L8_1.config_id = 95013
|
|
L8_1.monster_id = 20010501
|
|
L9_1 = {}
|
|
L9_1.x = 2183.861
|
|
L9_1.y = 236.88
|
|
L9_1.z = -1321.22
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 131.889
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 1
|
|
L8_1.drop_tag = "\229\143\178\232\142\177\229\167\134"
|
|
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 = 95001
|
|
L3_1.gadget_id = 70210112
|
|
L4_1 = {}
|
|
L4_1.x = 2213.26
|
|
L4_1.y = 237.008
|
|
L4_1.z = -1320.25
|
|
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
|
|
L4_1 = {}
|
|
L4_1.config_id = 95002
|
|
L4_1.gadget_id = 70210112
|
|
L5_1 = {}
|
|
L5_1.x = 2203.261
|
|
L5_1.y = 237.008
|
|
L5_1.z = -1313.439
|
|
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
|
|
L5_1 = {}
|
|
L5_1.config_id = 95003
|
|
L5_1.gadget_id = 70210112
|
|
L6_1 = {}
|
|
L6_1.x = 2187.672
|
|
L6_1.y = 237.387
|
|
L6_1.z = -1319.433
|
|
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
|
|
L6_1 = {}
|
|
L6_1.config_id = 95018
|
|
L6_1.gadget_id = 70900205
|
|
L7_1 = {}
|
|
L7_1.x = 2203.261
|
|
L7_1.y = 234.694
|
|
L7_1.z = -1313.439
|
|
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
|
|
L7_1 = {}
|
|
L7_1.config_id = 95019
|
|
L7_1.gadget_id = 70710291
|
|
L8_1 = {}
|
|
L8_1.x = 2213.26
|
|
L8_1.y = 237.008
|
|
L8_1.z = -1320.25
|
|
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
|
|
L8_1 = {}
|
|
L8_1.config_id = 95020
|
|
L8_1.gadget_id = 70710291
|
|
L9_1 = {}
|
|
L9_1.x = 2203.261
|
|
L9_1.y = 237.008
|
|
L9_1.z = -1313.439
|
|
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
|
|
L9_1 = {}
|
|
L9_1.config_id = 95021
|
|
L9_1.gadget_id = 70710291
|
|
L10_1 = {}
|
|
L10_1.x = 2187.672
|
|
L10_1.y = 237.387
|
|
L10_1.z = -1319.433
|
|
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
|
|
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
|
|
gadgets = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 95004
|
|
L4_1 = RegionShape
|
|
L4_1 = L4_1.SPHERE
|
|
L3_1.shape = L4_1
|
|
L3_1.radius = 30
|
|
L4_1 = {}
|
|
L4_1.x = 2191.725
|
|
L4_1.y = 236.227
|
|
L4_1.z = -1315.411
|
|
L3_1.pos = L4_1
|
|
L2_1[1] = L3_1
|
|
regions = L2_1
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L3_1.config_id = 1095004
|
|
L3_1.name = "ENTER_REGION_95004"
|
|
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_95004"
|
|
L3_1.action = "action_EVENT_ENTER_REGION_95004"
|
|
L4_1 = {}
|
|
L4_1.config_id = 1095005
|
|
L4_1.name = "ANY_GADGET_DIE_95005"
|
|
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_95005"
|
|
L4_1.action = "action_EVENT_ANY_GADGET_DIE_95005"
|
|
L4_1.trigger_count = 0
|
|
L4_1.tag = "998"
|
|
L5_1 = {}
|
|
L5_1.config_id = 1095006
|
|
L5_1.name = "ANY_GADGET_DIE_95006"
|
|
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_95006"
|
|
L5_1.action = "action_EVENT_ANY_GADGET_DIE_95006"
|
|
L5_1.trigger_count = 0
|
|
L5_1.tag = "998"
|
|
L6_1 = {}
|
|
L6_1.config_id = 1095007
|
|
L6_1.name = "ANY_GADGET_DIE_95007"
|
|
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_95007"
|
|
L6_1.action = "action_EVENT_ANY_GADGET_DIE_95007"
|
|
L6_1.trigger_count = 0
|
|
L6_1.tag = "998"
|
|
L7_1 = {}
|
|
L7_1.config_id = 1095014
|
|
L7_1.name = "CHALLENGE_SUCCESS_95014"
|
|
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 = ""
|
|
L8_1 = {}
|
|
L8_1.config_id = 1095015
|
|
L8_1.name = "CHALLENGE_FAIL_95015"
|
|
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_95015"
|
|
L9_1 = {}
|
|
L9_1.config_id = 1095017
|
|
L9_1.name = "CHALLENGE_SUCCESS_95017"
|
|
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_95017"
|
|
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
|
|
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 = 95001
|
|
L6_1 = 95002
|
|
L7_1 = 95003
|
|
L8_1 = 95018
|
|
L9_1 = 95019
|
|
L10_1 = 95020
|
|
L11_1 = 95021
|
|
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
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 95004
|
|
L4_1[1] = L5_1
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "ENTER_REGION_95004"
|
|
L6_1 = "ANY_GADGET_DIE_95005"
|
|
L7_1 = "ANY_GADGET_DIE_95006"
|
|
L8_1 = "ANY_GADGET_DIE_95007"
|
|
L9_1 = "CHALLENGE_SUCCESS_95014"
|
|
L10_1 = "CHALLENGE_FAIL_95015"
|
|
L11_1 = "CHALLENGE_SUCCESS_95017"
|
|
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
|
|
L3_1.triggers = L4_1
|
|
L3_1.rand_weight = 100
|
|
L4_1 = {}
|
|
L5_1 = {}
|
|
L6_1 = 95008
|
|
L7_1 = 95009
|
|
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 = 95010
|
|
L8_1 = 95011
|
|
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 = 95012
|
|
L9_1 = 95013
|
|
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
|
|
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
|
|
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 ~= 95004 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_95004 = 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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_95004 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 95001 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_GADGET_DIE_95005 = 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 = 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 = L4_2(L5_2)
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_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 = 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)
|
|
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 = L1_1.group_id
|
|
L10_2 = 2
|
|
L8_2[1] = L9_2
|
|
L8_2[2] = L10_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.tunder1_id
|
|
L7_2 = 201
|
|
L3_2(L4_2, L5_2, L6_2, L7_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 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ANY_GADGET_DIE_95005 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 95002 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_GADGET_DIE_95006 = 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 = 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 = L4_2(L5_2)
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_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 = 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)
|
|
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 = L1_1.group_id
|
|
L10_2 = 2
|
|
L8_2[1] = L9_2
|
|
L8_2[2] = L10_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.tunder2_id
|
|
L7_2 = 201
|
|
L3_2(L4_2, L5_2, L6_2, L7_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 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ANY_GADGET_DIE_95006 = L2_1
|
|
function L2_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 95003 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_GADGET_DIE_95007 = 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 = 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 = L4_2(L5_2)
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_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 = 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)
|
|
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 = L1_1.group_id
|
|
L10_2 = 2
|
|
L8_2[1] = L9_2
|
|
L8_2[2] = L10_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.tunder3_id
|
|
L7_2 = 201
|
|
L3_2(L4_2, L5_2, L6_2, L7_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 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_ANY_GADGET_DIE_95007 = 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_95015 = 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_95017 = L2_1
|