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

753 lines
15 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
L0_1 = {}
L0_1.group_id = 133001275
L1_1 = {}
L1_1.monster_id_1 = 520
L1_1.monster_id_2 = 522
L1_1.monster_id_3 = 521
L2_1 = {}
L3_1 = {}
L3_1.config_id = 516
L3_1.monster_id = 21030101
L4_1 = {}
L4_1.x = 1571.94
L4_1.y = 252.229
L4_1.z = -1629.948
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 226.867
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 18
L3_1.drop_id = 1000100
L3_1.area_id = 2
L4_1 = {}
L4_1.config_id = 517
L4_1.monster_id = 20010801
L5_1 = {}
L5_1.x = 1571.076
L5_1.y = 252.086
L5_1.z = -1641.041
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 266.344
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 18
L4_1.drop_id = 1000100
L4_1.area_id = 2
L5_1 = {}
L5_1.config_id = 518
L5_1.monster_id = 21030101
L6_1 = {}
L6_1.x = 1555.627
L6_1.y = 252.181
L6_1.z = -1653.801
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 18.312
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 18
L5_1.drop_id = 1000100
L5_1.area_id = 2
L6_1 = {}
L6_1.config_id = 519
L6_1.monster_id = 20010801
L7_1 = {}
L7_1.x = 1566.251
L7_1.y = 252.086
L7_1.z = -1648.496
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 327.628
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 18
L6_1.drop_id = 1000100
L6_1.area_id = 2
L7_1 = {}
L7_1.config_id = 520
L7_1.monster_id = 20010501
L8_1 = {}
L8_1.x = 1566.812
L8_1.y = 252.09
L8_1.z = -1631.946
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 199.658
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 12
L7_1.drop_id = 1000100
L7_1.area_id = 2
L8_1 = {}
L8_1.config_id = 521
L8_1.monster_id = 20010501
L9_1 = {}
L9_1.x = 1558.537
L9_1.y = 252.091
L9_1.z = -1651.241
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 30.494
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 12
L8_1.drop_id = 1000100
L8_1.area_id = 2
L9_1 = {}
L9_1.config_id = 522
L9_1.monster_id = 20010501
L10_1 = {}
L10_1.x = 1566.551
L10_1.y = 252.087
L10_1.z = -1649.186
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 337.19
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 12
L9_1.drop_id = 1000100
L9_1.area_id = 2
L10_1 = {}
L10_1.config_id = 638
L10_1.monster_id = 21010201
L11_1 = {}
L11_1.x = 1572.369
L11_1.y = 252.088
L11_1.z = -1643.683
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 294.193
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 12
L10_1.drop_id = 1000100
L10_1.area_id = 2
L11_1 = {}
L11_1.config_id = 639
L11_1.monster_id = 21020101
L12_1 = {}
L12_1.x = 1572.311
L12_1.y = 252.089
L12_1.z = -1646.889
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 304.165
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 12
L11_1.drop_id = 1000100
L11_1.area_id = 2
L12_1 = {}
L12_1.config_id = 640
L12_1.monster_id = 21010201
L13_1 = {}
L13_1.x = 1568.71
L13_1.y = 252.087
L13_1.z = -1648.692
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 331.09
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 12
L12_1.drop_id = 1000100
L12_1.area_id = 2
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
monsters = L2_1
L2_1 = {}
npcs = L2_1
L2_1 = {}
gadgets = L2_1
L2_1 = {}
regions = L2_1
L2_1 = {}
L3_1 = {}
L3_1.config_id = 1000139
L3_1.name = "TIMER_EVENT_139"
L4_1 = EventType
L4_1 = L4_1.EVENT_TIMER_EVENT
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_TIMER_EVENT_139"
L3_1.action = "action_EVENT_TIMER_EVENT_139"
L4_1 = {}
L4_1.config_id = 1000411
L4_1.name = "ANY_MONSTER_LIVE_411"
L5_1 = EventType
L5_1 = L5_1.EVENT_ANY_MONSTER_LIVE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_ANY_MONSTER_LIVE_411"
L4_1.action = "action_EVENT_ANY_MONSTER_LIVE_411"
L5_1 = {}
L5_1.config_id = 1000412
L5_1.name = "ANY_MONSTER_DIE_412"
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_412"
L5_1.action = "action_EVENT_ANY_MONSTER_DIE_412"
L6_1 = {}
L6_1.config_id = 1000413
L6_1.name = "ANY_MONSTER_DIE_413"
L7_1 = EventType
L7_1 = L7_1.EVENT_ANY_MONSTER_DIE
L6_1.event = L7_1
L6_1.source = ""
L6_1.condition = "condition_EVENT_ANY_MONSTER_DIE_413"
L6_1.action = "action_EVENT_ANY_MONSTER_DIE_413"
L7_1 = {}
L7_1.config_id = 1000414
L7_1.name = "ANY_MONSTER_DIE_414"
L8_1 = EventType
L8_1 = L8_1.EVENT_ANY_MONSTER_DIE
L7_1.event = L8_1
L7_1.source = ""
L7_1.condition = "condition_EVENT_ANY_MONSTER_DIE_414"
L7_1.action = "action_EVENT_ANY_MONSTER_DIE_414"
L8_1 = {}
L8_1.config_id = 1000415
L8_1.name = "ANY_MONSTER_DIE_415"
L9_1 = EventType
L9_1 = L9_1.EVENT_ANY_MONSTER_DIE
L8_1.event = L9_1
L8_1.source = ""
L8_1.condition = "condition_EVENT_ANY_MONSTER_DIE_415"
L8_1.action = "action_EVENT_ANY_MONSTER_DIE_415"
L9_1 = {}
L9_1.config_id = 1000416
L9_1.name = "ANY_MONSTER_DIE_416"
L10_1 = EventType
L10_1 = L10_1.EVENT_ANY_MONSTER_DIE
L9_1.event = L10_1
L9_1.source = ""
L9_1.condition = "condition_EVENT_ANY_MONSTER_DIE_416"
L9_1.action = "action_EVENT_ANY_MONSTER_DIE_416"
L10_1 = {}
L10_1.config_id = 1000417
L10_1.name = "ANY_MONSTER_DIE_417"
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_417"
L10_1.action = "action_EVENT_ANY_MONSTER_DIE_417"
L11_1 = {}
L11_1.config_id = 1000418
L11_1.name = "ANY_MONSTER_DIE_418"
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_418"
L11_1.action = "action_EVENT_ANY_MONSTER_DIE_418"
L12_1 = {}
L12_1.config_id = 1000419
L12_1.name = "VARIABLE_CHANGE_419"
L13_1 = EventType
L13_1 = L13_1.EVENT_VARIABLE_CHANGE
L12_1.event = L13_1
L12_1.source = ""
L12_1.condition = "condition_EVENT_VARIABLE_CHANGE_419"
L12_1.action = "action_EVENT_VARIABLE_CHANGE_419"
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
triggers = L2_1
L2_1 = {}
L3_1 = {}
L3_1.configId = 1
L3_1.name = "Boss"
L3_1.value = 0
L3_1.no_refresh = false
L2_1[1] = L3_1
variables = L2_1
L2_1 = {}
L2_1.suite = 2
L2_1.end_suite = 0
L2_1.rand_suite = false
init_config = L2_1
L2_1 = {}
L3_1 = {}
L4_1 = {}
L5_1 = 516
L6_1 = 517
L7_1 = 518
L8_1 = 519
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L3_1.monsters = L4_1
L4_1 = {}
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "TIMER_EVENT_139"
L6_1 = "ANY_MONSTER_LIVE_411"
L7_1 = "ANY_MONSTER_DIE_412"
L8_1 = "ANY_MONSTER_DIE_413"
L9_1 = "ANY_MONSTER_DIE_414"
L10_1 = "ANY_MONSTER_DIE_415"
L11_1 = "ANY_MONSTER_DIE_416"
L12_1 = "ANY_MONSTER_DIE_417"
L13_1 = "ANY_MONSTER_DIE_418"
L14_1 = "VARIABLE_CHANGE_419"
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
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_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
L2_1[1] = L3_1
L2_1[2] = L4_1
suites = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.source_name
if "M1" ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_TIMER_EVENT_139 = 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.CreateMonster
L3_2 = A0_2
L4_2 = {}
L5_2 = L1_1.monster_id_1
L4_2.config_id = L5_2
L4_2.delay_time = 0
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L5_2 = L1_1.monster_id_2
L4_2.config_id = L5_2
L4_2.delay_time = 0
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L5_2 = L1_1.monster_id_3
L4_2.config_id = L5_2
L4_2.delay_time = 0
L2_2 = L2_2(L3_2, L4_2)
if 0 ~= L2_2 then
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_TIMER_EVENT_139 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 518 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_LIVE_411 = L2_1
function L2_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateGroupTimerEvent
L3_2 = A0_2
L4_2 = 133001275
L5_2 = "M1"
L6_2 = 20
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 : create_timerevent_by_group"
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_411 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 522 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_412 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "Boss"
L5_2 = 1
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 : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_412 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 521 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_413 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "Boss"
L5_2 = 1
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 : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_413 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 520 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_414 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "Boss"
L5_2 = 1
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 : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_414 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 519 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_415 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "Boss"
L5_2 = 1
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 : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_415 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 518 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_416 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "Boss"
L5_2 = 1
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 : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_416 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 517 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_417 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "Boss"
L5_2 = 1
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 : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_417 = L2_1
function L2_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 516 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_418 = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "Boss"
L5_2 = 1
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 : change_GroupVariable"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_ANY_MONSTER_DIE_418 = L2_1
function L2_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 = "Boss"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 7 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_VARIABLE_CHANGE_419 = 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.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 638
L4_2.delay_time = 0.5
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_monster"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 639
L4_2.delay_time = 0
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_monster"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 640
L4_2.delay_time = 0
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_monster"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "Boss"
L5_2 = 0
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 = 0
return L2_2
end
action_EVENT_VARIABLE_CHANGE_419 = L2_1