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

619 lines
11 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, L20_1
L0_1 = {}
L0_1.group_id = 133004268
L1_1 = {}
L2_1 = {}
L2_1.config_id = 761
L2_1.monster_id = 20011201
L3_1 = {}
L3_1.x = 2642.184
L3_1.y = 202.927
L3_1.z = -675.876
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 133.354
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 13
L2_1.drop_id = 1000100
L2_1.pose_id = 901
L2_1.area_id = 1
L3_1 = {}
L3_1.config_id = 762
L3_1.monster_id = 20011201
L4_1 = {}
L4_1.x = 2650.214
L4_1.y = 202.958
L4_1.z = -670.244
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 201.868
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 13
L3_1.drop_id = 1000100
L3_1.pose_id = 901
L3_1.area_id = 1
L4_1 = {}
L4_1.config_id = 763
L4_1.monster_id = 20011201
L5_1 = {}
L5_1.x = 2646.625
L5_1.y = 202.718
L5_1.z = -683.533
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 14.839
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 13
L4_1.drop_id = 1000100
L4_1.pose_id = 901
L4_1.area_id = 1
L5_1 = {}
L5_1.config_id = 764
L5_1.monster_id = 20011201
L6_1 = {}
L6_1.x = 2645.794
L6_1.y = 203.003
L6_1.z = -672.79
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 153.8
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 13
L5_1.drop_id = 1000100
L5_1.pose_id = 901
L5_1.area_id = 1
L6_1 = {}
L6_1.config_id = 765
L6_1.monster_id = 20011201
L7_1 = {}
L7_1.x = 2654.225
L7_1.y = 203.005
L7_1.z = -674.789
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 226.298
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 13
L6_1.drop_id = 1000100
L6_1.pose_id = 901
L6_1.area_id = 1
L7_1 = {}
L7_1.config_id = 766
L7_1.monster_id = 20011201
L8_1 = {}
L8_1.x = 2650.972
L8_1.y = 203.016
L8_1.z = -672.256
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 226.298
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 15
L7_1.drop_id = 1000100
L7_1.pose_id = 901
L7_1.area_id = 1
L8_1 = {}
L8_1.config_id = 767
L8_1.monster_id = 20011201
L9_1 = {}
L9_1.x = 2643.598
L9_1.y = 202.959
L9_1.z = -679.435
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 78.468
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 15
L8_1.drop_id = 1000100
L8_1.pose_id = 901
L8_1.area_id = 1
L9_1 = {}
L9_1.config_id = 768
L9_1.monster_id = 20011201
L10_1 = {}
L10_1.x = 2649.711
L10_1.y = 202.761
L10_1.z = -683.964
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 335.037
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 15
L9_1.drop_id = 1000100
L9_1.pose_id = 901
L9_1.area_id = 1
L10_1 = {}
L10_1.config_id = 769
L10_1.monster_id = 20011201
L11_1 = {}
L11_1.x = 2643.576
L11_1.y = 202.933
L11_1.z = -673.253
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 174.21
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 15
L10_1.drop_id = 1000100
L10_1.pose_id = 901
L10_1.area_id = 1
L11_1 = {}
L11_1.config_id = 770
L11_1.monster_id = 20011201
L12_1 = {}
L12_1.x = 2643.832
L12_1.y = 202.828
L12_1.z = -682.066
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 174.21
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 15
L11_1.drop_id = 1000100
L11_1.pose_id = 901
L11_1.area_id = 1
L12_1 = {}
L12_1.config_id = 771
L12_1.monster_id = 20011201
L13_1 = {}
L13_1.x = 2652.96
L13_1.y = 202.792
L13_1.z = -684.151
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 319.674
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 16
L12_1.drop_id = 1000100
L12_1.pose_id = 901
L12_1.area_id = 1
L13_1 = {}
L13_1.config_id = 772
L13_1.monster_id = 20011201
L14_1 = {}
L14_1.x = 2654.948
L14_1.y = 202.914
L14_1.z = -670.798
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 239.635
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 16
L13_1.drop_id = 1000100
L13_1.pose_id = 901
L13_1.area_id = 1
L14_1 = {}
L14_1.config_id = 773
L14_1.monster_id = 20011201
L15_1 = {}
L15_1.x = 2644.602
L15_1.y = 203.022
L15_1.z = -676.291
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 97.638
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 16
L14_1.drop_id = 1000100
L14_1.pose_id = 901
L14_1.area_id = 1
L15_1 = {}
L15_1.config_id = 774
L15_1.monster_id = 20011201
L16_1 = {}
L16_1.x = 2647.636
L16_1.y = 202.946
L16_1.z = -681.964
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 353.091
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 16
L15_1.drop_id = 1000100
L15_1.pose_id = 901
L15_1.area_id = 1
L16_1 = {}
L16_1.config_id = 780
L16_1.monster_id = 20011301
L17_1 = {}
L17_1.x = 2658.396
L17_1.y = 202.8
L17_1.z = -672.277
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 268.113
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 16
L16_1.drop_id = 1000100
L17_1 = {}
L18_1 = 1008
L19_1 = 1009
L20_1 = 1018
L17_1[1] = L18_1
L17_1[2] = L19_1
L17_1[3] = L20_1
L16_1.affix = L17_1
L16_1.isElite = true
L16_1.area_id = 1
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
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1472
L2_1.gadget_id = 70300086
L3_1 = {}
L3_1.x = 2643.405
L3_1.y = 201.405
L3_1.z = -665.3
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 0.0
L3_1.z = 281.072
L2_1.rot = L3_1
L2_1.level = 2
L2_1.area_id = 1
L1_1[1] = L2_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1000317
L2_1.name = "ANY_MONSTER_LIVE_317"
L3_1 = EventType
L3_1 = L3_1.EVENT_ANY_MONSTER_LIVE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ANY_MONSTER_LIVE_317"
L2_1.action = "action_EVENT_ANY_MONSTER_LIVE_317"
L3_1 = {}
L3_1.config_id = 1000318
L3_1.name = "CHALLENGE_SUCCESS_318"
L4_1 = EventType
L4_1 = L4_1.EVENT_CHALLENGE_SUCCESS
L3_1.event = L4_1
L3_1.source = "3004268"
L3_1.condition = ""
L3_1.action = "action_EVENT_CHALLENGE_SUCCESS_318"
L4_1 = {}
L4_1.config_id = 1000319
L4_1.name = "ANY_MONSTER_DIE_319"
L5_1 = EventType
L5_1 = L5_1.EVENT_ANY_MONSTER_DIE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_ANY_MONSTER_DIE_319"
L4_1.action = "action_EVENT_ANY_MONSTER_DIE_319"
L5_1 = {}
L5_1.config_id = 1000320
L5_1.name = "ANY_MONSTER_DIE_320"
L6_1 = EventType
L6_1 = L6_1.EVENT_ANY_MONSTER_DIE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_ANY_MONSTER_DIE_320"
L5_1.action = "action_EVENT_ANY_MONSTER_DIE_320"
L6_1 = {}
L6_1.config_id = 1000321
L6_1.name = "CHALLENGE_FAIL_321"
L7_1 = EventType
L7_1 = L7_1.EVENT_CHALLENGE_FAIL
L6_1.event = L7_1
L6_1.source = "3004268"
L6_1.condition = ""
L6_1.action = "action_EVENT_CHALLENGE_FAIL_321"
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
triggers = L1_1
L1_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 = 1472
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 = {}
L5_1 = 761
L6_1 = 762
L7_1 = 763
L8_1 = 764
L9_1 = 765
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
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 1472
L4_1[1] = L5_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ANY_MONSTER_LIVE_317"
L6_1 = "CHALLENGE_SUCCESS_318"
L7_1 = "ANY_MONSTER_DIE_319"
L8_1 = "CHALLENGE_FAIL_321"
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L6_1 = 766
L7_1 = 767
L8_1 = 768
L9_1 = 769
L10_1 = 770
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.monsters = L5_1
L5_1 = {}
L6_1 = 1472
L5_1[1] = L6_1
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "ANY_MONSTER_DIE_320"
L5_1[1] = L6_1
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L5_1 = {}
L6_1 = {}
L7_1 = 771
L8_1 = 772
L9_1 = 773
L10_1 = 774
L11_1 = 780
L6_1[1] = L7_1
L6_1[2] = L8_1
L6_1[3] = L9_1
L6_1[4] = L10_1
L6_1[5] = L11_1
L5_1.monsters = L6_1
L6_1 = {}
L7_1 = 1472
L6_1[1] = L7_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
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
suites = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 761 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_LIVE_317 = 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
L2_2 = ScriptLib
L2_2 = L2_2.ActiveChallenge
L3_2 = A0_2
L4_2 = 3004268
L5_2 = 3001
L6_2 = 120
L7_2 = 133004268
L8_2 = 10
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 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_LIVE_317 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "13300426103"
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.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133004268
L4_2.suite = 1
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 = 0
return L2_2
end
action_EVENT_CHALLENGE_SUCCESS_318 = 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_319 = 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 = 133004268
L5_2 = 4
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_319 = 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_320 = 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 = 133004268
L5_2 = 4
L2_2(L3_2, L4_2, L5_2)
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_320 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "13300426104"
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.RefreshGroup
L3_2 = A0_2
L4_2 = {}
L4_2.group_id = 133004268
L4_2.suite = 1
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 = 0
return L2_2
end
action_EVENT_CHALLENGE_FAIL_321 = L1_1