mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
2201 lines
60 KiB
Lua
2201 lines
60 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, L19_1
|
|
L0_1 = {}
|
|
L0_1.group_id = 133220353
|
|
function L1_1(A0_2)
|
|
local L1_2, L2_2, L3_2, L4_2, L5_2
|
|
L1_2 = ScriptLib
|
|
L1_2 = L1_2.GetGroupVariableValue
|
|
L2_2 = A0_2
|
|
L3_2 = "beHitTimes"
|
|
L1_2 = L1_2(L2_2, L3_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ChangeGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "beHitTimes"
|
|
L5_2 = 1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "ShogunChallengeFailed BeHitTime = "
|
|
L5_2 = L1_2
|
|
L4_2 = L4_2 .. L5_2
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
ShogunChallengeBeHit = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 353012
|
|
L2_1.monster_id = 20011201
|
|
L3_1 = {}
|
|
L3_1.x = -2681.971
|
|
L3_1.y = 219.425
|
|
L3_1.z = -4245.632
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 0.0
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 1
|
|
L2_1.drop_id = 1000100
|
|
L2_1.area_id = 11
|
|
L1_1[353012] = L2_1
|
|
L2_1 = {}
|
|
L2_1.config_id = 353013
|
|
L2_1.monster_id = 20011201
|
|
L3_1 = {}
|
|
L3_1.x = -2689.932
|
|
L3_1.y = 218.5
|
|
L3_1.z = -4242.408
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 42.16
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 1
|
|
L2_1.drop_id = 1000100
|
|
L2_1.area_id = 11
|
|
L1_1[353013] = L2_1
|
|
L2_1 = {}
|
|
L2_1.config_id = 353014
|
|
L2_1.monster_id = 20011301
|
|
L3_1 = {}
|
|
L3_1.x = -2686.947
|
|
L3_1.y = 219.713
|
|
L3_1.z = -4246.658
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 25.49
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 1
|
|
L2_1.drop_id = 1000100
|
|
L2_1.area_id = 11
|
|
L1_1[353014] = L2_1
|
|
L2_1 = {}
|
|
L2_1.config_id = 353015
|
|
L2_1.monster_id = 26010201
|
|
L3_1 = {}
|
|
L3_1.x = -2679.615
|
|
L3_1.y = 220.004
|
|
L3_1.z = -4248.776
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 0.0
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 1
|
|
L2_1.drop_id = 1000100
|
|
L2_1.area_id = 11
|
|
L1_1[353015] = L2_1
|
|
L2_1 = {}
|
|
L2_1.config_id = 353016
|
|
L2_1.monster_id = 26010201
|
|
L3_1 = {}
|
|
L3_1.x = -2693.499
|
|
L3_1.y = 218.78
|
|
L3_1.z = -4242.837
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 44.38
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 1
|
|
L2_1.drop_id = 1000100
|
|
L2_1.area_id = 11
|
|
L1_1[353016] = L2_1
|
|
L2_1 = {}
|
|
L2_1.config_id = 353017
|
|
L2_1.monster_id = 21010601
|
|
L3_1 = {}
|
|
L3_1.x = -2683.589
|
|
L3_1.y = 218.483
|
|
L3_1.z = -4228.196
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 182.7
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 1
|
|
L2_1.drop_id = 1000100
|
|
L2_1.area_id = 11
|
|
L1_1[353017] = L2_1
|
|
L2_1 = {}
|
|
L2_1.config_id = 353018
|
|
L2_1.monster_id = 21010601
|
|
L3_1 = {}
|
|
L3_1.x = -2673.735
|
|
L3_1.y = 217.728
|
|
L3_1.z = -4233.906
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 236.27
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 1
|
|
L2_1.drop_id = 1000100
|
|
L2_1.area_id = 11
|
|
L1_1[353018] = L2_1
|
|
L2_1 = {}
|
|
L2_1.config_id = 353019
|
|
L2_1.monster_id = 21020101
|
|
L3_1 = {}
|
|
L3_1.x = -2684.257
|
|
L3_1.y = 218.532
|
|
L3_1.z = -4231.516
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 179.86
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 1
|
|
L2_1.drop_id = 1000100
|
|
L2_1.area_id = 11
|
|
L1_1[353019] = L2_1
|
|
L2_1 = {}
|
|
L2_1.config_id = 353020
|
|
L2_1.monster_id = 21020101
|
|
L3_1 = {}
|
|
L3_1.x = -2677.26
|
|
L3_1.y = 218.385
|
|
L3_1.z = -4236.219
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 241.79
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 1
|
|
L2_1.drop_id = 1000100
|
|
L2_1.area_id = 11
|
|
L1_1[353020] = L2_1
|
|
L2_1 = {}
|
|
L2_1.config_id = 353021
|
|
L2_1.monster_id = 21010901
|
|
L3_1 = {}
|
|
L3_1.x = -2693.912
|
|
L3_1.y = 217.387
|
|
L3_1.z = -4231.552
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 117.29
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 1
|
|
L2_1.drop_id = 1000100
|
|
L2_1.area_id = 11
|
|
L1_1[353021] = L2_1
|
|
L2_1 = {}
|
|
L2_1.config_id = 353022
|
|
L2_1.monster_id = 21010901
|
|
L3_1 = {}
|
|
L3_1.x = -2691.132
|
|
L3_1.y = 217.293
|
|
L3_1.z = -4228.633
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 138.77
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 1
|
|
L2_1.drop_id = 1000100
|
|
L2_1.area_id = 11
|
|
L1_1[353022] = L2_1
|
|
L2_1 = {}
|
|
L2_1.config_id = 353023
|
|
L2_1.monster_id = 21020201
|
|
L3_1 = {}
|
|
L3_1.x = -2687.629
|
|
L3_1.y = 217.995
|
|
L3_1.z = -4232.786
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 133.91
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 1
|
|
L2_1.drop_id = 1000100
|
|
L2_1.area_id = 11
|
|
L1_1[353023] = L2_1
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 353001
|
|
L2_1.gadget_id = 70310085
|
|
L3_1 = {}
|
|
L3_1.x = -2683.233
|
|
L3_1.y = 218.496
|
|
L3_1.z = -4238.446
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 0.0
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 1
|
|
L2_1.area_id = 11
|
|
L1_1[353001] = L2_1
|
|
L2_1 = {}
|
|
L2_1.config_id = 353002
|
|
L2_1.gadget_id = 70360001
|
|
L3_1 = {}
|
|
L3_1.x = -2683.224
|
|
L3_1.y = 220.047
|
|
L3_1.z = -4238.59
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 0.0
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 1
|
|
L2_1.area_id = 11
|
|
L1_1[353002] = L2_1
|
|
L2_1 = {}
|
|
L2_1.config_id = 353008
|
|
L2_1.gadget_id = 70710535
|
|
L3_1 = {}
|
|
L3_1.x = -2683.338
|
|
L3_1.y = 216.127
|
|
L3_1.z = -4238.437
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 0.0
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 1
|
|
L2_1.area_id = 11
|
|
L1_1[353008] = L2_1
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 353030
|
|
L3_1 = RegionShape
|
|
L3_1 = L3_1.SPHERE
|
|
L2_1.shape = L3_1
|
|
L2_1.radius = 5
|
|
L3_1 = {}
|
|
L3_1.x = -2685.325
|
|
L3_1.y = 218.947
|
|
L3_1.z = -4244.067
|
|
L2_1.pos = L3_1
|
|
L2_1.area_id = 11
|
|
L1_1[353030] = L2_1
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1353003
|
|
L2_1.name = "SELECT_OPTION_353003"
|
|
L3_1 = EventType
|
|
L3_1 = L3_1.EVENT_SELECT_OPTION
|
|
L2_1.event = L3_1
|
|
L2_1.source = ""
|
|
L2_1.condition = "condition_EVENT_SELECT_OPTION_353003"
|
|
L2_1.action = "action_EVENT_SELECT_OPTION_353003"
|
|
L2_1.trigger_count = 0
|
|
L3_1 = {}
|
|
L3_1.config_id = 1353004
|
|
L3_1.name = "TIME_AXIS_PASS_353004"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_TIME_AXIS_PASS
|
|
L3_1.event = L4_1
|
|
L3_1.source = "FirstChallenge"
|
|
L3_1.condition = ""
|
|
L3_1.action = "action_EVENT_TIME_AXIS_PASS_353004"
|
|
L3_1.trigger_count = 0
|
|
L4_1 = {}
|
|
L4_1.config_id = 1353005
|
|
L4_1.name = "GADGET_CREATE_353005"
|
|
L5_1 = EventType
|
|
L5_1 = L5_1.EVENT_GADGET_CREATE
|
|
L4_1.event = L5_1
|
|
L4_1.source = ""
|
|
L4_1.condition = "condition_EVENT_GADGET_CREATE_353005"
|
|
L4_1.action = "action_EVENT_GADGET_CREATE_353005"
|
|
L4_1.trigger_count = 0
|
|
L5_1 = {}
|
|
L5_1.config_id = 1353006
|
|
L5_1.name = "GADGET_CREATE_353006"
|
|
L6_1 = EventType
|
|
L6_1 = L6_1.EVENT_GADGET_CREATE
|
|
L5_1.event = L6_1
|
|
L5_1.source = ""
|
|
L5_1.condition = "condition_EVENT_GADGET_CREATE_353006"
|
|
L5_1.action = "action_EVENT_GADGET_CREATE_353006"
|
|
L5_1.trigger_count = 0
|
|
L6_1 = {}
|
|
L6_1.config_id = 1353007
|
|
L6_1.name = "VARIABLE_CHANGE_353007"
|
|
L7_1 = EventType
|
|
L7_1 = L7_1.EVENT_VARIABLE_CHANGE
|
|
L6_1.event = L7_1
|
|
L6_1.source = "beHitTimes"
|
|
L6_1.condition = "condition_EVENT_VARIABLE_CHANGE_353007"
|
|
L6_1.action = ""
|
|
L6_1.trigger_count = 0
|
|
L6_1.tag = "666"
|
|
L7_1 = {}
|
|
L7_1.config_id = 1353009
|
|
L7_1.name = "CHALLENGE_SUCCESS_353009"
|
|
L8_1 = EventType
|
|
L8_1 = L8_1.EVENT_CHALLENGE_SUCCESS
|
|
L7_1.event = L8_1
|
|
L7_1.source = "20010010"
|
|
L7_1.condition = ""
|
|
L7_1.action = "action_EVENT_CHALLENGE_SUCCESS_353009"
|
|
L7_1.trigger_count = 0
|
|
L8_1 = {}
|
|
L8_1.config_id = 1353010
|
|
L8_1.name = "CHALLENGE_FAIL_353010"
|
|
L9_1 = EventType
|
|
L9_1 = L9_1.EVENT_CHALLENGE_FAIL
|
|
L8_1.event = L9_1
|
|
L8_1.source = "20010010"
|
|
L8_1.condition = ""
|
|
L8_1.action = "action_EVENT_CHALLENGE_FAIL_353010"
|
|
L8_1.trigger_count = 0
|
|
L9_1 = {}
|
|
L9_1.config_id = 1353011
|
|
L9_1.name = "SELECT_OPTION_353011"
|
|
L10_1 = EventType
|
|
L10_1 = L10_1.EVENT_SELECT_OPTION
|
|
L9_1.event = L10_1
|
|
L9_1.source = ""
|
|
L9_1.condition = "condition_EVENT_SELECT_OPTION_353011"
|
|
L9_1.action = "action_EVENT_SELECT_OPTION_353011"
|
|
L9_1.trigger_count = 0
|
|
L10_1 = {}
|
|
L10_1.config_id = 1353024
|
|
L10_1.name = "ANY_MONSTER_DIE_353024"
|
|
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_353024"
|
|
L10_1.action = "action_EVENT_ANY_MONSTER_DIE_353024"
|
|
L11_1 = {}
|
|
L11_1.config_id = 1353025
|
|
L11_1.name = "ANY_MONSTER_DIE_353025"
|
|
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_353025"
|
|
L11_1.action = "action_EVENT_ANY_MONSTER_DIE_353025"
|
|
L12_1 = {}
|
|
L12_1.config_id = 1353026
|
|
L12_1.name = "CHALLENGE_FAIL_353026"
|
|
L13_1 = EventType
|
|
L13_1 = L13_1.EVENT_CHALLENGE_FAIL
|
|
L12_1.event = L13_1
|
|
L12_1.source = "1111820"
|
|
L12_1.condition = ""
|
|
L12_1.action = "action_EVENT_CHALLENGE_FAIL_353026"
|
|
L12_1.trigger_count = 0
|
|
L13_1 = {}
|
|
L13_1.config_id = 1353027
|
|
L13_1.name = "CHALLENGE_SUCCESS_353027"
|
|
L14_1 = EventType
|
|
L14_1 = L14_1.EVENT_CHALLENGE_SUCCESS
|
|
L13_1.event = L14_1
|
|
L13_1.source = "1111820"
|
|
L13_1.condition = ""
|
|
L13_1.action = "action_EVENT_CHALLENGE_SUCCESS_353027"
|
|
L13_1.trigger_count = 0
|
|
L14_1 = {}
|
|
L14_1.config_id = 1353028
|
|
L14_1.name = "TIME_AXIS_PASS_353028"
|
|
L15_1 = EventType
|
|
L15_1 = L15_1.EVENT_TIME_AXIS_PASS
|
|
L14_1.event = L15_1
|
|
L14_1.source = "SecondChallenge"
|
|
L14_1.condition = ""
|
|
L14_1.action = "action_EVENT_TIME_AXIS_PASS_353028"
|
|
L14_1.trigger_count = 0
|
|
L15_1 = {}
|
|
L15_1.config_id = 1353029
|
|
L15_1.name = "VARIABLE_CHANGE_353029"
|
|
L16_1 = EventType
|
|
L16_1 = L16_1.EVENT_VARIABLE_CHANGE
|
|
L15_1.event = L16_1
|
|
L15_1.source = "beHitTimes"
|
|
L15_1.condition = "condition_EVENT_VARIABLE_CHANGE_353029"
|
|
L15_1.action = ""
|
|
L15_1.trigger_count = 0
|
|
L15_1.tag = "777"
|
|
L16_1 = {}
|
|
L16_1.config_id = 1353030
|
|
L16_1.name = "ENTER_REGION_353030"
|
|
L17_1 = EventType
|
|
L17_1 = L17_1.EVENT_ENTER_REGION
|
|
L16_1.event = L17_1
|
|
L16_1.source = ""
|
|
L16_1.condition = ""
|
|
L16_1.action = "action_EVENT_ENTER_REGION_353030"
|
|
L17_1 = {}
|
|
L17_1.config_id = 1353031
|
|
L17_1.name = "SELECT_OPTION_353031"
|
|
L18_1 = EventType
|
|
L18_1 = L18_1.EVENT_SELECT_OPTION
|
|
L17_1.event = L18_1
|
|
L17_1.source = ""
|
|
L17_1.condition = "condition_EVENT_SELECT_OPTION_353031"
|
|
L17_1.action = "action_EVENT_SELECT_OPTION_353031"
|
|
L17_1.trigger_count = 0
|
|
L18_1 = {}
|
|
L18_1.config_id = 1353032
|
|
L18_1.name = "TIME_AXIS_PASS_353032"
|
|
L19_1 = EventType
|
|
L19_1 = L19_1.EVENT_TIME_AXIS_PASS
|
|
L18_1.event = L19_1
|
|
L18_1.source = "FirstChallengeHard"
|
|
L18_1.condition = ""
|
|
L18_1.action = "action_EVENT_TIME_AXIS_PASS_353032"
|
|
L18_1.trigger_count = 0
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
L1_1[4] = L5_1
|
|
L1_1[5] = L6_1
|
|
L1_1[6] = L7_1
|
|
L1_1[7] = L8_1
|
|
L1_1[8] = L9_1
|
|
L1_1[9] = L10_1
|
|
L1_1[10] = L11_1
|
|
L1_1[11] = L12_1
|
|
L1_1[12] = L13_1
|
|
L1_1[13] = L14_1
|
|
L1_1[14] = L15_1
|
|
L1_1[15] = L16_1
|
|
L1_1[16] = L17_1
|
|
L1_1[17] = L18_1
|
|
triggers = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.configId = 1
|
|
L2_1.name = "beHitTimes"
|
|
L2_1.value = 0
|
|
L2_1.no_refresh = false
|
|
L1_1[1] = L2_1
|
|
variables = L1_1
|
|
L1_1 = {}
|
|
L1_1.suite = 1
|
|
L1_1.end_suite = 0
|
|
L1_1.rand_suite = false
|
|
init_config = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L3_1 = {}
|
|
L2_1.monsters = L3_1
|
|
L3_1 = {}
|
|
L4_1 = 353001
|
|
L3_1[1] = L4_1
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L2_1.triggers = L3_1
|
|
L2_1.rand_weight = 100
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L3_1.monsters = L4_1
|
|
L4_1 = {}
|
|
L5_1 = 353001
|
|
L6_1 = 353002
|
|
L4_1[1] = L5_1
|
|
L4_1[2] = L6_1
|
|
L3_1.gadgets = L4_1
|
|
L4_1 = {}
|
|
L3_1.regions = L4_1
|
|
L4_1 = {}
|
|
L5_1 = "SELECT_OPTION_353003"
|
|
L6_1 = "TIME_AXIS_PASS_353004"
|
|
L7_1 = "GADGET_CREATE_353006"
|
|
L8_1 = "VARIABLE_CHANGE_353007"
|
|
L9_1 = "CHALLENGE_SUCCESS_353009"
|
|
L10_1 = "CHALLENGE_FAIL_353010"
|
|
L11_1 = "SELECT_OPTION_353031"
|
|
L12_1 = "TIME_AXIS_PASS_353032"
|
|
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 = 353001
|
|
L7_1 = 353002
|
|
L5_1[1] = L6_1
|
|
L5_1[2] = L7_1
|
|
L4_1.gadgets = L5_1
|
|
L5_1 = {}
|
|
L4_1.regions = L5_1
|
|
L5_1 = {}
|
|
L6_1 = "GADGET_CREATE_353005"
|
|
L7_1 = "SELECT_OPTION_353011"
|
|
L8_1 = "CHALLENGE_FAIL_353026"
|
|
L9_1 = "CHALLENGE_SUCCESS_353027"
|
|
L10_1 = "TIME_AXIS_PASS_353028"
|
|
L5_1[1] = L6_1
|
|
L5_1[2] = L7_1
|
|
L5_1[3] = L8_1
|
|
L5_1[4] = L9_1
|
|
L5_1[5] = L10_1
|
|
L4_1.triggers = L5_1
|
|
L4_1.rand_weight = 100
|
|
L5_1 = {}
|
|
L6_1 = {}
|
|
L7_1 = 353012
|
|
L8_1 = 353013
|
|
L9_1 = 353014
|
|
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 = {}
|
|
L7_1 = "ANY_MONSTER_DIE_353024"
|
|
L6_1[1] = L7_1
|
|
L5_1.triggers = L6_1
|
|
L5_1.rand_weight = 100
|
|
L6_1 = {}
|
|
L7_1 = {}
|
|
L8_1 = 353021
|
|
L9_1 = 353022
|
|
L10_1 = 353023
|
|
L7_1[1] = L8_1
|
|
L7_1[2] = L9_1
|
|
L7_1[3] = L10_1
|
|
L6_1.monsters = L7_1
|
|
L7_1 = {}
|
|
L6_1.gadgets = L7_1
|
|
L7_1 = {}
|
|
L6_1.regions = L7_1
|
|
L7_1 = {}
|
|
L8_1 = "ANY_MONSTER_DIE_353025"
|
|
L7_1[1] = L8_1
|
|
L6_1.triggers = L7_1
|
|
L6_1.rand_weight = 100
|
|
L7_1 = {}
|
|
L8_1 = {}
|
|
L9_1 = 353017
|
|
L10_1 = 353018
|
|
L11_1 = 353019
|
|
L12_1 = 353020
|
|
L8_1[1] = L9_1
|
|
L8_1[2] = L10_1
|
|
L8_1[3] = L11_1
|
|
L8_1[4] = L12_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 = {}
|
|
L8_1.gadgets = L9_1
|
|
L9_1 = {}
|
|
L8_1.regions = L9_1
|
|
L9_1 = {}
|
|
L10_1 = "VARIABLE_CHANGE_353029"
|
|
L9_1[1] = L10_1
|
|
L8_1.triggers = L9_1
|
|
L8_1.rand_weight = 100
|
|
L1_1[1] = L2_1
|
|
L1_1[2] = L3_1
|
|
L1_1[3] = L4_1
|
|
L1_1[4] = L5_1
|
|
L1_1[5] = L6_1
|
|
L1_1[6] = L7_1
|
|
L1_1[7] = L8_1
|
|
suites = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 353002 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 175 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_353003 = L1_1
|
|
function L1_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, L12_2, L13_2, L14_2, L15_2, L16_2, L17_2, L18_2, L19_2, L20_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.InitTimeAxis
|
|
L3_2 = A0_2
|
|
L4_2 = "FirstChallenge"
|
|
L5_2 = {}
|
|
L6_2 = 3
|
|
L7_2 = 8
|
|
L8_2 = 13
|
|
L9_2 = 18
|
|
L10_2 = 23
|
|
L11_2 = 25
|
|
L12_2 = 27
|
|
L13_2 = 32
|
|
L14_2 = 37
|
|
L15_2 = 39
|
|
L16_2 = 41
|
|
L17_2 = 46
|
|
L18_2 = 47
|
|
L19_2 = 51
|
|
L20_2 = 60
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L5_2[3] = L8_2
|
|
L5_2[4] = L9_2
|
|
L5_2[5] = L10_2
|
|
L5_2[6] = L11_2
|
|
L5_2[7] = L12_2
|
|
L5_2[8] = L13_2
|
|
L5_2[9] = L14_2
|
|
L5_2[10] = L15_2
|
|
L5_2[11] = L16_2
|
|
L5_2[12] = L17_2
|
|
L5_2[13] = L18_2
|
|
L5_2[14] = L19_2
|
|
L5_2[15] = L20_2
|
|
L6_2 = false
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133220353
|
|
L5_2 = 353002
|
|
L6_2 = 175
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : del_work_options_by_group_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133220353
|
|
L5_2 = 353002
|
|
L6_2 = 59
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "beHitTimes"
|
|
L5_2 = 0
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateFatherChallenge
|
|
L3_2 = A0_2
|
|
L4_2 = 20010010
|
|
L5_2 = 2001001
|
|
L6_2 = 70
|
|
L7_2 = {}
|
|
L7_2.success = 1
|
|
L7_2.fail = 1
|
|
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 = 20010010
|
|
L5_2 = 20010030
|
|
L6_2 = 2001003
|
|
L7_2 = {}
|
|
L8_2 = 3
|
|
L9_2 = 777
|
|
L10_2 = 1
|
|
L11_2 = 0
|
|
L12_2 = 0
|
|
L7_2[1] = L8_2
|
|
L7_2[2] = L9_2
|
|
L7_2[3] = L10_2
|
|
L7_2[4] = L11_2
|
|
L7_2[5] = L12_2
|
|
L8_2 = {}
|
|
L9_2 = {}
|
|
L9_2.success = 1
|
|
L9_2.fail = 1
|
|
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AttachChildChallenge
|
|
L3_2 = A0_2
|
|
L4_2 = 20010010
|
|
L5_2 = 20010020
|
|
L6_2 = 2001002
|
|
L7_2 = {}
|
|
L8_2 = 3
|
|
L9_2 = 666
|
|
L10_2 = 10
|
|
L11_2 = 0
|
|
L12_2 = 0
|
|
L7_2[1] = L8_2
|
|
L7_2[2] = L9_2
|
|
L7_2[3] = L10_2
|
|
L7_2[4] = L11_2
|
|
L7_2[5] = L12_2
|
|
L8_2 = {}
|
|
L9_2 = {}
|
|
L9_2.success = 0
|
|
L9_2.fail = 1
|
|
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 = 20010010
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGadget
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 353008
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : create_gadget"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_353003 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallenge" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 1 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearAction1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallenge" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStop
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallenge" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 3 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearAction1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallenge" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 4 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStart
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallenge" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 5 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStop
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallenge" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 6 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStop
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallenge" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 7 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStop
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallenge" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 8 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearAction1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallenge" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 9 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStart
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallenge" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 10 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStart
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallenge" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 11 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStart
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallenge" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 12 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearAction1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallenge" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 13 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.StopChallenge
|
|
L3_2 = A0_2
|
|
L4_2 = 20010020
|
|
L5_2 = 1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133220353
|
|
L5_2 = 7
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallenge" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 14 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearAction2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallenge" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 15 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.StopChallenge
|
|
L3_2 = A0_2
|
|
L4_2 = 20010030
|
|
L5_2 = 1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_TIME_AXIS_PASS_353004 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 353002 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_353005 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133220353
|
|
L5_2 = 353002
|
|
L6_2 = {}
|
|
L7_2 = 175
|
|
L6_2[1] = L7_2
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_CREATE_353005 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 353002 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_CREATE_353006 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133220353
|
|
L5_2 = 353002
|
|
L6_2 = {}
|
|
L7_2 = 175
|
|
L8_2 = 59
|
|
L6_2[1] = L7_2
|
|
L6_2[2] = L8_2
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.EndTimeAxis
|
|
L3_2 = A0_2
|
|
L4_2 = "FirstChallenge"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_CREATE_353006 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
L3_2 = A1_2.param2
|
|
if L2_2 == L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "beHitTimes"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 0 then
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
condition_EVENT_VARIABLE_CHANGE_353007 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "1332203531suc"
|
|
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 : add_quest_progress"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RemoveEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 133220353
|
|
L5_2 = EntityType
|
|
L5_2 = L5_2.GADGET
|
|
L6_2 = 353008
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : remove_gadget_by_configid"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133220353
|
|
L5_2 = 353002
|
|
L6_2 = {}
|
|
L7_2 = 175
|
|
L8_2 = 59
|
|
L6_2[1] = L7_2
|
|
L6_2[2] = L8_2
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RemoveExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133220353
|
|
L5_2 = 7
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_CHALLENGE_SUCCESS_353009 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133220353
|
|
L5_2 = 353002
|
|
L6_2 = {}
|
|
L7_2 = 175
|
|
L8_2 = 59
|
|
L6_2[1] = L7_2
|
|
L6_2[2] = L8_2
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : set_wok_options_by_configid"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RemoveEntityByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 133220353
|
|
L5_2 = EntityType
|
|
L5_2 = L5_2.GADGET
|
|
L6_2 = 353008
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : remove_gadget_by_configid"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.EndTimeAxis
|
|
L3_2 = A0_2
|
|
L4_2 = "FirstChallenge"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RemoveExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133220353
|
|
L5_2 = 7
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.EndTimeAxis
|
|
L3_2 = A0_2
|
|
L4_2 = "FirstChallengeHard"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_CHALLENGE_FAIL_353010 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 353002 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 175 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_353011 = L1_1
|
|
function L1_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, L12_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133220353
|
|
L5_2 = 353002
|
|
L6_2 = 175
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : del_work_options_by_group_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133220353
|
|
L5_2 = 4
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.ActiveChallenge
|
|
L3_2 = A0_2
|
|
L4_2 = 1111820
|
|
L5_2 = 111182
|
|
L6_2 = 133220353
|
|
L7_2 = 10
|
|
L8_2 = 0
|
|
L9_2 = 0
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : active_challenge"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGadget
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 353008
|
|
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 : create_gadget"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.InitTimeAxis
|
|
L3_2 = A0_2
|
|
L4_2 = "SecondChallenge"
|
|
L5_2 = {}
|
|
L6_2 = 1
|
|
L7_2 = 8
|
|
L8_2 = 19
|
|
L9_2 = 30
|
|
L10_2 = 35
|
|
L11_2 = 45
|
|
L12_2 = 50
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L5_2[3] = L8_2
|
|
L5_2[4] = L9_2
|
|
L5_2[5] = L10_2
|
|
L5_2[6] = L11_2
|
|
L5_2[7] = L12_2
|
|
L6_2 = true
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_353011 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupMonsterCount
|
|
L3_2 = A0_2
|
|
L2_2 = L2_2(L3_2)
|
|
if L2_2 ~= 0 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_MONSTER_DIE_353024 = L1_1
|
|
function L1_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 = 133220353
|
|
L5_2 = 5
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ANY_MONSTER_DIE_353024 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupMonsterCount
|
|
L3_2 = A0_2
|
|
L2_2 = L2_2(L3_2)
|
|
if L2_2 ~= 0 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_ANY_MONSTER_DIE_353025 = L1_1
|
|
function L1_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 = 133220353
|
|
L5_2 = 6
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ANY_MONSTER_DIE_353025 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133220353
|
|
L4_2.suite = 3
|
|
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 : refresh_group_to_suite"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.EndTimeAxis
|
|
L3_2 = A0_2
|
|
L4_2 = "SecondChallenge"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_CHALLENGE_FAIL_353026 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.RefreshGroup
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.group_id = 133220353
|
|
L4_2.suite = 3
|
|
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 : refresh_group_to_suite"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddQuestProgress
|
|
L3_2 = A0_2
|
|
L4_2 = "1332203532suc"
|
|
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 : add_quest_progress"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.EndTimeAxis
|
|
L3_2 = A0_2
|
|
L4_2 = "SecondChallenge"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_CHALLENGE_SUCCESS_353027 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "SecondChallenge" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 1 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearAction1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "SecondChallenge" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStop
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "SecondChallenge" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 3 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStop
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "SecondChallenge" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 4 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearAction1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "SecondChallenge" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 5 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStop
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "SecondChallenge" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 6 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStop
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_TIME_AXIS_PASS_353028 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = A1_2.param1
|
|
L3_2 = A1_2.param2
|
|
if L2_2 == L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.GetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "beHitTimes"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 ~= 0 then
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
condition_EVENT_VARIABLE_CHANGE_353029 = L1_1
|
|
function L1_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 = 133220353
|
|
L5_2 = 7
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133220353
|
|
L5_2 = 7
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_ENTER_REGION_353030 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param1
|
|
if 353002 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = A1_2.param2
|
|
if 59 ~= L2_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_353031 = L1_1
|
|
function L1_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, L12_2, L13_2, L14_2, L15_2, L16_2, L17_2, L18_2, L19_2, L20_2, L21_2, L22_2, L23_2, L24_2, L25_2, L26_2, L27_2, L28_2, L29_2, L30_2, L31_2, L32_2, L33_2, L34_2, L35_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.InitTimeAxis
|
|
L3_2 = A0_2
|
|
L4_2 = "FirstChallengeHard"
|
|
L5_2 = {}
|
|
L6_2 = 1
|
|
L7_2 = 5
|
|
L8_2 = 7
|
|
L9_2 = 11
|
|
L10_2 = 13
|
|
L11_2 = 15
|
|
L12_2 = 19
|
|
L13_2 = 23
|
|
L14_2 = 25
|
|
L15_2 = 27
|
|
L16_2 = 32
|
|
L17_2 = 34
|
|
L18_2 = 36
|
|
L19_2 = 40
|
|
L20_2 = 42
|
|
L21_2 = 44
|
|
L22_2 = 47
|
|
L23_2 = 49
|
|
L24_2 = 53
|
|
L25_2 = 56
|
|
L26_2 = 58
|
|
L27_2 = 60
|
|
L28_2 = 63
|
|
L29_2 = 65
|
|
L30_2 = 70
|
|
L31_2 = 74
|
|
L32_2 = 76
|
|
L33_2 = 77
|
|
L34_2 = 79
|
|
L35_2 = 88
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L5_2[3] = L8_2
|
|
L5_2[4] = L9_2
|
|
L5_2[5] = L10_2
|
|
L5_2[6] = L11_2
|
|
L5_2[7] = L12_2
|
|
L5_2[8] = L13_2
|
|
L5_2[9] = L14_2
|
|
L5_2[10] = L15_2
|
|
L5_2[11] = L16_2
|
|
L5_2[12] = L17_2
|
|
L5_2[13] = L18_2
|
|
L5_2[14] = L19_2
|
|
L5_2[15] = L20_2
|
|
L5_2[16] = L21_2
|
|
L5_2[17] = L22_2
|
|
L5_2[18] = L23_2
|
|
L5_2[19] = L24_2
|
|
L5_2[20] = L25_2
|
|
L5_2[21] = L26_2
|
|
L5_2[22] = L27_2
|
|
L5_2[23] = L28_2
|
|
L5_2[24] = L29_2
|
|
L5_2[25] = L30_2
|
|
L5_2[26] = L31_2
|
|
L5_2[27] = L32_2
|
|
L5_2[28] = L33_2
|
|
L5_2[29] = L34_2
|
|
L5_2[30] = L35_2
|
|
L6_2 = false
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133220353
|
|
L5_2 = 353002
|
|
L6_2 = 175
|
|
L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
if 0 ~= L2_2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.PrintContextLog
|
|
L3_2 = A0_2
|
|
L4_2 = "@@ LUA_WARNING : del_work_options_by_group_configId"
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = -1
|
|
return L2_2
|
|
end
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.DelWorktopOptionByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 133220353
|
|
L5_2 = 353002
|
|
L6_2 = 59
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGroupVariableValue
|
|
L3_2 = A0_2
|
|
L4_2 = "beHitTimes"
|
|
L5_2 = 0
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateFatherChallenge
|
|
L3_2 = A0_2
|
|
L4_2 = 20010010
|
|
L5_2 = 2001001
|
|
L6_2 = 95
|
|
L7_2 = {}
|
|
L7_2.success = 1
|
|
L7_2.fail = 1
|
|
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 = 20010010
|
|
L5_2 = 20010030
|
|
L6_2 = 2001003
|
|
L7_2 = {}
|
|
L8_2 = 3
|
|
L9_2 = 777
|
|
L10_2 = 1
|
|
L11_2 = 0
|
|
L12_2 = 0
|
|
L7_2[1] = L8_2
|
|
L7_2[2] = L9_2
|
|
L7_2[3] = L10_2
|
|
L7_2[4] = L11_2
|
|
L7_2[5] = L12_2
|
|
L8_2 = {}
|
|
L9_2 = {}
|
|
L9_2.success = 1
|
|
L9_2.fail = 1
|
|
L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AttachChildChallenge
|
|
L3_2 = A0_2
|
|
L4_2 = 20010010
|
|
L5_2 = 20010020
|
|
L6_2 = 2001002
|
|
L7_2 = {}
|
|
L8_2 = 3
|
|
L9_2 = 666
|
|
L10_2 = 3
|
|
L11_2 = 0
|
|
L12_2 = 0
|
|
L7_2[1] = L8_2
|
|
L7_2[2] = L9_2
|
|
L7_2[3] = L10_2
|
|
L7_2[4] = L11_2
|
|
L7_2[5] = L12_2
|
|
L8_2 = {}
|
|
L9_2 = {}
|
|
L9_2.success = 0
|
|
L9_2.fail = 1
|
|
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 = 20010010
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.CreateGadget
|
|
L3_2 = A0_2
|
|
L4_2 = {}
|
|
L4_2.config_id = 353008
|
|
L2_2(L3_2, L4_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_353031 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallengeHard" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 1 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearAction1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallengeHard" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 2 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStop
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallengeHard" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 3 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStop
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallengeHard" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 4 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStart
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallengeHard" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 5 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStart
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallengeHard" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 6 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStart
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallengeHard" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 7 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearAction1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallengeHard" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 8 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStop
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallengeHard" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 9 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStop
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallengeHard" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 10 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStop
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallengeHard" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 11 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearAction1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallengeHard" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 12 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStart
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallengeHard" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 13 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStart
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallengeHard" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 14 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStop
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallengeHard" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 15 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStop
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallengeHard" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 16 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStop
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallengeHard" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 17 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStart
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallengeHard" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 18 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStart
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallengeHard" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 19 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearAction1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallengeHard" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 20 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStart
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallengeHard" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 21 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStart
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallengeHard" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 22 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStart
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallengeHard" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 23 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStop
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallengeHard" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 24 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStop
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallengeHard" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 25 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearAction1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallengeHard" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 26 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStart
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallengeHard" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 27 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearStart
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallengeHard" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 28 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.StopChallenge
|
|
L3_2 = A0_2
|
|
L4_2 = 20010020
|
|
L5_2 = 1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.AddExtraGroupSuite
|
|
L3_2 = A0_2
|
|
L4_2 = 133220353
|
|
L5_2 = 7
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallengeHard" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 29 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetGadgetStateByConfigId
|
|
L3_2 = A0_2
|
|
L4_2 = 353001
|
|
L5_2 = GadgetState
|
|
L5_2 = L5_2.GearAction2
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
else
|
|
L2_2 = A1_2.source_name
|
|
if L2_2 == "FirstChallengeHard" then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 == 30 then
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.StopChallenge
|
|
L3_2 = A0_2
|
|
L4_2 = 20010030
|
|
L5_2 = 1
|
|
L2_2(L3_2, L4_2, L5_2)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_TIME_AXIS_PASS_353032 = L1_1
|